docs: implementation plan — auth + production hardening
10 tasks, TDD-shaped, executable by superpowers:subagent-driven-development. ~50 unit tests across auth-cookie / safe-redirect / auth helpers / loginAction / middleware / user-management actions, covering brute- force, cookie tampering, replay, expiry, fixation, open redirect, timing-equivalence on user-not-found, rate-limit trigger, no- password-leak in logs, role gates, last-admin / self-demote guards, and the unauth-API regression for /api/events + /api/qr. Plan honours the project's .gitignore policy of keeping .env.development committed; ships .env.example for documentation instead of forcing repo-level removal. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
feffe419db
commit
477e09f645
2317
docs/superpowers/plans/2026-05-10-auth-and-prod-hardening.md
Normal file
2317
docs/superpowers/plans/2026-05-10-auth-and-prod-hardening.md
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user