Repository navigation
Description
Problem or Motivation
Commits implementing #4099 (#5937) and #3576 added add_path and group support to src/devops_cli/roadmap/implement/implement_amend.py and openspec/specs/roadmap-plan-amendment/spec.md, so an implementer step can append an unlisted tracked repository file to Changes: or Reads: (add_path with header and new) or replace a task group with a smaller version (group).
However, the agent prompt and workflow documentation still omit both amendment kinds:
src/devops_cli/ai/tasks/roadmap_implement_step.mdline 12 tells the implement step agent:
Its keys are kind (path, command, task, premise or scope), group, defect, evidence, and, by kind, old, new and verify.
Becauseadd_path,header, andgroupare omitted, autonomous implement steps do not know those bounded self-unblocking requests exist and fall back to editing outside the plan (outside_plan->status/blocked) or filingscoperequests that block on a person.docs/ROADMAP_WORKFLOW.mdlines 238 and 250-255 anddocs/roadmap/implement.mdline 89 still list onlypath,command, andtaskas judged amendment kinds.
Proposed Solution & Architectural Design
Update the coder task prompt and workflow docs to match implement_amend.py and openspec/specs/roadmap-plan-amendment/spec.md, and add tests covering the prompt and documentation parity:
- Update
src/devops_cli/ai/tasks/roadmap_implement_step.mdto document all supportedplan-requestkinds (path,add_path,command,task,group,premise,scope) and keys includingheader(ChangesorReads) foradd_pathand replacement constraints forgroup. - Update
docs/ROADMAP_WORKFLOW.mdanddocs/roadmap/implement.mdto documentadd_pathandgroupalongsidepath,command, andtask. - Add assertions in
tests/roadmap/implement/test_roadmap_implement_prompt.pyandtests/invariants/test_roadmap_workflow_doc.pyensuring those amendment kinds stay documented.
Target Subsystem
AI & Agentic Review Pipeline (src/devops_cli/ai/tasks/roadmap_implement_step.md, docs/ROADMAP_WORKFLOW.md, docs/roadmap/implement.md).
Existing Tool Considered
src/devops_cli/roadmap/implement/implement_amend.py and tests/roadmap/implement/test_roadmap_implement_prompt.py already implement and validate add_path and group behavior and prompt contracts. Only prompt and documentation synchronization with tests is needed.
Acceptance Criteria
-
src/devops_cli/ai/tasks/roadmap_implement_step.mddocumentsadd_path(includingheader:ChangesorReads,newtracked outsideopenspec/, noold) andgroupin itsplan-requestguidance. -
docs/ROADMAP_WORKFLOW.mdanddocs/roadmap/implement.mdlistadd_pathandgroupamong the deterministicplan-requestamendment kinds. - Tests in
tests/roadmap/implement/test_roadmap_implement_prompt.pyandtests/invariants/test_roadmap_workflow_doc.pyenforce documentation ofadd_pathandgroup.
Activity
dan-petty commentedon Nov 25, 2026
Both concern add_path in implement plan-request, but #4099 adds the code feature while the candidate documents it in prompts and workflow docs.