Skip to main content

Module session_manager

Module session_manager 

Source
Expand description

Disk-backed session store.

Each session is one yaml file at: <base>/<project_id>/<session_uuid>.yaml

Writes are atomic (write to .tmp, then rename). Reads scan all project subdirectories — fine for Slice 1 since N is small (tens of sessions).

There’s intentionally no in-memory cache. The disk is the source of truth, and Slice 1’s ao-rs status is happy to do a full directory walk per invocation. Slice 2+ may add caching for the daemon polling loop.

Structs§

SessionManager