Engineering/AI documentation

Active Sessions

Session management lists active authentication sessions and supports session-level control.

documented
UI Path
Settings > Sessions
Component
SessionManager
Source Refs
3
Tests
0

Concepts: webauthn, totp

Implementation Summary

Session management lists active authentication sessions and supports session-level control.

Frontend Surface

  • frontend/src/components/settings/SessionManager.tsx
  • backend/app/api/routes/sessions.py
  • backend/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.tsx and the UI navigation path recorded in the inventory.
  • Active-session requests read the in-memory authStore token. A successful fetchMe() 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

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.