Repository navigation
docs(openspec): plan #3394 Check every plan text for a placeholder - #3400
Merged
Merged
Conversation
dan-petty
marked this pull request as draft
November 4, 2026 03:17
This was referenced Nov 4, 2026
dan-petty
marked this pull request as ready for review
November 4, 2026 04:38
dan-petty
added a commit
that referenced
this pull request
Nov 6, 2026
…3668) The stage job now checks each citation of a file in `feasibility`, `why` and `what_changes`. `check_proposal` refuses a `path:line:text` citation when the staged line does not hold the text, or when the line or the file is absent. It refuses a `path:def name` or `path:class name` citation when the staged file does not define the symbol. The stage job reads the staged commit with `git 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 --------- Co-authored-by: devops-cli-service[bot] <349441588+devops-cli-service[bot]@users.noreply.github.com> Co-authored-by: Daniel Petty <[email protected]>
This was referenced Nov 12, 2026
dan-petty
added a commit
that referenced
this pull request
Nov 14, 2026
A spec delta can add a scenario that no task tests, and the plan still passes: the plan of PR #3400 adds a scenario that names only a field, and every check accepts it. The rule of #3321 refuses only a scenario that names code. The plan check now pairs each scenario of an added or modified requirement that names no code with a behavior group whose test names the scenario or the requirement, or whose verify runs a test module that the group changes or creates. A base-spec scenario is exempt. The stage job, plan-check and plan-recheck give the base scenario names, and the stage prompt states the rule. Closes #3423 Change: `openspec/changes/archive/2026-11-14-3423-require-a-behavior-task-for-each/`
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 #3394
The plan check leaves out the pull-request body and each line of What Changes, so a plan that says
placeholderin either field passes. #3394 adds both to_plan_texts, with the existing rule of the least length and no placeholder word. The plan stage prompt names both fields beside the other texts that the check refuses, and a prompt test asserts the names. Theroadmap-stagespec states the extended rule. Tests cover a placeholder body, a placeholder What Changes line, a body and a What Changes line below the least length, and a valid plan that passes.Change:
openspec/changes/3394-the-plan-check-refuses-a-placeholder/