On every new session, read only these files before touching anything else:
.claude/docs/00_PROJECT.md.claude/docs/10_ARCHITECTURE.md.claude/docs/20_CURRENT_STATE.md.claude/docs/30_DECISIONS.md.claude/docs/40_NEXT_TASK.md.claude/docs/50_ENGINEERING_RULES.md
Do not scan the repository until those six documents have been read.
If implementation disagrees with documentation, the implementation wins. Report the mismatch before editing anything.
- Work on one milestone phase per session.
- Never continue into the next phase unless explicitly instructed.
- Avoid unnecessary repository-wide analysis.
- Preserve all architectural boundaries documented in
10_ARCHITECTURE.md. - Prefer additive interfaces over modifying frozen contracts.
- Stop as soon as the requested work is complete.
Explain:
- what will change and which files are affected
- why it belongs at that layer
- architectural impact and dependency direction
- any risks or concerns
Wait for approval before proceeding if the work would materially change the architecture.
Always, in order:
- Run the appropriate typecheck / build / tests.
- Summarize files changed.
- Summarize architectural impact.
- List follow-up work and whether the next phase is unblocked.
- Stop.
.claude/docs is the canonical engineering memory for this project.
- Do not rewrite those files unless explicitly requested.
- Do not create duplicate documentation.
- Do not read historical docs, RFCs, or archive files unless a
.claude/docsdocument explicitly points to one.
All engineering constraints live in .claude/docs/50_ENGINEERING_RULES.md.
Read them. Follow them. Do not invent new architectural patterns.
This file is an entrypoint, not a knowledge base. Keep it that way.