Skip to content

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

feat(jsonrpc): register agent-surface subscriber unconditionally in core bootstrap

Steven Enamakeld4808a127831
diff --git a/crates/openhuman-core/src/core/jsonrpc.rs b/crates/openhuman-core/src/core/jsonrpc.rs
index aeaaa2090b..091c51a971 100644
--- a/crates/openhuman-core/src/core/jsonrpc.rs
+++ b/crates/openhuman-core/src/core/jsonrpc.rs
@@ -2252,6 +2252,10 @@ pub async fn bootstrap_core_runtime(
// disclosures reach the UI even on cores that skip `start_channels` or run
// with the approval gate disabled. Idempotent (OnceLock-guarded).
crate::web_chat::register_egress_surface_subscriber();
+ // Agent-surface bridge (goals/todos/queue, C3) — registered unconditionally
+ // for the same reason as the two bridges above: this JSON-RPC serve boot
+ // path can run without `start_channels`. Idempotent (OnceLock-guarded).
+ crate::web_chat::register_agent_surface_subscriber();
if decision.install_gate {
// Per-launch correlation token for the approval gate. This is