Skip to content

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

fix(harness): update doc references to renamed method and core module

Steven Enamakel8fc65bfa2982
diff --git a/crates/openhuman-embed/README.md b/crates/openhuman-embed/README.md
index dc7a0a9511..9471272548 100644
--- a/crates/openhuman-embed/README.md
+++ b/crates/openhuman-embed/README.md
@@ -142,7 +142,7 @@ Three of them also gate items on this crate's own public surface:
`SessionDetail`, `SessionCreated`, `Message`, `SendResult`, `AbortResult`,
`RosterWorker`, `WireEventEnvelope`).
- `mcp` — `HttpHeader`, `McpAuthConfig`, `McpServer` and
- `HarnessBuilder::mcp_server`.
+ `HarnessBuilder::mcp`.
- `skills` — `HarnessBuilder::skills_dir`.
See [`docs/library-minimal-recipe.md`](../../docs/library-minimal-recipe.md)
diff --git a/crates/openhuman-embed/src/harness/error.rs b/crates/openhuman-embed/src/harness/error.rs
index 03e74bc26d..31fcc96745 100644
--- a/crates/openhuman-embed/src/harness/error.rs
+++ b/crates/openhuman-embed/src/harness/error.rs
@@ -37,10 +37,11 @@ pub enum HarnessError {
///
/// Not a limitation of the harness but of the core it wraps: the keyring
/// master key, the RPC bearer, the global event bus and the `Once`-guarded
- /// domain subscribers are all process-scoped (see
- /// [`openhuman_core::core::runtime`]). Two harnesses would share those while
- /// believing they had separate workspaces, which corrupts state quietly
- /// rather than loudly. Failing here is the loud version.
+ /// domain subscribers are all process-scoped — seeded by
+ /// [`CoreContext::init`](openhuman_core::core::runtime::context::CoreContext::init).
+ /// Two harnesses would share those while believing they had separate
+ /// workspaces, which corrupts state quietly rather than loudly. Failing
+ /// here is the loud version.
#[error(
"an OpenHuman harness is already running in this process; \
core state (keyring, event bus, domain subscribers) is process-scoped, \
diff --git a/crates/openhuman-embed/src/harness/mod.rs b/crates/openhuman-embed/src/harness/mod.rs
index 77f5cf8905..6ab0099479 100644
--- a/crates/openhuman-embed/src/harness/mod.rs
+++ b/crates/openhuman-embed/src/harness/mod.rs
@@ -77,9 +77,9 @@
//! global event bus and the `Once`-guarded domain subscribers are all
//! process-scoped, so two harnesses would silently share them while believing
//! they had separate workspaces. [`HarnessBuilder::build`] returns
-//! [`HarnessError::AlreadyRunning`] rather than letting that happen. See
-//! [`openhuman_core::core::runtime`] for how the underlying process-scoped
-//! state is composed.
+//! [`HarnessError::AlreadyRunning`] rather than letting that happen.
+//! [`CoreContext::init`](openhuman_core::core::runtime::context::CoreContext::init)
+//! is the sequence that seeds that process-scoped state.
mod access;
mod builder;
diff --git a/crates/openhuman-embed/tests/harness_embed.rs b/crates/openhuman-embed/tests/harness_embed.rs
index 36862c624d..9a5289f91b 100644
--- a/crates/openhuman-embed/tests/harness_embed.rs
+++ b/crates/openhuman-embed/tests/harness_embed.rs
@@ -1,7 +1,7 @@
//! End-to-end proof that `Harness` runs a real agent turn as a library call.
//!
-//! This is the acceptance test the `openhuman_core::core::runtime` composition
-//! (`CoreBuilder`, `DomainSet`, `ServiceSet`) implies and never got: build with
+//! This is the acceptance test for the `openhuman_core::core::runtime`
+//! composition (`CoreBuilder` + `DomainSet` + `ServiceSet::none()`): build with
//! no transport and no background services, run one turn, and assert nothing
//! was bound.
//!