Skip to content

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

docs: update README references to reflect codebase restructuring

Steven Enamakelef22f3aaf476
diff --git a/crates/openhuman-core/src/tools/agent_policy/README.md b/crates/openhuman-core/src/tools/agent_policy/README.md
index 624d4474a3..47984aa4be 100644
--- a/crates/openhuman-core/src/tools/agent_policy/README.md
+++ b/crates/openhuman-core/src/tools/agent_policy/README.md
@@ -37,9 +37,10 @@ Re-exported from `mod.rs`:
## Used by
-- `crates/openhuman-core/src/agent/harness/session/builder.rs` — builds the `ToolPolicySession` (`ToolPolicyEngine`, `ToolPolicySession`).
-- `crates/openhuman-core/src/agent/harness/session/runtime.rs` — uses `ToolPolicyEngine`.
-- `crates/openhuman-core/src/agent/harness/session/turn.rs` — calls `render_tool_policy_boundary` to inject the boundary into the prompt.
+- `crates/openhuman-core/src/agent/harness/session/builder/builder_build.rs` — builds the `ToolPolicySession` via `ToolPolicyEngine::build_session_from_refs`.
+- `crates/openhuman-core/src/agent/harness/session/builder/mod.rs` — threads `&ToolPolicySession` through the builder helpers.
+- `crates/openhuman-core/src/agent/harness/session/runtime.rs` (via its `runtime_impl_01_part_01.rs` include) — rebuilds the session at runtime with `ToolPolicyEngine::build_session_from_refs`.
+- `crates/openhuman-core/src/agent/harness/session/turn/context.rs` — calls `render_tool_policy_boundary` to inject the boundary into the prompt.
- `crates/openhuman-core/src/agent/harness/session/types.rs` — carries `ToolPolicySession` on the session.
## Notes / gotchas
diff --git a/crates/openhuman-core/src/tools/registry/README.md b/crates/openhuman-core/src/tools/registry/README.md
index 00ec1bc8bd..8aa7af794d 100644
--- a/crates/openhuman-core/src/tools/registry/README.md
+++ b/crates/openhuman-core/src/tools/registry/README.md
@@ -62,7 +62,7 @@ No owned persistence. `diagnostics()` reads (read-only) the `mcp_writes` table v
- `crates/openhuman-core/src/core/all.rs` — registers controllers/schemas and routes the `tool_registry` namespace.
- `crates/openhuman-core/src/agent/tinyagents/middleware.rs` — calls `tool_registry::denials::record(...)` to log agent-tool policy denials.
- `crates/openhuman-core/src/platform/about_app/catalog.rs` — capability catalog references the registry surface.
-- `crates/openhuman-core/src/mcp/registry/connections.rs` — provides `all_connected_tools()` for registry integration.
+- `crates/openhuman-core/src/mcp/registry/mod.rs` — provides `all_connected_tools()` for registry integration (no-op in `stub.rs` when the `mcp` feature is disabled).
## Notes / gotchas