- Implementation sessions: follow Implementation Phase Rules below only.
- Update sessions: follow Update Phase Rules below only when you receive the update handover prompt.
- Only do the task specified; do not start the next task or go over scope.
- Run
cargo testafter code changes to verify tests pass. - Follow existing code patterns and conventions.
- Use Context7 MCP to fetch library documentation when needed (resolve library ID first, then fetch docs). Task operations use
cyclopsctl tasksCLI only.
When working from current-handover-prompt.md (the normal case for every cyclopsctl task cycle):
- DO: Implement and test only the current parent task described in the handover.
- DO: Run
cargo testbefore finishing; meet the task test strategy. - DO: Use Context7 MCP for up-to-date library documentation when implementing unfamiliar APIs or frameworks.
- DO NOT: Read
prd.mdduring cyclopsctl cycles — task scope, details, and test strategy are already in this handover. - DO NOT: Mark tasks done or change task status.
- DO NOT: Run
cyclopsctl tasks next, rewritecurrent-handover-prompt.md, or editai-context.md. - DO NOT: Create or update docs in
docs/, or editdocs/index.md. - DO NOT: Edit
update-handover-prompt.md.
Task completion and all documentation updates happen only in the update phase (update-handover-prompt.md).
When update-handover-prompt.md is provided (after implementation in the same agent session):
- DO: Follow every step in
update-handover-prompt.md. - DO: Use
cyclopsctl tasks list pending --project-root G:\DEV\markDownNotepadand pick the lowest numeric parent id for the next handover — notcyclopsctl tasks next(priority can skip ahead). - DO: Rewrite
current-handover-prompt.mdfor the next task (this is the only time that file may change). - DO: Update
ai-context.mdproject memory per update handover step 2 (key facts only, not a changelog). - DO: Use
cyclopsctl taskswith--project-root G:\DEV\markDownNotepadfor all task commands (see Environment in the handover). - DO: Document by feature (e.g.,
auth-layer.md), not by task number; updatedocs/index.mdwhen adding documentation. - DO NOT: Re-implement or extend the task you just finished unless tests are broken.
- Documentation: Feature-based names in
docs/(e.g.,auth-layer.md), nottask-1.md. Updatedocs/index.mdin the update phase only. - Tasks:
cyclopsctl tasksCLI only from agents.
| File | Who may edit | When |
|---|---|---|
current-handover-prompt.md |
Update-phase agent only | After implementation |
update-handover-prompt.md |
Human / template only | Never edited by agents |
ai-context.md |
Update-phase agent only | Every update phase — project memory bullets (see update handover step 2) |
Rust
See prd.md for product architecture. This file captures agent workflow rules and where project artifacts live.
| Want to... | Look in... |
|---|---|
| Product requirements | prd.md |
| Current implementation handover | current-handover-prompt.md |
| Post-task update rules | update-handover-prompt.md |
| Documentation map | docs/index.md |
| Tasks and complexity | .cyclopsctl/tasks/tasks.json, .cyclopsctl/reports/complexity-report.json |
| Cyclopsctl config | cyclopsctl.toml |