The project uses a three-tier organization system in the agent/ directory:
agent/plans/- High-level concepts and goalsagent/tasks/- Actionable implementation itemsagent/docs/- Current codebase reality documentation
- Format:
NNN_descriptive_name_max_seven_words.md - Use auto-incrementing numbers (001, 002, etc.)
- Maximum 7 words in description
- Use underscores between words
- Format:
subsystem_context.md - Named by subsystem and specific context they document
- Designed for easy reference by future agent sessions
- High-level concepts and goals
- Reference target docs for changes
- Never reference tasks (tasks reference plans)
- Change-request: Intent and high-level description
- Plan reference: Link to source plan (if applicable)
- Steps: Precise file and language structure changes needed
- Doc references: Target docs that will need updates
- Document current codebase reality
- Reference source files only (never plans/tasks)
- Single source of truth about current state
- Planning → Create plan in
agent/plans/ - Task Generation → Break plan into tasks in
agent/tasks/ - Implementation → Execute task steps
- Testing & Verification → Confirm changes work
- Documentation Update → Update relevant docs in
agent/docs/
- Tasks MAY reference Plans (optional)
- Tasks/Plans MUST reference target Docs
- Docs MUST reference source files only
- No circular references allowed
This system ensures clear traceability from goals to implementation while maintaining docs as authoritative current state.