Skip to content

docs(openspec): plan #3201 add a plan-check command for a plan pull request - #3261

Merged
dan-petty merged 2 commits into
mainfrom
feat/3201-add-a-plan-check-command-for
Nov 3, 2026
Merged

dan-petty merged 2 commits into
mainfrom
feat/3201-add-a-plan-check-command-for

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

Plans #3201

Plan pull request reviews are manual: the checklist changes between prompts, so mechanical defects slip through. The stage gates that catch them run only on a model reply. This change adds devops roadmap plan-check . It reads the change folder at the pull request head into a StageProposal, runs check_proposal and validate_change with no model, and adds the pull request checks: the title form, the body length and its Plans # reference, the Semantic PR title check, and a base spec that moved since the plan. Each problem prints with its file, its rule and the stage message, and the command exits 1 when it finds one. --json prints for an agent and --dry-run sends no request.

Change: openspec/changes/3201-add-a-plan-check-command-for/

@dan-petty
dan-petty force-pushed the feat/3201-add-a-plan-check-command-for branch from 18baa09 to ec2cc23 Compare November 3, 2026 00:16
@dan-petty
dan-petty merged commit 2eede7c into main Nov 3, 2026
19 checks passed
@dan-petty
dan-petty deleted the feat/3201-add-a-plan-check-command-for branch November 3, 2026 00:33
dan-petty pushed a commit that referenced this pull request Nov 6, 2026
Closes #3309

A staged plan can rest on a base that `main` has moved past. The plan in
#3261 held two stale facts: a title rule that `staging_title` had
changed, and two callees that need a checkout, which the plan did not
say. Both reached a reviewer, who had to find them (#3309). The stage
job now names the plan's files that `main` changed after the base, and
the prompt asks for the preconditions of each callee.

Change:
`openspec/changes/archive/2026-11-06-3309-a-staged-plan-lists-the-files/`

---------

Co-authored-by: devops-cli-service[bot] <349441588+devops-cli-service[bot]@users.noreply.github.com>
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