name: workplan-task-ops description: Manage SPECS/Workplan.md task operations for this repository. Use when you need to add a new task entry with the canonical template, pick the next actionable task, or mark a task as completed while keeping selector state in sync.
Workplan Task Ops
Manage task lifecycle operations in SPECS/Workplan.md using the repository conventions.
Required Inputs
Collect these before running any operation:
- Target task ID (or task type and parent context if creating a new task)
- Target phase/backlog section in
SPECS/Workplan.md - Current status marker (
⬜️open or✅completed)
Use these sources of truth:
SPECS/TASK_TEMPLATE.mdfor task entry format and markersSPECS/Workplan.mdfor the actual task listscripts/pick_next_task.pyfor next-task selection and completion state updates
Operation 1: Add Task
- Determine task ID convention before editing:
- Phase task:
P{phase}-T{n} - Follow-up task:
FU-{parent/topic}-{n} - Bug task:
BUG-T{n}
Place the task in the correct section of
SPECS/Workplan.md.Copy the open-task block from
SPECS/TASK_TEMPLATE.mdand fill all fields:
- Header with
⬜️marker Description,Priority,Dependencies,ParallelizableOutputs/ArtifactsAcceptance Criteriawith unchecked boxes
- Validate task entry quality:
- ID is unique in workplan
- Dependencies reference existing tasks or
none - Acceptance criteria are testable
Operation 2: Pick Next Task
- Run:
python3 scripts/pick_next_task.py
Read the suggested task and dependency statuses.
Confirm the suggestion is still open in
SPECS/Workplan.md(⬜️) and not archived.Update
SPECS/INPROGRESS/next.mdusing the output template inSPECS/COMMANDS/SELECT.md.
Operation 3: Mark Task Completed
Confirm completion evidence exists (implementation done, validation/review state consistent).
Update the task block in
SPECS/Workplan.md:
- Change header marker from
⬜️to✅ - Add or update
Statusline with date when applicable - Check completed acceptance criteria (
[x])
- Persist completion for selector state:
python3 scripts/pick_next_task.py --done <TASK_ID>
- Verify follow-up selection:
python3 scripts/pick_next_task.py
Guardrails
- Do not invent IDs that break existing conventions.
- Do not mark a task complete without matching acceptance evidence.
- Keep task formatting aligned with
SPECS/TASK_TEMPLATE.md. - Keep edits scoped to task-tracking files unless explicitly requested otherwise.