Skip to content

docs(openspec): plan #3394 Check every plan text for a placeholder - #3400

Merged
dan-petty merged 3 commits into
mainfrom
fix/3394-the-plan-check-refuses-a-placeholder
Nov 4, 2026
Merged

dan-petty merged 3 commits into
mainfrom
fix/3394-the-plan-check-refuses-a-placeholder

Conversation

@devops-cli-service

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

Copy link
Copy Markdown
Contributor

Plans #3394

The plan check leaves out the pull-request body and each line of What Changes, so a plan that says placeholder in either field passes. #3394 adds both to _plan_texts, with the existing rule of the least length and no placeholder word. The plan stage prompt names both fields beside the other texts that the check refuses, and a prompt test asserts the names. The roadmap-stage spec states the extended rule. Tests cover a placeholder body, a placeholder What Changes line, a body and a What Changes line below the least length, and a valid plan that passes.

Change: openspec/changes/3394-the-plan-check-refuses-a-placeholder/

@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 4, 2026
@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 4, 2026 00:51
@dan-petty
dan-petty marked this pull request as draft November 4, 2026 03:17
@dan-petty
dan-petty marked this pull request as ready for review November 4, 2026 04:38
@dan-petty
dan-petty merged commit c9c64fa into main Nov 4, 2026
20 checks passed
@dan-petty
dan-petty deleted the fix/3394-the-plan-check-refuses-a-placeholder branch November 4, 2026 04:38
dan-petty added a commit that referenced this pull request Nov 6, 2026
…3668)

The stage job now checks each citation of a file in `feasibility`, `why`
and `what_changes`. `check_proposal` refuses a `path:line:text` citation
when the staged line does not hold the text, or when the line or the
file is absent. It refuses a `path:def name` or `path:class name`
citation when the staged file does not define the symbol. The stage job
reads the staged commit with `git show <sha>:<path>`, not the working
tree. The golden-set replay and the plan-check command pass no reader,
so they judge no citation. The stage prompt now states the citation
forms and prefers a symbol to a line number.

A plan of #3400 cited a line that moved between the refine record and
the staged commit. A reader found another function, and the proof of the
premise was false. A symbol citation stays true when the code moves.

Change:
`openspec/changes/archive/2026-11-06-3422-the-plan-check-fails-a-citation/`

Closes #3422

---------

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 14, 2026
A spec delta can add a scenario that no task tests, and the plan still
passes: the plan of PR #3400 adds a scenario that names only a field,
and every check accepts it. The rule of #3321 refuses only a scenario
that names code.

The plan check now pairs each scenario of an added or modified
requirement that names no code with a behavior group whose test names
the scenario or the requirement, or whose verify runs a test module that
the group changes or creates. A base-spec scenario is exempt. The stage
job, plan-check and plan-recheck give the base scenario names, and the
stage prompt states the rule.

Closes #3423

Change:
`openspec/changes/archive/2026-11-14-3423-require-a-behavior-task-for-each/`
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