- Domain language:
CONTEXT.md - Current architecture:
docs/architecture.md - Durable decisions:
docs/adr/ - Bounded designs:
docs/design/ - Approved specifications:
docs/specs/ - Local tickets and resume state:
.scratch/deliver-code/ - Heavy research and source material:
/Users/roy/Documents/ChatGPT/codex-auto.knowledge
Read only the guidance relevant to the change:
- Domain terminology:
CONTEXT.md - Architecture and dependency direction:
docs/architecture.md - Maintenance workflow and test seams:
docs/development/maintenance.md - Approved libraries and dependency policy:
docs/development/libraries.md - Coding and testing standards:
docs/development/coding-standards.md
- Keep feature code independent of concrete infrastructure; wire adapters in the app or CLI composition root.
- Validate external, persisted, and cross-stage data with Zod schemas.
- Preserve CLI behavior through the injected
Terminaland command-handler test seams. - Do not use
anyorunknownin TypeScript source.
- Run
bun run formatbefore verification; CI enforcesformat:check. - Run
bun run checkbefore handoff. - Update the focused guidance document when a change invalidates it; do not duplicate context in this file.