Skip to content

docs(openspec): plan #3388 Read constant claims from a structured field - #3396

Closed
devops-cli-service[bot] wants to merge 2 commits into
mainfrom
feat/3388-the-stage-plan-states-constant-claims
Closed

devops-cli-service[bot] wants to merge 2 commits into
mainfrom
feat/3388-the-stage-plan-states-constant-claims

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

Plans #3388

The stage check reads constant claims from the prose of a plan. A sentence with two numbers is skipped, so a wrong bound beside a note number passes. A claim that gives an existing bound a new name is skipped too, because the staged tree defines no such name. This change adds constant_claims to StageProposal: each entry gives a constant name and its integer value. A new module reads the staged value of each claimed name from the staged commit with git grep, git show and ast. check_proposal compares each claim with that value and refuses a wrong one or a name the tree does not define. The prose scan stays as the fallback for a reply with no claim list.

Change: openspec/changes/3388-the-stage-plan-states-constant-claims/

@devops-cli-service devops-cli-service Bot added type/docs Type docs: a change to the documents scope/openspec OpenSpec changes, specs and their checks labels Nov 3, 2026
@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 3, 2026 23:44
@dan-petty
dan-petty marked this pull request as draft November 4, 2026 02:59
@dan-petty

Copy link
Copy Markdown
Owner

Closing this plan: the premise of #3388 is false at the base.

check_proposal in src/devops_cli/roadmap/stage_change.py has no constant-claim check. git grep -n "stage_constants\|constant_claims" 6c15a64a -- src tests finds nothing, and src/devops_cli/roadmap/stage_constants.py is absent.

The prose scan is only planned by #3308 (plan PR #3329, issue status Planned). That plan creates src/devops_cli/roadmap/stage_constants.py and tests/roadmap/test_roadmap_stage_constants.py, the same new files that this plan creates. #3388 must wait for #3308.

The item returns to New. The Service will stage #3388 again after #3308 closes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/openspec OpenSpec changes, specs and their checks type/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant