Skip to content

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

refactor(session_host): extract runtime session helpers

Steven Enamakela5360c065319
diff --git a/crates/openhuman-core/src/agent/session_host/runtime_session.rs b/crates/openhuman-core/src/agent/session_host/runtime_session.rs
index f70bdbb70b..61c607f514 100644
--- a/crates/openhuman-core/src/agent/session_host/runtime_session.rs
+++ b/crates/openhuman-core/src/agent/session_host/runtime_session.rs
@@ -439,9 +439,8 @@ impl OpenHumanTurnPrelude {
}
// Build the roster from this turn's *effective* visible tool set
// (snapshotted under the tool-surface lock, then released), not the
- // definition's static scope: a hide or named restriction can narrow
- // what this turn can call, and the roster must not advertise a fleet
- // control the turn cannot invoke.
+ // definition's static scope: a hide or named restriction can narrow what
+ // this turn can call, and the roster must not advertise a fleet control it cannot invoke.
let turn_fleet = {
let visible = self
.tool_surface