Skip to content

feat(roadmap): a plan that adds a gate quotes the defect - #4194

Merged
dan-petty merged 1 commit into
mainfrom
feat/3386-a-plan-that-adds-a-gate
Nov 9, 2026
Merged

dan-petty merged 1 commit into
mainfrom
feat/3386-a-plan-that-adds-a-gate

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

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/

@dan-petty dan-petty added type/feature Type feature: a new function scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 9, 2026
@dan-petty
dan-petty force-pushed the feat/3386-a-plan-that-adds-a-gate branch 2 times, most recently from eb445e2 to d08013b Compare November 9, 2026 01:28
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
dan-petty force-pushed the feat/3386-a-plan-that-adds-a-gate branch from d08013b to 294b7d8 Compare November 9, 2026 01:42
@dan-petty
dan-petty marked this pull request as ready for review November 9, 2026 01:57
@dan-petty
dan-petty merged commit ab5e92a into main Nov 9, 2026
26 checks passed
@dan-petty
dan-petty deleted the feat/3386-a-plan-that-adds-a-gate branch November 9, 2026 02:00
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(roadmap): a plan that adds a gate quotes the defect the gate refuses

1 participant