Skip to content

feat(roadmap): Define one shared workflow for all roadmap actors #2908

Closed
16 of 16 issues completed
Closed

Description

@dan-petty

What happened

The owner asked on 2026-10-31 for one issue workflow that is simple, clear, discrete, consistent and repeatable for the Service jobs, agentic coders and human developers. The plan and the owner's decisions are in the tracker issue. Decisions taken (the recommended defaults): add the label status/planned (amends ADR 0016); claim an item with labels owner/service, owner/agent and owner/human; a new runner image digest clears a stop once; any actor may claim an item, one at a time, a person's claim beats the Service's, and the Service never takes a claimed item.

Gaps found on 2026-10-31 while the jobs delivered #2735 and #2739: (1) state is invisible, an item stays status/ready through staging, planning and a running Job; (2) no claim, an agent and a person fixed #2656 and #2745 by hand while the job held their branches; (3) a stop looks like "Ready again"; (4) retry is manual and blind; (5) implement --plan says "No item to implement" with no reason; (6) the manual path devops k8s run-job --template runner ... -- roadmap implement --item N --confirm is not documented and implement --item outside the runner only refuses; (7) four pull request kinds, four ready rules; (8) no single inbox of what waits for a person; (9) nothing tells the owner when a merged fix is live.

What should happen

The eight steps, the same for every actor: 1 Capture (status/new), 2 Refine (status/ready), 3 Plan (plan pull request, status/planned, gate G1: a person merges the plan), 4 Claim (one owner), 5 Implement (draft pull request, one issue, tests first), 6 Verify (checks pass, then marked ready), 7 Review and merge (gate G2: a person merges), 8 Release and learn (gate G3: a person merges the release pull request, images roll, status cleared). A stop sets status/blocked with the cause in a comment, and the item returns to step 4 or 5 when the cause is fixed.

Sub-issues, in order

W1 the workflow document and its test. W2 status/planned and the Service sets the status label. W3 claim labels. W4 devops roadmap explain. W5 stop to blocked and clear on a new image. W6 manual implement path. W7 devops roadmap inbox. W8 one ready-decision function for all pull request kinds. W9 release comment on issues. W10 stuck-item metrics and one alert.

Already filed and part of this plan: #2906 (filters), #2865 (done), #2867 (evaluator), #2860 (done), #2165.

Acceptance criteria

  • Each of W1 to W10 is a sub-issue of this issue, and each fits one pull request.
  • The tracker closes when all ten are closed.
  • docs/ROADMAP_WORKFLOW.md (W1) is the one place that names the steps, and the code and the other documents link to it.

Proposed design

Problem statement

The roadmap has no single workflow. Status is invisible, an item stays status/ready through staging, planning and a running Job. There is no claim, so an agent and a person fixed the same item by hand. A stop looks like Ready again. Retry is manual and blind. Four pull request kinds have four ready rules. There is no single inbox of what waits for a person. Nothing tells the owner when a merged fix is live. This issue defines one 8-step workflow for the Service, agentic coders and people, and splits it into ten sub-issues W1 to W10.

Acceptance criteria

Requirement: Sub-issues filed and scoped

Each of W1 to W10 SHALL be a sub-issue of this issue, and each SHALL fit one pull request.

Scenario: All ten sub-issues exist and are scoped

  • WHEN The tracker issue is examined for linked sub-issues
  • THEN Ten sub-issues W1 through W10 are linked as children, and each is scoped to one pull request

Requirement: Tracker closure on completion

The tracker SHALL close when all ten sub-issues are closed.

Scenario: All sub-issues are closed

  • WHEN All ten sub-issues W1 through W10 are in the closed state
  • THEN The tracker issue is closed

Requirement: Single workflow document

docs/ROADMAP_WORKFLOW.md SHALL be the one place that names the steps, and the code and the other documents SHALL link to it.

Scenario: Workflow document is the single source

  • WHEN A developer looks up the workflow steps in the repository
  • THEN docs/ROADMAP_WORKFLOW.md names all eight steps, and code and other documents contain links to it

