Skip to content

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

docs: update cross-references in README files to include line numbers

Steven Enamakele475bd3fcb9c
diff --git a/crates/openhuman-core/src/integrations/composio/README.md b/crates/openhuman-core/src/integrations/composio/README.md
index 4bb8b9cf1e..77a9fccf8f 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`, 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` (around lines 301–305), 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 971f6ac55c..cacf98b4c1 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` calls
+- `crates/openhuman-core/src/core/runtime/subscribers.rs` (around line 306) 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/security/approval/README.md b/crates/openhuman-core/src/security/approval/README.md
index a9c11906a3..6ba78374ca 100644
--- a/crates/openhuman-core/src/security/approval/README.md
+++ b/crates/openhuman-core/src/security/approval/README.md
@@ -83,7 +83,7 @@ SQLite DB at `{workspace_dir}/approval/approval.db`, table `pending_approvals` (
## Used by
-- `crates/openhuman-core/src/core/runtime/bootstrap.rs`: installs the global gate (`ApprovalGate::init_global`) at startup. `core/all.rs` registers the approval RPC controllers.
+- `crates/openhuman-core/src/core/runtime/bootstrap.rs`: installs the global gate (`ApprovalGate::init_global`) at startup; `core/all.rs` registers the approval RPC controllers.
- `crates/openhuman-core/src/core/all.rs`: registers the controller schemas.
- `crates/openhuman-core/src/agent/tinyagents/middleware.rs` (`ApprovalSecurityMiddleware`, a `wrap_tool` middleware on every turn path): routes external-effect tool calls through the gate before `execute()` and records the terminal audit row.
- `crates/openhuman-core/src/web_chat/`: sets `APPROVAL_CHAT_CONTEXT`, hosts `ApprovalSurfaceSubscriber`, and routes typed yes/no replies to `approval_decide`.
diff --git a/crates/openhuman-core/src/skills/webhooks/README.md b/crates/openhuman-core/src/skills/webhooks/README.md
index f43e4f5e8c..bdcb082c9c 100644
--- a/crates/openhuman-core/src/skills/webhooks/README.md
+++ b/crates/openhuman-core/src/skills/webhooks/README.md
@@ -88,7 +88,7 @@ Note that nothing in the production startup path currently constructs a `Webhook
- `crates/openhuman-core/src/core/all.rs`: registers the controllers/schemas into the RPC registry.
- `crates/openhuman-core/src/platform/socket/manager.rs`: stores the `WebhookRouter` (`set_webhook_router` / `webhook_router`) on the socket manager; ops/bus retrieve it from there.
- `crates/openhuman-core/src/platform/socket/event_handlers.rs`: publishes `WebhookIncomingRequest` from the socket and reads the shared router slot.
-- `crates/openhuman-core/src/core/runtime/subscribers.rs`: registers `WebhookRequestSubscriber` in `register_domain_subscribers()`.
+- `crates/openhuman-core/src/core/runtime/subscribers.rs`: registers `WebhookRequestSubscriber`.
- `crates/openhuman-core/src/core/events.rs`: defines the `Webhook*` `DomainEvent` variants this module uses.
## Notes / gotchas
diff --git a/crates/openhuman-core/src/web3/x402/README.md b/crates/openhuman-core/src/web3/x402/README.md
index 3539c8b431..4afe05b8cd 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`: calls
+- `crates/openhuman-core/src/core/runtime/bootstrap.rs` (around line 136): 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 4ce4352dfd..8e456642ec 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 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/jsonrpc/http/events.rs`: subscribes to and serves the `/events` SSE stream.
+- `core/runtime/bootstrap.rs`: bootstraps runtime services; `core/runtime/subscribers.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).