This repository has been archived on 2026-08-07. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openclaw/skills/gsd-openclaw/.planning/phases/02-integration-layer/02-VALIDATION.md
T

2.9 KiB

phase, slug, status, nyquist_compliant, wave_0_complete, created
phase slug status nyquist_compliant wave_0_complete created
2 integration-layer draft false false 2026-03-11

Phase 2 — Validation Strategy

Per-phase validation contract for feedback sampling during execution.


Test Infrastructure

Property Value
Framework pytest (existing from Phase 1)
Config file pyproject.toml
Quick run command pytest tests/ -x -q
Full suite command pytest tests/ -v --cov=src/gsd_openclaw
Estimated runtime ~15 seconds

Sampling Rate

  • After every task commit: Run pytest tests/ -x -q
  • After every plan wave: Run pytest tests/ -v --cov=src/gsd_openclaw
  • Before /gsd:verify-work: Full suite must be green
  • Max feedback latency: 15 seconds

Per-Task Verification Map

Task ID Plan Wave Requirement Test Type Automated Command File Exists Status
02-01-01 01 1 OCLW-01 unit pytest tests/test_skill_md.py -v ❌ W0 ⬜ pending
02-01-02 01 1 OCLW-01 unit pytest tests/test_skill_md.py -v ❌ W0 ⬜ pending
02-02-01 02 1 OCLW-04 unit pytest tests/test_response_formatter.py -v ❌ W0 ⬜ pending
02-02-02 02 1 OCLW-04 unit pytest tests/test_response_formatter.py -v ❌ W0 ⬜ pending
02-02-03 02 1 OCLW-04 unit pytest tests/test_response_formatter.py -v ❌ W0 ⬜ pending
02-03-01 03 1 OCLW-02 unit pytest tests/test_prompts.py -v ❌ W0 ⬜ pending
02-03-02 03 1 - unit pytest tests/test_prompts.py -v ❌ W0 ⬜ pending

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


Wave 0 Requirements

  • tests/test_skill_md.py — tests for SKILL.md parsing and validation
  • tests/test_response_formatter.py — tests for Feishu card formatting
  • tests/test_prompts.py — tests for prompt template loading
  • tests/fixtures/sample_outputs.py — sample GSD outputs for testing

Existing infrastructure (conftest.py, pytest) covers framework requirements.


Manual-Only Verifications

Behavior Requirement Why Manual Test Instructions
Feishu card rendering OCLW-04 Requires live Feishu environment Send test card via Feishu API, verify visual rendering
Button callback routing OCLW-02 Requires OpenClaw integration Click button in Feishu, verify callback received

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

Approval: pending