0718e3f252
- Start the app on a shelf of every installed book instead of the last book's home. Cards show the cover, translated metadata, available languages, restored patterns and either "Continue reading" or a way in. - Keep each book's saved route: the shelf is never written to flutter_screen, so choosing a book resumes its own leaf. - Lay the shelf out responsively: dense single-column cards on phones, a two-column grid from 720 logical pixels, a centred 860 px column on tablets and a chevron that exists in the bundled handwriting font. - Keep Settings reachable from the shelf and let the home page's story library button open the shelf instead of a dialog. - Add tool/shelf_screenshots_test.dart, which renders the shelf at phone and tablet metrics, checks that every card and Settings stay reachable without overflow, and writes artifacts/library/shelf-*.png. - Commit the pending Midnight Invitation package (campaign, notebook, narration and artwork), cast drama and ambience tooling, region selection, phone/tablet integration coverage and related docs. flutter analyze is clean and all 74 widget/domain tests pass.
Documentation
| Document | Purpose |
|---|---|
| Code map | Agent-oriented architecture, dependency graph, screen state machine, puzzle pipeline, UI/layout rules, persistence keys, asset and service flows, test map, invariants, change recipes and gotchas |
| Halloween special | The Midnight Invitation: manuscript, artwork prompts, narration provenance and puzzle proofs |
| Story packages and translations | Add stories to the library, author puzzles/pages, translate content and UI, and preserve saves across languages |
| Thinking-depth tool | CLI usage, reasoning model, depth limits, reports and human-difficulty interpretation |
| Project README | Features, artwork, narration, build and verification commands, publishing notes |
| Roadmap | Product direction and the proposed 30–40-leaf campaign |
| Task list | Actionable artwork and asset follow-ups not yet scheduled |
| Artwork provenance | Prompts, sources and licensing for the bundled watercolours |
| Narration provenance | Recording scripts, masters, checksums and licensing |
Where to start
- Changing code? Read the code map first, then
README.md's source map. - Validating a change? Run the commands listed under "Tests and verification" in the code map.
- Adding content? See "Where to change what" in the code map for campaign, narration and leaf recipes.
This folder is hand-maintained and has no generator; update the code map whenever structure, invariants or persistence keys change.