Existing Tool Considered

No check has run. This is a project-specific workflow that devops-cli builds and maintains. The written cost is the tokens to build, keep and fix the workflow document, the status label logic, the claim labels, the explain command, the stop-to-blocked logic, the manual implement path, the inbox command, the ready-decision function, the release comment, and the stuck-item metrics until they match the workflow the owner specified.

Key questions

  • What label represents the planned status?: The label status/planned, added by this plan. It amends ADR 0016. The Service is the single writer of that label: Ready until the plan merges, Planned after, In Progress while a runner Job holds it. (best practice) [sources: docs/adr/0016-labels-hold-the-roadmap-items-fields.md]
    • Chosen: Add status/planned label (amends ADR 0016). The owner chose this as the recommended default. It fits the existing label family for Status and keeps the Service as the single writer.
    • Rejected: Use a milestone or project board field. Rejected. ADR 0016 moved fields to labels. A project board field would break the single-writer rule and add a second source of truth.
  • How is an item claimed?: Claim with labels owner/service, owner/agent, or owner/human. Any actor may claim an item, one at a time. A person's claim beats the Service's. The Service never takes a claimed item. (proposed)
    • Chosen: Claim labels owner/service, owner/agent, owner/human. The owner chose this as the recommended default. Labels are the existing mechanism for item fields per ADR 0016. One label per actor type keeps the claim visible and auditable.
    • Rejected: Use a comment or issue assignment. Rejected. A comment is not machine-readable. Issue assignment does not distinguish actor types and does not enforce the one-at-a-time rule.
  • How is a stop represented and cleared?: A stop sets status/blocked with the cause in a comment. A new runner image digest clears the stop once. The item returns to step 4 or 5 when the cause is fixed. (proposed)
    • Chosen: status/blocked label plus cause comment, cleared by new image digest. The owner chose this as the recommended default. It makes the stop visible, records the cause, and clears it automatically when a new image is available.
    • Rejected: Revert to status/ready with a comment. Rejected. The body identifies this as gap (3): a stop looks like Ready again. It loses the cause and the blocked state.
  • How many ready-decision rules are there for pull request kinds?: One ready-decision function for all pull request kinds (W8). The body identifies four pull request kinds with four ready rules as gap (7). (proposed)
    • Chosen: One ready-decision function for all kinds. The owner chose this. It removes the four-rule duplication and makes the ready decision consistent across plan, implement, release, and docs pull requests.
    • Rejected: Keep four separate ready rules. Rejected. The body identifies this as gap (7). Four rules are inconsistent and hard to maintain.
  • Where is the workflow documented?: docs/ROADMAP_WORKFLOW.md (W1) is the one place that names the steps. The code and the other documents link to it. (proposed)
    • Chosen: Single document docs/ROADMAP_WORKFLOW.md. The owner chose this in the acceptance criteria. One place avoids drift between documents and code.
    • Rejected: Scatter the steps across ADRs, CONTEXT.md, and code comments. Rejected. The body identifies invisible state as gap (1). Scattering the steps makes them harder to find and keeps them out of sync.

Open questions

  • What are the eight steps of the workflow? (missing verified source)
  • What are the three gates and who acts at each? (missing verified source)
  • What are the ten sub-issues and their order? (missing verified source)
  • Which issues are already filed and part of this plan? (missing verified source)

Fit

Needs splitting into 10 items:

  1. W1: the workflow document docs/ROADMAP_WORKFLOW.md and its test
  2. W2: status/planned label and the Service sets the status label
  3. W3: claim labels owner/service, owner/agent, owner/human
  4. W4: devops roadmap explain command
  5. W5: stop to blocked and clear on a new image digest
  6. W6: manual implement path documentation and implementation
  7. W7: devops roadmap inbox command
  8. W8: one ready-decision function for all pull request kinds
  9. W9: release comment on issues
  10. W10: stuck-item metrics and one alert

Suspected block

None.

Dependencies

None.

