Skip to content

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

docs: update stale line references in READMEs and doc comments

Steven Enamakeld85fb8d54dbe
diff --git a/crates/openhuman-core/src/core/shutdown.rs b/crates/openhuman-core/src/core/shutdown.rs
index c3a68aaff2..247e3fa1bf 100644
--- a/crates/openhuman-core/src/core/shutdown.rs
+++ b/crates/openhuman-core/src/core/shutdown.rs
@@ -3,7 +3,7 @@
//! Provides a shutdown signal that listens for SIGINT (Ctrl-C) **and** SIGTERM
//! (on Unix), then runs registered cleanup hooks before the process exits.
//! Domain-specific cleanup (autocomplete, voice, etc.) registers itself here
-//! so shutdown plumbing stays outside the JSON-RPC modules.
+//! so shutdown plumbing stays outside the JSON-RPC implementation modules.
use std::future::Future;
use std::pin::Pin;
diff --git a/crates/openhuman-core/src/integrations/composio/README.md b/crates/openhuman-core/src/integrations/composio/README.md
index 7e7d124fa9..4bb8b9cf1e 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, right after `init_composio_trigger_history`):
+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/integrations/task_sources/README.md b/crates/openhuman-core/src/integrations/task_sources/README.md
index db51276d7a..971f6ac55c 100644
--- a/crates/openhuman-core/src/integrations/task_sources/README.md
+++ b/crates/openhuman-core/src/integrations/task_sources/README.md
@@ -108,7 +108,7 @@ Startup wiring is split across three sites; both entry points are idempotent
- `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` (around line 353) calls
+- `crates/openhuman-core/src/core/runtime/services.rs` calls
`crate::integrations::task_sources::start_periodic_poll()` when the
`ServiceSet`'s task-source polling bootstrap job is enabled (documented at
around line 217).
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`.
diff --git a/crates/openhuman-core/src/web_chat/README.md b/crates/openhuman-core/src/web_chat/README.md
index 4c398e1b9b..4ce4352dfd 100644
--- a/crates/openhuman-core/src/web_chat/README.md
+++ b/crates/openhuman-core/src/web_chat/README.md
@@ -168,8 +168,8 @@ Namespace `channel`, registered via
- `openhuman-rpc/src/server/socketio.rs`: the `chat:start` and `chat:cancel` handlers call
`start_chat` / `cancel_chat_scoped`, and forward `WebChannelEvent`s to the
client.
-- `openhuman-rpc/src/server/http/events.rs`: subscribes the `/events` SSE stream.
-- `core/runtime/bootstrap.rs`: registers the `DomainEvent` surface subscribers at startup.
+- `openhuman-rpc/src/server/http/events.rs`: subscribes to and serves the `/events` SSE stream.
+- `core/runtime/bootstrap.rs`: bootstraps runtime services, including registration of the `DomainEvent` surface subscribers through `core/runtime/subscribers.rs`.
- `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).