Repository navigation
docs(openspec): plan #3372 Check every module of a moved prefix - #3378
Merged
Merged
Conversation
dan-petty
marked this pull request as draft
November 4, 2026 02:26
A move reads only a top-level Python module, and a test module or conftest.py is no module of a job prefix. A negative search on the bare prefix matches the new subpackage, so the check refuses it and accepts the dotted prefix with the separator.
dan-petty
marked this pull request as ready for review
November 4, 2026 02:49
dan-petty
added a commit
that referenced
this pull request
Nov 4, 2026
The stage gate checks the form and the paths of a verify command, but never whether a negative search can pass on the tree that the plan produces. The move-prefix check of #3378 tests a whole-prefix negative search, and #3410 makes the gate record the staged hits and refuse a search that proves nothing or that a created module keeps. Closes #3410 Change: `openspec/changes/archive/2026-11-04-3410-the-stage-gate-proves-a-negative/`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Plans #3372
The stage plan check judges the files of each group, but it never compares a move with the tree. A plan that moves
stage_ready.pyand leavesstage_verify.pypasses, and its own layout test then fails. This change makescheck_proposalread a job-prefix move from an old path and a new path under<folder>/<prefix>/, and require every top-level Python module of the prefix in the groupchangesor a later group. It reads notest_*module and noconftest.py. It refuses a! git grepverify literal that equals one module's import path, the bare prefix included:devops_cli.roadmap.stagealso matches the newstage/package, so the check acceptsdevops_cli.roadmap.stage_instead. The stage prompt asks for every module of the prefix and a prefix-wide check. The tree walk ofstage_change.pycovers the need, so no new tool is added.Change:
openspec/changes/3372-the-stage-plan-of-a-module/