Alternatives check of 2026-11-04: partly.
Tool: gastownhall/beads (https://github.com/gastownhall/beads), MIT, last activity 2026-11-04, maintained.

Sub-issues

Sub-issues

16 of 16 Issues completed
Loading 16 sub-issues

Activity

  1. added
    source/agent
    type/feature
    scope/roadmap
    status/new
    value/high
    effort/high
    on Oct 31, 2026
  2. dan-petty commented on Oct 31, 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. The owner requested it and it addresses nine workflow gaps, but its ten sub-issues allow incremental delivery.
    • Value: High. It sets the single workflow for all actors, removing nine identified gaps.
    • Effort: High. Ten sub-issues each fit one pull request, plus a workflow document and tests.
    • Related: feat(roadmap): the Service marks a stage pull request ready when its checks pass #2865, which asks for a different change. Both define roadmap workflow steps; the candidate is the umbrella plan and #2865 is one sub-step (mark a draft pull request ready when checks pass).
  3. added
    priority/p2-medium
    on Oct 31, 2026
  4. 1 remaining item

  5. devops-cli-service commented on Oct 31, 2026

    @devops-cli-service
    Contributor

    Refine cannot set this item to Ready at 84c8db0 until a person answers the questions below. Reply in a comment or edit the body, and the next refine round looks at the item again.

    • What are the eight steps of the workflow? (missing verified source)
    • What are the three gates and who acts at each? (missing verified source)
    • What are the ten sub-issues and their order? (missing verified source)
    • Which issues are already filed and part of this plan? (missing verified source)
  6. devops-cli-service commented on Nov 4, 2026

    @devops-cli-service
    Contributor

    Alternatives check: partly

    Tool: gastownhall/beads (https://github.com/gastownhall/beads)

    • License: MIT
    • Last activity: 2026-11-04
    • Maintained: yes

    Covers:

    • A CLI issue tracker for coding agents and their human operators, with JSON output.
    • Atomic claiming of ready work (bd update --claim / bd ready --claim), setting the assignee and in-progress state.
    • Ready-work and blocked queries (bd ready, bd blocked) over a dependency graph.
    • Dependency gates that can wait for a human decision, a timer, or a GitHub run or pull request.
    • Closing an item releases its blockers.

    Lacks:

    • The GitHub label state machine (status/new, status/ready, status/planned, status/blocked, owner/*) with the Service as single writer.
    • The four GitHub pull request kinds and one ready-decision function for all of them.
    • The plan, review/merge and release gates on this repository's pull requests.
    • devops roadmap explain and devops roadmap inbox for this CLI.
    • The release comment on issues and automatic clearing of a stop when a new runner image digest appears.
    • Stuck-item metrics, the alert, and the sub-issue tracker closure.

    Searches run:

    • GitHub issue claim bot labels owner status workflow automation
    • open source roadmap workflow CLI status labels claim issues
    • Beads issue tracker coding agents task claims dependencies CLI
    • Backlog.md AI agent task manager status workflow claims
    • GitHub Action claim issue assign label in progress atomic
    • open source GitHub issue status label state machine blocked planned automation
    • beads bd GitHub issues integration sync pull requests
    • beads bd blocked status dependency ready claim command documentation
    • beads gates human approval merge request gate documentation

    Sources:

    Checked on 2026-11-04. A person decides what this means for the item. The check changes no label and closes no issue.

  7. changed the title [-]feat(roadmap): one issue workflow for the Service, agentic coders and people[/-] [+]feat(roadmap): Define one shared workflow for all roadmap actors[/+] on Nov 6, 2026
  8. dan-petty commented on Nov 6, 2026

    @dan-petty
    OwnerAuthor

    The job shortened the title of this item. The summary had 61 characters, and the limit is 60. The type and the scope stay.

    • Before: feat(roadmap): one issue workflow for the Service, agentic coders and people
    • After: feat(roadmap): Define one shared workflow for all roadmap actors
    • Source of the summary: the background model
  9. removed
    status/new
    on Nov 6, 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/highpriority/p2-mediumscope/roadmapsource/agenttype/featurevalue/high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions