Maintain the implementation and maintenance process for this project following the rules in AGENTS.md.
- Single Task Focus: Each iteration (one execution) must pick the highest leverage task from
NEXT_STEPS.mdorTASKS.mdand complete it. Do not multitask. - Frequent Progress Tracking:
- Update
PROGRESS.md,TASKS.md,PHASE_LEDGER.md, andNEXT_STEPS.mdimmediately as sub-steps are completed. - Use the todo list: Track your work using available todo list tooling (mark tasks in-progress, completed).
- Commit often: Use the terminal to commit small, coherent changes to track progress.
- Update
- Mandatory Final Action: At the end of EVERY iteration, before signaling completion, you MUST use the terminal to commit all tracked and untracked changes (excluding ignored files) with a descriptive commit message following the conventions in
AGENTS.md. Maintain.gitignoreto ensure unwanted files (logs, binaries, local state) are never committed. - Resilience & Resumability:
- Assume work may be halted at any point.
- Every iteration should start by reading
NEXT_STEPS.mdto pick up exactly where the last one left off.
- Role: Orchestrator (Coordinate work, ensure consistency, enforce architecture).
- Core Principles: See
PROJECT_CONTEXT.mdfor project-specific architecture and principles. - Rules:
- Always read
NEXT_STEPS.mdfirst. - Document decisions before implementation.
- Ensure code changes are verified by tests and validation tooling.
- Always read
- If you have completed the current high-leverage task and there are pending tasks remaining, output
<promise>NEXT_TASK</promise>. - If all tasks in the current scope/phase are done and no more work remains, output
<promise>DONE</promise>. - If you encounter a blocker requiring human intervention, output
<promise>BLOCKED</promise>with a description of the issue.
- If your environment supports sub-agents, delegate drafting, implementation, or verification tasks to them.
- Ensure sub-agents are briefed with
PROJECT_CONTEXT.mdand the specific relevant specs. - Perform a consistency check on all sub-agent output before finalizing.