Repository navigation
fix(roadmap): the plan check fails a citation of a line that moved - #3668
Merged
Merged
Conversation
Merge origin/main, move the citation messages to the message catalog, add the stage prompt rule for a symbol citation, test the staged-commit reader, and archive the change (#3422).
Owner
|
Replay of the stage golden set (
The counts do not change. This change adds no case to the set. No model run ( |
dan-petty
pushed a commit
that referenced
this pull request
Nov 6, 2026
🤖 I have created a release *beep* *boop* --- ## [0.66.0](v0.65.0...v0.66.0) (2026-11-06) ### Features * **roadmap:** ask for a smaller edit after a parser failure ([#3737](#3737)) ([2a5cd39](2a5cd39)), closes [#3053](#3053) * **roadmap:** list the local devops commands in the shell catalog ([#3739](#3739)) ([0784e8b](0784e8b)) * **roadmap:** the implement job re-checks a plan premise against the base ([#3657](#3657)) ([29309f0](29309f0)) * **roadmap:** the plan check requires a new rule to accept its own plan ([#3641](#3641)) ([5df365a](5df365a)) ### Bug Fixes * **roadmap:** a gate test holds the self-acceptance test ([#3738](#3738)) ([303bf4f](303bf4f)) * **roadmap:** the plan check fails a citation of a line that moved ([#3668](#3668)) ([cfee381](cfee381)) --- 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>
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.
The stage job now checks each citation of a file in
feasibility,whyandwhat_changes.check_proposalrefuses apath:line:textcitation when the staged line does not hold the text, or when the line or the file is absent. It refuses apath:def nameorpath:class namecitation when the staged file does not define the symbol. The stage job reads the staged commit withgit show <sha>:<path>, not the working tree. The golden-set replay and the plan-check command pass no reader, so they judge no citation. The stage prompt now states the citation forms and prefers a symbol to a line number.A plan of #3400 cited a line that moved between the refine record and the staged commit. A reader found another function, and the proof of the premise was false. A symbol citation stays true when the code moves.
Change:
openspec/changes/archive/2026-11-06-3422-the-plan-check-fails-a-citation/Closes #3422