Skip to content

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

chore(session_host): shorten comment on request-scoped policy

Steven Enamakelc6c06e9bc97c
diff --git a/crates/openhuman-core/src/agent/session_host/driver.rs b/crates/openhuman-core/src/agent/session_host/driver.rs
index 7ae4024613..18c31d8883 100644
--- a/crates/openhuman-core/src/agent/session_host/driver.rs
+++ b/crates/openhuman-core/src/agent/session_host/driver.rs
@@ -81,10 +81,7 @@ impl SessionDriver<OpenHumanRunContext> for OpenHumanSessionDriver {
) -> Result<DriverOutcome, DriverFailure> {
// Heal an orphaned tool head before reading history.
repair_orphaned_tool_head(&mut request.history);
- // These two inputs are prepared by the OpenHuman lifecycle hook for
- // this exact request. Falling back to the snapshots captured when the
- // long-lived driver was constructed would let a later channel/tool
- // policy or context change execute under stale authority.
+ // Use the policy and context prepared for this exact request.
let tool_policy = request
.run_context
.data