Skip to content

feat(roadmap): Add roadmap consolidate with a plan file - #4328

Merged
dan-petty merged 9 commits into
mainfrom
feat/3740-consolidate-plan
Nov 10, 2026
Merged

dan-petty merged 9 commits into
mainfrom
feat/3740-consolidate-plan

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The shortlists of the consolidation job had no caller. This adds devops roadmap consolidate: a model judge proposes and refutes a group for each shortlist, code checks the answers, and a local plan lists the groups. A verdict only flags; the run changes nothing on GitHub. --decline --confirm writes one job-record mark.

Closes #3740

Change: openspec/changes/archive/2026-11-10-3740-consolidate-writes-a-plan-of-proposed/

@dan-petty dan-petty added type/feature Type feature: a new function scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 10, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Live proof and evidence

Live run on this repository on 2026-11-10 with DEVOPS_CLI_AI_TASK_ANALYSIS_MODEL=deepseek-v4.1-flash-1017 and --limit 4. The first run used --limit 2. Its two judgements were reused by the second run. No Sonnet or Claude model was called.

$ devops roadmap consolidate --repo dan-petty/devops-cli --limit 4
# Consolidate plan for dan-petty/devops-cli on 2026-11-10
- g3108-813c97d5 link-only, anchor #3108 (kept, confidence 0.72, new): Runner image tool set and image scan
  Root cause: The runner image scan fails on HIGH CVEs in pinned tools. The anchor waits for fixed actionlint and Trivy releases. The other items have different blockers or different tools.
  - #3562 link: The item uses the same runner tool catalog and NOT_IN_RUNNER. Its blocker is a security decision for cluster tools, not a CVE in actionlint or Trivy.
  - #3827 link: The item needs scanners in the runner image and cites #3108. Its main blocker is the bubblewrap user-namespace limit, so it is a separate change.
  - #3920 link: The item fixes a different HIGH CVE in the pinned GitHub CLI. It shares the image scan fault but needs its own pin bump.
Shortlists with no group in the plan:
- Anchor #1082 g1082-b7768fbb: the members link to the anchor already
- Anchor #1307 g1307-25ad9510: the members link to the anchor already
- Anchor #2162: the members link to the anchor already
- Anchor #2695 g2695-998c225a: the members link to the anchor already
- Anchor #2742: the refutation dropped the proposal
- Anchor #3230: the refutation dropped the proposal
- Anchor #3104: the members link to the anchor already
- Anchor #3414: the members link to the anchor already
- Anchor #3701: the members link to the anchor already
- Anchor #3717: the members link to the anchor already
- Anchor #3949: the members link to the anchor already
1 group(s), 1 of them new. 76 shortlist(s) wait for a later run.
ℹ Plan written to /workspaces/devops-cli/.data/roadmap/consolidate/2026-11-10.json.

Over the two runs the model judged 6 shortlists: kept for #1082, #2695 and #3108, weakened for #1307, dropped for #2742 and #3230. One became a group: a link-only group with the anchor #3108. The groups of #1082, #1307 and #2695 are left out because their members link to the anchor already. The shortlists in the list with no group id have members that link to the anchor already, so no model call was made for them. 76 shortlists wait for later runs (--limit).

Spend, from devops ai cost --by model --since 2026-11-10T01:00:00: deepseek-v4.1-flash-1017 14 requests, 64 181 prompt tokens and 45 934 completion tokens, cost equivalent 0.07 USD. The embeddings of the 286 open items (qwen3-embedding:0.6b) cost 0.07 USD equivalent. The total is below 0.15 USD, under the cap of 1 USD. The gateway shows 0.00 USD of billed spend for the period.

Fail-to-pass

devops ci fail-to-pass --base origin/main:

ℹ Quality gate root: /workspaces/devops-cli/.data/agent/worktrees/w-3740
  errored on base: tests.commands.test_roadmap_consolidate_cmd (collection failure)
  errored on base: tests.roadmap.test_roadmap_command_help (collection failure)
  errored on base: tests.roadmap.test_roadmap_consolidate (collection failure)
  errored on base: tests.roadmap.test_roadmap_consolidate_judge (collection failure)
  failed on base: tests.roadmap.test_roadmap_failure::test_step_name_holds_the_step_of_each_job_that_records_one (AssertionError: assert ['plan', 'app..., 'gate', ...] == ['plan', 'app...'select', ...])
1 failed on base (1 failed and 102 passed in tests/commands/test_roadmap_consolidate_cmd.py, tests/roadmap/test_roadmap_command_help.py, tests/roadmap/test_roadmap_consolidate.py, tests/roadmap/test_roadmap_consolidate_judge.py, tests/roadmap/test_roadmap_failure.py; 4 errored).
Elapsed: 35s

The three new test modules and the changed help test fail to collect on the base, and the changed step test fails on the base.

ConfigMap

No new setting, so no ConfigMap key is needed. Nothing was applied to the cluster.

Cost of building the judge (rule 3)

No open tool groups open issues by root cause with these rules (alternatives checks of #1127 and #3740). The change reuses chat_structured, ai.for_task("analysis"), the shortlists of #1127, the store, resolve_data_path and Pydantic. It adds no dependency. About 150 000 tokens to write and test it once, two prompts to keep, and two model requests for each judged shortlist.

Checks

The full devops ci ran once before the push. It passed ruff, mypy, bandit, the docs, OpenSpec and startup-imports rows. It found four faults, which the last two commits fix: a blind pytest.raises(Exception), the order of StepName (the new member judge is last), and the classes of two new limits. tests/commands/test_scan.py fails on origin/main too, because scan tests reach the host scanner tools (#4288, #4321). Coverage was 93.09% (the gate asks 85%).

Not verified

  • The quality of the verdicts on the whole board. The live run judged 6 of the shortlists; 76 wait.
  • Only the judge by chat_structured exists. The Jev judge is a later item and goes behind ShortlistJudge.judge.
  • The rule "a member that a person reopened after a close as a duplicate" reads duplicate_of of the timeline. Apply (feat(roadmap): consolidate --apply writes one accepted group #3743) must close a merged member as a duplicate of its anchor for this rule to see it.

@dan-petty
dan-petty marked this pull request as ready for review November 10, 2026 02:54
@dan-petty
dan-petty merged commit 18f996b into main Nov 10, 2026
26 checks passed
@dan-petty
dan-petty deleted the feat/3740-consolidate-plan branch November 10, 2026 02:56
dan-petty pushed a commit that referenced this pull request Nov 10, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.106.0](v0.105.0...v0.106.0)
(2026-11-10)


### Features

* **roadmap:** Add roadmap consolidate with a plan file
([#4328](#4328))
([18f996b](18f996b))


### Bug Fixes

* **roadmap:** log why a stage reply holds only placeholders
([#4327](#4327))
([81accc8](81accc8))
* **roadmap:** the scenario check accepts a data file in when
([#4330](#4330))
([7246f30](7246f30))
* **roadmap:** the trace gate counts code that reads a file
([#4329](#4329))
([c562883](c562883))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(roadmap): consolidate writes a plan of proposed groups

1 participant