Skip to content

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

docs: add README files for orchestration, workspace config, and embed crate, and update frontend arc

Steven Enamakel3155b806a6c5
diff --git a/crates/openhuman-core/src/agent/orchestration/README.md b/crates/openhuman-core/src/agent/orchestration/README.md
index 2758d01129..55c4912f6b 100644
--- a/crates/openhuman-core/src/agent/orchestration/README.md
+++ b/crates/openhuman-core/src/agent/orchestration/README.md
@@ -79,12 +79,17 @@ RPC/tool formatting, and OpenHuman's worktree policy.
single blessed entry point for constructing a root `ParentExecutionContext`
outside an agent turn.
- `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.
+ `resolve.rs`, `cancel.rs`, `steering.rs`, `wait.rs`, `task_ledger.rs`): the
+ detached sub-agent registry mirror. `background_completions.rs` and
+ `background_delivery.rs` queue and idle-gated, debounced, batched delivery
+ of finished background runs back into chat; `run_ledger_finalize.rs` is the
+ global-bus subscriber that settles ledger rows for runs that outlive their
+ spawning turn.
+- `fleet_tools.rs`: decides which fleet-control tools (`wait_subagent`,
+ `steer_subagent`, `wait_loop`, `close_subagent`) a given parent agent's
+ definition actually exposes, so the delegation prompts and the
+ `[active_subagents]` roster text never name a tool the model cannot call
+ (#5701).
- `tools.rs`: declares the LLM-callable tool files under `tools/` (see
[Agent tools](#agent-tools)).
@@ -197,7 +202,7 @@ what the harness exposes to the child.
- Namespace `agent_team` is distinct from the existing `team` domain (backend
org/team membership); `workflow_run` is distinct from the `workflows`
domain (SKILL.md/WORKFLOW.md bundle discovery).
-- `wait_agents` prunes an entry once it observes a terminal status — every
+- `wait_agents` prunes an entry once it observes a terminal status. Every
in-tree caller spawns and waits exactly once.
- `worktree.rs` only ever operates on the user's project repo rooted at the
agent's `action_dir`, never on OpenHuman's own source tree; `remove`
diff --git a/crates/openhuman-core/src/config/workspace/README.md b/crates/openhuman-core/src/config/workspace/README.md
index 26fb9453aa..61582170f0 100644
--- a/crates/openhuman-core/src/config/workspace/README.md
+++ b/crates/openhuman-core/src/config/workspace/README.md
@@ -19,14 +19,16 @@ Owns workspace layout bootstrap and the editable "Persona Pack" prompt files (`S
| `crates/openhuman-core/src/config/workspace/ops.rs` | `init_workspace(force)` bootstrap logic, the `BOOTSTRAP_FILES` table (`SOUL.md`, `IDENTITY.md`), `bundled_default_contents` (the editable allowlist + reset source of truth), and `ensure_workspace_file`. |
| `crates/openhuman-core/src/config/workspace/rpc.rs` | Pure-domain persona file API: `WorkspaceFile` type, `read_workspace_file` / `write_workspace_file` / `reset_workspace_file`, `MAX_WORKSPACE_FILE_BYTES`, allowlist enforcement (`ensure_editable`). Returns `RpcOutcome<WorkspaceFile>`. |
| `crates/openhuman-core/src/config/workspace/schemas.rs` | Controller schemas + `handle_*` fns delegating to `rpc.rs`; loads config to resolve `workspace_dir`. |
+| `crates/openhuman-core/src/config/workspace/tools.rs` | LLM-callable wrappers over the persona-file RPCs: `WorkspaceReadPersonaTool` (default-on), `WorkspaceUpdatePersonaTool`, `WorkspaceResetPersonaTool`, and `WorkspaceInitTool` (all three mutators default-off, gated by the `workspace_manage` toggle in `tools/user_filter.rs`). |
+| `crates/openhuman-core/src/config/workspace/state.rs` | `WatcherStateStore`, a SQLite-backed `path -> last_mtime_secs` table for a vault file watcher, so it can skip re-ingesting unchanged files after a restart. Not otherwise wired to the persona/bootstrap concerns above; currently has no other caller in the tree. |
## Public surface
From `mod.rs` re-exports (`ops::*` plus the schema pair):
-- `init_workspace(force: bool) -> Result<serde_json::Value, String>` — bootstrap entrypoint.
-- `bundled_default_contents(filename: &str) -> Option<&'static str>` — editable allowlist / default lookup.
-- `all_workspace_controller_schemas()`, `all_workspace_registered_controllers()` — registry wiring.
+- `init_workspace(force: bool) -> Result<serde_json::Value, String>`: bootstrap entrypoint.
+- `bundled_default_contents(filename: &str) -> Option<&'static str>`: editable allowlist / default lookup.
+- `all_workspace_controller_schemas()`, `all_workspace_registered_controllers()`: registry wiring.
`rpc.rs` items (`WorkspaceFile`, `read_/write_/reset_workspace_file`, `MAX_WORKSPACE_FILE_BYTES`) are `pub` and reached via `crate::config::workspace::rpc::*`.
diff --git a/crates/openhuman-embed/README.md b/crates/openhuman-embed/README.md
index 0f15dca020..e05895144e 100644
--- a/crates/openhuman-embed/README.md
+++ b/crates/openhuman-embed/README.md
@@ -266,9 +266,9 @@ Every feature on this crate is a pass-through to the same-named feature on
Two of them also gate items on this crate's own public surface:
-- `mcp` — `HttpHeader`, `McpAuthConfig`, `McpServer`, `AgentSpec::mcp` and
+- `mcp`: `HttpHeader`, `McpAuthConfig`, `McpServer`, `AgentSpec::mcp` and
`HarnessBuilder::mcp`.
-- `skills` — `AgentSpec::skills_dir` and `HarnessBuilder::skills_dir`.
+- `skills`: `AgentSpec::skills_dir` and `HarnessBuilder::skills_dir`.
See [`docs/library-minimal-recipe.md`](../../docs/library-minimal-recipe.md)
for a measured minimal-footprint feature set.
diff --git a/gitbooks/developing/architecture/frontend.md b/gitbooks/developing/architecture/frontend.md
index fbc5a71876..186369efd8 100644
--- a/gitbooks/developing/architecture/frontend.md
+++ b/gitbooks/developing/architecture/frontend.md
@@ -42,7 +42,7 @@ app/src/
├── services/ # apiClient, socketService, coreRpcClient, transport/, api/* (~50 modules)
├── lib/ # AI prompt loaders, i18n, MCP helpers, platform, tunnel crypto
├── pages/ # Route-level screens (incl. onboarding/, ios/, dev/)
-├── features/ # Feature verticals (human/, conversations/, meet/, voice/)
+├── features/ # Feature verticals (human/, conversations/, voice/, wallet/, skills/)
├── components/ # Shared UI (incl. settings/, layout/shell/, accounts/)
├── hooks/ # App hooks
├── utils/ # Config, Tauri command wrappers, routing utilities