Skip to content

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

docs(agent): update stale task recency references

Steven Enamakelc319717e5979
diff --git a/crates/openhuman-core/src/agent/harness/README.md b/crates/openhuman-core/src/agent/harness/README.md
index 742bb2bb0b..093587c0f8 100644
--- a/crates/openhuman-core/src/agent/harness/README.md
+++ b/crates/openhuman-core/src/agent/harness/README.md
@@ -58,7 +58,7 @@ What `harness/mod.rs` actually re-exports:
`with_parent_context`, `AgentContextPreparedSource`):
parent runtime context for spawned tools.
Sandbox policy lives on the explicit host operation context. Briefing task
-recency belongs to `integrations/composio/task_recency_context.rs`.
+recency belongs to ``OpenHumanRunExt` (agent/tinyagents/host/run_context.rs)`.
- `artifact_offload::{...}`: reached only via the `artifact_offload::` path
(see Notes), never flattened into `harness::`.
diff --git a/crates/openhuman-core/src/agent/subagent_host/mod.rs b/crates/openhuman-core/src/agent/subagent_host/mod.rs
index c230bd72fd..10dac40de7 100644
--- a/crates/openhuman-core/src/agent/subagent_host/mod.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/mod.rs
@@ -1,6 +1,6 @@
//! OpenHuman adapters for the neutral TinyAgents subagent lifecycle.
//!
-//! Given an [`super::host_definition::AgentDefinition`] and a task prompt, the
+//! Given an [`crate::agent::harness::host_definition::AgentDefinition`] and a task prompt, the
//! runner:
//!
//! 1. Reads the [`super::fork_context::ParentExecutionContext`] task-local
diff --git a/crates/openhuman-core/src/agent/tinyagents/observability/event_bridge.rs b/crates/openhuman-core/src/agent/tinyagents/observability/event_bridge.rs
index 3204ca1541..2b094e43a8 100644
--- a/crates/openhuman-core/src/agent/tinyagents/observability/event_bridge.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/observability/event_bridge.rs
@@ -243,14 +243,11 @@ impl OpenhumanEventBridge {
/// Forward a progress event without ever silently dropping it under
/// backpressure (#4466). The crate `EventListener::on_event` callback is
- /// **synchronous**, so we cannot `.await` a bounded `send()` inline the way
- /// the legacy streaming path did. Fast path: `try_send`, which succeeds (and
- /// stays fully synchronous + ordered) whenever the downstream channel has
- /// room — the common case. Only when the channel is momentarily **full** do
- /// we fall back to an awaited `send()` on a spawned task so the delta is
- /// delivered under backpressure instead of being dropped (the old bug). A
- /// `Closed` channel means the receiver is gone (turn tore down), where
- /// dropping is correct.
+ /// **synchronous**, so the harness `OrderedSender` tries `try_send` first and,
+ /// when the channel is full, spills to a bounded FIFO drain task so later
+ /// items never overtake earlier ones. A closed channel means the receiver is
+ /// gone (turn tore down), where dropping is correct. If the bounded overflow
+ /// queue itself is full the delta is dropped and logged below.
pub(super) fn send(&self, progress: AgentProgress) {
use tinyagents_harness::events::SendFailure;
match self.sender.send(progress) {
diff --git a/crates/openhuman-core/src/integrations/composio/README.md b/crates/openhuman-core/src/integrations/composio/README.md
index 6d593d484a..c5baf7247e 100644
--- a/crates/openhuman-core/src/integrations/composio/README.md
+++ b/crates/openhuman-core/src/integrations/composio/README.md
@@ -158,7 +158,7 @@ Published from `ops/` via `crate::core::bus::BUS.publish` (`crate::core::events:
- `tinyconnectors_bus`: the wire contract (member names, payload types) for the `tinyconnectors` module call surface; a plain dependency, not feature-gated.
- `crate::agent::tinyagents::host::run_context`: explicit sandbox mode projected
from the typed tool execution context for per-action and dispatcher gating.
-- [`task_recency_context.rs`](./task_recency_context.rs): Composio-owned morning briefing recency scope; `tools/execute.rs` forwards its window through the connector bus.
+- Task recency window: carried as `OpenHumanRunExt::task_recency_window` (`agent/tinyagents/host/run_context.rs`); `tools/execute.rs` reads it from the tool execution context and forwards it through the connector bus.
- `tinytools`: `Tool`, `ToolResult`, `ToolCategory`, `PermissionLevel`, `ToolCallOptions`.
- `crate::security`: `SecurityPolicy` / `ToolOperation` for direct-tool gating.
- `crate::security::credentials`: encrypted store for the direct-mode API key.