Skip to content

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

docs(storage): document the blob_sweep background task

Steven Enamakel3fe9f92f1382
diff --git a/crates/openhuman-core/src/storage/README.md b/crates/openhuman-core/src/storage/README.md
index 9a604f956f..75941eb3b6 100644
--- a/crates/openhuman-core/src/storage/README.md
+++ b/crates/openhuman-core/src/storage/README.md
@@ -73,6 +73,9 @@ record deleted afterwards is not resurrected from the untouched legacy file.
that driver is atomic across processes (MongoDB, SQLite), which a
clustered node's leases need. Memory and file drivers coordinate only
within one process.
+- `blob_sweep`: reclaims expired blobs (`StorageBackend::sweep_expired_blobs`)
+ for `local` and each known agent scope every hour, spawned with the cron
+ service (`core::runtime::services`). SaaS profile scopes are not swept yet.
- `fence` / `fenced_backend`: lease-epoch write fencing (see
[Write fencing](#write-fencing)).
- `scope_for_profile(profile_id)`: the scope a SaaS profile's records live