Repository navigation
feat(roadmap): the plan check requires a new rule to accept its own plan - #3641
Merged
Merged
Conversation
Contributor
Author
|
The steps of the job:
|
Owner
|
Replay of the stage golden set (
The counts do not change. The recorded plans of #3410 carry the new self-acceptance test, so the good plan stays accepted and the dropped plan stays judged by no gate. No model run ( |
dan-petty
marked this pull request as ready for review
November 6, 2026 05:19
This was referenced Nov 6, 2026
dan-petty
added a commit
that referenced
this pull request
Nov 6, 2026
`test_a_stage_check_change_with_no_replay_task_is_a_problem_of_the_gate_eval_replay` fails on `main`. #3641 made the gate `content` refuse a behavior group that changes `stage_change.py` and holds no self-acceptance test. #3732 added this test, and its sample group holds no such test. Each pull request passed alone. Together the test sees two gates and not only `eval-replay`. The changed group of the test now holds a task test with the three marks of the rule, so only `eval-replay` refuses the plan. Closes #3736 Change: `openspec/changes/archive/2026-11-06-3736-gate-test-self-acceptance/`
dan-petty
pushed a commit
that referenced
this pull request
Nov 6, 2026
🤖 I have created a release *beep* *boop* --- ## [0.66.0](v0.65.0...v0.66.0) (2026-11-06) ### Features * **roadmap:** ask for a smaller edit after a parser failure ([#3737](#3737)) ([2a5cd39](2a5cd39)), closes [#3053](#3053) * **roadmap:** list the local devops commands in the shell catalog ([#3739](#3739)) ([0784e8b](0784e8b)) * **roadmap:** the implement job re-checks a plan premise against the base ([#3657](#3657)) ([29309f0](29309f0)) * **roadmap:** the plan check requires a new rule to accept its own plan ([#3641](#3641)) ([5df365a](5df365a)) ### Bug Fixes * **roadmap:** a gate test holds the self-acceptance test ([#3738](#3738)) ([303bf4f](303bf4f)) * **roadmap:** the plan check fails a citation of a line that moved ([#3668](#3668)) ([cfee381](cfee381)) --- 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.
content_problemsnow refuses a plan with a behavior group that changessrc/devops_cli/roadmap/stage_change.pyand has no group test that shows the rule accepts the plan. The stage job and the replay both call it throughcheck_proposal. The staging prompt states the same rule, so the model writes the test at once.A plan that adds a rule over plan text can write text that its own rule refuses. The plan of #3349 named a finding with a
kindoutsideDefectType. The stage checks never ran the proposed rule on the plan. #3386 makes the conflict certain: a plan that adds a gate must quote the defect that the gate refuses.The recorded plans of #3410 in the golden set carry the new test, so the good plan stays accepted.
Closes #3404
Change:
openspec/changes/archive/2026-11-05-3404-the-plan-check-requires-a-new/