Skip to content

feat(roadmap): list moved plan paths in the stage comment - #3805

Merged
dan-petty merged 6 commits into
mainfrom
feat/3309-a-staged-plan-lists-the-files
Nov 6, 2026
Merged

dan-petty merged 6 commits into
mainfrom
feat/3309-a-staged-plan-lists-the-files

Conversation

@devops-cli-service

@devops-cli-service devops-cli-service Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Closes #3309

A staged plan can rest on a base that main has moved past. The plan in #3261 held two stale facts: a title rule that staging_title had changed, and two callees that need a checkout, which the plan did not say. Both reached a reviewer, who had to find them (#3309). The stage job now names the plan's files that main changed after the base, and the prompt asks for the preconditions of each callee.

Change: openspec/changes/archive/2026-11-06-3309-a-staged-plan-lists-the-files/

@devops-cli-service
devops-cli-service Bot force-pushed the feat/3309-a-staged-plan-lists-the-files branch from 3616d0e to 61e5f05 Compare November 6, 2026 16:53
@devops-cli-service

Copy link
Copy Markdown
Contributor Author

The steps of the job:

Step Status Attempts Tokens in/out Last failing command
group 1 done 2 6571712/23361 pytest on base: tests/roadmap/test_roadmap_stage_moved.py
group 2 done 1 6506188/17766 pytest on base: tests/roadmap/test_roadmap_stage_apply.py
group 3 done 1 616480/4141 -
group 4 done 1 644027/4495 -
fix done 1 1852881/12311 -
  • scoped check pre-push: passed, 11 s
  • scoped check static: passed, 44 s
  • scoped check tests: failed, 179 s
  • scoped check pre-push: passed, 9 s
  • scoped check static: passed, 43 s
  • scoped check tests: passed, 171 s
  • fail-to-pass of group 1: fails on the base commit. Tests that fail on the base commit: tests.roadmap.test_roadmap_stage_moved::test_a_commit_that_changed_a_named_path_and_another_lists_the_named_path_alone, tests.roadmap.test_roadmap_stage_moved::test_two_later_commits_that_changed_a_named_path_give_both_in_log_order, tests.roadmap.test_roadmap_stage_moved::test_a_plan_that_names_no_path_runs_no_git_command, tests.roadmap.test_roadmap_stage_moved::test_a_base_at_the_tip_of_the_branch_gives_an_empty_list, tests.roadmap.test_roadmap_stage_moved::test_a_commit_that_changed_an_unnamed_path_gives_nothing.
  • fail-to-pass of group 2: fails on the base commit. Tests that fail on the base commit: tests.roadmap.test_roadmap_stage_apply::test_the_comment_of_a_plan_that_names_no_moved_path_has_no_moved_section, tests.roadmap.test_roadmap_stage_apply::test_the_comment_lists_a_named_path_that_the_default_branch_changed.
  • verify of group 3: uv run devops openspec check exits 0.
\u2713 OpenSpec check passed.
Bytecode compiled 19152 files in 862ms
Elapsed: 20s
  • verify of group 4: uv run devops ci test tests/roadmap/test_roadmap_stage_prompt_rules.py exits 0.
\u2139 Quality gate root: /home/devops/.data/agent/worktrees/w-3309
No coverage index found. Run `devops ci coverage --build-index` to build one.
  tests/roadmap/test_roadmap_stage_prompt_rules.py \u2192 tests/roadmap/test_roadmap_stage_prompt_rules.py
================================================================================================================== test session starts ===================================================================================================================
platform linux -- Python 3.14.8, pytest-9.1.1, pluggy-1.6.0
rootdir: /home/devops/.data/agent/worktrees/w-3309
configfile: pyproject.toml
plugins: xdist-3.8.0, cov-7.1.0, hypothesis-6.168.3, asyncio-1.4.0, syrupy-6.1.1, split-0.11.0, time-machine-3.5.1, mock-3.16.0, timeout-2.4.0, anyio-4.15.1
asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
timeout: 600.0s
timeout method: signal
timeout func_only: False
collected 85 items

tests/roadmap/test_roadmap_stage_prompt_rules.py .....................................................................................                                                                                                             [100%]

=================================================================================================================== 85 passed in 0.89s ===================================================================================================================
Bytecode compiled 19152 files in 853ms
Bytecode compiled 19152 files in 953ms
Elapsed: 8.29s
  • verify of group 0: uv run devops ci test tests/roadmap/test_roadmap_stage_moved.py exits 0.
\u2139 Quality gate root: /home/devops/.data/agent/worktrees/w-3309
No coverage index found. Run `devops ci coverage --build-index` to build one.
  tests/roadmap/test_roadmap_stage_moved.py \u2192 tests/roadmap/test_roadmap_stage_moved.py
================================================================================================================== test session starts ===================================================================================================================
platform linux -- Python 3.14.8, pytest-9.1.1, pluggy-1.6.0
rootdir: /home/devops/.data/agent/worktrees/w-3309
configfile: pyproject.toml
plugins: xdist-3.8.0, cov-7.1.0, hypothesis-6.168.3, asyncio-1.4.0, syrupy-6.1.1, split-0.11.0, time-machine-3.5.1, mock-3.16.0, timeout-2.4.0, anyio-4.15.1
asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
timeout: 600.0s
timeout method: signal
timeout func_only: False
collected 5 items

