Repository navigation
Description
Problem or Motivation
Parent: #2661. Sub-issue 1 (#2664) runs one group. Nothing runs the groups of a staged change in order, archives the change, or moves the pull request to ready when its checks pass.
Proposed Solution & Architectural Design
devops roadmap implement [--repo] [--item N | --filter family=value]... [--limit 1] [--dry-run | --plan | --confirm].
Selection: a Staged item (stage.pr in its record, the branch on origin, the draft open) that the filter names, with no implement.stopped, a trusted author, and every commit past the default branch by the App. The default filter is status=ready priority=p0-critical priority=p1-high type=bug effort=low. --limit defaults to 1.
Per item:
- Set
status/in-progress. Fetch, and rebase the staged branch ontoorigin/<default>. A conflict stops the item with a comment. - Run each unticked group of
tasks.mdin order as one step (sub-issue 1), each in a fresh context. The only state between steps is the branch and the ticks. - After the last group:
uv run devops docs generate --sync-readme, thenuv run devops openspec archive <change>, one commit each. Push. - Rewrite the pull request body:
Closes #N, the what and why of the proposal, and the trailers the squash takes, because the body is the squash commit message. Comment the step outcomes on the pull request, not in the body. devops pr monitor <pr>. A failed required check runs one fix step: a step whose group is "make check<name>pass", with the failed log, cut toCONST_ROADMAP_IMPLEMENT_LOG_CHARS, as its input. When it passes locally, the job pushes and monitors again. A second failure stops the item. The fix step runs at most once per item.- Checks green and no unresolved thread:
devops pr ready <pr>,status/in-review, and one comment on the issue with the pull request and the spend.
Stopped: the item's comment names the step, the reason and the agent's last message. implement.stopped records the group. The Status goes back to Ready. The branch keeps the App's commits, which worktrees add takes over (the sibling item of the parent). The job never retries a stopped item. A person edits the item, the change or the branch, and clears the record with a comment implement: retry.
The job record keeps implement.group, implement.sha, implement.pr, implement.stopped and implement.spend. The marker devops roadmap implement heads its comments. --dry-run makes no request.
Target Subsystem
src/devops_cli/roadmap/implement.py, src/devops_cli/commands/roadmap.py, src/devops_cli/github/ (the pull request body and ready calls through the store), CONTEXT.md.
Existing Tool Considered
devops pr monitor, devops pr ready, devops openspec archive, devops docs generate, and the step of sub-issue 1. The job builds the selection, the loop, the writes and the records, in refine's shape. Estimated cost: about 1,000 lines of code and tests, around 300k tokens of agent work and one and a half days of elapsed time.
Key questions
- Why one fix step and not a loop? A second fix on a fix is what AGENTS.md rule 2 stops on. One fix with the log as evidence, then a person.
- Who merges? A person. The job stops at ready.
- What if
mainmoved during the run? The job rebases before the push of step 3 and again before each push after a fix. A conflict stops the item.
Acceptance criteria
- With GitHub, git and the model faked, a Staged low-effort P1 bug with two groups ends with two step commits, the docs and archive commits, a pushed branch, a body that starts with
Closes #N, a ready pull request and Status In Review. - A failed check runs one fix step. A second failure stops the item with Status Ready, a comment and
implement.stopped. - A conflict on rebase stops the item before any step.
- An item that is not Staged, has
implement.stopped, or has a commit by another author is left out, and the plan says why. uv run devops cipasses, anddevops docs generate --sync-readmeis run.
Source: #2661
Activity
dan-petty commentedon Oct 29, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
The candidate adds a new 'devops roadmap implement' command that does not exist today.It completes the automated pipeline but no user is blocked by its absence today.It removes the manual step of running staged groups, archiving, fixing one check, and marking the PR ready.The body estimates about 1,000 lines of code and tests plus 300k tokens of agent work.Both items are steps in the same roadmap pipeline, but 2654 creates the staged change while the candidate runs and closes it.chore(main): release 0.19.0 (#2689)
fix(roadmap): the status label follows the pull request (#2723)