Repository navigation
docs(openspec): plan #3422 Refuse a plan citation of a moved line - #3439
Merged
Merged
Conversation
Contributor
Author
|
The stage_ready row leaves pull request #3439 a draft. It holds the label |
dan-petty
marked this pull request as ready for review
November 4, 2026 14:21
This was referenced Nov 12, 2026
dan-petty
added a commit
that referenced
this pull request
Nov 14, 2026
…5685) The plan of PR #3439 proved its premise with another open change's proposal: its feasibility cited `openspec/changes/3307-the-plan-check-names-a-caller/proposal.md` and claimed a `StagedTree.callers` method that the source does not define. #3307 holds only a plan commit, the gates accepted the plan, and a person then marked it `plan/needs-fix`. The plan check now refuses a feasibility line that cites the `proposal.md` or `design.md` of a change that is not in `openspec/changes/archive/`, under the citation gate. An archived change's plan stays allowed, and the stage prompt states that only the source at the staged commit is evidence. Closes #3465 Change: `openspec/changes/archive/2026-11-14-3465-refuse-an-open-change-s-plan/` Stage eval evidence: `uv run devops roadmap eval stage --replay` - Score before: 82 of 319 (26%) - Score after: 82 of 319 (26%)
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 #3422
A staged plan copies a
path:line:textcitation from a refine record that read another commit, so the cited line holds another function and the feasibility proof is false while the premise is true.check_proposalchecks no citation, so such a plan passes every check. This change resolves each citation offeasibility,whyandwhat_changesagainst the staged tree and refuses a stale one. It also resolves apath:def nameorpath:class namecitation, which stays true when the code moves, and the stage prompt asks the planner to prefer that form. The check judges nothing when it holds no file text, so the replay of the golden set keeps its recorded plans.Change:
openspec/changes/3422-the-plan-check-fails-a-citation/