This change contradicts a reviewed decision about session revocation.
The pull request caches session validity for sixty seconds. A decision recorded seven weeks earlier — and reviewed by a human — requires revocation to take effect within one request. Those two things cannot both be true.
- Change
- PR #2841 — Cache session lookups in the auth middleware
- Ref
- refs/pull/2841/head
- Decision
- Session validity is read through on every authenticated request; revocation must take effect within one request.
- Recorded
- 2026-01-22T14:07:39Z at 31d6c0f — Reviewed by a human on 2026-01-23
Cited evidence
- Decision decision:7f21c8 @ 31d6c0fresolvedReviewed. Forbids caching session validity across requests.
- Belief belief:2ac590 @ 31d6c0fresolvedRevocation latency is a compliance requirement, not a performance preference.
- Document docs/security/session-lifecycle.md §4 @ 8be1207resolvedDescribes the one-request revocation guarantee this PR would relax.
- Belief belief:91de44 @ 5c0a7f2staleCites a rate-limit budget that changed after capture — carried forward as an open challenge, not counted as proof.