Files
The-Ouroboros/tests/test_playbook_store.py
agentson 7f2f96a819
Some checks failed
CI / test (pull_request) Has been cancelled
feat: add playbook persistence with DB schema and CRUD store (issue #82)
- Add playbooks table to src/db.py with UNIQUE(date, market) constraint
- PlaybookStore: save/load/delete, status management, match_count tracking,
  list_recent with market filter, stats without full deserialization
- DayPlaybook JSON serialization via Pydantic model_dump_json/model_validate_json
- 23 tests, 100% coverage on playbook_store.py

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 21:00:04 +09:00

9.8 KiB