Skip to content

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

docs(orchestration): update parallel graph file listing in README

Steven Enamakela71c6ca8fbab
diff --git a/crates/openhuman-core/src/agent/orchestration/README.md b/crates/openhuman-core/src/agent/orchestration/README.md
index d5e981df67..f88d8894a0 100644
--- a/crates/openhuman-core/src/agent/orchestration/README.md
+++ b/crates/openhuman-core/src/agent/orchestration/README.md
@@ -55,7 +55,9 @@ semantics, compatibility events, and JSON-RPC/tool response formatting.
structural/agent validation, and the live execution engine (`engine.rs`).
- `delegation.rs` — production worker for TinyAgents' durable
plan→execute⇄review→finalize graph; every stage runs through `run_subagent`.
-- `spawn_parallel_graph.rs` (+ `_part_0N.rs`) — the fanout behind
+- `spawn_parallel_graph.rs` + `spawn_parallel_graph/` (`request.rs`, `staging.rs`,
+ `dispatch.rs`, `workers.rs`, `collect.rs`, `graph.rs`, `run.rs`, `types.rs`) —
+ the fanout behind
`spawn_parallel_agents`: request/claim validation, worktree preflight, and the
bounded `map_reduce` worker run; the tool file only translates `ToolResult`.
- `subagent_events.rs` — the single owner that constructs and publishes
@@ -72,8 +74,10 @@ semantics, compatibility events, and JSON-RPC/tool response formatting.
- `parent_context/builder.rs` — `build_root_parent` / `with_root_parent`, the
single blessed entry point for constructing a root `ParentExecutionContext`
outside an agent turn.
-- `running_subagents.rs` (+ `_part_01.rs`, `_part_02.rs`) — detached sub-agent
- registry mirror; `background_completions.rs` / `background_delivery.rs` —
+- `running_subagents.rs` + `running_subagents/` (`registry.rs`, `roster.rs`,
+ `resolve.rs`, `cancel.rs`, `steering.rs`, `wait.rs`, `task_ledger.rs`) —
+ detached sub-agent registry mirror; `background_completions.rs` /
+ `background_delivery.rs` —
queue and idle-gated, debounced, batched delivery of finished background
runs back into chat; `run_ledger_finalize.rs` — global-bus subscriber that
settles ledger rows for runs that outlive their spawning turn.
diff --git a/crates/openhuman-core/src/channels/providers/README.md b/crates/openhuman-core/src/channels/providers/README.md
index e155488b81..af8b033971 100644
--- a/crates/openhuman-core/src/channels/providers/README.md
+++ b/crates/openhuman-core/src/channels/providers/README.md
@@ -29,7 +29,7 @@ Implementations live in `vendor/tinychannels/src/providers/`, not here. Every fl
`providers/telegram/mod.rs` re-exports the transport (`session_store`, `TelegramChannel`) from `tinychannels::providers::telegram`, but keeps three pieces here because they depend on the OpenHuman event bus and runtime rather than on transport:
- `remote_control` — `/status /sessions /new` command handling (`TelegramRemoteCommand`), using the `ChannelRuntimeContext` and `web_chat::invalidate_thread_sessions`.
-- `bus::TelegramRemoteSubscriber` — busy-state handler for `DomainEvent::ChannelMessageReceived` / `ChannelMessageProcessed`, subscribed to the process bus in `channels/runtime/startup_part_01.rs`.
+- `bus::TelegramRemoteSubscriber` — busy-state handler for `DomainEvent::ChannelMessageReceived` / `ChannelMessageProcessed`, subscribed to the process bus in `channels/runtime/startup/start_channels.rs`.
- `approval_surface::TelegramApprovalSurfaceSubscriber` (+ `TELEGRAM_APPROVAL_CLIENT_ID`) — the approval surface for Telegram, subscribed in the same place. `runtime/dispatch/processor.rs::channel_has_approval_surface` returns `true` only for `TELEGRAM_APPROVAL_CLIENT_ID`, so Telegram is currently the only channel whose yes/no replies reach the `ApprovalGate`.
Ported providers reach host capabilities (voice, approvals, conversation history, shutdown, event sink) through the `tinychannels::host::ProviderContext` built by `channels::host::build_provider_context` instead of calling OpenHuman internals directly; see `channels/host/mod.rs`.
@@ -40,7 +40,7 @@ Provider transport and registration (`ChannelDefinition` metadata in `tinychanne
1. Add `pub mod <name>;` to `providers/mod.rs` and the one-line `pub use tinychannels::providers::<name>::*;` file here.
2. Add the matching `pub use providers::<name>` / `pub use <name>::<Name>Channel` pair to `channels/mod.rs`.
-3. If the provider's secret lives outside `config.toml` (keyring or env), extend `hydrate_channel_credentials` in `runtime/startup_part_02.rs` the way `email` and `yuanbao` do; `tinychannels::build_channels` expects an already-hydrated config.
+3. If the provider's secret lives outside `config.toml` (keyring or env), extend `hydrate_channel_credentials` in `runtime/startup/credentials.rs` the way `email` and `yuanbao` do; `tinychannels::build_channels` expects an already-hydrated config.
4. If the provider needs host-coupled glue that must stay in OpenHuman (event bus subscribers, runtime-context command handling), follow the Telegram pattern: keep the glue in a submodule here and re-export the transport from `tinychannels`.
Do not reimplement provider transport logic in this crate; `tinychannels::build_channels` and the shared config schema will not pick it up.