Repository navigation
Description
Split from #1127.
The consolidation job can be built and tested offline with #768's in-memory store. This part needs the real repository board and a person to run uv run devops roadmap consolidate --dry-run. It checks the plan against groups applied on 2026-10-03: #1036/#810, #1104/#818, #892/#878/#1010, #974/#931, #897/#989 and #995/#789. It also checks that a second run prints the same plan. Deferred because it waits on a person and the live GitHub state, not on code. Acceptance criteria: the dry run writes .data/roadmap/consolidate/.json; the plan reports each named group as already linked, not as a new proposal; a second run prints the same plan; no GitHub write occurs.
Proposed design
Problem statement
The consolidation plan has not been checked against the six groups applied by hand on 2026-10-03. A person must run uv run devops roadmap consolidate on the live board. The run must write the dated plan. It must report each group as already linked. A second run must print the same plan. The run must make no GitHub write.
Acceptance criteria
Requirement: Live plan writes the dated file
A live run of uv run devops roadmap consolidate SHALL write its plan to .data/roadmap/consolidate/<date>.json, where <date> is the UTC day of the run.
Scenario: Live run writes the plan file
- WHEN A person runs
uv run devops roadmap consolidateagainst the real repository. - THEN The command exits 0 and
.data/roadmap/consolidate/<date>.jsonholds the plan.
Requirement: Applied groups are left out
The plan SHALL report each of the six applied groups as already linked and SHALL NOT propose it as a new group.
Scenario: Six applied groups appear in left_out
- WHEN The live run reads fix(ai): the durable-run store resolves under the data directory, so tests never write .data/durable_runs.db into the checkout #1036/fix(k8s): resolve the port-forward state file under the repo data root #810, fix(k8s): the pyroscope Service alias collides with the pyroscope Helm release's own Service, so a fresh deploy-stack can't install Pyroscope #1104/chore(k8s): drop the kube-prometheus-stack service aliases #818, fix(github): project reconcile reads an unknown quota, fixes existing cards first, and says when it stopped early #892/fix(github):
gh project syncstops parsing task files and reports only what it wrote #878/fix(github): gh project sync and reconcile resolve their template and task paths against the cwd and fail outside the repo root #1010, fix(telemetry): the project velocity dashboard reads the latest snapshot of each gauge, and the project gauges drop the _total suffix #974/fix(gh): project metrics read every page and fail closed instead of reporting zero #931, fix(security): egress guards refuse cloud metadata in every numeric, NAT64 and provider form, classified by ipaddress and one maintained library #897/fix(security): ssrf guards admit azure's wireserver metadata address 168.63.129.16 #989 and refactor(review): delete the legacy segment engine so the orchestrator is the only review engine #995/fix(review): multi-page reviews drop unverified findings and can recommend approval #789. - THEN Their members are open and linked. The plan's
left_outholds each of the six anchors with the linked reason.groupsholds none of the six.
Requirement: Stable second run
A second live run on the same GitHub state SHALL print the same plan as the first run.
Scenario: Two live runs in a row
- WHEN A person runs
uv run devops roadmap consolidatetwice with no GitHub change between the runs. - THEN The printed plan of the second run equals the printed plan of the first run.
Requirement: No GitHub write
A live plan run MUST NOT write to GitHub.
Scenario: Write audit after the live run
- WHEN The live run finishes and a person reads the labels, comments, links, issues and milestones of the six groups.
- THEN No label, comment, link, issue or milestone changed, and the run made only read requests.
Existing Tool Considered
No alternatives check has run. No open, maintained tool covers this live verification. GitHub CLI (gh) reads issue structure but has no consolidation plan, no plan file and no comparison of the six applied groups. The project's devops roadmap consolidate does the comparison. This issue adds no code, so there is no build cost.
Key questions
- Which mode reads the live board:
--dry-run,--plan, or no mode flag?: No mode flag. Runuv run devops roadmap consolidate. Its default path reads GitHub, calls the model and writes the plan.--dry-runmakes no request and cannot read the board. The command has no--planoption. (best practice) [sources: openspec/specs/roadmap-consolidate-plan/spec.md, src/devops_cli/commands/roadmap.py:468, src/devops_cli/roadmap/consolidate.py:729, docs/roadmap/consolidate.md]- Chosen: Default plan run with no mode flag. It reads GitHub, calls the model, writes the plan file and changes nothing on GitHub.
- Rejected:
--dry-run. The dry-run rule makes no request to GitHub or a model, so it cannot see the applied groups. - Rejected: A new
--planflag. The command has no such option, and its default path already does the read and write.
- What is the exact name of the plan file?:
.data/roadmap/consolidate/<date>.json, where<date>is the UTC day of the run. The body's.data/roadmap/consolidate/.jsonis missing the file name. No code writesplan.json. (best practice) [sources: src/devops_cli/roadmap/consolidate.py:306, src/devops_cli/roadmap/consolidate.py:799, src/devops_cli/commands/roadmap.py:472, openspec/specs/roadmap-consolidate-plan/spec.md]- Chosen:
<date>.json.plan_pathnames the plan of a day by that day, and a second run on the same day reads it. - Rejected: The body's
.jsonwith no name. It is not a file name, and no code writes it. - Rejected:
plan.json. No code writes that name, and a fixed name would overwrite the earlier plan.
- Chosen:
- Which issue built the command and the plan file?: feat(roadmap): consolidate writes a plan of proposed groups #3740 built them and is done. Its OpenSpec change is archived.
run_consolidateis insrc/devops_cli/roadmap/consolidate.py. The changelog records the command. The live check waits on no code. [sources: openspec/changes/archive/2026-11-10-3740-consolidate-writes-a-plan-of-proposed/proposal.md, src/devops_cli/roadmap/consolidate.py:729, docs/roadmap/consolidate.md, CHANGELOG.md] - How does the plan report a group whose members already link to the anchor?: As a
left_outentry that holds the anchor and the linked reason. The group never appears ingroups. A shortlist whose every kept member already links is left out before the judge. It costs no model call. [sources: src/devops_cli/roadmap/consolidate.py, openspec/specs/roadmap-consolidate-plan/spec.md] - Does the plan hold a group whose members merged or closed?: No. The run reads
store.open_items(), so a group whose members merged or closed is absent. Only a group whose members stay open and link to the anchor is reported inleft_out. A group applied by closing its members leaves nothing for the plan to report. [sources: src/devops_cli/roadmap/consolidate.py, docs/roadmap/consolidate.md]
Fit
Fits in one pull request.
Suspected block
A person with GitHub access must run uv run devops roadmap consolidate on the live board. The person must check the plan file and a second run. The person must confirm no GitHub write.
Dependencies
None.
Activity
devops-cli-service commentedon Nov 5, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
It is deferred, waits on a person and live GitHub state, and blocks no other work.The work is one manual command run and a visual check of the printed plan; no code change is needed.devops roadmap consolidate) #1127, which asks for a different change.Both concern the consolidation job, but #1127 builds the command and the candidate verifies its dry-run output against applied groups.devops-cli-service commentedon Nov 9, 2026
Refine cannot set this item to Ready at 1b37dbc 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.
dan-petty commentedon Nov 14, 2026
Returned to New: this is a live-board check that needs a person, and it duplicates #3635. The design itself records that the #1127 archive moved this check to #3635 (
openspec/changes/archive/2026-11-06-1127-consolidate-shortlist/tasks.md:43), and #3635 is open. Its acceptance also needs a person to runuv run devops roadmap consolidate --planagainst the real repository, inspect.data/roadmap/consolidate/plan.json, and confirm that no GitHub state changed; the command calls a model, and an agent cannot answer the no-write audit. A person should close this item as the duplicate of #3635, or close #3635 and keep this one as the tracker.devops-cli-service commentedon Nov 19, 2026
Owner question: See the first point of Open questions in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence
devops-cli-service commentedon Nov 28, 2026
Owner question: See Suspected block in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence