docs(phase-16): add validation strategy
This commit is contained in:
parent
73780323d2
commit
36011fc8a3
1 changed files with 78 additions and 0 deletions
78
.planning/phases/16-tablo-detail/16-VALIDATION.md
Normal file
78
.planning/phases/16-tablo-detail/16-VALIDATION.md
Normal file
|
|
@ -0,0 +1,78 @@
|
||||||
|
---
|
||||||
|
phase: 16
|
||||||
|
slug: tablo-detail
|
||||||
|
status: draft
|
||||||
|
nyquist_compliant: false
|
||||||
|
wave_0_complete: false
|
||||||
|
created: 2026-05-16
|
||||||
|
---
|
||||||
|
|
||||||
|
# Phase 16 — Validation Strategy
|
||||||
|
|
||||||
|
> Per-phase validation contract for feedback sampling during execution.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Test Infrastructure
|
||||||
|
|
||||||
|
| Property | Value |
|
||||||
|
|----------|-------|
|
||||||
|
| **Framework** | go test |
|
||||||
|
| **Config file** | `go-backend/go.mod` |
|
||||||
|
| **Quick run command** | `cd go-backend && go test ./internal/web/handlers/... -run TestTablo` |
|
||||||
|
| **Full suite command** | `cd go-backend && go test ./...` |
|
||||||
|
| **Estimated runtime** | ~5 seconds |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Sampling Rate
|
||||||
|
|
||||||
|
- **After every task commit:** Run `cd go-backend && go test ./internal/web/handlers/... -run TestTablo`
|
||||||
|
- **After every plan wave:** Run `cd go-backend && go test ./...`
|
||||||
|
- **Before `/gsd-verify-work`:** Full suite must be green
|
||||||
|
- **Max feedback latency:** 10 seconds
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Per-Task Verification Map
|
||||||
|
|
||||||
|
| Task ID | Plan | Wave | Requirement | Threat Ref | Secure Behavior | Test Type | Automated Command | File Exists | Status |
|
||||||
|
|---------|------|------|-------------|------------|-----------------|-----------|-------------------|-------------|--------|
|
||||||
|
| 16-01-01 | 01 | 1 | DETAIL-01 | — | N/A (template/CSS only) | build | `cd go-backend && go build ./...` | ✅ | ⬜ pending |
|
||||||
|
| 16-01-02 | 01 | 1 | DETAIL-02 | — | N/A | build | `cd go-backend && go build ./...` | ✅ | ⬜ pending |
|
||||||
|
| 16-02-01 | 02 | 1 | DETAIL-03 | — | N/A | unit | `cd go-backend && go test ./internal/web/handlers/... -run TestTask` | ✅ | ⬜ pending |
|
||||||
|
| 16-03-01 | 03 | 2 | DETAIL-04 | — | N/A | unit | `cd go-backend && go test ./internal/web/handlers/... -run TestFile` | ✅ | ⬜ pending |
|
||||||
|
|
||||||
|
*Status: ⬜ pending · ✅ green · ❌ red · ⚠️ flaky*
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Wave 0 Requirements
|
||||||
|
|
||||||
|
Existing infrastructure covers all phase requirements. No new test stubs needed — the phase goal is restyling existing functionality. Handler tests must remain green throughout.
|
||||||
|
|
||||||
|
- [ ] Baseline: `cd go-backend && go test ./...` passes before any Phase 16 changes
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Manual-Only Verifications
|
||||||
|
|
||||||
|
| Behavior | Requirement | Why Manual | Test Instructions |
|
||||||
|
|----------|-------------|------------|-------------------|
|
||||||
|
| Tablo detail header renders project-card-top layout | DETAIL-01 | Visual/CSS — no automated assertion | Navigate to `/tablos/{id}`, verify title + avatar + action controls render as specified in UI-SPEC header contract |
|
||||||
|
| Kanban columns render horizontally with status grouping | DETAIL-02 | Visual layout | Open tablo with tasks in multiple statuses; verify 3 columns (Todo / In Progress / Done) render side by side |
|
||||||
|
| Etape group headers render with color dot | DETAIL-03 | Visual | Open tablo with etapes assigned to tasks; verify group header shows color dot + etape name |
|
||||||
|
| File table row actions (download, delete) respond | DETAIL-04 | HTMX interaction | Upload a file to a tablo; verify download link and delete button trigger correct HTMX responses |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 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 < 10s
|
||||||
|
- [ ] `nyquist_compliant: true` set in frontmatter
|
||||||
|
|
||||||
|
**Approval:** pending
|
||||||
Loading…
Reference in a new issue