Repository navigation
docs(openspec): plan #3200 Refuse placeholder and cut plan text - #3260
Merged
Merged
Conversation
This was referenced Nov 2, 2026
dan-petty
force-pushed
the
feat/3200-refuse-a-plan-with-placeholder-or
branch
from
November 2, 2026 23:43
7e9747b to
cf3eda4
Compare
This was referenced Nov 3, 2026
dan-petty
added a commit
that referenced
this pull request
Nov 3, 2026
…3329) Plans #3308 A plan can give a number beside a constant name that differs from the staged tree. The plan of PR #3260 gave 40 in a spec scenario, while `SUMMARY_MAX_CHARS` is 60 in `src/devops_cli/roadmap/pull_form.py` and `STAGE_SUMMARY_MAX_CHARS` is 47. The plan check accepted it. The check compares a sentence that names one known constant and holds one number. It skips a sentence with two numbers, a note reference, a line location and an unknown constant name. The prompt rule asks the model to cite the staged value and not to rename an existing bound. `Stage._settle` reads the staged constants with `git grep`, `git show` and `ast`, and passes them to `check_proposal`. The stage eval replay reads recorded constants and reads no git. Change: `openspec/changes/3308-the-plan-check-compares-a-number/` --------- Co-authored-by: devops-cli-service[bot] <349441588+devops-cli-service[bot]@users.noreply.github.com> Co-authored-by: Daniel Petty <[email protected]>
dan-petty
added a commit
that referenced
this pull request
Nov 9, 2026
A plan that adds a gate can claim it refuses a defect that the gate does not refuse (#3386). The plan for #3308 is an example. Its Feasibility said the plan of PR #3260 claimed 40 while `SUMMARY_MAX_CHARS` is 60. The actual plan of PR #3260 gave `PLAN_SUMMARY_MAX_CHARS = 47` and said that the issue text says 40 and the schema says 60. The planned check skips a constant name that the staged tree does not define, so it cannot refuse that plan. The Feasibility quoted the staged constant and did not quote the defective plan text or test the rule against it. A plan that quotes only the staged value can pass every gate and still add a check that misses its own example. The plan check now ties a new gate to the defect that the gate refuses. Closes #3386 Change: `openspec/changes/archive/2026-11-09-3386-a-plan-that-adds-a-gate/`
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 #3200
The stage job checks only that the keys of a plan are not blank. Four plans passed every gate with
x,todo, atrueverify command or a summary cut with..., and each cost a person a review round. This change adds a content gate tocheck_proposal: a text field under a named bound, a field that is only a placeholder word, afeasibilitythat quotes no probe line, anexisting_toolwith no build cost, and averifycommand that cannot fail. The placeholder rule reusesis_placeholderofpull_form.py, and each refusal names its field.staging_titleanddelivery_titlestop cutting the summary. A newcontentgate catchesDefectType.OTHER, and the golden set gains the recorded placeholder plans.Change:
openspec/changes/3200-refuse-a-plan-with-placeholder-or/