Skip to content

docs(openspec): plan #3200 Refuse placeholder and cut plan text - #3260

Merged
dan-petty merged 2 commits into
mainfrom
feat/3200-refuse-a-plan-with-placeholder-or
Nov 3, 2026
Merged

dan-petty merged 2 commits into
mainfrom
feat/3200-refuse-a-plan-with-placeholder-or

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

Plans #3200

The stage job checks only that the keys of a plan are not blank. Four plans passed every gate with x, todo, a true verify command or a summary cut with ..., and each cost a person a review round. This change adds a content gate to check_proposal: a text field under a named bound, a field that is only a placeholder word, a feasibility that quotes no probe line, an existing_tool with no build cost, and a verify command that cannot fail. The placeholder rule reuses is_placeholder of pull_form.py, and each refusal names its field. staging_title and delivery_title stop cutting the summary. A new content gate catches DefectType.OTHER, and the golden set gains the recorded placeholder plans.

Change: openspec/changes/3200-refuse-a-plan-with-placeholder-or/

@dan-petty
dan-petty force-pushed the feat/3200-refuse-a-plan-with-placeholder-or branch from 7e9747b to cf3eda4 Compare November 2, 2026 23:43
@dan-petty
dan-petty merged commit 1b3184b into main Nov 3, 2026
19 checks passed
@dan-petty
dan-petty deleted the feat/3200-refuse-a-plan-with-placeholder-or branch November 3, 2026 00:13
dan-petty added a commit that referenced this pull request Nov 3, 2026
…3329)

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/`

---------

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 9, 2026
A plan that adds a gate can claim it refuses a defect that the gate does
not refuse (#3386). The plan for #3308 is an example. Its Feasibility
said the plan of PR #3260 claimed 40 while `SUMMARY_MAX_CHARS` is 60.
The actual plan of PR #3260 gave `PLAN_SUMMARY_MAX_CHARS = 47` and said
that the issue text says 40 and the schema says 60. The planned check
skips a constant name that the staged tree does not define, so it cannot
refuse that plan. The Feasibility quoted the staged constant and did not
quote the defective plan text or test the rule against it. A plan that
quotes only the staged value can pass every gate and still add a check
that misses its own example. The plan check now ties a new gate to the
defect that the gate refuses.

Closes #3386

Change:
`openspec/changes/archive/2026-11-09-3386-a-plan-that-adds-a-gate/`
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