Skip to content

docs(openspec): plan #3204 Add scaffold commands for a command and a test - #3277

Merged
dan-petty merged 2 commits into
mainfrom
feat/3204-scaffold-a-command-and-a-test
Nov 3, 2026
Merged

dan-petty merged 2 commits into
mainfrom
feat/3204-scaffold-a-command-and-a-test

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

Plans #3204

Agents that add a devops command or a test edit places that no document lists together, and a missed place breaks CI: a command absent from the MCP list failed Tests & Coverage in #3182, and a new docs page needed an inventory entry in #3190. This change adds devops new command and devops new test. They write the command function, the help and message entries, and a mirror-path test with a failing first test and match=, and print the steps that stay manual. They refuse to overwrite a file, and --dry-run lists the targets and writes nothing. The MCP coverage test derives its excluded commands from the command tree, and the hand-written class of the docs inventory becomes the complement of its other classes. docs/TESTING.md states the mirror path as the one rule.

Change: openspec/changes/3204-scaffold-a-command-and-a-test/

@dan-petty
dan-petty force-pushed the feat/3204-scaffold-a-command-and-a-test branch from f113bc6 to 7a028e5 Compare November 3, 2026 02:24
@dan-petty
dan-petty merged commit d895bae into main Nov 3, 2026
19 checks passed
@dan-petty
dan-petty deleted the feat/3204-scaffold-a-command-and-a-test branch November 3, 2026 02:28
dan-petty added a commit that referenced this pull request Nov 3, 2026
…3333)

Plans #3320

A plan can delete a guard check and say nothing about it. PR #3277
deletes the hand-written exclusion tuple of
`test_all_cli_commands_are_either_exposed_or_excluded` and makes the
class list of `CONST_DOCS_INVENTORY` the complement of the others. Each
change removes a check that forces a person to decide, and AGENTS.md
rule 5 lets only the owner lower a threshold. `check_proposal` now reads
the work texts of a plan. When a deletion verb names a `tests/` path, a
`test_*` name or a `CONST_*` name, the plan must give a
`weakened_checks` entry that names the check, what it stopped and its
safeguard. `render_change` writes those entries in a `## Weakened
checks` section of `proposal.md`, and the proposal rules of
`openspec/config.yaml` ask for it.

Change: `openspec/changes/3320-a-plan-that-deletes-a-guard/`

---------

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