Skip to content

feat(roadmap): require a move plan to cover each reference - #4166

Merged
dan-petty merged 1 commit into
mainfrom
feat/3373-a-move-plan-covers-each-reference
Nov 8, 2026
Merged

dan-petty merged 1 commit into
mainfrom
feat/3373-a-move-plan-covers-each-reference

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

A plan that moves a module of src/devops_cli/roadmap/ rewrites the imports of its callers only. String literals such as a monkeypatch.setattr target, caplog logger names, snapshot files keyed by a test path and the docstring of src/devops_cli/roadmap/__init__.py still name the old module, so the tests fail after the implement step and the plan's Impact list hides the work (#3373).

Closes #3373

Change: openspec/changes/archive/2026-11-08-3373-a-move-plan-covers-each-reference/

Require each reference of a moved Python module to be covered by the plan.
The stage job probes references on the staged commit with git grep.
Uncovered references cause check_proposal to refuse the plan.
An unchanged reference must give a reason in the reply.

Closes #3373
@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 8, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 8, 2026 16:03
@dan-petty
dan-petty merged commit c3cf983 into main Nov 8, 2026
25 checks passed
@dan-petty
dan-petty deleted the feat/3373-a-move-plan-covers-each-reference branch November 8, 2026 16:06
dan-petty pushed a commit that referenced this pull request Nov 8, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.91.0](v0.90.1...v0.91.0)
(2026-11-08)


### Features

* **roadmap:** keep the gated stage plan as a file
([#4167](#4167))
([a59f6fc](a59f6fc))
* **roadmap:** refuse a plan that reads an absent model field
([#4164](#4164))
([3181b22](3181b22))
* **roadmap:** require a move plan to cover each reference
([#4166](#4166))
([c3cf983](c3cf983))

---
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): Require a move plan to cover each reference

1 participant