Phase 12: Initial Setup Wizard #22
@@ -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-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 |
|
| 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)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user