Skip to content

docs(openspec): plan #3296 Require a new command's companion registrations - #4112

Merged
dan-petty merged 3 commits into
mainfrom
feat/3296-check-new-commands-register-dry-run
Nov 8, 2026
Merged

dan-petty merged 3 commits into
mainfrom
feat/3296-check-new-commands-register-dry-run

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

Plans #3296

A stage plan can add a devops command and leave out the registrations that the project requires for it. The dry-run ratchet, the dry-run callback test and the generated documents then fail after the merge. #3237 hit this with devops pr evidence. This change adds a companions gate to check_proposal, so the stage job and devops roadmap plan-recheck report each missing companion registration in one list. The gate reads the command module of the staged commit and treats a command that the module does not register as new. The MCP requirement of the issue is dropped: the merged #3204 test fails only on an exposure entry that names no command, so a new command needs no entry.

Change: openspec/changes/3296-check-new-commands-register-dry-run/

@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 8, 2026
@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 8, 2026 03:01
Account for function definitions and single quotes when detecting existing CLI commands in the staged tree.
Allow consolidated family dry-run test files in addition to test_<stem>_dry_run.py.
Remove redundant task 2.2 and record manual replay steps in workflow follow-up.
@dan-petty
dan-petty merged commit d3770f5 into main Nov 8, 2026
24 checks passed
@dan-petty
dan-petty deleted the feat/3296-check-new-commands-register-dry-run branch November 8, 2026 03:45
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