Skip to content

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

chore: tidy parent context docs and renumber e2e request ids

Steven Enamakel0b7c98524163
diff --git a/crates/openhuman-core/src/agent/orchestration/parent_context/builder.rs b/crates/openhuman-core/src/agent/orchestration/parent_context/builder.rs
index ec919e0c0f..3c8eaa3edf 100644
--- a/crates/openhuman-core/src/agent/orchestration/parent_context/builder.rs
+++ b/crates/openhuman-core/src/agent/orchestration/parent_context/builder.rs
@@ -123,7 +123,7 @@ pub(crate) async fn build_root_parent(
/// Build (or accept) the parent execution context for a **controller-spawned
/// background orchestration surface** that has no enclosing agent turn (the
-/// workflow-run engine, the agent-team runtime, cron jobs), then run
+/// workflow-run engine or cron jobs), then run
/// `run(parent)` with it.
///
/// Folds [`build_root_parent`] and the hand-off into one call so a surface
diff --git a/tests/json_rpc_e2e.rs b/tests/json_rpc_e2e.rs
index 47e8dbd88a..667b70a92f 100644
--- a/tests/json_rpc_e2e.rs
+++ b/tests/json_rpc_e2e.rs
@@ -2723,11 +2723,11 @@ async fn json_rpc_protocol_auth_and_agent_hello_inner() {
// Agent teams are a retired product surface. Keep a real HTTP JSON-RPC
// assertion here so dispatch cannot accidentally bring its methods back.
let retired_team_method =
- post_json_rpc(&rpc_base, 3, "openhuman.agent_team_list", json!({})).await;
+ post_json_rpc(&rpc_base, 10_000, "openhuman.agent_team_list", json!({})).await;
assert_unknown_method(&retired_team_method, "openhuman.agent_team_list");
// --- auth: session state (no JWT yet) ---
- let state_before = post_json_rpc(&rpc_base, 4, "openhuman.auth_get_state", json!({})).await;
+ let state_before = post_json_rpc(&rpc_base, 3, "openhuman.auth_get_state", json!({})).await;
let state_outer = assert_no_jsonrpc_error(&state_before, "get_state");
let state_body = state_outer.get("result").unwrap_or(state_outer);
assert!(
@@ -2738,7 +2738,7 @@ async fn json_rpc_protocol_auth_and_agent_hello_inner() {
// --- auth: store session (validates JWT via mock GET /auth/me) ---
let store = post_json_rpc(
&rpc_base,
- 5,
+ 4,
"openhuman.auth_store_session",
json!({
"token": "e2e-test-jwt",