Skip to content

fix(roadmap): keep a plan with an open finding in draft - #3399

Merged
dan-petty merged 2 commits into
mainfrom
fix/3264-the-stage-marks-a-plan-ready
Nov 4, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/3264-the-stage-marks-a-plan-ready

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

A finding of an open type, or one that reports a placeholder, now keeps the plan pull request a draft with the label plan/needs-fix. The stage_ready row refuses that draft and states the reason once. The plan counts as a failed attempt of class plan_defect, and the golden set holds the #3174 case.

Closes #3264
Change: openspec/changes/archive/2026-11-04-3264-the-stage-marks-a-plan-ready/

A finding of an open type, or one that reports a placeholder, keeps the plan pull request a draft with the label plan/needs-fix. The stage_ready row refuses that draft and states the reason once. The plan counts as a failed attempt of class plan_defect, and the golden set holds the #3174 case.

Closes #3264
@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
The workflow document invariant requires each record key of the code. Name  in the table of record keys.
@dan-petty
dan-petty marked this pull request as ready for review November 4, 2026 00:49
@dan-petty
dan-petty merged commit 499a546 into main Nov 4, 2026
20 checks passed
@dan-petty
dan-petty deleted the fix/3264-the-stage-marks-a-plan-ready branch November 4, 2026 00:50
dan-petty pushed a commit that referenced this pull request Nov 4, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.53.4](v0.53.3...v0.53.4)
(2026-11-04)


### Bug Fixes

* **roadmap:** keep a plan with an open finding in draft
([#3399](#3399))
([499a546](499a546))

---
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 4, 2026
…ield (#3350)

Plans #3344

A plan can read a field that the model has no field for. In #3264 the
planner's first reply read `PullStatus.labels` before `PullStatus`
defined `labels`, and it left `src/devops_cli/github/client.py` out of
its `changes`. #3399 later added `labels`, so the cited class passes
today. No gate checks a model field.

The plan adds `src/devops_cli/roadmap/stage_models.py`, which collects
the dotted references of a plan and reads the named classes at the
staged commit with `git grep`, `git show` and `ast`. `check_proposal`
gains a keyword-only `models` map. A reference to a field that the named
Pydantic model lacks becomes a problem that names the reference and the
module, and asks for the module in a group's `changes`. The reply goes
back to the model once, and a second reply with the same gap stops the
item. The replay reads no git, so the golden case records the model
fields in its facts, and the plan adds the case and the rule of the
paths gate in `docs/ROADMAP_WORKFLOW.md`.

Change: `openspec/changes/3344-the-stage-probe-checks-client-model/`

---------

Co-authored-by: devops-cli-service[bot] <349441588+devops-cli-service[bot]@users.noreply.github.com>
Co-authored-by: Daniel Petty <[email protected]>
dan-petty added a commit that referenced this pull request Nov 8, 2026
The stage proposal check reads paths, spec deltas, criteria and form,
but no model field. In #3264 the first reply of the planner read
`PullStatus.labels` before `PullStatus` defined `labels`, and the reply
left `src/devops_cli/github/client.py` out of its `changes`. The
verification pass found the gap. #3399 later added `labels` to
`PullStatus`, so the cited class passes today. No deterministic gate
checks a model field, so the same gap in another class or field still
passes (#3344).

Closes #3344

Change:
`openspec/changes/archive/2026-11-08-3344-the-stage-probe-checks-client-model/`
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 stage marks a plan ready although its own model review found a defect

1 participant