Skip to content

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

chore(subagent-host): remove stray blank lines in runner

Steven Enamakelc62a89bf6804
diff --git a/crates/openhuman-core/src/agent/subagent_host/ops/runner.rs b/crates/openhuman-core/src/agent/subagent_host/ops/runner.rs
index 34b61b53e4..c100e7338d 100644
--- a/crates/openhuman-core/src/agent/subagent_host/ops/runner.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/ops/runner.rs
@@ -220,7 +220,6 @@ pub(crate) async fn run_subagent_direct(
});
}
}
-
let parent = options
.run_context
.parent
@@ -241,7 +240,6 @@ pub(crate) async fn run_subagent_direct(
// Acts on memory as a child of its parent: same team, own definition.
let acting = options.run_context.memory_identity.take().unwrap_or_default();
options.run_context.memory_identity = Some(acting.child(&definition.id));
-
// Runtime spawn-hierarchy (tier) gate — defense-in-depth alongside the
// depth gate above. The loader validates *declared* `subagents` pairs
// statically at boot (`validate_tier_hierarchy`), but dynamic, custom,
@@ -254,7 +252,6 @@ pub(crate) async fn run_subagent_direct(
.as_deref()
.and_then(|reg| reg.get(&parent.agent_definition_id));
tier_gate_decision(parent_def, definition, &parent.agent_definition_id, &task_id)?;
-
// Configured `subagentStart` hooks — the last gate before a spawn costs
// anything. Placed after the tier gate so a spawn the graph already
// forbids never reaches a user script, and before config load so a