--- phase: 18 slug: auto-take-ownership status: draft nyquist_compliant: false wave_0_complete: false created: 2026-04-09 --- # Phase 18 — Validation Strategy > Per-phase validation contract for feedback sampling during execution. --- ## Test Infrastructure | Property | Value | |----------|-------| | **Framework** | xUnit 2.9.3 | | **Config file** | none — implicit discovery | | **Quick run command** | `dotnet test SharepointToolbox.Tests --filter "Category=Unit" --no-build` | | **Full suite command** | `dotnet test SharepointToolbox.Tests --no-build` | | **Estimated runtime** | ~15 seconds | --- ## Sampling Rate - **After every task commit:** Run `dotnet test SharepointToolbox.Tests --filter "Category=Unit" --no-build` - **After every plan wave:** Run `dotnet test SharepointToolbox.Tests --no-build` - **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 | |---------|------|------|-------------|-----------|-------------------|-------------|--------| | 18-01-01 | 01 | 1 | OWN-01 | unit | `dotnet test --filter "FullyQualifiedName~SettingsServiceTests"` | ❌ W0 | ⬜ pending | | 18-01-02 | 01 | 1 | OWN-01 | unit | `dotnet test --filter "FullyQualifiedName~SettingsViewModelOwnershipTests"` | ❌ W0 | ⬜ pending | | 18-01-03 | 01 | 1 | OWN-02 | unit | `dotnet test --filter "FullyQualifiedName~OwnershipElevationServiceTests"` | ❌ W0 | ⬜ pending | | 18-02-01 | 02 | 2 | OWN-02 | unit | `dotnet test --filter "FullyQualifiedName~PermissionsViewModelOwnershipTests"` | ❌ W0 | ⬜ pending | | 18-02-02 | 02 | 2 | OWN-01 | integration | `dotnet test --filter "FullyQualifiedName~SettingsView"` | ❌ W0 | ⬜ pending | *Status: ⬜ pending · ✅ green · ❌ red · ⚠️ flaky* --- ## Wave 0 Requirements - [ ] `SharepointToolbox.Tests/Services/OwnershipElevationServiceTests.cs` — stubs for OWN-02 elevation - [ ] `SharepointToolbox.Tests/ViewModels/SettingsViewModelOwnershipTests.cs` — stubs for OWN-01 toggle - [ ] `SharepointToolbox.Tests/ViewModels/PermissionsViewModelOwnershipTests.cs` — stubs for OWN-02 scan retry *Existing infrastructure covers framework requirements.* --- ## Manual-Only Verifications | Behavior | Requirement | Why Manual | Test Instructions | |----------|-------------|------------|-------------------| | Settings toggle visible in UI | OWN-01 | XAML visual | Open Settings tab, verify checkbox present and defaults to unchecked | | Auto-elevated row visually distinct | OWN-02 | XAML visual | Run scan with toggle ON against access-denied site, verify amber highlight | --- ## 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