2.4 KiB
2.4 KiB
phase, slug, status, nyquist_compliant, wave_0_complete, created
| phase | slug | status | nyquist_compliant | wave_0_complete | created |
|---|---|---|---|---|---|
| 4 | notifications-et-i3bar | draft | false | false | 2026-03-24 |
Phase 4 — Validation Strategy
Per-phase validation contract for feedback sampling during execution.
Test Infrastructure
| Property | Value |
|---|---|
| Framework | go test (stdlib) |
| Config file | go.mod (exists) |
| Quick run command | go test ./... |
| Full suite command | go test -v -race ./... |
| Estimated runtime | ~6 seconds |
Sampling Rate
- After every task commit: Run
go test ./... - After every plan wave: Run
go test -v -race ./... - Before
/gsd:verify-work: Full suite must be green - Max feedback latency: 6 seconds
Per-Task Verification Map
| Task ID | Plan | Wave | Requirement | Test Type | Automated Command | File Exists | Status |
|---|---|---|---|---|---|---|---|
| 04-01-01 | 01 | 1 | NOTIF-01, NOTIF-02 | unit | go test -run 'TestNotify|TestFocus' ./... |
❌ W0 | ⬜ pending |
| 04-01-02 | 01 | 1 | NOTIF-01, NOTIF-02 | unit | go test -run 'TestDaemonNotify|TestDaemonFocus' ./... |
❌ W0 | ⬜ pending |
| 04-02-01 | 02 | 2 | I3-03 | unit | go test -run 'TestFormatI3Bar' ./... |
❌ W0 | ⬜ pending |
| 04-02-02 | 02 | 2 | I3-03 | build | go build -o /dev/null ./... |
✅ | ⬜ pending |
Status: ⬜ pending · ✅ green · ❌ red · ⚠️ flaky
Wave 0 Requirements
- Test stubs for notify, focus, i3bar formatting
Manual-Only Verifications
| Behavior | Requirement | Why Manual | Test Instructions |
|---|---|---|---|
| Dunst notification appears on Working→NeedsInput | NOTIF-01 | Requires real dunst + Claude session | Trigger tool_use permission, verify notification popup |
| Focus timer suppresses notifications | NOTIF-02 | Requires real notification stack | Run vmux focus 1, trigger transition, verify no popup |
| i3bar widget displays in i3 status bar | I3-03 | Requires real i3 config | Configure i3 status_command, verify widget appears |
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 < 6s
nyquist_compliant: trueset in frontmatter
Approval: pending