Back to Get Shit Done

Phase {N} — Validation Strategy

get-shit-done/templates/VALIDATION.md

1.42.12.0 KB
Original Source

Phase {N} — Validation Strategy

Per-phase validation contract for feedback sampling during execution.


Test Infrastructure

PropertyValue
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 IDPlanWaveRequirementThreat RefSecure BehaviorTest TypeAutomated CommandFile ExistsStatus
{N}-01-01011REQ-{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

BehaviorRequirementWhy ManualTest 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}