The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
docs: replace em dashes with colons in module READMEs
Steven Enamakel1ab5cb01e106
diff --git a/crates/openhuman-core/src/platform/doctor/README.md b/crates/openhuman-core/src/platform/doctor/README.mdindex eb8a7607cb..aa2a5a7e62 100644--- a/crates/openhuman-core/src/platform/doctor/README.md+++ b/crates/openhuman-core/src/platform/doctor/README.md@@ -63,14 +63,14 @@ None of its own (no `store.rs`). It only **reads** existing state owned by other## Dependencies-- `crate::config::{Config, rpc}` — reads the live config for all probes; `config_rpc::load_config_with_timeout` in the handlers.-- `crate::platform::service::daemon` — `state_file_path` for the daemon heartbeat/component snapshot.-- `crate::memory::status` — the memory engine's status (`ok`/`degraded`/`down`/`off`), taken by `ops` before the blocking hop and passed to `run` as a `MemoryEngineCheck`.-- `crate::inference::embedding_host::effective_embedding_settings` — resolves the intended embedding provider/model.-- `crate::inference::{provider, local}` — `provider::list_providers` (model targets) and `local::ollama_base_url` (embedding probe).-- `crate::backend::inference_base_url` — asks the installed transport for the inference base URL; `crate::security::credentials::jwt::get_session_token` for sign-in state.-- `crate::core::all::{ControllerFuture, RegisteredController}`, `crate::core::{ControllerSchema, FieldSchema, TypeSchema}` — controller/schema plumbing.-- `crate::rpc::RpcOutcome` — handler return contract.+- `crate::config::{Config, rpc}`: reads the live config for all probes; `config_rpc::load_config_with_timeout` in the handlers.+- `crate::platform::service::daemon`: `state_file_path` for the daemon heartbeat/component snapshot.+- `crate::memory::status`: the memory engine's status (`ok`/`degraded`/`down`/`off`), taken by `ops` before the blocking hop and passed to `run` as a `MemoryEngineCheck`.+- `crate::inference::embedding_host::effective_embedding_settings`: resolves the intended embedding provider/model.+- `crate::inference::{provider, local}`: `provider::list_providers` (model targets) and `local::ollama_base_url` (embedding probe).+- `crate::backend::inference_base_url`: asks the installed transport for the inference base URL; `crate::security::credentials::jwt::get_session_token` for sign-in state.+- `crate::core::all::{ControllerFuture, RegisteredController}`, `crate::core::{ControllerSchema, FieldSchema, TypeSchema}`: controller/schema plumbing.+- `crate::rpc::RpcOutcome`: handler return contract.- External: `reqwest` (blocking client + URL parse), `serde`/`serde_json`, `chrono`, `anyhow`.## Used bydiff --git a/crates/openhuman-core/src/platform/socket/README.md b/crates/openhuman-core/src/platform/socket/README.mdindex da38ea559c..46add65b08 100644--- a/crates/openhuman-core/src/platform/socket/README.md+++ b/crates/openhuman-core/src/platform/socket/README.md@@ -71,17 +71,17 @@ None of its own. State (`status`, `socket_id`, `error`, attached `WebhookRouter`## Dependencies-- `crate::platform::socket::models` — `ConnectionStatus`, `SocketState` DTOs.-- `crate::platform::socket::url::websocket_url`, `crate::backend::require_base_url` (asks the installed transport, which resolves `effective_backend_api_url`), `crate::security::credentials::session_support::get_session_token` — URL derivation and session-token lookup.-- `crate::core::all` — `ControllerFuture`, `RegisteredController` for the controller registry.-- `crate::core::{ControllerSchema, FieldSchema, TypeSchema}` — RPC schema types.-- `crate::core::bus::BUS.publish` / `crate::core::events::DomainEvent` — for routing inbound events.-- `crate::core::observability::report_error_or_expected` — one-shot sustained-outage classification at the failure threshold.-- `crate::skills::webhooks` — `WebhookRouter` (attached for parse-error logging / response emission) and `WebhookRequest`.-- `crate::integrations::composio` — `ComposioTriggerEvent` DTO for `composio:trigger` deserialization.-- `crate::security::devices::tunnel_client` — `TunnelPeerStatus`, `TunnelFrame` DTOs for tunnel events.-- `crate::config` — `Config` + `rpc::load_config_with_timeout` for `connect_with_session`.-- `crate::util::utf8_safe_prefix_at_byte_boundary` — UTF-8-safe log truncation of raw packets.+- `crate::platform::socket::models`: `ConnectionStatus`, `SocketState` DTOs.+- `crate::platform::socket::url::websocket_url`, `crate::backend::require_base_url` (asks the installed transport, which resolves `effective_backend_api_url`), `crate::security::credentials::session_support::get_session_token`: URL derivation and session-token lookup.+- `crate::core::all`: `ControllerFuture`, `RegisteredController` for the controller registry.+- `crate::core::{ControllerSchema, FieldSchema, TypeSchema}`: RPC schema types.+- `crate::core::bus::BUS.publish` / `crate::core::events::DomainEvent`: for routing inbound events.+- `crate::core::observability::report_error_or_expected`: one-shot sustained-outage classification at the failure threshold.+- `crate::skills::webhooks`: `WebhookRouter` (attached for parse-error logging / response emission) and `WebhookRequest`.+- `crate::integrations::composio`: `ComposioTriggerEvent` DTO for `composio:trigger` deserialization.+- `crate::security::devices::tunnel_client`: `TunnelPeerStatus`, `TunnelFrame` DTOs for tunnel events.+- `crate::config`: `Config` + `rpc::load_config_with_timeout` for `connect_with_session`.+- `crate::util::utf8_safe_prefix_at_byte_boundary`: UTF-8-safe log truncation of raw packets.## Used bydiff --git a/crates/openhuman-core/src/security/credentials/README.md b/crates/openhuman-core/src/security/credentials/README.mdindex 1d6275c7bf..4ec38efce9 100644--- a/crates/openhuman-core/src/security/credentials/README.md+++ b/crates/openhuman-core/src/security/credentials/README.md@@ -21,29 +21,29 @@ Credential management for the backend credential the core authenticates with and| File | Role || --- | --- || [`mod.rs`](./mod.rs) | Export-focused. Re-exports `core::*`, [`ops`](./ops) (also as `rpc`), Composio-direct helpers, schema controllers (`all_credentials_controller_schemas` / `all_credentials_registered_controllers`), `crate::backend::BackendClient`, and `jwt::user_id_from_profile_payload`. |-| [`core.rs`](./core.rs) | `AuthService` facade over `AuthProfilesStore` — store/get/remove/set-active profiles, resolve bearer token, profile-id selection logic (override → active → default → any-for-provider), provider normalization, state-dir derivation. |-| [`profiles.rs`](./profiles.rs) | The persistence engine. `AuthProfile` / `TokenSet` / `AuthProfileKind` / `AuthProfilesData` types and `AuthProfilesStore` — atomic JSON read/write, keychain vs encrypted-JSON secret handling, legacy migration, corrupt-store quarantine, PID-aware stale-lock recovery. |+| [`core.rs`](./core.rs) | `AuthService` facade over `AuthProfilesStore`: store/get/remove/set-active profiles, resolve bearer token, profile-id selection logic (override → active → default → any-for-provider), provider normalization, state-dir derivation. |+| [`profiles.rs`](./profiles.rs) | The persistence engine. `AuthProfile` / `TokenSet` / `AuthProfileKind` / `AuthProfilesData` types and `AuthProfilesStore`: atomic JSON read/write, keychain vs encrypted-JSON secret handling, legacy migration, corrupt-store quarantine, PID-aware stale-lock recovery. || [`api_key.rs`](./api_key.rs) | The `api-key` profile: `store_api_key[_in]`, `get_api_key[_in]`, `has_api_key[_in]`, `clear_api_key`. || [`ops.rs`](./ops.rs) + `ops/` | Business logic + RPC entry points (returns `RpcOutcome<T>`). [`ops/credential.rs`](./ops/credential.rs) (`set_credential` / `clear_credential`, plus the historical `store_session` / `clear_session` names), [`ops/user_scope.rs`](./ops/user_scope.rs) (user-dir activation and process-global rebinding), [`ops/gated_services.rs`](./ops/gated_services.rs) (credential-gated services), [`ops/boot_env.rs`](./ops/boot_env.rs) (env seeding), [`ops/session_query.rs`](./ops/session_query.rs) (`auth_get_state`, `auth_get_session_token_json`), [`ops/provider_credentials.rs`](./ops/provider_credentials.rs), [`ops/composio.rs`](./ops/composio.rs), [`ops/secrets.rs`](./ops/secrets.rs). Re-exported as `rpc`. || [`schemas.rs`](./schemas.rs) | `auth.*` controller schemas + `handle_*` dispatchers delegating to `ops`. Defines `all_controller_schemas` / `all_registered_controllers`. || [`session_support.rs`](./session_support.rs) | `CredentialKind`, `BackendCredential`, `resolve_backend_credential`, `require_live_session_token`, `has_backend_credential`, `build_session_state`, `get_session_token`, `load_app_session_profile`, `user_id_from_jwt_claims`, local-session detection/slug, field parsing. Shared by RPC and the HTTP host. || [`identity.rs`](./identity.rs) | The signed-in user's identity slot (`peek_credential_user_identity`), seeded from the host-supplied payload for prompts and Sentry. || [`responses.rs`](./responses.rs) | Response DTOs: `AuthStateResponse`, `AuthProfileSummary`. |-| [`bus.rs`](./bus.rs) | `SessionExpiredSubscriber` — `EventHandler` for `DomainEvent::SessionExpired`. |+| [`bus.rs`](./bus.rs) | `SessionExpiredSubscriber`: `EventHandler` for `DomainEvent::SessionExpired`. || [`tools.rs`](./tools.rs) | Agent tools `credential_list`, `session_state`, `oauth_connect_url`, `oauth_list` (these two dispatch the hosted `auth_oauth_*` controllers by wire name through the registry and answer `BACKEND_UNAVAILABLE:` without the hosted layer). || `*_tests.rs` | Sibling test suites (`#[path = ...]`). |## Public surface-- **`AuthService`** ([`core.rs`](./core.rs)) — `from_config`, `new`, `load_profiles`, `store_provider_token`, `set_active_profile`, `remove_profile`, `get_profile`, `get_provider_bearer_token`.-- **Constants** — `APP_SESSION_PROVIDER` (`"app-session"`), `DEFAULT_AUTH_PROFILE_NAME` (`"default"`), `COMPOSIO_DIRECT_PROVIDER` (`"composio-direct"`), `api_key::API_KEY_PROVIDER` (`"api-key"`).-- **Credential kinds** — `session_support::CredentialKind {Session, ApiKey, Local}` (wire values `"session"`, `"api-key"`, `"local"`). `session_support::resolve_backend_credential` returns `BackendCredential::ApiKey` when a key is stored (before any session classification) and `BackendCredential::Session` otherwise; `BackendOAuthClient::authed_json` sends an API key as `x-api-key` and a session as `Authorization: Bearer`, while `OpenHumanBackendModel::resolve_bearer` sends the key as the bearer for managed inference. Every backend caller goes through it (integrations, voice, channels, webhooks, hosted proxies); bearer-only seams (connector proxy route, memory-host `SessionBearer`, the Socket.IO handshake) use `backend_bearer_secret`, which returns the key first and the stored session otherwise — the backend accepts a key as `Authorization: Bearer` by its `tiny_` prefix. Cloud embeddings mirror `resolve_bearer`. `has_backend_credential` is the boot-time "signed in?" question the scheduler gate asks; `SessionExpired` is ignored for an API-key runtime and for a local session. A local session also has no managed bearer: `resolve_backend_credential` answers `LOCAL_SESSION_BACKEND_UNAVAILABLE` and `resolve_bearer` answers `LOCAL_SESSION_MANAGED_INFERENCE_UNAVAILABLE`, so neither hosted REST nor managed inference sends a token the backend will only 401 (#6932).-- **Helpers** — `normalize_provider`, `default_profile_id`, `select_profile_id`, `state_dir_from_config`, `profile_id`.-- **Types** ([`profiles.rs`](./profiles.rs)) — `AuthProfile`, `AuthProfileKind` (`OAuth`/`Token`), `TokenSet`, `AuthProfilesData`, `AuthProfilesStore`.-- **Ops/RPC** ([`ops`](./ops), re-exported as `rpc`) — `set_credential`, `clear_credential`, `store_session`, `clear_session`, `SetCredentialRequest`, `seed_api_key_from_env`, `seed_session_from_env`, `auth_get_state`, `auth_get_session_token_json`, `store_provider_credentials`, `remove_provider_credentials`, `list_provider_credentials`, `list_provider_credentials_by_prefix`, `encrypt_secret`, `decrypt_secret`, `start_credential_gated_services`, `stop_credential_gated_services`.-- **Composio-direct** — `store_composio_api_key`, `get_composio_api_key`, `clear_composio_api_key`, `rpc_store_composio_api_key`.-- **Backend re-exports** — `crate::backend::BackendClient` and `jwt::user_id_from_profile_payload`. The OAuth connect/handoff types (`IntegrationSummary`, `IntegrationTokensHandoff`) and `decrypt_handoff_blob` moved to `crates/openhuman-tinyhumans/src/hosted/oauth/` with the OAuth flows themselves.-- **Schema controllers** — `all_credentials_controller_schemas`, `all_credentials_registered_controllers`.+- **`AuthService`** ([`core.rs`](./core.rs)): `from_config`, `new`, `load_profiles`, `store_provider_token`, `set_active_profile`, `remove_profile`, `get_profile`, `get_provider_bearer_token`.+- **Constants**: `APP_SESSION_PROVIDER` (`"app-session"`), `DEFAULT_AUTH_PROFILE_NAME` (`"default"`), `COMPOSIO_DIRECT_PROVIDER` (`"composio-direct"`), `api_key::API_KEY_PROVIDER` (`"api-key"`).+- **Credential kinds**: `session_support::CredentialKind {Session, ApiKey, Local}` (wire values `"session"`, `"api-key"`, `"local"`). `session_support::resolve_backend_credential` returns `BackendCredential::ApiKey` when a key is stored (before any session classification) and `BackendCredential::Session` otherwise; `BackendOAuthClient::authed_json` sends an API key as `x-api-key` and a session as `Authorization: Bearer`, while `OpenHumanBackendModel::resolve_bearer` sends the key as the bearer for managed inference. Every backend caller goes through it (integrations, voice, channels, webhooks, hosted proxies); bearer-only seams (connector proxy route, memory-host `SessionBearer`, the Socket.IO handshake) use `backend_bearer_secret`, which returns the key first and the stored session otherwise: the backend accepts a key as `Authorization: Bearer` by its `tiny_` prefix. Cloud embeddings mirror `resolve_bearer`. `has_backend_credential` is the boot-time "signed in?" question the scheduler gate asks; `SessionExpired` is ignored for an API-key runtime and for a local session. A local session also has no managed bearer: `resolve_backend_credential` answers `LOCAL_SESSION_BACKEND_UNAVAILABLE` and `resolve_bearer` answers `LOCAL_SESSION_MANAGED_INFERENCE_UNAVAILABLE`, so neither hosted REST nor managed inference sends a token the backend will only 401 (#6932).+- **Helpers**: `normalize_provider`, `default_profile_id`, `select_profile_id`, `state_dir_from_config`, `profile_id`.+- **Types** ([`profiles.rs`](./profiles.rs)): `AuthProfile`, `AuthProfileKind` (`OAuth`/`Token`), `TokenSet`, `AuthProfilesData`, `AuthProfilesStore`.+- **Ops/RPC** ([`ops`](./ops), re-exported as `rpc`): `set_credential`, `clear_credential`, `store_session`, `clear_session`, `SetCredentialRequest`, `seed_api_key_from_env`, `seed_session_from_env`, `auth_get_state`, `auth_get_session_token_json`, `store_provider_credentials`, `remove_provider_credentials`, `list_provider_credentials`, `list_provider_credentials_by_prefix`, `encrypt_secret`, `decrypt_secret`, `start_credential_gated_services`, `stop_credential_gated_services`.+- **Composio-direct**: `store_composio_api_key`, `get_composio_api_key`, `clear_composio_api_key`, `rpc_store_composio_api_key`.+- **Backend re-exports**: `crate::backend::BackendClient` and `jwt::user_id_from_profile_payload`. The OAuth connect/handoff types (`IntegrationSummary`, `IntegrationTokensHandoff`) and `decrypt_handoff_blob` moved to `crates/openhuman-tinyhumans/src/hosted/oauth/` with the OAuth flows themselves.+- **Schema controllers**: `all_credentials_controller_schemas`, `all_credentials_registered_controllers`.## RPC / controllers@@ -67,7 +67,7 @@ Note: `list_provider_credentials_by_prefix` and the Composio-direct/secret helpe## Agent tools-[`tools.rs`](./tools.rs) — `credential_list`, `session_state` (the stored credential state and user, no token material), `oauth_connect_url`, `oauth_list` (these two dispatch the hosted `auth_oauth_*` controllers by wire name through the registry and answer `BACKEND_UNAVAILABLE:` without the hosted layer).+[`tools.rs`](./tools.rs): `credential_list`, `session_state` (the stored credential state and user, no token material), `oauth_connect_url`, `oauth_list` (these two dispatch the hosted `auth_oauth_*` controllers by wire name through the registry and answer `BACKEND_UNAVAILABLE:` without the hosted layer).## Events@@ -84,14 +84,14 @@ Note: `list_provider_credentials_by_prefix` and the Composio-direct/secret helpe## Dependencies-- `crate::config` — `Config`, config load (`load_config_with_timeout`), user-dir activation (`default_root_openhuman_dir`, `user_openhuman_dir`, `read/write/clear_active_user`, `pre_login_user_dir`), onboarding state.-- `crate::security::keyring` — `SecretStore` (encrypt/decrypt) and OS keychain `get`/`set`/`delete`/`is_available`.-- `crate::cron::scheduler_gate` — signed-out override flipped on install/removal/expiry.-- `crate::memory::conversations` — purge pre-login threads, bind conversation persistence after activation.-- `crate::memory` — bind memory client to the active workspace after activation.-- `crate::inference::host_runtime`, `crate::voice::{server,dictation_listener,always_on}` — credential-gated services started/stopped.-- `crate::backend` — `BackendClient`, `backend::base_url` (via the installed transport); [`jwt.rs`](./jwt.rs) — JWT `exp` decode and `user_id_from_profile_payload`.-- `crate::core::all` (`ControllerFuture`, `RegisteredController`), `crate::core` (`ControllerSchema`/`FieldSchema`/`TypeSchema`), `crate::core::events::DomainEvent` + `tinybus::EventHandler`, `crate::rpc::RpcOutcome` — controller registry + RPC envelope + event bus.+- `crate::config`: `Config`, config load (`load_config_with_timeout`), user-dir activation (`default_root_openhuman_dir`, `user_openhuman_dir`, `read/write/clear_active_user`, `pre_login_user_dir`), onboarding state.+- `crate::security::keyring`: `SecretStore` (encrypt/decrypt) and OS keychain `get`/`set`/`delete`/`is_available`.+- `crate::cron::scheduler_gate`: signed-out override flipped on install/removal/expiry.+- `crate::memory::conversations`: purge pre-login threads, bind conversation persistence after activation.+- `crate::memory`: bind memory client to the active workspace after activation.+- `crate::inference::host_runtime`, `crate::voice::{server,dictation_listener,always_on}`: credential-gated services started/stopped.+- `crate::backend`: `BackendClient`, `backend::base_url` (via the installed transport); [`jwt.rs`](./jwt.rs): JWT `exp` decode and `user_id_from_profile_payload`.+- `crate::core::all` (`ControllerFuture`, `RegisteredController`), `crate::core` (`ControllerSchema`/`FieldSchema`/`TypeSchema`), `crate::core::events::DomainEvent` + `tinybus::EventHandler`, `crate::rpc::RpcOutcome`: controller registry + RPC envelope + event bus.## Used bydiff --git a/crates/openhuman-core/src/security/keyring/README.md b/crates/openhuman-core/src/security/keyring/README.mdindex 057e7a5153..80df6d774d 100644--- a/crates/openhuman-core/src/security/keyring/README.md+++ b/crates/openhuman-core/src/security/keyring/README.md@@ -36,7 +36,7 @@ Re-exported from [`mod.rs`](./mod.rs):- `KeyringBackend`: backend trait (`get`/`set`/`delete`/`name`).- `SecretStore`: config-field encrypt/decrypt; `encrypt`/`decrypt`/`decrypt_and_migrate`/`needs_migration`/`is_encrypted`/`new`.- `KeyringError`: error enum with `diagnostic()`.-- `init_master_key`: load the app master key at startup (staging/prod only) — from the environment (`OPENHUMAN_KEYRING_MASTER_KEY` inline, or `OPENHUMAN_KEYRING_MASTER_KEY_FILE` naming a file; 64 hex characters, exactly one of the two) when set, otherwise from the OS keychain. A set-but-malformed variable is a boot error, not a fall-through; the source is logged at `info`, the value never. Key files must not be group- or world-writable; read-only group/world access is supported for secret mounts, but any principal able to read the file can decrypt the keyring.+- `init_master_key`: load the app master key at startup (staging/prod only), from the environment (`OPENHUMAN_KEYRING_MASTER_KEY` inline, or `OPENHUMAN_KEYRING_MASTER_KEY_FILE` naming a file; 64 hex characters, exactly one of the two) when set, otherwise from the OS keychain. A set-but-malformed variable is a boot error, not a fall-through; the source is logged at `info`, the value never. Key files must not be group- or world-writable; read-only group/world access is supported for secret mounts, but any principal able to read the file can decrypt the keyring.- `init_workspace`: register the workspace dir for file and encrypted-file backends.- `get`, `set`, `delete`, `get_or_create_random`, `is_available`, `migrate_from_file`, `MigrationOutcome`.- `force_backend_for_test`: `pub(crate)`, test-only.@@ -58,7 +58,7 @@ None. There is no `bus.rs`, and the module publishes and subscribes to no `DomaiSecret storage backend, selected once and frozen in a `OnceLock`:- `os` (production default outside staging/prod special-casing): native OS credential store, macOS Keychain, Windows Credential Manager, or Linux Secret Service, under service name `"openhuman"`.-- `encrypted_file` (staging/production, and via `OPENHUMAN_KEYRING_BACKEND=encrypted_file`): single ChaCha20-Poly1305 file `{workspace}/secrets.enc`, encrypted with a master key loaded once — from `OPENHUMAN_KEYRING_MASTER_KEY` / `OPENHUMAN_KEYRING_MASTER_KEY_FILE` when set, otherwise from the OS keychain (`openhuman` / `app:master_key`). Files are written `0600` on Unix via temp-file plus atomic rename.+- `encrypted_file` (staging/production, and via `OPENHUMAN_KEYRING_BACKEND=encrypted_file`): single ChaCha20-Poly1305 file `{workspace}/secrets.enc`, encrypted with a master key loaded once, from `OPENHUMAN_KEYRING_MASTER_KEY` / `OPENHUMAN_KEYRING_MASTER_KEY_FILE` when set, otherwise from the OS keychain (`openhuman` / `app:master_key`). Files are written `0600` on Unix via temp-file plus atomic rename.- `file` (dev default, `cfg(test)`, or `OPENHUMAN_KEYRING_BACKEND=file`): plaintext JSON `{workspace}/dev-keychain.json`. Not encrypted; test and debug use only.- `mock` (test-only): in-memory `HashMap`.diff --git a/crates/openhuman-core/src/skills/webhooks/README.md b/crates/openhuman-core/src/skills/webhooks/README.mdindex 74ca99ca69..2a41815041 100644--- a/crates/openhuman-core/src/skills/webhooks/README.md+++ b/crates/openhuman-core/src/skills/webhooks/README.md@@ -19,7 +19,7 @@ Client-side webhook **tunnel routing** for OpenHuman. The backend provisions and| --- | --- || `crates/openhuman-core/src/skills/webhooks/mod.rs` | Export-only: module docstring, `pub mod` decls, re-exports of `WebhookRouter`, types, and the `all_webhooks_*` controller pair. || `crates/openhuman-core/src/skills/webhooks/types.rs` | Serde domain types: `WebhookRequest`, `WebhookResponseData`, `TunnelRegistration`, `WebhookActivityEntry`, `WebhookDebugLogEntry`, debug result wrappers, `WebhookDebugEvent`. |-| `crates/openhuman-core/src/skills/webhooks/router.rs` | `WebhookRouter` — route map + ownership rules, disk persistence (generation-counter, spawn_blocking offload), bounded debug log ring (`MAX_DEBUG_LOG_ENTRIES = 250`), debug-event broadcast channel. |+| `crates/openhuman-core/src/skills/webhooks/router.rs` | `WebhookRouter`: route map + ownership rules, disk persistence (generation-counter, spawn_blocking offload), bounded debug log ring (`MAX_DEBUG_LOG_ENTRIES = 250`), debug-event broadcast channel. || `crates/openhuman-core/src/skills/webhooks/ops.rs` | RPC handler logic returning `RpcOutcome<T>`: local routing ops (`list_registrations`, `list_logs`, `clear_logs`, `register_echo`, `unregister_echo`, `register_agent`, `trigger_agent`), and `build_echo_response`. || `crates/openhuman-core/src/skills/webhooks/schemas.rs` | Controller schemas + `handle_*` fns + `all_controller_schemas` / `all_registered_controllers`; deserializes params, delegates to [`ops.rs`](./ops.rs). || `crates/openhuman-core/src/skills/webhooks/bus.rs` | `WebhookRequestSubscriber` (`EventHandler`): the incoming-request routing flow; helpers `decode_webhook_body`, `run_agent_trigger`, `build_agent_response`. |@@ -74,14 +74,14 @@ Note that nothing in the production startup path currently constructs a `Webhook## Dependencies-- `crate::core::bus::BUS` and `crate::core::events::DomainEvent` — publishing and subscribing; the `EventHandler` trait comes from `tinybus`.-- `crate::core::all` — `ControllerFuture`, `RegisteredController` for controller registration.-- `crate::core::{ControllerSchema, FieldSchema, TypeSchema}` — RPC schema types.-- `crate::core::observability::report_error` — error reporting for body-decode / agent-trigger failures.-- `crate::platform::socket::global_socket_manager` — obtain the `WebhookRouter` (stored on the socket manager) and `emit` responses over the socket.-- `crate::agent::triage` — `TriggerEnvelope`, `run_triage`, `apply_decision`, `TriageOutcome` for agent-tunnel routing and `trigger_agent`.-- `crate::config::{Config, rpc::load_config_with_timeout}` — config for local webhook routing operations.-- `crate::rpc::RpcOutcome` — handler return contract.+- `crate::core::bus::BUS` and `crate::core::events::DomainEvent`: publishing and subscribing; the `EventHandler` trait comes from `tinybus`.+- `crate::core::all`: `ControllerFuture`, `RegisteredController` for controller registration.+- `crate::core::{ControllerSchema, FieldSchema, TypeSchema}`: RPC schema types.+- `crate::core::observability::report_error`: error reporting for body-decode / agent-trigger failures.+- `crate::platform::socket::global_socket_manager`: obtain the `WebhookRouter` (stored on the socket manager) and `emit` responses over the socket.+- `crate::agent::triage`: `TriggerEnvelope`, `run_triage`, `apply_decision`, `TriageOutcome` for agent-tunnel routing and `trigger_agent`.+- `crate::config::{Config, rpc::load_config_with_timeout}`: config for local webhook routing operations.+- `crate::rpc::RpcOutcome`: handler return contract.## Used bydiff --git a/crates/openhuman-core/src/util/tls/README.md b/crates/openhuman-core/src/util/tls/README.mdindex 67911c0eea..fa055e5cf5 100644--- a/crates/openhuman-core/src/util/tls/README.md+++ b/crates/openhuman-core/src/util/tls/README.md@@ -31,7 +31,7 @@ Every HTTP-client construction site that talks to external HTTPS endpoints, incl- `crates/openhuman-core/src/config/schema/proxy.rs`: proxy-aware client builders (primary and fallback).- `crates/openhuman-core/src/integrations/client/construct.rs` and `crates/openhuman-core/src/integrations/composio/client/connections.rs`.-- `crates/openhuman-core/src/search/tools/*.rs` (`tavily`, `exa`, `brave`, `searxng`, `querit`, `seltz`) — search-tool HTTP clients.+- `crates/openhuman-core/src/search/tools/*.rs` (`tavily`, `exa`, `brave`, `searxng`, `querit`, `seltz`): search-tool HTTP clients.- `crates/openhuman-core/src/desktop/app_state/ops/current_user_fetch.rs`.- `crates/openhuman-tinyhumans/src/backend/headers.rs` (REST API client profiles for the TinyHumans backend transport).