Files

3.1 KiB

phase, slug, status, nyquist_compliant, wave_0_complete, created
phase slug status nyquist_compliant wave_0_complete created
5 employee-design draft false false 2026-03-24

Phase 5 — Validation Strategy

Per-phase validation contract for feedback sampling during execution.


Test Infrastructure

Property Value
Framework pytest 8.x + pytest-asyncio (existing)
Config file pyproject.toml (existing)
Quick run command pytest tests/unit -x -q
Full suite command pytest tests/ -x
Estimated runtime ~30 seconds

Sampling Rate

  • After every task commit: Run pytest tests/unit -x -q
  • After every plan wave: Run pytest tests/ -x
  • Before /gsd:verify-work: Full suite must be green
  • Max feedback latency: 30 seconds

Per-Task Verification Map

Task ID Plan Wave Requirement Test Type Automated Command File Exists Status
05-xx 01 1 EMPL-01 unit pytest tests/unit/test_system_prompt_builder.py -x W0 pending
05-xx 01 1 EMPL-02,03 integration pytest tests/integration/test_templates.py -x W0 pending
05-xx 01 1 EMPL-04 integration pytest tests/integration/test_templates.py::test_deploy_template_rbac -x W0 pending
05-xx 02 2 EMPL-01 build cd packages/portal && npx next build pending
05-xx 02 2 EMPL-02 build cd packages/portal && npx next build pending
05-xx 02 2 EMPL-05 build cd packages/portal && npx next build pending

Status: pending · green · red · ⚠️ flaky


Wave 0 Requirements

  • tests/unit/test_system_prompt_builder.py — EMPL-01: system prompt auto-generation from wizard inputs
  • tests/integration/test_templates.py — EMPL-02,03,04: template CRUD, deploy, RBAC

Manual-Only Verifications

Behavior Requirement Why Manual Test Instructions
Three-option entry point renders correctly EMPL-01,02 UI layout Click "New Employee", verify Templates/Guided Setup/Advanced options appear
Wizard stepper navigates through all 5 steps EMPL-01 UI flow Walk through Role → Persona → Tools → Channels → Escalation
Template gallery shows card grid with previews EMPL-02 UI visual Browse templates, click preview, verify details expand
One-click template deploy creates functional agent EMPL-03 End-to-end Deploy template, verify agent appears in list, sends in channels
Wizard-created agent editable in Agent Designer EMPL-05 UI flow Create via wizard, click edit, verify Agent Designer opens with all fields

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 < 30s
  • nyquist_compliant: true set in frontmatter

Approval: pending