fix(claude): restore namespaced /gsd:<command> references (#3452)

* fix(claude): restore namespaced /gsd:<command> references

* test(claude): align slash-command expectations to /gsd: form

* test(claude): align generated command references to /gsd:

* test(claude): finish /gsd: namespace expectation updates
This commit is contained in:
Tom Boucher
2026-05-12 21:53:24 -04:00
committed by GitHub
parent 740d718941
commit a60e05c714
187 changed files with 1089 additions and 1142 deletions

View File

@@ -36,7 +36,7 @@ fi
**Phase validation (before config gate):**
If `phase_found` is false, report error and exit:
```
Error: Phase ${PHASE_ARG} not found. Run /gsd-progress to see available phases.
Error: Phase ${PHASE_ARG} not found. Run /gsd:progress to see available phases.
```
This runs BEFORE config gate check so user errors are surfaced immediately regardless of config state.
@@ -93,7 +93,7 @@ Verify that REVIEW.md exists:
```bash
if [ ! -f "${REVIEW_PATH}" ]; then
echo "Error: No REVIEW.md found for Phase ${PHASE_ARG}. Run /gsd-code-review ${PHASE_ARG} first."
echo "Error: No REVIEW.md found for Phase ${PHASE_ARG}. Run /gsd:code-review ${PHASE_ARG} first."
exit 1
fi
```
@@ -223,7 +223,7 @@ Check if FIX_REPORT_PATH exists:
Either way:
```
Some fix commits may already exist in git history — check git log for fix(${PADDED_PHASE}) commits.
You can retry with /gsd-code-review ${PHASE_ARG} --fix.
You can retry with /gsd:code-review ${PHASE_ARG} --fix.
```
Exit workflow (skip auto loop).
@@ -398,7 +398,7 @@ if [ ! -f "${FIX_REPORT_PATH}" ]; then
echo "The fixer agent may have failed before completing."
echo "Check git log for any fix(${PADDED_PHASE}) commits."
echo ""
echo "Retry: /gsd-code-review ${PHASE_ARG} --fix"
echo "Retry: /gsd:code-review ${PHASE_ARG} --fix"
echo ""
echo "═══════════════════════════════════════════════════════════════"
exit 1
@@ -455,7 +455,7 @@ if [ "$FIX_STATUS" = "all_fixed" ]; then
echo "Full report: ${FIX_REPORT_PATH}"
echo ""
echo "Next step:"
echo " /gsd-verify-work — Verify phase completion"
echo " /gsd:verify-work — Verify phase completion"
echo ""
fi
```
@@ -469,8 +469,8 @@ if [ "$FIX_STATUS" = "partial" ] || [ "$FIX_STATUS" = "none_fixed" ]; then
echo ""
echo "Next steps:"
echo " cat ${FIX_REPORT_PATH} — View fix report"
echo " /gsd-code-review ${PHASE_NUMBER} — Re-review code"
echo " /gsd-verify-work — Verify phase completion"
echo " /gsd:code-review ${PHASE_NUMBER} — Re-review code"
echo " /gsd:verify-work — Verify phase completion"
echo ""
fi
```