Skip to content

feat(roadmap): refuse a plan that reads an absent model field - #4164

Merged
dan-petty merged 1 commit into
mainfrom
feat/3344-the-stage-probe-checks-client-model
Nov 8, 2026
Merged

dan-petty merged 1 commit into
mainfrom
feat/3344-the-stage-probe-checks-client-model

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

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/

@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 8, 2026
@dan-petty
dan-petty force-pushed the feat/3344-the-stage-probe-checks-client-model branch from d4473bc to 5cfbac8 Compare November 8, 2026 15:59
Add a check to the stage paths gate that detects when a task or spec reads an attribute of a Pydantic model that the model does not declare at the staged commit. When the defining module is missing from task changes, check_proposal returns a problem under ProposalGate.PATHS naming the reference and module.

Add stage eval golden case 3344-a-plan-that-reads-an-absent-field to replay the missing-field defect. Update documentation and archive the OpenSpec change.

Closes #3344
@dan-petty
dan-petty force-pushed the feat/3344-the-stage-probe-checks-client-model branch from 5cfbac8 to 1160e87 Compare November 8, 2026 16:13
@dan-petty
dan-petty marked this pull request as ready for review November 8, 2026 16:21
@dan-petty
dan-petty merged commit 3181b22 into main Nov 8, 2026
25 checks passed
@dan-petty
dan-petty deleted the feat/3344-the-stage-probe-checks-client-model branch November 8, 2026 16:21
dan-petty pushed a commit that referenced this pull request Nov 8, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.91.0](v0.90.1...v0.91.0)
(2026-11-08)


### Features

* **roadmap:** keep the gated stage plan as a file
([#4167](#4167))
([a59f6fc](a59f6fc))
* **roadmap:** refuse a plan that reads an absent model field
([#4164](#4164))
([3181b22](3181b22))
* **roadmap:** require a move plan to cover each reference
([#4166](#4166))
([c3cf983](c3cf983))

---
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): Refuse a plan that reads an absent model field

1 participant