Repository navigation
feat(roadmap): refuse a plan that reads an absent model field - #4164
Merged
Merged
Conversation
dan-petty
force-pushed
the
feat/3344-the-stage-probe-checks-client-model
branch
from
November 8, 2026 15:59
d4473bc to
5cfbac8
Compare
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
force-pushed
the
feat/3344-the-stage-probe-checks-client-model
branch
from
November 8, 2026 16:13
5cfbac8 to
1160e87
Compare
dan-petty
marked this pull request as ready for review
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>
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.
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.labelsbeforePullStatusdefinedlabels, and the reply leftsrc/devops_cli/github/client.pyout of itschanges. The verification pass found the gap. #3399 later addedlabelstoPullStatus, 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/