Repository navigation
feat(roadmap): run the plan checks before the stage push - #5416
Conversation
The stage job pushed plans that the CI job Plan Check then refused. On 2026-11-13 it staged #5136 with no gate return, and Plan Check refused plan pull request #5407: group 2 changes a file and packs no file. The rules of the title, the body, the plan reader, the stage gates and the size of each group now take a change folder in memory (PlanFolder). devops roadmap plan-check and the stage job call the same functions. The stage job runs them in _settle after openspec validate. A refused reply goes back to the model as a gate return of the gate plan-check, and a reply that the rules refuse after the last return fails the item with no push. The head of #5407 is a test fixture. Four stage tests had plans that CI refuses, and three test files planned on a checkout that lacked the files of their tree; they now name the file and plan on a clone.
The new title and body rules of plan_check.py had the name form_problems. That name is already the task-group form rule of stage_form.py, which the stage gates, the specs and the eval cases use. The rules are now title_body_problems, so a search finds each function by one name.
The stage job runs the rules of the plan check before its push. The archive adds the two requirements to roadmap-plan-check and roadmap-stage/replies.
|
Test results and review notes for this pull request. Fail first (base 6a5b450, branch tests on the base source)
Checks on the branch
Render diff: no Review fix: the new title and body rules of Release: needed. The stage job runs in the Service image and Not in this change: the run of |
🤖 I have created a release *beep* *boop* --- ## [0.129.0](v0.128.0...v0.129.0) (2026-11-13) ### Features * **roadmap:** run the plan checks before the stage push ([#5416](#5416)) ([4c3de9d](4c3de9d)) --- 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>
The stage job pushed plans that the CI job Plan Check then refused. On 2026-11-13 it staged #5136 with no gate return, and Plan Check refused plan pull request #5407 because group 2 packs no file.
The stage job now runs the rules of
devops roadmap plan-checkthat need no pull request on the files that it writes, afteropenspec validate: the title and body rules, the plan reader, the stage gates and the size of each group. The command and the job call the same functions ofplan_check.py, so no rule has a second copy. A refused reply goes back to the model as a gate return of the gateplan-check. A reply that the rules still refuse after the last return fails the item, and the job pushes no branch.This also covers the
group-no-filesrefusal that #3970 and #3965 ask for. The run of the invariant tests before the push waits for #4559.Closes #4725
Change:
openspec/changes/archive/2026-11-13-4725-run-the-plan-checks-before-the/Elapsed: 2.73s