Refactor project structure and update documentation

- Migrated data files to 'data/collection/' and 'data/decks/'.
- Moved 'card_cache.json' to 'cache/'.
- Reorganized 'collection_hydrated/' and 'deck_analysis.json' into 'output/'.
- Updated 'hydrate.py' and script defaults to match the new paths.
- Updated 'README.template.md' and 'AGENTS.template.md' templates.
- Regenerated 'README.md' and 'AGENTS.md'.
This commit is contained in:
Tuan-Dat Tran
2026-02-26 14:51:48 +01:00
parent c6b1a11ebe
commit eea3a6a659
28 changed files with 328 additions and 1126 deletions

View File

@@ -12,8 +12,8 @@ from pathlib import Path
SCRIPT_DIR = Path(__file__).parent
PROJECT_ROOT = SCRIPT_DIR.parent
TEMPLATES_DIR = PROJECT_ROOT / "docs" / "templates"
DECKS_DIR = PROJECT_ROOT / "decks"
COLLECTION_DIR = PROJECT_ROOT / "collection_hydrated"
DECKS_DIR = PROJECT_ROOT / "data" / "decks"
COLLECTION_DIR = PROJECT_ROOT / "output" / "hydrated"
def load_decks() -> list[dict]: