Skip to content

docs(roadmap): document add_path and group plan-request kinds #7093

Done

Description

@dan-petty

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:

  1. src/devops_cli/ai/tasks/roadmap_implement_step.md line 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.
    Because add_path, header, and group are 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 filing scope requests that block on a person.
  2. docs/ROADMAP_WORKFLOW.md lines 238 and 250-255 and docs/roadmap/implement.md line 89 still list only path, command, and task as 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.md to document all supported plan-request kinds (path, add_path, command, task, group, premise, scope) and keys including header (Changes or Reads) for add_path and replacement constraints for group.
  • Update docs/ROADMAP_WORKFLOW.md and docs/roadmap/implement.md to document add_path and group alongside path, command, and task.
  • Add assertions in tests/roadmap/implement/test_roadmap_implement_prompt.py and tests/invariants/test_roadmap_workflow_doc.py ensuring 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.md documents add_path (including header: Changes or Reads, new tracked outside openspec/, no old) and group in its plan-request guidance.
  • docs/ROADMAP_WORKFLOW.md and docs/roadmap/implement.md list add_path and group among the deterministic plan-request amendment kinds.
  • Tests in tests/roadmap/implement/test_roadmap_implement_prompt.py and tests/invariants/test_roadmap_workflow_doc.py enforce documentation of add_path and group.

Activity

  1. added
    type/docs
    source/agent
    scope/roadmap
    status/new
    value/medium
    on Nov 25, 2026
  2. dan-petty commented on Nov 25, 2026

    @dan-petty
    OwnerAuthor
  3. added
    effort/low
    priority/p2-medium
    owner/agent
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 25, 2026
  4. removed
    status/in-review
    owner/agent
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lowpriority/p2-mediumscope/roadmapsource/agenttype/docsvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions