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: update harness tool paths in tests and coverage docs
Steven Enamakela0648a1863df
diff --git a/app/test/e2e/specs/harness-search-tool-flow.spec.ts b/app/test/e2e/specs/harness-search-tool-flow.spec.tsindex 9290be7852..8d5499b183 100644--- a/app/test/e2e/specs/harness-search-tool-flow.spec.ts+++ b/app/test/e2e/specs/harness-search-tool-flow.spec.ts@@ -287,7 +287,7 @@ describe('Harness - Search tool-flow', () => {const CANARY = 'canary-file-read-e5f6';const FILE_SNIPPET = 'OpenHuman is an AI assistant for communities';- // Tool name: "file_read" (tinyagents-harness-tools filesystem/file_read/mod.rs)+ // Tool name: "file_read" (tinyagents-harness-tools/fs/filesystem/file_read.rs)// Path: use a clearly fictional path so no real data is read in test env.const FORCED = [{diff --git a/app/test/e2e/specs/tool-shell-git-flow.spec.ts b/app/test/e2e/specs/tool-shell-git-flow.spec.tsindex 4875c8d365..2c2b022656 100644--- a/app/test/e2e/specs/tool-shell-git-flow.spec.ts+++ b/app/test/e2e/specs/tool-shell-git-flow.spec.ts@@ -25,7 +25,7 @@ const USER_ID = 'e2e-tool-shell-git';* RPC and registry contract end-to-end, and skip the LLM-driven assertion* with an explicit reason. The execution path itself is covered by the Rust* unit suite under `crates/openhuman-core/src/tools/impl/system/shell.rs` and- * `tinyagents-harness-tools filesystem/git_operations/mod.rs`.+ * `tinyagents-harness-tools fs/filesystem/git_operations.rs`.** What this spec proves end-to-end:* - 6.2.1 — the agent runtime is up and the `orchestrator` definition, which@@ -47,7 +47,7 @@ const USER_ID = 'e2e-tool-shell-git';* - 6.2.4 — same fixture supports a Node-side commit, proving that a write* op is structurally feasible against the resolved workspace. The full* sidecar-driven write path is exercised by- * tinyagents-harness-tools `filesystem/git_operations/test.rs`.+ * tinyagents-harness-tools `fs/filesystem/git_operations.rs` tests.** Future: when the harness gains a deterministic mock-LLM that emits* structured tool_calls (tracked alongside #68 in skill-execution-flow), thediff --git a/docs/TEST-COVERAGE-MATRIX.md b/docs/TEST-COVERAGE-MATRIX.mdindex bda2fe8b6b..fef91cd445 100644--- a/docs/TEST-COVERAGE-MATRIX.md+++ b/docs/TEST-COVERAGE-MATRIX.md@@ -268,8 +268,8 @@ End-to-end coverage of the agent harness via the web-chat RPC surface against an| ID | Feature | Layer | Test path(s) | Status | Notes || ----- | ---------------------------------------------- | ----- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |-| 6.1.1 | File Read Access | RU+WD | `vendor/tinyagents/vendor/tinytools/crates/tinyagents-harness-tools/src/filesystem/file_read/mod.rs`, `app/test/e2e/specs/tool-filesystem-flow.spec.ts` | ✅ | Was 🟡 — WDIO drives memory_read_file + asserts via Node fs. Byte `offset` paging (continues a paged artifact read, #6284): `file_read/test.rs::file_read_offset_continues_from_the_given_byte` (tinyagents-harness-tools) |-| 6.1.2 | File Write Access | RU+WD | `vendor/tinyagents/vendor/tinytools/crates/tinyagents-harness-tools/src/filesystem/file_write/mod.rs`, `app/test/e2e/specs/tool-filesystem-flow.spec.ts` | ✅ | Was 🟡 — WDIO drives memory_write_file + asserts bytes match on disk |+| 6.1.1 | File Read Access | RU+WD | `vendor/tinyagents/crates/tinyagents-harness-tools/src/fs/filesystem/file_read.rs`, `app/test/e2e/specs/tool-filesystem-flow.spec.ts` | ✅ | Was 🟡 — WDIO drives memory_read_file + asserts via Node fs. Byte `offset` paging (continues a paged artifact read, #6284): file-read tests in tinyagents-harness-tools |+| 6.1.2 | File Write Access | RU+WD | `vendor/tinyagents/crates/tinyagents-harness-tools/src/fs/filesystem/file_write.rs`, `app/test/e2e/specs/tool-filesystem-flow.spec.ts` | ✅ | Was 🟡 — WDIO drives memory_write_file + asserts bytes match on disk || 6.1.3 | Path Restriction Enforcement | RU+WD | `crates/openhuman-core/src/tools/impl/filesystem/gate_tests.rs`, `app/test/e2e/specs/tool-filesystem-flow.spec.ts` | ✅ | Was 🟡 — WDIO asserts traversal + absolute-path denial envelope || 6.1.4 | Agent deliverables in the visible Files folder | RU+VU | `crates/openhuman-core/src/artifacts/files_tests.rs`, `crates/openhuman-core/src/artifacts/migrate_tests.rs`, `crates/openhuman-core/src/artifacts/ops_tests.rs`, `crates/openhuman-app/src/artifact_commands_tests.rs`, `app/src/services/__tests__/artifactDownloadService.test.ts`, `crates/openhuman-core/src/config/ops_files_dir_tests.rs`, `app/src/components/settings/panels/__tests__/FilesFolderSection.test.tsx`, `app/src/features/conversations/aui/MessageArtifactCards.test.tsx`, `app/src/features/conversations/aui/ArtifactPreviewPanel.refresh.test.tsx` | ✅ | Files land in `~/OpenHuman/projects/Files` with human names (`create_new`, ` (2)` on collision, shared across accounts without clobbering; per-account listing); escape guard on the recorded file; "file missing" for a file removed outside OpenHuman; crash-safe idempotent migration of legacy files; Download resolves an artifact id through the core; the folder is chosen in Settings → Agent OS access and validated (absolute, not protected, not inside the data folder); Show in folder on the settings row (#5505); in chat, each ready file is a card in the reply that made it and opens in the preview panel, whose Download saves it through the OS save dialog (the chat Files panel was removed in #7888) |@@ -279,8 +279,8 @@ End-to-end coverage of the agent harness via the web-chat RPC surface against an| ----- | ---------------------------- | ----- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------- || 6.2.1 | Shell Command Execution | RU+WD | `crates/openhuman-core/src/tools/impl/system/shell.rs`, `app/test/e2e/specs/tool-shell-git-flow.spec.ts` | ✅ | Was 🟡 — WDIO asserts agent runtime + the shell-bearing agent registry contract (the orchestrator since `tools_agent` was removed); full LLM path tracked #68 || 6.2.2 | Command Restriction Handling | RU+WD | `crates/openhuman-core/src/security/policy/policy_tests.rs` (+ `policy_injection_tests.rs`), `app/test/e2e/specs/tool-shell-git-flow.spec.ts` | ✅ | Was 🟡 — WDIO locks denial envelope shape `{ ok:false, error }` consumed by the React UI |-| 6.2.3 | Git Read Operations | RU+WD | `vendor/tinyagents/vendor/tinytools/crates/tinyagents-harness-tools/src/filesystem/git_operations/test.rs`, `app/test/e2e/specs/tool-shell-git-flow.spec.ts` | ✅ | Was 🟡 — WDIO seeds a fixture repo in OPENHUMAN_WORKSPACE and asserts read ops succeed |-| 6.2.4 | Git Write Operations | RU+WD | `vendor/tinyagents/vendor/tinytools/crates/tinyagents-harness-tools/src/filesystem/git_operations/test.rs`, `app/test/e2e/specs/tool-shell-git-flow.spec.ts` | ✅ | Was 🟡 — WDIO commits into the same fixture and asserts log advances |+| 6.2.3 | Git Read Operations | RU+WD | `vendor/tinyagents/crates/tinyagents-harness-tools/src/fs/filesystem/git_operations.rs`, `app/test/e2e/specs/tool-shell-git-flow.spec.ts` | ✅ | Was 🟡 — WDIO seeds a fixture repo in OPENHUMAN_WORKSPACE and asserts read ops succeed |+| 6.2.4 | Git Write Operations | RU+WD | `vendor/tinyagents/crates/tinyagents-harness-tools/src/fs/filesystem/git_operations.rs`, `app/test/e2e/specs/tool-shell-git-flow.spec.ts` | ✅ | Was 🟡 — WDIO commits into the same fixture and asserts log advances |### 6.3 Sub-agent Orchestrationdiff --git a/docs/gitbooks/en/features/native-tools/web-scraper.md b/docs/gitbooks/en/features/native-tools/web-scraper.mdindex d9f2f9767e..96d169fa04 100644--- a/docs/gitbooks/en/features/native-tools/web-scraper.md+++ b/docs/gitbooks/en/features/native-tools/web-scraper.md@@ -42,7 +42,7 @@ Redirects are never followed. A redirect target can sit on a host the allowlist## The allowlist and the URL guard-Every fetch passes the URL guard in `tinyagents-harness-tools` (`vendor/tinyagents/vendor/tinytools/crates/tinyagents-harness-tools/src/url_guard/`) before any connection is made. `http_request` and `curl` use the same gate.+Every fetch passes the shared URL guard in TinyAgents' harness before any connection is made. `http_request` and `curl` use the same gate.**Shape.** Only `http` and `https` are accepted. URLs with whitespace, a backslash, userinfo (`user:pass@`), a percent-encoded authority or an IPv6 literal host are rejected.