chore: complete v1.0 milestone

Archive 5 phases (36 plans) to milestones/v1.0-phases/.
Archive roadmap, requirements, and audit to milestones/.
Evolve PROJECT.md with shipped state and validated requirements.
Collapse ROADMAP.md to one-line milestone summary.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Dev
2026-04-07 09:15:14 +02:00
parent b815c323d7
commit 724fdc550d
959 changed files with 6852 additions and 728 deletions

View File

@@ -0,0 +1,152 @@
---
phase: 01-foundation
plan: 08
subsystem: testing
tags: [xunit, dotnet, wpf, build-verification, localization, dependency-injection]
# Dependency graph
requires:
- phase: 01-foundation plan 07
provides: All Phase 1 implementation complete (WPF shell, 8-tab layout, profiles, settings, log panel, MSAL, localization)
provides:
- Confirmed zero-failure test suite (44 pass, 1 skip)
- Confirmed zero-warning, zero-error build with -warnaserror
- Human-verified WPF shell: 8 tabs, log panel, language switching, profile CRUD all confirmed working
- Phase 1 Foundation complete — green light for Phase 2 (Permissions)
affects:
- 02-permissions (Phase 1 complete, Phase 2 planning can begin)
# Tech tracking
tech-stack:
added: []
patterns:
- "Test run with --no-build to avoid re-compile overhead on CI-style checks"
- "Build verification using -warnaserror as final gate before phase close"
key-files:
created: []
modified:
- SharepointToolbox/App.xaml.cs (DI registration fixes for ProfileRepository and SettingsRepository)
- SharepointToolbox/Localization/Strings.fr.resx (real French translations replacing English stubs)
key-decisions:
- "Solution file is .slnx (not .sln) — dotnet build/test commands must use SharepointToolbox.slnx"
- "45 tests total: 44 pass, 1 skip (interactive MSAL GetOrCreateContextAsync_CreatesContext — browser/WAM flow excluded from automated suite)"
patterns-established:
- "Final phase gate: dotnet test --no-build then dotnet build -warnaserror before closing any phase"
requirements-completed:
- FOUND-01
- FOUND-02
- FOUND-03
- FOUND-04
- FOUND-05
- FOUND-06
- FOUND-07
- FOUND-08
- FOUND-09
- FOUND-10
- FOUND-12
# Metrics
duration: 15min
completed: 2026-04-02
---
# Phase 1 Plan 08: Final Verification Summary
**Full test suite passes (44/44 non-interactive tests green), build warning-free under -warnaserror, and human visual checkpoint confirmed WPF shell with 8 tabs, log panel, language switching, and profile CRUD all working correctly — Phase 1 complete**
## Performance
- **Duration:** ~15 min (including checkpoint fixes)
- **Started:** 2026-04-02T10:41:13Z
- **Completed:** 2026-04-02T10:52:16Z
- **Tasks:** 2 of 2 completed
- **Files modified:** 3
## Accomplishments
- dotnet build SharepointToolbox.slnx with -warnaserror: 0 warnings, 0 errors
- dotnet test: 44 passed, 1 skipped (interactive MSAL — expected), 0 failed
- Build time 1.58s, test run 0.87s — fast baseline confirmed
- Human visual checkpoint approved: all 7 checklist items verified (shell layout, tab headers, language switch, profile management, log panel, data folder, log file)
- Fixed 3 runtime issues discovered during application launch: missing DI registrations and stub French translations
## Task Commits
Each task committed atomically:
1. **Task 1: Run full test suite and verify zero failures** - `334a5f1` (chore)
2. **Task 2: Visual/functional verification checkpoint** - Human approved (no code commit — verification task)
**Fix commits (deviations auto-fixed before checkpoint):**
- `c66efda` — fix: register ProfileRepository and SettingsRepository in DI container
- `6211f65` — fix: provide file paths to ProfileRepository and SettingsRepository via factory registration
- `0b8a86a` — fix: add real French translations (stubs were identical to English)
**Plan metadata:** pending (this commit)
## Files Created/Modified
- `SharepointToolbox/App.xaml.cs` - Added DI registrations for ProfileRepository and SettingsRepository with correct file paths
- `SharepointToolbox/Localization/Strings.fr.resx` - Replaced English-copy stubs with actual French translations for all UI strings
## Decisions Made
- Solution file is `.slnx` (not `.sln`) — all dotnet commands must reference `SharepointToolbox.slnx`
- 45 tests total: 44 pass, 1 deliberate skip for interactive MSAL browser flow
## Deviations from Plan
### Auto-fixed Issues
**1. [Rule 3 - Blocking] ProfileRepository and SettingsRepository not registered in DI container**
- **Found during:** Task 2 (application launch for visual verification)
- **Issue:** App crashed on startup — IProfileRepository and ISettingsRepository not registered in the DI container; MainWindowViewModel constructor injection failed with a missing service exception
- **Fix:** Registered both repositories in App.xaml.cs using factory lambdas that provide the correct AppData file paths for profiles.json and settings.json
- **Files modified:** SharepointToolbox/App.xaml.cs
- **Verification:** Application launched successfully after fix
- **Committed in:** c66efda + 6211f65 (two-step fix — registration then path injection)
**2. [Rule 1 - Bug] French translations were identical to English (stub copy)**
- **Found during:** Task 2 (language switch verification step)
- **Issue:** Switching language to French showed English text — Strings.fr.resx contained English strings copied verbatim from Strings.resx with no actual translations
- **Fix:** Replaced all 27 stub entries with correct French translations for all UI strings (tab headers, toolbar labels, dialog buttons, settings labels, log messages)
- **Files modified:** SharepointToolbox/Localization/Strings.fr.resx
- **Verification:** Language switch in Settings tab now shows French tab headers and UI labels correctly
- **Committed in:** 0b8a86a
---
**Total deviations:** 3 commits auto-fixed (1 Rule 3 blocking crash + 1 Rule 1 bug — stub translations)
**Impact on plan:** All fixes were necessary for the application to function correctly. DI registration was a blocking runtime crash; French translations were a correctness bug that would have left FR locale non-functional. No scope creep.
## Issues Encountered
None beyond the auto-fixed deviations above.
## User Setup Required
None - no external service configuration required.
## Next Phase Readiness
- Phase 1 Foundation is complete — all 11 requirements (FOUND-01 through FOUND-12 excluding FOUND-11) delivered
- Human visual checkpoint confirmed: shell, tabs, log panel, language switching, profile management all working
- Ready to begin Phase 2 (Permissions): PermissionsService, scan logic, CSV/HTML export
- FOUND-11 (self-contained EXE packaging) is deferred to Phase 5 as planned
## Self-Check: PASSED
- FOUND: SharepointToolbox/App.xaml.cs (contains ProfileRepository + SettingsRepository DI registrations)
- FOUND: SharepointToolbox/Localization/Strings.fr.resx (contains real French translations)
- Commit 334a5f1: chore(01-08): run full test suite — 44 passed, 1 skipped, 0 failed
- Commit c66efda: fix(01-08): register ProfileRepository and SettingsRepository in DI container
- Commit 6211f65: fix(01-08): provide file paths to ProfileRepository and SettingsRepository via factory registration
- Commit 0b8a86a: fix(01-08): add real French translations (stubs were identical to English)
---
*Phase: 01-foundation*
*Completed: 2026-04-02*