test: add stale /gsd: colon reference regression guard (#1753)

* test: add stale /gsd: colon reference regression guard

Fixes #1748

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: replace 39 stale /gsd: colon references with /gsd- hyphen format

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Tom Boucher
2026-04-05 10:23:41 -04:00
committed by GitHub
parent b34da909a3
commit 6bd786bf88
21 changed files with 535 additions and 39 deletions

View File

@@ -90,7 +90,7 @@ body:
label: What happened?
description: Describe what went wrong. Be specific about which GSD command you were running.
placeholder: |
When I ran `/gsd:plan`, the system...
When I ran `/gsd-plan`, the system...
validations:
required: true
@@ -111,8 +111,8 @@ body:
placeholder: |
1. Install GSD with `npx get-shit-done-cc@latest`
2. Select runtime: Claude Code
3. Run `/gsd:init` with a new project
4. Run `/gsd:plan`
3. Run `/gsd-init` with a new project
4. Run `/gsd-plan`
5. Error appears at step...
validations:
required: true

View File

@@ -39,7 +39,7 @@ body:
attributes:
label: What existing feature or behavior does this improve?
description: Name the specific command, workflow, output, or behavior you are enhancing.
placeholder: "e.g., `/gsd:plan` output, phase status display in statusline, context summary format"
placeholder: "e.g., `/gsd-plan` output, phase status display in statusline, context summary format"
validations:
required: true
@@ -50,7 +50,7 @@ body:
description: |
Describe exactly how the thing works today. Be specific. Include example output or commands if helpful.
placeholder: |
Currently, `/gsd:status` shows:
Currently, `/gsd-status` shows:
```
Phase 2/5 — In Progress
```
@@ -66,7 +66,7 @@ body:
description: |
Describe exactly how it should work after the enhancement. Be specific. Include example output or commands.
placeholder: |
After the enhancement, `/gsd:status` would show:
After the enhancement, `/gsd-status` would show:
```
Phase 2/5 — In Progress — "Implement core auth module"
```

View File

@@ -83,14 +83,14 @@ body:
Describe exactly what is being added. Be specific about commands, output, behavior, and user interaction.
Include example commands or example output where possible.
placeholder: |
A new command `/gsd:rollback` that:
A new command `/gsd-rollback` that:
1. Reads the current phase from STATE.md
2. Reverts STATE.md to the previous phase's snapshot
3. Outputs a confirmation with the rolled-back state
Example usage:
```
/gsd:rollback
/gsd-rollback
> Rolled back from Phase 3 (failed) to Phase 2 (completed)
```
validations:
@@ -139,9 +139,9 @@ body:
List the specific, testable conditions that must be true for this feature to be considered complete.
These become the basis for reviewer sign-off. Vague criteria ("it works") are not acceptable.
placeholder: |
- [ ] `/gsd:rollback` reverts STATE.md to the previous phase when current phase status is `failed`
- [ ] `/gsd:rollback` exits with an error if there is no previous phase to roll back to
- [ ] `/gsd:rollback` outputs the before/after phase names in its confirmation message
- [ ] `/gsd-rollback` reverts STATE.md to the previous phase when current phase status is `failed`
- [ ] `/gsd-rollback` exits with an error if there is no previous phase to roll back to
- [ ] `/gsd-rollback` outputs the before/after phase names in its confirmation message
- [ ] Rollback is logged in the phase history so the AI agent can see it happened
- [ ] All existing tests still pass
- [ ] New tests cover the happy path, no-previous-phase case, and STATE.md corruption case
@@ -226,7 +226,7 @@ body:
placeholder: |
1. Manual STATE.md editing — rejected because it requires the developer to understand the schema
and is error-prone. The AI agent cannot reliably guide this.
2. A `/gsd:reset` command that wipes all state — rejected because it is too destructive and
2. A `/gsd-reset` command that wipes all state — rejected because it is too destructive and
loses all completed phase history.
validations:
required: true