Repository navigation
feat(roadmap): a plan that adds a gate quotes the defect - #4194
Merged
Merged
Conversation
dan-petty
force-pushed
the
feat/3386-a-plan-that-adds-a-gate
branch
2 times, most recently
from
November 9, 2026 01:28
eb445e2 to
d08013b
Compare
Add gate defect quote checks to the roadmap stage plan rules. A plan that adds or changes a gate file in stage_eval_gates.py or stage_change.py must quote the defective text that the gate refuses in a code span in feasibility. The test task must hold that quoted text and state that it fails on the base. A gate test that skips a case must state a non-goal in the decisions, rejected alternatives, or spec delta. Closes #3386 Change: `openspec/changes/archive/2026-11-09-3386-a-plan-that-adds-a-gate/`
dan-petty
force-pushed
the
feat/3386-a-plan-that-adds-a-gate
branch
from
November 9, 2026 01:42
d08013b to
294b7d8
Compare
dan-petty
marked this pull request as ready for review
November 9, 2026 01:57
dan-petty
pushed a commit
that referenced
this pull request
Nov 9, 2026
🤖 I have created a release *beep* *boop* --- ## [0.98.0](v0.97.0...v0.98.0) (2026-11-09) ### Features * **roadmap:** a plan that adds a gate quotes the defect ([#4194](#4194)) ([ab5e92a](ab5e92a)) * **roadmap:** add failure classes and runner facts to stage context ([#4195](#4195)) ([87e9bd7](87e9bd7)) * **roadmap:** keep phase marks, spend and run comment of a killed Job ([#4202](#4202)) ([38ebc17](38ebc17)) ### Bug Fixes * **roadmap:** refuse a placeholder plan summary and body ([#4196](#4196)) ([aec8ef5](aec8ef5)) * **roadmap:** return an item when a cited class field exists ([#4199](#4199)) ([816cfe0](816cfe0)) --- 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.
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_CHARSis 60. The actual plan of PR #3260 gavePLAN_SUMMARY_MAX_CHARS = 47and 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/