tests/roadmap/test_roadmap_stage_moved.py .....                                                                                                                                                                                                    [100%]

=================================================================================================================== 5 passed in 1.06s ====================================================================================================================
Bytecode compiled 19152 files in 876ms
Bytecode compiled 19152 files in 881ms
Elapsed: 7.90s
  • verify of group 0: uv run devops ci test tests/roadmap/test_roadmap_stage_apply.py exits 0.
\u2139 Quality gate root: /home/devops/.data/agent/worktrees/w-3309
No coverage index found. Run `devops ci coverage --build-index` to build one.
  tests/roadmap/test_roadmap_stage_apply.py \u2192 tests/roadmap/test_roadmap_stage_apply.py
================================================================================================================== test session starts ===================================================================================================================
platform linux -- Python 3.14.8, pytest-9.1.1, pluggy-1.6.0
rootdir: /home/devops/.data/agent/worktrees/w-3309
configfile: pyproject.toml
plugins: xdist-3.8.0, cov-7.1.0, hypothesis-6.168.3, asyncio-1.4.0, syrupy-6.1.1, split-0.11.0, time-machine-3.5.1, mock-3.16.0, timeout-2.4.0, anyio-4.15.1
asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
timeout: 600.0s
timeout method: signal
timeout func_only: False
collected 35 items

tests/roadmap/test_roadmap_stage_apply.py ...................................                                                                                                                                                                      [100%]

================================================================================================================== 35 passed in 34.94s ===================================================================================================================
Bytecode compiled 19152 files in 869ms
Bytecode compiled 19152 files in 897ms
Elapsed: 42s
  • verify of group 0: uv run devops openspec check exits 0.
\u2713 OpenSpec check passed.
Bytecode compiled 19152 files in 846ms
Elapsed: 19s
  • verify of group 0: uv run devops ci test tests/roadmap/test_roadmap_stage_prompt_rules.py exits 0.
\u2139 Quality gate root: /home/devops/.data/agent/worktrees/w-3309
No coverage index found. Run `devops ci coverage --build-index` to build one.
  tests/roadmap/test_roadmap_stage_prompt_rules.py \u2192 tests/roadmap/test_roadmap_stage_prompt_rules.py
================================================================================================================== test session starts ===================================================================================================================
platform linux -- Python 3.14.8, pytest-9.1.1, pluggy-1.6.0
rootdir: /home/devops/.data/agent/worktrees/w-3309
configfile: pyproject.toml
plugins: xdist-3.8.0, cov-7.1.0, hypothesis-6.168.3, asyncio-1.4.0, syrupy-6.1.1, split-0.11.0, time-machine-3.5.1, mock-3.16.0, timeout-2.4.0, anyio-4.15.1
asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
timeout: 600.0s
timeout method: signal
timeout func_only: False
collected 85 items

tests/roadmap/test_roadmap_stage_prompt_rules.py .....................................................................................                                                                                                             [100%]

=================================================================================================================== 85 passed in 0.90s ===================================================================================================================
Bytecode compiled 19152 files in 809ms
Bytecode compiled 19152 files in 869ms
Elapsed: 7.77s

@devops-cli-service devops-cli-service Bot 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 6, 2026
@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 6, 2026 16:59
@dan-petty

Copy link
Copy Markdown
Owner

Review: no change needed. Every required check passes.

  • moved_paths and _moved_by_item read the right range (<base>..origin/<default>), keep only the named paths, and read no git when no change is ready. The fail-to-pass runs of groups 1 and 2 show the tests fail on the base.
  • uv run devops roadmap eval stage --replay on this head: every gate refuses what it must refuse, 4 of 4 good plans are accepted, 69 of 306 known defects are judged by a gate. Task 3.1 asked for a score before and after the prompt change, but --replay calls no model and runs recorded plans through the gates. It cannot show an effect of a prompt rule, so no before and after score exists for this change. The rule is pinned by the prompt-rule test in group 4. A live run (uv run devops roadmap eval stage) calls the gateway once per case; run it only if the owner wants a measured score.
  • The change to tests/roadmap/test_roadmap_implement_records.py is outside the plan. It is valid: the runner pod sets DEVOPS_CLI_ROADMAP_IMPLEMENT_IN_RUNNER, and the suite runs in that pod.

@dan-petty
dan-petty merged commit b550b07 into main Nov 6, 2026
27 checks passed
@dan-petty
dan-petty deleted the feat/3309-a-staged-plan-lists-the-files branch November 6, 2026 18:16
dan-petty pushed a commit that referenced this pull request Nov 6, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.71.0](v0.70.2...v0.71.0)
(2026-11-06)


### Features

* **roadmap:** a Service row runs the retitle job
([#3811](#3811))
([f1130d3](f1130d3))
* **roadmap:** list moved plan paths in the stage comment
([#3805](#3805))
([b550b07](b550b07))


### Bug Fixes

* **review:** Limit lockfile bucket to CONST_LOCKFILE_NAMES
([#3808](#3808))
([0b2909a](0b2909a))
* **security:** make clean-default model fields required
([#3807](#3807))
([dcc22b0](dcc22b0))


### Code Refactoring

* **ci:** record keep-port decision
([#3816](#3816))
([7ca3afd](7ca3afd))
* **mcp:** delete the outbound MCP code that nothing reaches
([#3817](#3817))
([b28fd4d](b28fd4d))

---
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): list moved plan paths in the stage comment

1 participant