Skip to content

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

docs(agent): clarify turn origin propagation notes

Steven Enamakeld3d8f7ff90ee
diff --git a/crates/openhuman-core/src/agent/artifacts/README.md b/crates/openhuman-core/src/agent/artifacts/README.md
index 974a766ee0..1d4234e506 100644
--- a/crates/openhuman-core/src/agent/artifacts/README.md
+++ b/crates/openhuman-core/src/agent/artifacts/README.md
@@ -54,7 +54,7 @@ and trim string params.
`ai.regenerate` only accepts `kind == presentation`, reloads `args.json`,
and re-runs `PresentationTool::with_regenerate_target(id)` inside
- `APPROVAL_CHAT_CONTEXT.scope({thread_id, client_id}, ..)` so the same id
+`APPROVAL_CHAT_CONTEXT.scope({thread_id, client_id}, ..)` so the same id
is reused and the Pending/Ready/Failed events route back to the originating
chat. The RPC result is an ack; the card state comes from the socket events.
When `thread_id` is given to `list_artifacts`, legacy records with no
diff --git a/crates/openhuman-core/src/agent/turn_origin.rs b/crates/openhuman-core/src/agent/turn_origin.rs
index 24dfa2144c..0dc1b36c0b 100644
--- a/crates/openhuman-core/src/agent/turn_origin.rs
+++ b/crates/openhuman-core/src/agent/turn_origin.rs
@@ -364,14 +364,9 @@ pub fn propagate<F: std::future::Future>(fut: F) -> impl std::future::Future<Out
///
/// # What it does not carry
///
-/// Only the origin. A delegated agent turn usually also needs
-/// [`turn_workspace::propagate`](super::turn_workspace) and the harness fork
-/// context; those are separate wrappers and still have to be applied around the
-/// future passed in here.
-///
-/// ```ignore
-/// let join = turn_origin::spawn(turn_workspace::propagate(async move { .. }));
-/// ```
+/// Only the origin (and the ambient `CoreContext`). A delegated agent turn
+/// usually also needs the harness fork context, a separate wrapper that still
+/// has to be applied around the future passed in here.
pub fn spawn<F>(fut: F) -> tokio::task::JoinHandle<F::Output>
where
F: std::future::Future + Send + 'static,