WEB-032
Staff seeding: 9 local test accounts (<role>@zoen.test) with enrolled TOTP + verify (AAL2), db:reset guard against wiping real staff
Evidence
From logs/evidence/WEB-032/. Click a thumbnail for the full image.
No evidence files in logs/evidence/WEB-032/.
Tests
$ pnpm --filter @zoen/db test:intNotes
2026-10-04 14:58 UTC · seed-staff.mjs: 9 local accounts <role>@zoen.test (password + enrolled/verified TOTP via the real MFA API; replaces irreproducible factors), staff + staff_roles upserted, credentials only in gitignored supabase/seeds/staff.local.json; --verify signs in each through password+TOTP → AAL2 + role. reset.mjs (pnpm db:reset) refuses when any non-@zoen.test account exists unless --force, then reseeds. Config fix: [auth.email] enable_signup must stay true (it is the email provider switch); sign-ups stay closed via [auth] enable_signup=false (tested). 7 integration tests (incl. role spike).
