### Task id M2.2 ### Track C: control plane, W: web UI ### Scope - Sign-up, email verification, login with argon2id, sessions, CSRF, TOTP 2FA with recovery codes, password reset, API tokens with scopes. ### Acceptance criteria Auth E2E tests; brute-force protection (rate limit and progressive delay); session rotation on privilege change. ### Depends on M2.1
Activity
[M2.2a] Add bounded authentication security primitives (#40)
[M2.2b1] Make command and audit persistence atomic (#41)
[M2.2b2] Persist users and bounded identity credentials (#42)
[M2.2b3] Serialize identity and credential mutations (#43)
[M2.2c1] Add audited account and session flows (#44)
[M2.2c2] Enforce shared authentication attempt limits (#45)
[M2.2c3a] Deliver identity mail through encrypted durable jobs (#46)
[M2.2c3b] Deliver identity codes over verified SMTP TLS (#47)
[M2.2e4b1-fix] Pin the Testcontainers PostgreSQL image to its digest (#…
[M2.2c4c1-fix] Bound concurrent replay transactions below the connect…
[M2.2c2-fix] Stop unauthenticated account lockout and key IPv6 by /64 (…
[M2.2e-fix] Fix expired-session sign-out and stop hiding one-time sec…
[M2.2c1-fix] Stop account pre-hijacking through pending registrations (…
samuelmbabhazi commentedon Nov 5, 2026
Done: M2.2 merged, including the review fixes #97, #98 and #101. PLAN updated in #111.