Phase 12: Initial Setup Wizard #22

Merged
luckberg merged 76 commits from gsd/phase-12-initial-setup-wizard into main 2026-06-16 19:10:33 -04:00
Showing only changes of commit ee21611607 - Show all commits
@@ -139,7 +139,17 @@ No new network endpoints. Changes confined to `upsertUser` internal logic (OIDC
| T-12-11 (EoP — unexpected auto-admin after setup) | `shouldBeAdmin = flagRow?.value !== 'true' && count === 0` — blocked once setup_complete | ✓ implemented |
| T-12-12 (Tampering — email-keyed coupling) | Claim branch has zero email references; acceptance test asserts `updateSetArgs` has no `email` property | ✓ implemented |
## Self-Check
## Self-Check: PASSED
All created/modified files exist:
- FOUND: apps/api/src/auth/user.ts
- FOUND: apps/api/tests/auth/user.test.ts
- FOUND: .planning/phases/12-initial-setup-wizard/12-03-SUMMARY.md
All commits exist:
- FOUND: 7a26b4a (RED — failing tests)
- FOUND: c8894ad (GREEN — implementation)
- FOUND: a36f9dd (docs — SUMMARY + STATE + ROADMAP)
---