name: task-tracking
description: Manage the tasks.md ledger with strict locking and collision avoidance protocols to allow multiple agents to work in parallel safely.
Task Tracking
Goal
Maintain a conflict-free, "Single Source of Truth" ledger (tasks.md). Prevent multiple agents from working on the same task or stomping on each other's updates.
When to Use
- STARTING: Before writing a single line of code.
- UPDATING: When you hit a blocker or finish a sub-step.
- COMPLETING: When acceptance criteria are met.
Instructions
1. Collision Avoidance (The "Check-Lock-Act" Loop)
- Check: Read
tasks.md. Look forAssigned Agent.- If
Assigned AgentisUnassignedornull: You may take it. - If
Assigned Agentis SOMEONE ELSE: STOP. Do not touch it. - If
Assigned Agentis YOU: Proceed.
- If
- Lock: Immediately update the task to
Status: In ProgressandAssigned Agent: <your-agent-name>.- Critical: Write this change to disk BEFORE doing the actual work. This signals to other agents "I am here."
- Act: Perform the work.
2. Task Structure (Aerospace Standard)
Every task must strictly follow the format.
### TASK-042: Implement password reset endpoint
- **Status**: In Progress <-- The "Lock"
- **Difficulty**: Medium
- **Assigned Agent**: Backend Engineer <-- The "Owner"
- **Dependencies**: TASK-038
- **Created**: 2026-02-05
- **Updated**: 2026-02-06 <-- MUST be today
#### Description
Build the POST /api/auth/reset-password endpoint.
#### Acceptance Criteria
- [x] Endpoint accepts token + new password
- [ ] Invalid/expired tokens return 400
3. Creating Tasks (Decomposition)
- Granularity: A task should take 10-60 minutes. If it takes longer, break it down.
- Linking: If Task B needs Task A, list
TASK-XXXin "Dependencies". - No Duplicates: Grep for keywords before creating.
4. Status Transitions
Todo->In Progress: The Lock.In Progress->Blocked: If waiting on another agent/task. Explain WHY in Notes.In Progress->In Review: Code is written, tests pass.In Review->Done: Code is merged.
Constraints
✅ Do
- ATOMIC UPDATES: Update
tasks.mdin a separate tool call from your code changes if possible, or at least be very careful not to hallucinate the file content. - TIMESTAMP: You MUST update the
Updated: YYYY-MM-DDfield every time you touch a task. - RESPECT LOCKS: Never edit a task assigned to another agent unless you are the
Agent Manager. - SELF-ASSIGN: Never work on a task labeled
Status: Todowithout first changing it toIn Progressand assigning yourself.
❌ Don't
- DO NOT "infer" you have the task. Claim it explicitly.
- DO NOT delete tasks. Mark them as
Status: Cancelledinstead. - DO NOT leave
Assigned Agentempty forIn Progresstasks.
Output Format
- Updates to
tasks.md.
Dependencies
templates/task-template.md