Skip to content

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

docs(profiles): update memory confinement references in comments

Steven Enamakel8be3054f6b99
diff --git a/crates/openhuman-core/src/profiles/layout.rs b/crates/openhuman-core/src/profiles/layout.rs
index 84f9684ec5..dd2522a820 100644
--- a/crates/openhuman-core/src/profiles/layout.rs
+++ b/crates/openhuman-core/src/profiles/layout.rs
@@ -49,8 +49,9 @@ pub fn memory_root(id: &ProfileId) -> String {
/// so a definition pin or a team root cannot move it onto another user's
/// tree (a host binding wins over both);
/// - the memory layout is pinned to the legacy tree, confined to that root
-/// (`memory::user_scope`). Layout v3 would ignore `root` and bind the engine
-/// below `memory::scope::user_root`, which reads the person from the config
+/// by `tinymemory_tools::confine::Policy::Clamp`, selected by
+/// `memory::ops`. Layout v3 would ignore `root` and bind the engine below
+/// `memory::scope::user_root`, which reads the person from the config
/// path (`users/<id>/config.toml`): `org:<id>` for an id that looks like a
/// TinyHumans account, a freshly minted `org:local-…` otherwise. Either
/// disagrees with `user:<id>`, so a profile never runs v3;
diff --git a/crates/openhuman-core/src/profiles/surface.rs b/crates/openhuman-core/src/profiles/surface.rs
index 07da0bdf3b..305640363a 100644
--- a/crates/openhuman-core/src/profiles/surface.rs
+++ b/crates/openhuman-core/src/profiles/surface.rs
@@ -62,7 +62,7 @@ pub const USER_METHODS: &[&str] = &[
// onto that user's `channel:` thread; replies reach only their `/events`.
"openhuman.channel_relay_inbound",
// Memory: reads and writes confined to the user's own tree
- // (`memory::user_scope`). Engine and policy changes, sources, imports and
+ // (`tinymemory_tools::confine::Policy::Clamp`). Engine and policy changes, sources, imports and
// backfills stay closed: they reach the host or change where memory lives.
"openhuman.memory_recall",
"openhuman.memory_fetch",