Skip to content

fix(roadmap): the plan reader reports each bad plan - #3545

Merged
dan-petty merged 4 commits into
mainfrom
fix/3482-plan-reader-reports-bad-plans
Nov 5, 2026
Merged

dan-petty merged 4 commits into
mainfrom
fix/3482-plan-reader-reports-bad-plans

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The plan reader raised a raw pydantic error for a task group that the model refuses, so devops roadmap plan-check ended in a traceback with no problem list. The reader now raises only PlanReadError for such a group, and it names the group.

The reader also judges every Verification: command of every task with verification_problem, as the implement step runs them all. The OpenSpec validation drops the INFO note for skip_specs, so the stage job no longer refuses a valid plan that sets it. Any other INFO issue stays a problem. The stage prompt names a sample file with a bare name.

Closes #3482

Change: openspec/changes/archive/2026-11-04-3482-the-plan-reader-reports-each-bad-plan/

The reader raises only PlanReadError for a task group that the model refuses, and it judges every verification command of every task. The OpenSpec validation drops the note for skip_specs and keeps every other issue as a problem. The stage prompt names a sample file by a bare name.
@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 4, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Test results:

  • devops ci fail-to-pass --base origin/main: 12 new tests fail on the base and pass on the branch.
  • devops roadmap plan-check 3322 and 3329 each print one read problem. 3350 still prints body-length and stage. 3339 still prints stage.
  • The full devops ci run passes, except 4 tests that also fail on the main checkout of this host (ssh key prefix, project config path, tool status text, popeye host path). One more test (the assertion invariant) failed on the first run and was fixed.

@dan-petty
dan-petty marked this pull request as ready for review November 4, 2026 23:31
# Conflicts:
#	openspec/specs/roadmap-stage/spec.md
@dan-petty
dan-petty merged commit b05c1b0 into main Nov 5, 2026
23 checks passed
@dan-petty
dan-petty deleted the fix/3482-plan-reader-reports-bad-plans branch November 5, 2026 00:35
dan-petty pushed a commit that referenced this pull request Nov 5, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.57.2](v0.57.1...v0.57.2)
(2026-11-05)


### Bug Fixes

* **roadmap:** a placeholder reply of a model moves no item
([#3542](#3542))
([9620c50](9620c50))
* **roadmap:** the plan reader reports each bad plan
([#3545](#3545))
([b05c1b0](b05c1b0))

---
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>
dan-petty added a commit that referenced this pull request Nov 5, 2026
Add `devops roadmap plan-recheck`. It reads each numbered change folder
on the default branch and gives it one result: `ok`, `rewrite`,
`new-plan`, `delivered` or `cleanup`.

- A folder of a closed issue gets `cleanup` and is in no count.
- A plan whose `(new)` files are all on the default branch gets
`delivered`.
- A plan that fails the reader, `check_proposal` or `openspec validate`
gets `new-plan`, with its first problem.
- The report counts the folders with no `Verification:` line and the
unreadable folders.
- The command writes nothing and calls no model. It has `--json` and
`--dry-run`.
- `docs/roadmap/plan-recheck.md` and `docs/ROADMAP_WORKFLOW.md` state
the policy: a new gate on merged plans only reports until this pass has
run.

The rewrite and the leave-out of a plan with no way forward are in
#3556, as the issue allows. This pass needs #3545 to read every plan.

Closes #3492

Change: `openspec/changes/archive/2026-11-05-3492-plan-recheck-report/`
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/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(roadmap): the plan reader reports each bad plan with no crash

1 participant