Skip to content

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

docs: update READMEs to clarify HTTP routing and subscriber registration

Steven Enamakelf578e2da3da3
diff --git a/crates/openhuman-core/src/core/README.md b/crates/openhuman-core/src/core/README.md
index 601b37078d..a0e7b9972f 100644
--- a/crates/openhuman-core/src/core/README.md
+++ b/crates/openhuman-core/src/core/README.md
@@ -133,7 +133,7 @@ Each subscribing domain owns a `bus.rs`; subscriber names use
## RPC and HTTP transport
-Core has no JSON-RPC server. Every transport resolves a method through
+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
(`all::validate_params`, messages from `params.rs`), dispatches, and on a
confirmed session expiry publishes `DomainEvent::SessionExpired`.
diff --git a/crates/openhuman-core/src/integrations/task_sources/README.md b/crates/openhuman-core/src/integrations/task_sources/README.md
index cacf98b4c1..971f6ac55c 100644
--- a/crates/openhuman-core/src/integrations/task_sources/README.md
+++ b/crates/openhuman-core/src/integrations/task_sources/README.md
@@ -106,7 +106,7 @@ Subscribes:
Startup wiring is split across three sites; both entry points are idempotent
(`OnceLock`), so the overlap is harmless:
-- `crates/openhuman-core/src/core/runtime/subscribers.rs` (around line 306) calls
+- `crates/openhuman-core/src/core/runtime/subscribers.rs` calls
`crate::integrations::task_sources::bus::register_task_sources_subscriber()`.
- `crates/openhuman-core/src/core/runtime/services.rs` calls
`crate::integrations::task_sources::start_periodic_poll()` when the
diff --git a/crates/openhuman-core/src/web_chat/README.md b/crates/openhuman-core/src/web_chat/README.md
index 278a8dc2f0..066d93df15 100644
--- a/crates/openhuman-core/src/web_chat/README.md
+++ b/crates/openhuman-core/src/web_chat/README.md
@@ -169,7 +169,7 @@ Namespace `channel`, registered via
`start_chat` / `cancel_chat_scoped`, and forward `WebChannelEvent`s to the
client.
- `core/jsonrpc/http/events.rs`: subscribes to the `/events` SSE stream and forwards web-channel events.
-- `core/runtime/bootstrap.rs`: bootstraps runtime services; `core/runtime/subscribers.rs` registers the `DomainEvent` surface subscribers.
+- `core/jsonrpc/http/events.rs`: subscribes to the `/events` SSE stream and forwards web-channel events; `core/runtime/bootstrap.rs` registers the `DomainEvent` surface subscribers.
- `core/all.rs`: registers `all_web_channel_registered_controllers()` under
`DomainGroup::Channels`, deliberately not behind the `channels` feature
(the in-app chat is core product surface, #5002).