Skip to main content

Module session_store

Module session_store 

Source
Expand description

Persistent session storage backed by project-local .asp/ directories.

Layout:

.asp/
  sessions/
    <session_id>/
      base.xlsx                 # Immutable base file
      events.jsonl              # Append-only OpEvent log
      HEAD                      # Active op_id
      CURRENT_BRANCH            # Branch name pointer
      branches.json             # Branch metadata
      staged/
        <staged_id>.json        # Staged op payloads + computed impact
      snapshots/
        manifest.json           # Snapshot index
        <op_id>.xlsx            # Materialized snapshot files
      locks/
        session.lock            # Exclusive apply lock

Structs§

SessionHandle
Handle for interacting with a single persistent session.
SessionMeta
SessionStore
Persistent session store managing .asp/sessions/ directories.