Linora

0307. List and revoke your own sessions

Status: Accepted (2026-11-28). Extends 0302 (session-only routes) and 0011 (revocation). Contract: listSessions, revokeSession and revokeOtherSessions in shared/src/api.ts (additive).

Context

A stolen session cookie could be ended only by the thief’s own logout. security.md’s threat model promised “sessions listed and revocable”, but the contract had no route. Sessions had no public id either: their primary key is the SHA-256 of the cookie token.

Decision

Alternatives

Consequences