major-domo-v2/commands
Cal Corum 03dd449551
All checks were successful
Build Docker Image / build (pull_request) Successful in 57s
fix: split read-only data volume to allow state file writes (#85)
The data/ volume was mounted :ro to protect Google Sheets credentials,
but this also prevented all state trackers from persisting JSON files
(scorecards, voice channels, trade channels, soak data), causing silent
save failures and stale data accumulating across restarts.

- Mount only the credentials file as :ro (file-level mount)
- Add a separate :rw storage/ volume for runtime state files
- Move all tracker default paths from data/ to storage/
- Add STATE_HOST_PATH env var (defaults to ./storage)
- Update SHEETS_CREDENTIALS_HOST_PATH semantics: now a file path
  (e.g. ./data/major-domo-service-creds.json) instead of a directory
- Add storage/ to .gitignore

Closes #85

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 13:34:43 -05:00
..
admin Merge origin/main into fix branch to resolve conflict 2026-03-17 12:32:38 -05:00
custom_commands fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
dev Add dev-only loaded dice command for testing /ab rolls 2026-01-07 22:45:01 -06:00
dice fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
draft refactor: move 42 unnecessary lazy imports to top-level across codebase 2026-03-02 13:35:23 -06:00
examples fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
gameplay fix: split read-only data volume to allow state file writes (#85) 2026-03-17 13:34:43 -05:00
help fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
injuries refactor: move 42 unnecessary lazy imports to top-level across codebase 2026-03-02 13:35:23 -06:00
league fix: prevent partial DB writes and show detailed errors on scorecard submission failure 2026-03-10 20:55:10 -05:00
players refactor: move 42 unnecessary lazy imports to top-level across codebase 2026-03-02 13:35:23 -06:00
profile feat: add is_admin() helper to utils/permissions.py (#55) 2026-03-09 09:37:22 -05:00
soak fix: split read-only data volume to allow state file writes (#85) 2026-03-17 13:34:43 -05:00
spoiler Refactored listener logic and added SpoilerListener 2025-10-22 14:59:19 -05:00
teams fix: update roster labels to use Minor League and Injured List (#59) 2026-03-04 22:04:57 -06:00
transactions fix: split read-only data volume to allow state file writes (#85) 2026-03-17 13:34:43 -05:00
utilities fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
voice fix: split read-only data volume to allow state file writes (#85) 2026-03-17 13:34:43 -05:00
__init__.py CLAUDE: Initial commit for discord-app-v2 rebuild 2025-08-15 00:04:50 -05:00
CLAUDE.md CLAUDE: Add comprehensive CLAUDE.md documentation files for AI agent guidance 2025-10-20 20:30:07 -05:00