Skip to content

docs(openspec): plan #3308 check a plan number against its constant - #3329

Merged
dan-petty merged 3 commits into
mainfrom
feat/3308-the-plan-check-compares-a-number
Nov 3, 2026
Merged

dan-petty merged 3 commits into
mainfrom
feat/3308-the-plan-check-compares-a-number

Conversation

@devops-cli-service

@devops-cli-service devops-cli-service Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Plans #3308

A plan can give a number beside a constant name that differs from the staged tree. The plan of PR #3260 gave 40 in a spec scenario, while SUMMARY_MAX_CHARS is 60 in src/devops_cli/roadmap/pull_form.py and STAGE_SUMMARY_MAX_CHARS is 47. The plan check accepted it.

The check compares a sentence that names one known constant and holds one number. It skips a sentence with two numbers, a note reference, a line location and an unknown constant name. The prompt rule asks the model to cite the staged value and not to rename an existing bound.

Stage._settle reads the staged constants with git grep, git show and ast, and passes them to check_proposal. The stage eval replay reads recorded constants and reads no git.

Change: openspec/changes/3308-the-plan-check-compares-a-number/

@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 3, 2026 03:44
@dan-petty
dan-petty marked this pull request as draft November 3, 2026 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant