Skip to content

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

docs(core): update READMEs to reflect current routing and subscriber registration

Steven Enamakelf8c10167ab4d
diff --git a/crates/openhuman-core/src/core/README.md b/crates/openhuman-core/src/core/README.md
index a0e7b9972f..c998c917e9 100644
--- a/crates/openhuman-core/src/core/README.md
+++ b/crates/openhuman-core/src/core/README.md
@@ -133,8 +133,8 @@ Each subscribing domain owns a `bus.rs`; subscriber names use
## RPC and HTTP transport
-The core HTTP router serves the routes listed below; `/auth` and `/auth/telegram` callbacks belong to the host. Every transport resolves a method through
-`invoke::invoke_method`, which checks the registry schema, validates params
+Every transport resolves a method through `invoke::invoke_method`, which checks
+the registry schema, validates params
(`all::validate_params`, messages from `params.rs`), dispatches, and on a
confirmed session expiry publishes `DomainEvent::SessionExpired`.
`CoreRuntime::invoke` wraps it for embedders; the CLI's `call` subcommand
@@ -142,8 +142,9 @@ uses it directly.
The HTTP and Socket.IO server that exposes these methods lives in
`crates/openhuman-rpc` (`openhuman_rpc::server`): the axum router, `/rpc`,
-`/health`, `/schema`, the SSE streams, auth middleware, CORS, Socket.IO and
-the listener bind. It mounts the domain-owned HTTP handlers that stay here
+`/health`, `/schema`, `/events`, `/oauth/mcp/callback`, the SSE streams, auth
+middleware, CORS, Socket.IO and the listener bind. Host-owned `/auth` and
+`/auth/telegram` callbacks are not served by this router. It mounts the domain-owned HTTP handlers that stay here
behind the `http-server` feature (`inference::http`'s `/v1` router, the
dictation WebSocket in `voice::streaming`). `CoreRuntime` exposes the hooks
the server needs around a listener (`start_services`, `listener_bound`,
diff --git a/crates/openhuman-core/src/integrations/composio/README.md b/crates/openhuman-core/src/integrations/composio/README.md
index 77a9fccf8f..e3f80db897 100644
--- a/crates/openhuman-core/src/integrations/composio/README.md
+++ b/crates/openhuman-core/src/integrations/composio/README.md
@@ -146,7 +146,7 @@ From `tools.rs` (`all_composio_agent_tools`, registered only when `agent::subage
## Events
-Subscribers/handlers for trigger and config-change events still live in `crate::memory::sync::composio::bus` (re-exported here via `bus.rs`). All three are registered by one call, `register_composio_trigger_subscriber()`, from `crates/openhuman-core/src/core/runtime/subscribers.rs` (around lines 301–305), after trigger history initialization:
+Subscribers/handlers for trigger and config-change events still live in `crate::memory::sync::composio::bus` (re-exported here via `bus.rs`). All three are registered by one call, `register_composio_trigger_subscriber()`, from `crates/openhuman-core/src/core/runtime/subscribers.rs` after trigger history initialization:
- **`ComposioTriggerSubscriber`**, reacts to `DomainEvent::ComposioTriggerReceived` (published by `platform::socket::event_handlers` when the backend emits `composio:trigger`); archives the event to `trigger_history` and routes it through `agent::triage::run_triage` unless `OPENHUMAN_TRIGGER_TRIAGE_DISABLED`, `composio.triage_disabled`, or `composio.triage_disabled_toolkits` opts out.
- **`ComposioConnectionCreatedSubscriber`**, reacts to `DomainEvent::ComposioConnectionCreated` (published by `composio_authorize`); waits for the connection to go active, invalidates and eagerly warms the integrations cache, then runs the initial profile fetch + sync.
diff --git a/crates/openhuman-core/src/web3/x402/README.md b/crates/openhuman-core/src/web3/x402/README.md
index 4afe05b8cd..3539c8b431 100644
--- a/crates/openhuman-core/src/web3/x402/README.md
+++ b/crates/openhuman-core/src/web3/x402/README.md
@@ -114,7 +114,7 @@ which handles a 402 only as a silent fallback for any endpoint.
- `crates/openhuman-core/src/core/all.rs` (around line 569): wires
`all_x402_registered_controllers` into the controller registry under
`DomainGroup::Web3`.
-- `crates/openhuman-core/src/core/runtime/bootstrap.rs` (around line 136): calls
+- `crates/openhuman-core/src/core/runtime/bootstrap.rs`: calls
`init_ledger(&workspace_dir, &x402_session)` at boot, itself runtime-gated on
`DomainGroup::Web3`.