yoi/crates/session-store
2026-06-09 19:31:11 +09:00
..
src rename: adopt yoi identity 2026-06-01 18:49:23 +09:00
tests tool: add execution context 2026-06-09 19:31:11 +09:00
Cargo.toml update: entry hash chain と session_head mutex を撤廃 2026-05-20 04:31:37 +09:00
README.md docs: reorganize developer documentation 2026-06-01 20:59:32 +09:00

session-store

Role

session-store owns replayable append-only session logs.

Boundaries

Owns:

  • session identifiers and segment lineage
  • JSONL log entries for replayable conversation/runtime history
  • restoring Worker/session state from committed records
  • schema surfaces that should make drift compile-visible

Does not own:

  • current Pod-name metadata (pod-store)
  • live process/socket discovery (pod-registry, client)
  • UI state (tui)
  • generated memory summaries (memory)

Design notes

A session log records what happened. It is not the current Pod registry and should not be queried as the only source of "what does Pod X mean now?"

Prefer explicit current log variants over broad legacy compatibility when schema changes; hidden compatibility can make future replay bugs silent.

See also