Skip to content

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

docs(readme): add integration and agent policy documentation

Steven Enamakel52d5f2b72883
diff --git a/crates/openhuman-core/src/integrations/README.md b/crates/openhuman-core/src/integrations/README.md
index 9a038c2c00..230a3e7ff4 100644
--- a/crates/openhuman-core/src/integrations/README.md
+++ b/crates/openhuman-core/src/integrations/README.md
@@ -37,7 +37,7 @@ and reqwest keeps custom headers across the cross-host redirect.
| [`file_storage/`](file_storage/README.md) | Managed cloud file-storage agent tools (`Storage*Tool`), backed by the backend's S3-based `file_storage` provider. |
| [`composio/`](composio/README.md) | Composio connector integration: catalogs, connections, triggers, direct-auth fallback, and the `tinyconnectors` module bridge. |
| [`task_sources/`](task_sources/README.md) | Normalizes external task feeds (via the Composio providers) into agent-facing list/fetch/filter tools. |
-| `test_support.rs` + `test_support_backend.rs` | In-process axum fake of the integration backend (`spawn_fake_integration_backend`, records every request). Not a `mod` of this module: `tools/ops_tests.rs` pulls it in with `#[path = "../integrations/test_support.rs"]` for `ops_tests_part_02_tests.rs` / `ops_tests_part_03_tests.rs`. |
+| `test_support.rs` + `test_support_backend.rs` | In-process axum fake of the integration backend (`spawn_fake_integration_backend`, records every request). Not a `mod` of this module: `crates/openhuman-core/src/tools/ops_tests.rs` pulls it in with `#[path = "../integrations/test_support.rs"]` for its split test modules (`ops_tests_capability_gating_tests.rs`, `ops_tests_default_registry_tests.rs`, `ops_tests_domain_family_tests.rs`, `ops_tests_execution_and_serde_tests.rs`). |
## Search Boundary
diff --git a/crates/openhuman-core/src/tools/agent_policy/README.md b/crates/openhuman-core/src/tools/agent_policy/README.md
index 2f2bcd6d67..54923c7a73 100644
--- a/crates/openhuman-core/src/tools/agent_policy/README.md
+++ b/crates/openhuman-core/src/tools/agent_policy/README.md
@@ -49,10 +49,10 @@ Re-exported from `mod.rs`:
- `crates/openhuman-core/src/agent/harness/session/builder/builder_build.rs` — builds two snapshots with `build_session_from_refs`: the session's `tool_policy_session` (with the role visibility filter) and a `channel_policy_session` without it, used to derive the sub-agent tool ceiling.
- `crates/openhuman-core/src/agent/harness/session/builder/mod.rs` — `visible_tool_specs_for_policy` filters prompt-visible specs with `decision_for(name).blocks_execution()`.
-- `crates/openhuman-core/src/agent/harness/session/runtime.rs` (via its `runtime_impl_01_part_01.rs` include) — `rebuild_tool_policy_session` re-runs `build_session_from_refs` after `hide_tools`.
+- `crates/openhuman-core/src/agent/harness/session/runtime/accessors.rs` — `rebuild_tool_policy_session` re-runs `build_session_from_refs` after `hide_tools`.
- `crates/openhuman-core/src/agent/harness/session/turn/context.rs` — calls `render_tool_policy_boundary(&session, 2048)` and appends the block to the end of the system prompt.
- `crates/openhuman-core/src/agent/harness/session/types.rs` — carries `tool_policy_session` on the session.
-- `crates/openhuman-core/src/agent/tinyagents/middleware_part_07.rs` — `ToolPolicyMiddleware` is the runtime enforcement point: `is_denied()` for direct calls, `blocks_execution()` for the `use_skill` route. The snapshot reaches it through `ToolPolicyEnforcement` in `agent/tinyagents/mod_part_01.rs`.
+- `crates/openhuman-core/src/agent/tinyagents/middleware/tool_policy.rs` — `ToolPolicyMiddleware` is the runtime enforcement point: `is_denied()` for direct calls, `blocks_execution()` for the `use_skill` route. The snapshot reaches it through `ToolPolicyEnforcement` in `agent/tinyagents/turn_policy.rs`.
- `crates/openhuman-core/src/agent/tinyagents/host/security_gate.rs` — `SecurityGate::with_tool_policy` accepts an `Arc<ToolPolicySession>` and maps its actions to gate verdicts.
- `crates/openhuman-core/src/config/schema/agent.rs` — the `channel_permissions` field docs describe the engine's fallback semantics.