Files
msd-core/get-shit-done/templates/VALIDATION.md
Tom Boucher 73c1af5168 fix(#2543): replace legacy /gsd-<cmd> syntax with /gsd:<cmd> across all source files (#2595)
Commands are now installed as commands/gsd/<name>.md and invoked as
/gsd:<name> in Claude Code. The old hyphen form /gsd-<name> was still
hardcoded in hundreds of places across workflows, references, templates,
lib modules, and command files — causing "Unknown command" errors
whenever GSD suggested a command to the user.

Replace all /gsd-<cmd> occurrences where <cmd> is a known command name
(derived at runtime from commands/gsd/*.md) using a targeted Node.js
script. Agent names, tool names (gsd-sdk, gsd-tools), directory names,
and path fragments are not touched.

Adds regression test tests/bug-2543-gsd-slash-namespace.test.cjs that
enforces zero legacy occurrences going forward. Removes inverted
tests/stale-colon-refs.test.cjs (bug #1748) which enforced the now-obsolete
hyphen form; the new bug-2543 test supersedes it. Updates 5 assertion
tests that hardcoded the old hyphen form to accept the new colon form.

Closes #2543

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-22 12:04:25 -04:00

2.1 KiB

phase, slug, status, nyquist_compliant, wave_0_complete, created
phase slug status nyquist_compliant wave_0_complete created
N
phase-slug
draft false false
date

Phase {N} — Validation Strategy

Per-phase validation contract for feedback sampling during execution.


Test Infrastructure

Property Value
Framework {pytest 7.x / jest 29.x / vitest / go test / other}
Config file {path or "none — Wave 0 installs"}
Quick run command {quick command}
Full suite command {full command}
Estimated runtime ~{N} seconds

Sampling Rate

  • After every task commit: Run {quick run command}
  • After every plan wave: Run {full suite command}
  • Before /gsd:verify-work: Full suite must be green
  • Max feedback latency: {N} seconds

Per-Task Verification Map

Task ID Plan Wave Requirement Threat Ref Secure Behavior Test Type Automated Command File Exists Status
{N}-01-01 01 1 REQ-{XX} T-{N}-01 / — {expected secure behavior or "N/A"} unit {command} ✅ / ❌ W0 ⬜ pending

Status: ⬜ pending · ✅ green · ❌ red · ⚠️ flaky


Wave 0 Requirements

  • {tests/test_file.py} — stubs for REQ-{XX}
  • {tests/conftest.py} — shared fixtures
  • {framework install} — if no framework detected

If none: "Existing infrastructure covers all phase requirements."


Manual-Only Verifications

Behavior Requirement Why Manual Test Instructions
{behavior} REQ-{XX} {reason} {steps}

If none: "All phase behaviors have automated verification."


Validation Sign-Off

  • All tasks have <automated> verify or Wave 0 dependencies
  • Sampling continuity: no 3 consecutive tasks without automated verify
  • Wave 0 covers all MISSING references
  • No watch-mode flags
  • Feedback latency < {N}s
  • nyquist_compliant: true set in frontmatter

Approval: {pending / approved YYYY-MM-DD}