Skip to content

feat(roadmap): one pass re-checks each merged plan against main #3492

Description

@dan-petty

Problem

No job judges a merged plan again. A later gate can strand an old plan, a delivered plan stays Planned, and a folder of a closed issue stays in each count. Figures are from 2026-11-04T15:06Z. Lines are at origin/main 46cf288.

Expected

A command, and later a Service row, reports each numbered folder with one result: ok, rewrite, new-plan, delivered or cleanup. Without --confirm it writes nothing.

A folder whose issue is closed gets cleanup, and the denominators leave it out. This also covers the folder of #3236 after its close. Until then it gets delivered. The pass closes no issue.

A mechanical rewrite adds a Verification: line, changes a sample path to a bare name, and adds a design.md stub, for review by a person. A plan with no way forward uses the left-out reason of #3393, not plan/needs-fix, because that label belongs to a plan pull request (stage_verify.py:56). A written policy says that a new gate only reports on merged plans until this pass has run. The report comes first. If the plan splits the work, the rewrite and the leave-out go to a second issue (AGENTS.md rule 1).

Acceptance criteria

  • A test: the report gives each numbered folder one result.
  • A test: a folder of a closed issue gets cleanup, and no denominator counts it.
  • A test: a plan whose (new) file exists on the default branch gets delivered.
  • A test compares the groups before and after a rewrite, and each new line passes read_verification.
  • A test: an item with no way forward leaves the queue, and devops roadmap explain names its first problem.
  • docs/ROADMAP_WORKFLOW.md states the policy.

Existing tool considered

openspec validate --strict --json checks the form of a folder, and openspec archive does the cleanup. Project code covers the rest: devops roadmap plan-check, read_change, parse_task_groups, read_verification and implement_amend.py (#3361).

Dependencies

Order

The order is #3482, the report of this issue, #3393, then the rewrite and the leave-out. The report must merge before #3393, so this issue does not wait for it.

Related

Related: #3236, #3300, #3387, #3417, #3422, #3309, #3276, #3429

Activity

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

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.

    • Type: type/feature. The feat prefix of the title gives the type.
    • Scope: scope/roadmap. The (roadmap) scope of the title gives the scope.
    • Priority: P2-Medium. It is a useful audit tool that depends on #3482 and must merge before #3393, but it blocks no user-facing feature.
    • Value: Medium. It gives the team a single command to find stranded, closed, or malformed plans without manual inspection.
    • Effort: Medium. It builds on existing readers and checkers, adds one report command with five result categories, tests, and a policy document.
    • Related: fix(roadmap): the implement job refuses a plan that fails the plan check #3393, which asks for a different change. Both validate merged plans, but the candidate adds a reporting and audit command while #3393 makes the implement job refuse a failing plan.
  3. added
    priority/p2-medium
    owner/agent
    status/in-review
    and removed
    status/new
    on Nov 4, 2026
  4. removed
    status/in-review
    owner/agent
    on Nov 5, 2026
  5. added a commit that references this issue on Nov 5, 2026
  6. devops-cli-service commented on Nov 5, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-05 03:28 UTC

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/mediumpriority/p2-mediumscope/roadmapsource/agenttype/featurevalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions