Engineering/AI documentation
Active Sessions
Session management lists active authentication sessions and supports session-level control.
Concepts: webauthn, totp
Implementation Summary
Session management lists active authentication sessions and supports session-level control.
Frontend Surface
frontend/src/components/settings/SessionManager.tsxbackend/app/api/routes/sessions.pybackend/app/core/auth_sessions.py
State, API, And Backend Contracts
Stores
frontend/src/stores/authStore.ts
API And Backend
backend/app/api/routes/sessions.py
Architecture Notes
- The feature is mounted through
frontend/src/components/settings/SessionManager.tsxand the UI navigation path recorded in the inventory. - Active-session requests read the in-memory
authStoretoken. A successfulfetchMe()during shell bootstrap must hydrate that token from browser storage before this component fetches sessions. - The frontmatter and manifest entries are the durable contract for agents updating this page after code changes.
- When the referenced component, store, route, agent, skill, or test behavior changes, regenerate and validate the feature documentation.
Agents, Skills, LLM, MCP, And Permissions
- Authentication-factor behavior is security-sensitive and must be verified with the repository security benchmark when implementation changes.
Tests And Verification
frontend/src/stores/authStore.test.ts
Related Features
Related Concepts
Compass Evidence
- Spec/task: CF-SPEC-53 / CF-657
- Inventory source:
docs/features/inventory.json
When To Update
- Update this page whenever the listed UI components, stores, routes, model behavior, permissions, or tests change.
- Regenerate the site and machine manifests with
python scripts/feature_docs.py --seed-missing --generate-site --check.