The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
Merge origin/saas-profile-lease into saas-profile-host
Steven Enamakelb7ae3a8a474d
diff --cc crates/openhuman-core/src/storage/README.mdindex e58751f6d1,711e29f560..a79df0e40e--- a/crates/openhuman-core/src/storage/README.md+++ b/crates/openhuman-core/src/storage/README.md@@@ -32,12 -32,13 +32,16 @@@ on `storage-mongodb`- `driver_is_shared(driver)` / `installed_is_shared()`: whether otherprocesses may write the same backend (MongoDB). Boot-time recovery, suchas the orphaned-run sweep, is skipped on a shared backend.+ - `driver_has_cross_process_cas(driver)`: whether a compare-and-swap on+ that driver is atomic across processes (MongoDB, SQLite), which a+ clustered node's leases need. Memory and file drivers coordinate only+ within one process.-- `current_scope()` / `current_scoped()`: the acting agent's scope (`local`- on a single-user host; an error in SaaS mode with no acting agent) and the- installed backend under it.+- `scope_for_profile(profile_id)`: the scope a SaaS profile's records live+ under (`profile:<id>`, hashed when that is not a valid scope).+- `current_scope()` / `current_scoped()`: the tenant's scope — its profile's+ when it serves one, else the acting agent's, else `local` on a single-user+ host; an error in SaaS mode without a profile — and the installed backend+ under it.- `block_on(future)`: runs a storage future from synchronous store code onone shared runtime thread.- `documents::Repo` and `documents::compare_and_swap`: the base the domain