Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

docs(store-sqlite): clarify session store ownership in docs

Steven Enamakelf83d0bcffb1d
diff --git a/AGENTS.md b/AGENTS.md
index 1e20ee55ba..ec71b41f53 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -20,7 +20,7 @@ Architecture: [overview](gitbooks/developing/architecture.md),
| `crates/openhuman-cli/` | The `openhuman-core` binary (`src/main.rs`), the developer/benchmark bins (`src/bin/`), and every root `tests/*.rs` / `examples/*.rs` target; depends on `openhuman-tinyhumans` for the backend transport the core does not carry |
| `crates/openhuman-embed/` | Typed library facade for embedding the core in another product |
| `crates/openhuman-rpc/` | JSON-RPC 2.0 over the core: envelopes, HTTP client, and the server (router, Socket.IO, listener, `run_server*`) used by app, CLI and TUI |
-| `crates/openhuman-store-sqlite/` | The on-disk session store (`session_raw/`, `session_db/`, `tinyagents_store/`, turn states) behind TinyAgents' session store port; installed by the app and CLI (`openhuman_rpc::server::install_session_store`) and the TUI, so the core and embed carry no storage of their own |
+| `crates/openhuman-store-sqlite/` | The on-disk session store (`session_raw/`, `session_db/`, `tinyagents_store/`, turn states) behind TinyAgents' session store port; installed by the app and CLI (`openhuman_rpc::server::install_session_store`) and the TUI. Core and embed reach session state through the port (`agent::session_store`); a few legacy paths still fall back to workspace files when no store is installed |
| `crates/openhuman-tinyhumans/` | The TinyHumans layer above embed: SDK-backed backend transport, a `RuntimeBuilder` that boots connected, and the host-side login/session owner (login-token exchange, `/auth/me`, current-user cache, credential handoff) used by app and TUI |
| `crates/openhuman-tui/` | Standalone terminal frontend |
| `tests/` | Rust integration and JSON-RPC tests |
diff --git a/crates/openhuman-store-sqlite/src/lib.rs b/crates/openhuman-store-sqlite/src/lib.rs
index 57ec26c6be..e561ca633a 100644
--- a/crates/openhuman-store-sqlite/src/lib.rs
+++ b/crates/openhuman-store-sqlite/src/lib.rs
@@ -12,8 +12,8 @@
//! todos, turn journal
//! ```
//!
-//! The desktop app, the CLI and the TUI install it, so the core and the embed
-//! facade carry no storage of their own. It serves one operator: every agent
+//! The desktop app, the CLI and the TUI install it; the core and the embed
+//! facade reach session state only through the port. It serves one operator: every agent
//! shares the workspace, as it always has, so it does not claim the
//! per-agent isolation a multi-user host's store must provide.
//!