Skip to content

docs(openspec): plan #3422 Refuse a plan citation of a moved line - #3439

Merged
dan-petty merged 2 commits into
mainfrom
fix/3422-the-plan-check-fails-a-citation
Nov 4, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/3422-the-plan-check-fails-a-citation

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

Plans #3422

A staged plan copies a path:line:text citation 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_proposal checks no citation, so such a plan passes every check. This change resolves each citation of feasibility, why and what_changes against the staged tree and refuses a stale one. It also resolves a path:def name or path:class name citation, 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/

@devops-cli-service devops-cli-service Bot added type/docs Type docs: a change to the documents scope/openspec OpenSpec changes, specs and their checks verdict/fix-plan Verdict Needs fix of a plan: an open finding keeps the plan in draft until a fix labels Nov 4, 2026
@devops-cli-service

Copy link
Copy Markdown
Contributor Author

The stage_ready row leaves pull request #3439 a draft. It holds the label plan/needs-fix, because the model review of its plan found an open finding. Fix the plan, or remove the label when the finding is no defect.

@dan-petty dan-petty removed the verdict/fix-plan Verdict Needs fix of a plan: an open finding keeps the plan in draft until a fix label Nov 4, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 4, 2026 14:21
@dan-petty
dan-petty self-requested a review as a code owner November 4, 2026 14:21
@dan-petty
dan-petty merged commit 0e3427f into main Nov 4, 2026
18 checks passed
@dan-petty
dan-petty deleted the fix/3422-the-plan-check-fails-a-citation branch November 4, 2026 14:21
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%)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/openspec OpenSpec changes, specs and their checks type/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant