From 57bfe3e5c126ff2877c597189a683e1901272335 Mon Sep 17 00:00:00 2001 From: Dev Date: Thu, 9 Apr 2026 12:53:15 +0200 Subject: [PATCH] docs(phase-17): add research and validation strategy --- .../17-VALIDATION.md | 76 +++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 .planning/phases/17-group-expansion-html-reports/17-VALIDATION.md diff --git a/.planning/phases/17-group-expansion-html-reports/17-VALIDATION.md b/.planning/phases/17-group-expansion-html-reports/17-VALIDATION.md new file mode 100644 index 0000000..e68a00a --- /dev/null +++ b/.planning/phases/17-group-expansion-html-reports/17-VALIDATION.md @@ -0,0 +1,76 @@ +--- +phase: 17 +slug: group-expansion-html-reports +status: draft +nyquist_compliant: false +wave_0_complete: false +created: 2026-04-09 +--- + +# Phase 17 — Validation Strategy + +> Per-phase validation contract for feedback sampling during execution. + +--- + +## Test Infrastructure + +| Property | Value | +|----------|-------| +| **Framework** | xUnit + Moq (existing) | +| **Config file** | SharepointToolbox.Tests/SharepointToolbox.Tests.csproj | +| **Quick run command** | `dotnet test --filter "Category!=Integration"` | +| **Full suite command** | `dotnet test` | +| **Estimated runtime** | ~15 seconds | + +--- + +## Sampling Rate + +- **After every task commit:** Run `dotnet test --filter "Category!=Integration"` +- **After every plan wave:** Run `dotnet test` +- **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 | +|---------|------|------|-------------|-----------|-------------------|-------------|--------| +| 17-01-01 | 01 | 1 | RPT-01, RPT-02 | unit | `dotnet test --filter "SharePointGroupResolver"` | ❌ W0 | ⬜ pending | +| 17-02-01 | 02 | 2 | RPT-01 | unit | `dotnet test --filter "HtmlExportService"` | ✅ | ⬜ pending | +| 17-02-02 | 02 | 2 | RPT-01 | unit | `dotnet test --filter "HtmlExportService"` | ✅ | ⬜ pending | + +*Status: ⬜ pending · ✅ green · ❌ red · ⚠️ flaky* + +--- + +## Wave 0 Requirements + +- [ ] `SharepointToolbox.Tests/Services/SharePointGroupResolverTests.cs` — stubs for RPT-01, RPT-02 +- [ ] Test fixtures for `ResolvedMember` and mock group data + +*If none: "Existing infrastructure covers all phase requirements."* + +--- + +## Manual-Only Verifications + +| Behavior | Requirement | Why Manual | Test Instructions | +|----------|-------------|------------|-------------------| +| Click group pill expands member list in browser | RPT-01 | Requires rendered HTML + browser interaction | Export HTML, open in browser, click group pill, verify member sub-row appears | +| "members unavailable" label renders on resolution failure | RPT-01 | Visual verification in browser | Export with mocked failure, verify italic label appears | + +--- + +## Validation Sign-Off + +- [ ] All tasks have `` 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