Skip to content

docs: record the login throttle and admin guard decisions - #110

Merged
OriginDevIT merged 1 commit into
mainfrom
docs/session-decisions
Sep 4, 2026
Merged

docs: record the login throttle and admin guard decisions#110
OriginDevIT merged 1 commit into
mainfrom
docs/session-decisions

Conversation

@OriginDevIT

Copy link
Copy Markdown
Owner

Decisions from the browser-path session — #104, #106 and #108. No code.

Six rows under Authentication covering the per-email attempt limit: why per-email rather than per-IP, why the table is principal-scoped rather than a §11.2 exception, why the counter is one committed statement, why the digest and no pepper, the lockout tradeoff accepted explicitly, and the Accept-based split that keeps Retry-After for programmatic callers.

Four rows under Admin surfaces covering the route group that breaks the redirect loop, the layout gating on authentication rather than authorization, React cache() making the guard's decision authoritative for a render, and the move of POST /admin/login to /admin/login/submit.

One line under Working conventions: a recorded migration is never edited in place, because CI migrates from zero and cannot detect the drift.

Signed-off-by: Matthew Wren <info@origindev.com>
@OriginDevIT
OriginDevIT merged commit 6ef79f6 into main Sep 4, 2026
1 check passed
@OriginDevIT
OriginDevIT deleted the docs/session-decisions branch September 4, 2026 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant