| name | router | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| description | Session bootstrap and navigation hub. Read at the start of every session before any task. Contains project state, routing table, and behavioural contract. | ||||||||||||||||||||||||||||||
| edges |
|
||||||||||||||||||||||||||||||
| last_updated |
|
If you haven't already read AGENTS.md, read it now — it contains the project identity, non-negotiables, and commands.
Then read this file fully before doing anything else in this session.
Load the relevant file based on the current task. Always load context/architecture.md first if not already in context this session.
| Task type | Load |
|---|---|
| Understanding how the system works | context/architecture.md |
| Working with a specific technology | context/stack.md |
| Writing or reviewing code | context/conventions.md |
| Making a design decision | context/decisions.md |
| Setting up or running the project | context/setup.md |
| Any specific task | Check patterns/INDEX.md for a matching pattern |
For every task, follow this loop:
- CONTEXT — Load the relevant context file(s) from the routing table above. Check
patterns/INDEX.mdfor a matching pattern. If one exists, follow it. Narrate what you load: "Loading architecture context..." - BUILD — Do the work. If a pattern exists, follow its Steps. If you are about to deviate from an established pattern, say so before writing any code — state the deviation and why.
- VERIFY — Load
context/conventions.mdand run the Verify Checklist item by item. State each item and whether the output passes. Do not summarise — enumerate explicitly. - DEBUG — If verification fails or something breaks, check
patterns/INDEX.mdfor a debug pattern. Follow it. Fix the issue and re-run VERIFY. - GROW — After completing the task:
- If no pattern exists for this task type, create one in
patterns/using the format inpatterns/README.md. Add it topatterns/INDEX.md. Flag it: "Createdpatterns/<name>.mdfrom this session." - If a pattern exists but you deviated from it or discovered a new gotcha, update it with what you learned.
- If any
context/file is now out of date because of this work, update it surgically — do not rewrite entire files. - Update the "Current Project State" section above if the work was significant.
- If no pattern exists for this task type, create one in