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
chore(docs): update test paths to reflect in_process directory
Steven Enamakel045fff476366
diff --git a/crates/openhuman-core/src/agent/README.md b/crates/openhuman-core/src/agent/README.mdindex f484aa43e7..7205ca8861 100644--- a/crates/openhuman-core/src/agent/README.md+++ b/crates/openhuman-core/src/agent/README.md@@ -78,7 +78,7 @@ Flat files: `bus.rs` (`agent.run_turn` native request handler), `context_breakdo## Tests- Unit: `agent_tests.rs`, `multimodal_tests.rs`, plus `*_tests.rs` files colocated with `bus.rs`, `cost.rs`, `error.rs`, `hooks.rs`, `host_runtime.rs`, `message_convert.rs`, `platform_shell.rs`, `progress_sink.rs`, `schemas.rs`, `stop_hooks.rs`, `tool_policy.rs`, `turn_origin.rs`, `turn_workspace.rs`, and under `harness/`, `session_host/`, `triage/`.-- Integration: `tests/agent_builder_public.rs`, `tests/agent_harness_public.rs`, `tests/agent_harness_e2e.rs`, `tests/agent_turn_overrides_e2e.rs`, `tests/agent_approval_memory_coverage_e2e.rs`.+- Integration: `tests/in_process/agent_builder_public.rs`, `tests/in_process/agent_harness_public.rs`, `tests/agent_harness_e2e.rs`, `tests/in_process/agent_turn_overrides_e2e.rs`, `tests/in_process/agent_approval_memory_coverage_e2e.rs`.- Schema regression: `schemas_tests.rs` (`controller_schema_inventory_is_stable`).## Related docsdiff --git a/crates/openhuman-core/src/agent/harness/README.md b/crates/openhuman-core/src/agent/harness/README.mdindex 9d1e01e8ab..fbcceea94e 100644--- a/crates/openhuman-core/src/agent/harness/README.md+++ b/crates/openhuman-core/src/agent/harness/README.md@@ -114,7 +114,7 @@ turn lifecycle are in `../session_host/`; `run_subagent`,beside each sub-module (`tool_result_artifacts/mod_tests.rs`,`artifact_offload/artifact_offload_tests.rs`,`archivist/{lifecycle,recap,resummarise}_tests.rs`).-- Integration: `tests/agent_harness_public.rs`, `tests/agent_harness_e2e.rs`.+- Integration: `tests/in_process/agent_harness_public.rs`, `tests/agent_harness_e2e.rs`.## Notes / gotchasdiff --git a/crates/openhuman-core/src/agent/registry/agents/orchestrator/agent.toml b/crates/openhuman-core/src/agent/registry/agents/orchestrator/agent.tomlindex bed111919c..cb201577cc 100644--- a/crates/openhuman-core/src/agent/registry/agents/orchestrator/agent.toml+++ b/crates/openhuman-core/src/agent/registry/agents/orchestrator/agent.toml@@ -389,5 +389,5 @@ named = [# generation policy (grounding, citations, image verification) belongs to# `presentation_agent`, which the orchestrator reaches via# `delegate_make_presentation`. Listing it directly is asserted against in- # tests/orchestrator_presentation_wiring.rs.+ # tests/in_process/orchestrator_presentation_wiring.rs.]diff --git a/crates/openhuman-core/src/desktop/app_state/README.md b/crates/openhuman-core/src/desktop/app_state/README.mdindex f6554d4b1b..615ef850ac 100644--- a/crates/openhuman-core/src/desktop/app_state/README.md+++ b/crates/openhuman-core/src/desktop/app_state/README.md@@ -48,4 +48,4 @@ The signed-in identity for prompts and Sentry is `security::credentials::identit## Tests- `ops_tests.rs`, `recovery_signal_tests.rs`, `schemas_tests.rs`.-- JSON-RPC shape: `tests/json_rpc_e2e.rs` (`json_rpc_app_state_snapshot_returns_runtime_shape`), `tests/config_auth_app_state_connectivity_e2e.rs`.+- JSON-RPC shape: `tests/json_rpc_e2e.rs` (`json_rpc_app_state_snapshot_returns_runtime_shape`), `tests/in_process/config_auth_app_state_connectivity_e2e.rs`.diff --git a/crates/openhuman-core/src/skills/catalog/README.md b/crates/openhuman-core/src/skills/catalog/README.mdindex 139439c053..e9aefb7d26 100644--- a/crates/openhuman-core/src/skills/catalog/README.md+++ b/crates/openhuman-core/src/skills/catalog/README.md@@ -3,7 +3,7 @@Module path: `crate::skills::catalog`. RPC namespace: `skill_registry`, astable wire contract left unchanged by the module rename (JSON-RPC methods arestill `openhuman.skill_registry_<function>`, the CLI namespace is still-`skill_registry`; see `tests/skill_registry_e2e.rs`).+`skill_registry`; see `tests/in_process/skill_registry_e2e.rs`).Owns remote skill catalogs and installed-skill lifecycle:diff --git a/docs/TEST-COVERAGE-MATRIX.md b/docs/TEST-COVERAGE-MATRIX.mdindex 43571806a8..7f393a82ec 100644--- a/docs/TEST-COVERAGE-MATRIX.md+++ b/docs/TEST-COVERAGE-MATRIX.md@@ -84,7 +84,7 @@ Canonical mapping of every product feature to its test source(s). Drives gap-fil| 1.3.2 | Session Persistence | WD+RU | `logout-relogin-onboarding.spec.ts`, `crates/openhuman-core/src/security/credentials/ops_credential_tests.rs` | ✅ | || 1.3.3 | Refresh Token Rotation | VU | _missing_ — tracked #968 | ❌ | Slice-level refresh logic || 1.3.4 | Product Identity Header (`x-sdk-name`) | RU | `crates/openhuman-tinyhumans/src/backend/headers_tests.rs`, `crates/openhuman-tinyhumans/src/transport/transport_tests.rs`, `crates/openhuman-tinyhumans/src/session/client_tests.rs`, `crates/openhuman-core/src/integrations/client_tests.rs` | ✅ | #5406 — backend requests carry a sanitized product identity. RU covers the sanitizer, default, and override on the SDK and raw HTTP client paths. |-| 1.3.5 | Credential handoff to core (`auth.set_credential`) | RU+RI | `crates/openhuman-core/src/security/credentials/ops_credential_tests.rs`, `crates/openhuman-tinyhumans/src/session/link_tests.rs`, `tests/config_auth_app_state_connectivity_e2e.rs` | ✅ | The core takes a JWT / API key / local token as given (no `/auth/me`): expired JWTs and sessions without a user id are refused, same-token/same-user is a cheap refresh, a different user is signed out first, the snapshot reports the handed-over user and never calls the backend. |+| 1.3.5 | Credential handoff to core (`auth.set_credential`) | RU+RI | `crates/openhuman-core/src/security/credentials/ops_credential_tests.rs`, `crates/openhuman-tinyhumans/src/session/link_tests.rs`, `tests/in_process/config_auth_app_state_connectivity_e2e.rs` | ✅ | The core takes a JWT / API key / local token as given (no `/auth/me`): expired JWTs and sessions without a user id are refused, same-token/same-user is a cheap refresh, a different user is signed out first, the snapshot reports the handed-over user and never calls the backend. |### 1.4 Logout & Revocation@@ -333,7 +333,7 @@ End-to-end coverage of the agent harness via the web-chat RPC surface against an| 7.2.2 | Web Search Execution | WD | `harness-search-tool-flow.spec.ts::S3.2` | ✅ | **Citation corrected 2026-09-24:** the row cited `skill-execution-flow.spec.ts`, whose three tests are login-shell / core.ping / installed-tools and touch no search path. `harness-search-tool-flow.spec.ts::S3.2` drives `web_search_tool` end to end and asserts the final reply cites results; it runs in the `webhooks` suite || 7.2.3 | TinyFish Integration Tools | RU | `vendor/tinysearch` provider tests, `crates/openhuman-core/src/modules/search/config_tests.rs`, `crates/openhuman-core/src/search/providers_tests.rs` | ✅ | TinyFish is a managed TinySearch provider serving the search and contents roles; host tests cover its managed-only route and usability; request mapping is tested in the module || 7.2.4 | Exa search (managed + BYOK) | RU+RI+VU | `vendor/tinysearch` provider tests, `crates/openhuman-core/src/modules/search/config_tests.rs`, `tests/raw_coverage/worker_b_raw_coverage_e2e.rs::tools_web_search_success_path_uses_backend_session_and_shapes_results`, `crates/openhuman-core/src/config/ops/search_tests.rs`, `app/src/components/settings/panels/SearchPanel.test.tsx` | ✅ | Managed Exa posts `{objective, searchQueries}` (no `mode`) to `/agent-integrations/exa/search` through the loaded TinySearch module against a local backend; direct Exa keeps its key private in the module configuration; the panel switches route and saves/clears the key |-| 7.2.5 | Tavily BYOK search + extract (direct API) | RU+RI+VU | `vendor/tinysearch` provider tests, `crates/openhuman-core/src/config/ops_loader_and_search_tests.rs` (`apply_search_settings_stores_and_clears_tavily_key`), `tests/config_auth_app_state_connectivity_e2e.rs`, `app/src/components/settings/panels/SearchPanel.test.tsx` | ✅ | Tavily serves the search and contents roles with the user's key; the key round-trips through the settings RPC and secret encryption and is never returned; clearing it drops Tavily from `effective_roles` |+| 7.2.5 | Tavily BYOK search + extract (direct API) | RU+RI+VU | `vendor/tinysearch` provider tests, `crates/openhuman-core/src/config/ops_loader_and_search_tests.rs` (`apply_search_settings_stores_and_clears_tavily_key`), `tests/in_process/config_auth_app_state_connectivity_e2e.rs`, `app/src/components/settings/panels/SearchPanel.test.tsx` | ✅ | Tavily serves the search and contents roles with the user's key; the key round-trips through the settings RPC and secret encryption and is never returned; clearing it drops Tavily from `effective_roles` || 7.2.6 | Multi-provider roles, fallback and grounded answers | RU+RI+VU | `crates/openhuman-core/src/search/{providers,render,tools,bus}_tests.rs`, `crates/openhuman-core/src/config/schema/tools/search_search_config_tests_tests.rs`, `crates/openhuman-core/src/agent/session_host/recorded_tools_tests.rs`, `crates/openhuman-core/src/mcp/server/tools_tests_params_and_specs_tests.rs`, `tests/raw_coverage/worker_b_raw_coverage_e2e.rs::tools_web_answer_uses_managed_gemini_grounding_and_returns_citations`, `app/src/components/settings/panels/SearchPanel.test.tsx`, `app/src/features/conversations/tools/parseWebSearchResult.test.ts` | ✅ | Several providers at once: one agent tool per role (`web_search_tool`, `web_answer_tool`, `web_contents_tool`) served by the first usable provider with fallback (module tests); managed providers need a session and refresh on `CredentialChanged`; managed Gemini grounding returns an answer with citations end to end; single-engine settings migrate on load and Parallel stays as an own-key-only provider; resumed threads keep recorded role tools; chat renders answers, citations and fallback || 7.2.8 | Backend socket connect deadline + reconnect diagnostics | RU | `crates/openhuman-core/src/platform/socket/ws_loop_deadline_tests.rs` (`connect_with_redirects_times_out_when_upgrade_never_answers`, `connect_timeout_is_not_tighter_than_a_handshake_read`, `ws_loop_reports_reconnecting_between_attempts`, `ws_loop_reconnects_after_ping_deadline_on_a_silent_server`), `crates/openhuman-core/src/core/observability_error_classification_network_tests.rs` (`classifies_socket_connect_deadline_as_network_unreachable`) (#6256) | ✅ | One connect attempt (DNS + TCP + TLS + upgrade) is bounded at 10 s per redirect hop and fails as the `operation timed out` transport shape the Sentry classifier demotes; the loop reports `reconnecting` between attempts and `disconnected` only when stopped; the ping-timeout warning carries connection age / EIO pings received / frames sent, and a handshake after an outage logs `Reconnected after …` || 7.2.7 | Connectivity chip — core↔hosted backend link | VU | `app/src/services/__tests__/coreHealthMonitor.test.ts`, `app/src/store/__tests__/connectivitySlice.test.ts`, `app/src/store/__tests__/connectivitySelectors.test.ts`, `app/src/components/__tests__/ConnectionIndicator.test.tsx` (#6256) | ✅ | `connectivity_diag.socket_state` + `socket_loop_active` are mirrored into `connectivity.hosted` by the health poll; with the loop alive, `connecting` / `reconnecting` / `disconnected` (server closed the namespace) render the amber `hosted-degraded` chip, ranked below every other channel; `socket_loop_active=false` or `uninitialized` collapse to `unknown` (no chip: signed out, local session, boot) unless `socket_loop_stopped_on_failure` says the loop exited on an unusable session, which renders `hosted-stopped` with "sign in again" copy; `error` (server error event on a live transport) is stored but is not a chip state; a degraded link selects the 5 s poll so recovery shows within seconds |@@ -354,12 +354,12 @@ End-to-end coverage of the agent harness via the web-chat RPC surface against an| ID | Feature | Layer | Test path(s) | Status | Notes || ----- | -------------------------------- | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |-| 8.2.2 | Memory Consistency | RI | `tests/worker_c_modules_e2e.rs` | ✅ | Worker C RPC E2E verifies memory-tree ingest is reflected by `memory_sync_status_list` |+| 8.2.2 | Memory Consistency | RI | `tests/in_process/worker_c_modules_e2e.rs` | ✅ | Worker C RPC E2E verifies memory-tree ingest is reflected by `memory_sync_status_list` || 8.2.3 | Memory Scaling | RU | `vendor/tinymemory/crates/tinymemory-core/src/ingest_pipeline_tests.rs`, `vendor/tinymemory/crates/tinymemory-core/src/ingestion/queue_tests.rs` (vendored `tinymemory`) | 🟡 | Ingestion moved into the `tinymemory` module; soak/scale benchmark not asserted |-| 8.2.4 | Raw-archive sync reconcile | RU+RI | `crates/openhuman-core/src/memory/sources/reconcile_tests.rs`, `crates/openhuman-core/src/memory/sources/sync_tests.rs`, `vendor/tinymemory/crates/tinymemory-core/src/sync/workspace/periodic_tests.rs` (vendored `tinymemory`), `tests/json_rpc_e2e.rs` (`json_rpc_memory_sources_reconcile_reports_pending_raw_files`), `tests/memory_sources_e2e.rs` | ✅ | Coverage gate + incremental rebuild + workspace periodic scheduler + `memory_sources_reconcile` RPC |+| 8.2.4 | Raw-archive sync reconcile | RU+RI | `crates/openhuman-core/src/memory/sources/reconcile_tests.rs`, `crates/openhuman-core/src/memory/sources/sync_tests.rs`, `vendor/tinymemory/crates/tinymemory-core/src/sync/workspace/periodic_tests.rs` (vendored `tinymemory`), `tests/json_rpc_e2e.rs` (`json_rpc_memory_sources_reconcile_reports_pending_raw_files`), `tests/in_process/memory_sources_e2e.rs` | ✅ | Coverage gate + incremental rebuild + workspace periodic scheduler + `memory_sources_reconcile` RPC || 8.2.5 | Coding-session persona ingestion | RU+RI+VU+WD | `vendor/tinymemory/crates/tinymemory-core/src/engine/persona_tests.rs` (vendored `tinymemory`), `crates/openhuman-core/src/memory/sources/rpc_tests.rs`, `tests/json_rpc_e2e.rs`, `app/src/components/intelligence/__tests__/CodingSessionsCard.test.tsx`, `app/src/services/memorySourcesService.test.ts`, `app/test/e2e/specs/coding-session-memory.spec.ts`, `app/test/playwright/specs/coding-session-memory.spec.ts` | ✅ | Discovers Codex and Claude Code histories, excludes machine-authored turns, exposes status/ingest RPCs, and surfaces incremental ingestion on Brain > Sources || 8.2.6 | Folder-source path picker | RU+VU | `crates/openhuman-app/src/directory_picker.rs`, `app/src/utils/tauriCommands/directoryPicker.test.ts`, `app/src/components/intelligence/FolderField.test.tsx` | ✅ | Browse resolves an absolute path through the OS-native chooser and refuses to store a non-resolvable value (bare directory name) when none is available (#5831) |-| 8.2.7 | Sync History and live sync activity | RU+RI+VU | `crates/openhuman-core/src/memory/sources/run_history_tests.rs`, `crates/openhuman-core/src/memory/sources/rpc/driver_run_tests.rs`, `crates/openhuman-core/src/memory/sources/rpc_monthly_summary_tests_tests.rs`, `crates/openhuman-core/src/integrations/composio/ops/connector_runs_tests.rs`, `crates/openhuman-core/src/integrations/composio/ops/source_rows_tests.rs`, `crates/openhuman-core/src/memory/sync_activity_tests.rs`, `tests/memory_sources_e2e.rs` (`sources_sync_dispatches_to_the_module_rather_than_refusing_the_capability`), `app/src/components/intelligence/SyncAuditPanel.test.tsx`, `app/src/components/intelligence/SyncActivityCard.test.tsx`, `app/src/components/intelligence/__tests__/memorySyncActivityStore.test.ts`, `app/src/components/intelligence/MemorySourceRow.test.tsx`, `app/src/components/intelligence/MemoryTreeStatusPanel.test.tsx` | ✅ | Every host-driven run (Sync button, Apply all, Composio) leaves one history row merged with the driver's audit log; manual driver runs end in `completed` or `failed`; a late per-document stage cannot reopen a finished row; Brain > Sync shows what is syncing and the job queue, and re-reads the history when a run ends (#6257) |+| 8.2.7 | Sync History and live sync activity | RU+RI+VU | `crates/openhuman-core/src/memory/sources/run_history_tests.rs`, `crates/openhuman-core/src/memory/sources/rpc/driver_run_tests.rs`, `crates/openhuman-core/src/memory/sources/rpc_monthly_summary_tests_tests.rs`, `crates/openhuman-core/src/integrations/composio/ops/connector_runs_tests.rs`, `crates/openhuman-core/src/integrations/composio/ops/source_rows_tests.rs`, `crates/openhuman-core/src/memory/sync_activity_tests.rs`, `tests/in_process/memory_sources_e2e.rs` (`sources_sync_dispatches_to_the_module_rather_than_refusing_the_capability`), `app/src/components/intelligence/SyncAuditPanel.test.tsx`, `app/src/components/intelligence/SyncActivityCard.test.tsx`, `app/src/components/intelligence/__tests__/memorySyncActivityStore.test.ts`, `app/src/components/intelligence/MemorySourceRow.test.tsx`, `app/src/components/intelligence/MemoryTreeStatusPanel.test.tsx` | ✅ | Every host-driven run (Sync button, Apply all, Composio) leaves one history row merged with the driver's audit log; manual driver runs end in `completed` or `failed`; a late per-document stage cannot reopen a finished row; Brain > Sync shows what is syncing and the job queue, and re-reads the history when a run ends (#6257) || 8.2.8 | Selectable memory engines and migration | RU+RI+VU | `crates/openhuman-core/src/memory/ops/engine_migrate_tests.rs`, `crates/openhuman-core/src/memory/ops/engine_tests.rs`, `tests/memory_engine_e2e.rs`, `tests/memory_engine_migrate_e2e.rs`, `tests/memory_hosted_surface_e2e.rs`, `app/src/components/settings/panels/MemoryEnginePanel.test.tsx`, `app/src/components/settings/panels/MemoryEngineErrorAlert.test.tsx`, `app/src/components/intelligence/MemoryFamilyGate.test.tsx`, `app/src/pages/__tests__/Brain.test.tsx` | ✅ | Engine selection, migration copy/cancel/failure behavior, hosted and external drivers, and capability gating; on the hosted engine a 403 reads `MEMORY_FORBIDDEN:` (never a sign-out), an outage `MEMORY_UNREACHABLE:`, and Brain's sync panels say "Not available" (#6718). The hosted engine serves goals, tool rules, documents, the source sink and maintenance (`memory_hosted_surface_e2e.rs::the_hosted_engine_serves_documents_and_tool_rules`), draws the Brain graph from the server's derived facts (`::the_hosted_engine_draws_the_brain_graph_from_its_understanding`), and takes a local folder synced by the host (`::a_local_folder_syncs_into_hosted_memory`, `memory/sources/hosted_sync_tests.rs`), forgetting a file deleted from the folder (`hosted_sync_tests.rs::a_deleted_file_is_forgotten_by_the_id_the_sink_gave_it`); Brain gates coding sessions on their own family and local-store controls on `chunks`. A copy carries document details, goals, the profile, the conversation history and re-sent content, reporting each step and naming what the new engine cannot take (`engine_migrate_tests.rs`, `MemoryEnginePanel.test.tsx`; the steps themselves are tinymemory's `migrate::copy_all`). On hosted memory the learning rebuild writes only facets that changed (`agent/learning/stability_detector_tests.rs::skipped_writes_track_a_detector_that_writes_every_cycle`) and segment recaps fold with the host's model (`agent/harness/archivist/recap_tests.rs::the_host_model_folds_a_segment_the_driver_cannot`) |### 8.3 Memory Retrieval Benchmarks@@ -419,7 +419,7 @@ End-to-end coverage of the agent harness via the web-chat RPC surface against an| ID | Feature | Layer | Test path(s) | Status | Notes || ----- | ----------------------- | ----- | ------------------------ | ------ | ------------------------ |-| 9.3.1 | Remote Agent Scheduling | RI | `tests/domain_modules_e2e.rs::cron_update_applies_a_partial_patch_without_clobbering_unset_fields` (CRUD); manual execution + history (`cron_run`/`cron_runs`) in `tests/raw_coverage/automation_scheduling_e2e.rs::cron_run_records_history_and_remove_is_not_idempotent` (live again: restored from the #6382 quarantine) | 🟡 | **Evidence corrected 2026-09-24; updated when the file was restored.** This row cited `tests/json_rpc_e2e.rs`, which contains **zero** occurrences of `cron` (verified with a positive control: 425 `openhuman.` matches in the same file). So "Coverage thin" was assessed against a file with no scheduling coverage at all. What is live is CRUD plus a manual `cron_run` with its history; nothing live asserts a scheduled agent job actually RUNS on its schedule (the scheduler tick), which is why this stays 🟡. |+| 9.3.1 | Remote Agent Scheduling | RI | `tests/in_process/domain_modules_e2e.rs::cron_update_applies_a_partial_patch_without_clobbering_unset_fields` (CRUD); manual execution + history (`cron_run`/`cron_runs`) in `tests/raw_coverage/automation_scheduling_e2e.rs::cron_run_records_history_and_remove_is_not_idempotent` (live again: restored from the #6382 quarantine) | 🟡 | **Evidence corrected 2026-09-24; updated when the file was restored.** This row cited `tests/json_rpc_e2e.rs`, which contains **zero** occurrences of `cron` (verified with a positive control: 425 `openhuman.` matches in the same file). So "Coverage thin" was assessed against a file with no scheduling coverage at all. What is live is CRUD plus a manual `cron_run` with its history; nothing live asserts a scheduled agent job actually RUNS on its schedule (the scheduler tick), which is why this stays 🟡. || 9.3.2 | Execution Trigger | WD | `cron-jobs-flow.spec.ts` | ✅ | || 9.3.3 | Retry Handling | RU | `crates/openhuman-core/src/cron/` | 🟡 | Backoff branches partial |@@ -483,7 +483,7 @@ End-to-end coverage of the agent harness via the web-chat RPC surface against an| ID | Feature | Layer | Test path(s) | Status | Notes || ------ | ---------------------- | ----- | --------------------------------------------------------- | ------ | ----------------------------------------------------------------------------------- || 10.5.1 | Channel Isolation | RU | `crates/openhuman-core/src/channels/tests/identity.rs` | ✅ | |-| 10.5.2 | Unified Inbox Handling | WD+RI | `channels-smoke.spec.ts`, `tests/worker_c_modules_e2e.rs` | 🟡 | UI assertion shallow; RI covers config-only channel status after connect/disconnect |+| 10.5.2 | Unified Inbox Handling | WD+RI | `channels-smoke.spec.ts`, `tests/in_process/worker_c_modules_e2e.rs` | 🟡 | UI assertion shallow; RI covers config-only channel status after connect/disconnect || 10.5.3 | Context Preservation | RU | `crates/openhuman-core/src/channels/tests/context.rs` | ✅ | |### 10.6 Permission Enforcement@@ -498,7 +498,7 @@ End-to-end coverage of the agent harness via the web-chat RPC surface against an| ID | Feature | Layer | Test path(s) | Status | Notes || ------ | ---------------------- | ----- | ----------------------------------------------------- | ------ | ------------------------------------------------------------------- |-| 10.7.1 | Integration Disconnect | WD+RI | `gmail-flow.spec.ts`, `tests/worker_c_modules_e2e.rs` | ✅ | RI covers `channels_disconnect` clearing config-only iMessage state |+| 10.7.1 | Integration Disconnect | WD+RI | `gmail-flow.spec.ts`, `tests/in_process/worker_c_modules_e2e.rs` | ✅ | RI covers `channels_disconnect` clearing config-only iMessage state || 10.7.2 | Token Revocation | RU | `crates/openhuman-core/src/security/credentials/` | ✅ | || 10.7.3 | Re-Authorization Flow | WD | `connector-contract.ts` (all contract toolkits) | ✅ | Re-auth post-revoke asserted 2026-09-24 in `connector-contract.ts` ('pressing Reconnect after expiry re-authorizes and restores the connection'): the expired modal's Reconnect button is clicked, a POST to `/composio/authorize` must follow, and the connection must read ACTIVE afterwards. Inherited by all 11 contract toolkits plus GitHub/Jira/Gmail/Discord || 10.7.4 | Permission Re-Sync | WD | _missing_ — tracked #968 | ❌ | |@@ -511,11 +511,11 @@ End-to-end coverage of the agent harness via the web-chat RPC surface against an| ID | Feature | Layer | Test path(s) | Status | Notes || ------- | ------------------------------------------------------------------- | ----- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |-| 11.1.1 | Multi-Source Analysis | RI | `tests/memory_sources_e2e.rs`, `tests/memory_graph_roundtrip_e2e.rs` | ✅ | the graph half of the removed `memory_graph_sync_e2e.rs` (deleted in `cc99ba9c67`) is replaced by `tests/memory_graph_roundtrip_e2e.rs`: JSON-RPC round trip, namespace isolation, and the unfiltered-superset invariant. **Frontend trigger remains untested and is not writable** — see 11.1.3 |+| 11.1.1 | Multi-Source Analysis | RI | `tests/in_process/memory_sources_e2e.rs`, `tests/in_process/memory_graph_roundtrip_e2e.rs` | ✅ | the graph half of the removed `memory_graph_sync_e2e.rs` (deleted in `cc99ba9c67`) is replaced by `tests/in_process/memory_graph_roundtrip_e2e.rs`: JSON-RPC round trip, namespace isolation, and the unfiltered-superset invariant. **Frontend trigger remains untested and is not writable** — see 11.1.3 || 11.1.2 | Actionable Item Extraction | VU | `app/src/components/intelligence/__tests__/utils.test.ts` | ✅ | Was ❌ || 11.1.3 | Analyze Trigger | WD | `app/test/e2e/specs/insights-dashboard.spec.ts` mounts the route; explicit analyze-handler invocation TBD | 🟡 | Route mounts and search/filter UI assert — full analyze trigger flow tracked as follow-up || 11.1.4 | MCP server (stdio + HTTP) | RU | `crates/openhuman-core/src/mcp/server/` | ✅ | Stdio framing plus Streamable HTTP/SSE session lifecycle; `McpHttpClient` round-trip tests |-| 11.1.5 | Global tool registry | RI | `crates/openhuman-core/src/tools/registry/`, `tests/json_rpc_e2e.rs`, `tests/domain_modules_e2e.rs`, `tests/worker_b_domain_e2e.rs` | ✅ | Read-only MCP/controller discovery with routes, schemas, version, allowed agents, and health |+| 11.1.5 | Global tool registry | RI | `crates/openhuman-core/src/tools/registry/`, `tests/json_rpc_e2e.rs`, `tests/in_process/domain_modules_e2e.rs`, `tests/in_process/worker_b_domain_e2e.rs` | ✅ | Read-only MCP/controller discovery with routes, schemas, version, allowed agents, and health || 11.1.6 | SearXNG MCP search | RU | `crates/openhuman-core/src/search/tools/searxng.rs`, `crates/openhuman-core/src/mcp/server/tools/`, `crates/openhuman-core/src/tools/schemas.rs` | ✅ | Self-hosted search config, normalized results, MCP argument validation, and mocked HTTP execution || 11.1.7 | Bundled prompt resources | RU | `crates/openhuman-core/src/mcp/server/resources.rs`, `crates/openhuman-core/src/mcp/server/protocol.rs` | ✅ | `resources/list` catalog + `resources/read` happy path, -32002 unknown URI, -32602 missing param, catalog-mirrors-BUILTINS parity test || 11.1.8 | Resource templates list | RU | `crates/openhuman-core/src/mcp/server/resources.rs`, `crates/openhuman-core/src/mcp/server/protocol.rs` | ✅ | `resources/templates/list` returns `{resourceTemplates: []}` (static catalog), tolerates unknown/cursor params |@@ -592,7 +592,7 @@ End-to-end coverage of the agent harness via the web-chat RPC surface against an| 13.3.3 | Azure deployment name (off-catalog model id) | VU | `app/src/components/settings/panels/__tests__/azureDeployment.test.ts`, `app/src/components/settings/panels/__tests__/ModelEntryField.test.tsx`, `app/src/components/settings/panels/__tests__/AIPanel.test.tsx` | ✅ | Azure routes by deployment name, not the base model id its `/models` catalog lists (#5213). Covers endpoint-host detection (incl. dot-boundary lookalikes and the excluded Foundry serverless hosts), `/openai/v1` base-URL detection and its inline nudge, the shared entry-mode field used by both pickers (free text, catalog, loading, probe-error branches), no auto-seeding of a catalog id for Azure, the deployment name surviving verbatim into persisted routing, and a provider staying creatable when the live `/models` probe fails || 13.3.4 | ChatGPT sign-in in AI settings | VU | `app/src/components/settings/oauth/__tests__/OpenAiOAuthConnect.test.tsx`, `app/src/components/settings/panels/__tests__/AIPanel.test.tsx` | ✅ | Mocked core RPCs cover sign-in, disconnect, provider/routing persistence, failure paths, and delayed initial status. Live desktop OAuth remains a release smoke check. || 13.3.5 | OpenRouter sign-in (PKCE) in AI settings | RU+VU | `crates/openhuman-app/src/loopback_oauth_tests.rs`, `app/src/utils/__tests__/openrouterOAuth.test.ts`, `app/src/utils/__tests__/loopbackOauthListener.test.ts`, `app/src/components/settings/panels/__tests__/AIPanel.test.tsx` | ✅ | A pending sign-in stays dismissable (Cancel/Esc/click-outside abort the flow and free the loopback port); Deny, `error=` and missing-code callbacks get a "Sign-in was not completed." page and a dialog error instead of "You're signed in."; cancel clears the listener timeout so a retry is not stopped; the key exchange honours the abort signal (#6263). Live Authorize remains a release smoke check. |-| 13.3.6 | Skill registry search→install→agent runs the skill | RI | `tests/agent_harness_e2e.rs` (`agent_installs_a_registry_skill_then_runs_it`), `tests/skill_registry_e2e.rs`, `tests/skills_mcp_registry_live.rs` (manual, `#[ignore]`) | ✅ | Agent finds a loopback-catalog skill via `use_skill(skills/setup_skills)`, installs it behind the approval gate, the SKILL.md lands on disk, then the orchestrator runs it through its own `run_workflow` (`describe_workflow` returns its body to the model). The live smoke reports, per catalog source, how many listed skills have a download URL and installs one sample each. |+| 13.3.6 | Skill registry search→install→agent runs the skill | RI | `tests/agent_harness_e2e.rs` (`agent_installs_a_registry_skill_then_runs_it`), `tests/in_process/skill_registry_e2e.rs`, `tests/skills_mcp_registry_live.rs` (manual, `#[ignore]`) | ✅ | Agent finds a loopback-catalog skill via `use_skill(skills/setup_skills)`, installs it behind the approval gate, the SKILL.md lands on disk, then the orchestrator runs it through its own `run_workflow` (`describe_workflow` returns its body to the model). The live smoke reports, per catalog source, how many listed skills have a download URL and installs one sample each. || 13.3.7 | Skill registry install sources + unique entry ids | RU+VU | `crates/openhuman-core/src/skills/catalog/ops_tests.rs`, `crates/openhuman-core/src/skills/catalog/download_tests.rs`, `crates/openhuman-core/src/skills/ops_create_and_url_tests.rs`, `app/src/components/skills/__tests__/SkillsExplorerTab.test.tsx` | 🟡 | ClawHub entries download through ClawHub's file API by slug; skills.sh entries map to their GitHub repo, with the conventional skill directories and the tree match unit-tested; LobeHub agents (no `SKILL.md`) rank last in search and show "Not installable" instead of Install; ids are the source-qualified Hermes identifier, an ambiguous display name is refused with the real ids, and a missing id suggests the closest ones (#6285, #6287). The live skills.sh probe and ClawHub fetch are network calls and remain a manual check. || 13.3.8 | Managed default model (one OpenRouter model for every managed workload) | RU+RI | `crates/openhuman-core/src/inference/provider/factory_route_resolution_tests.rs` (`resolve_model_for_hint_maps_every_managed_hint_to_the_default_model`, `resolve_model_for_hint_uses_the_pinned_managed_default`, `resolve_model_for_hint_treats_retired_tier_slugs_as_role_aliases`), `crates/openhuman-core/src/inference/provider/factory_crate_native_tests.rs`, `crates/openhuman-core/src/agent/triage/routing_tests.rs`, `crates/openhuman-core/src/agent/cost_tests.rs`, `crates/openhuman-core/src/platform/cost/route_tests.rs`, `crates/openhuman-core/src/config/migrations/retire_managed_tier_slugs_tests.rs`, `crates/openhuman-core/src/config/migrations/mod_tests.rs` (`run_pending_v12_to_v13_*`), `tests/json_rpc_e2e.rs` (routing cases, flows arc) | ✅ | The `chat-v1`/`agentic-v1`/… tier endpoints are retired: every managed workload role resolves to `config.default_model` when it names a catalog model, else `openrouter/deepseek/deepseek-v4-flash`; `hint:*` and retired slugs stay role aliases; migration 12→13 rewrites persisted slugs; cost classification and the flash price row |diff --git a/docs/prompt-evals.md b/docs/prompt-evals.mdindex 49cda72161..ac57b87368 100644--- a/docs/prompt-evals.md+++ b/docs/prompt-evals.md@@ -6,7 +6,7 @@ other.| | Tier 1 — routing | Tier 2 — comprehension ||---|---|---|| Question | Is the agent wired so a model *could* follow its prompt? | Does a real model actually follow it? |-| Where | `tests/agent_prompt_comprehension_e2e.rs` | `scripts/prompt-eval.sh` + `scripts/prompt-eval/cases.json` |+| Where | `tests/in_process/agent_prompt_comprehension_e2e.rs` | `scripts/prompt-eval.sh` + `scripts/prompt-eval/cases.json` || Model | Scripted completions (no model) | The real backend model || Cost | Free, deterministic | Money per run, non-deterministic || CI | Runs with the Rust integration tests | **Never.** Refuses to run when `CI=true` |@@ -37,7 +37,7 @@ Fleet-wide static coverage of all agents lives in the prompt tests under`crates/openhuman-core/src/agent/registry/agents/`, not here.```sh-cargo test -p openhuman --test agent_prompt_comprehension_e2e+cargo test -p openhuman-cli --test in_process_all agent_prompt_comprehension_e2e```## Tier 2diff --git a/scripts/prompt-eval.sh b/scripts/prompt-eval.shindex 066e19528b..e1e1388d09 100755--- a/scripts/prompt-eval.sh+++ b/scripts/prompt-eval.sh@@ -1,7 +1,7 @@#!/usr/bin/env bash# Tier-2 prompt evals: does a real model follow the agent prompts? Scored,# costs money, non-deterministic. NEVER gates CI (refuses to run when CI=true).-# Tier 1 (`tests/agent_prompt_comprehension_e2e.rs`) pins the script; only this+# Tier 1 (`tests/in_process/agent_prompt_comprehension_e2e.rs`) pins the script; only this# answers whether a model follows it. See docs/prompt-evals.md.## Usage: scripts/prompt-eval.sh [--case <id>] [--runs N] [--bin <openhuman-core>] [--real-workspace] [--allow-disabled]diff --git a/tests/in_process/channels_default_channel_e2e.rs b/tests/in_process/channels_default_channel_e2e.rsindex 07b9bc00ad..f5bc193e31 100644--- a/tests/in_process/channels_default_channel_e2e.rs+++ b/tests/in_process/channels_default_channel_e2e.rs@@ -47,7 +47,7 @@//!//! No network: `api_url` points at a closed port.//!-//! Run with: `cargo test -p openhuman-cli --test channels_default_channel_e2e`+//! Run with: `cargo test -p openhuman-cli --test in_process_all`use crate::env_guard::EnvVarGuard;use crate::env_guard::env_lock;diff --git a/tests/in_process/domain_modules_e2e.rs b/tests/in_process/domain_modules_e2e.rsindex a8a6a65a0c..36dec45ee0 100644--- a/tests/in_process/domain_modules_e2e.rs+++ b/tests/in_process/domain_modules_e2e.rs@@ -590,14 +590,14 @@ async fn target_domain_read_paths_round_trip_through_json_rpc_transport() {/// caller must parse — the §6 log-envelope rule, on a live pair of methods.////// The reason this needs its own case: the tolerant `payload()` helper here, and-/// the equivalent in `tests/channels_default_channel_e2e.rs`, both unwrap an+/// the equivalent in `tests/in_process/channels_default_channel_e2e.rs`, both unwrap an/// inner `result` when present and fall through when not. That is the right/// behaviour for a caller and it is exactly what makes the flip undetectable —/// every other test in both suites would keep passing if either handler's/// envelope inverted. So this case reads the RAW JSON-RPC result rather than the/// unwrapped payload.///-/// **Scope:** wire shape only. `tests/channels_default_channel_e2e.rs` owns the+/// **Scope:** wire shape only. `tests/in_process/channels_default_channel_e2e.rs` owns the/// round trip, on-disk persistence, canonicalisation, the `"web"` fallback, and/// — since the split agreed with its author — the live-apply assertion/// (`set_default_applies_to_the_live_proactive_handle`). Nothing here duplicatesdiff --git a/tests/in_process/embeddings_rpc_e2e.rs b/tests/in_process/embeddings_rpc_e2e.rsindex 5a8c62ee91..df7471fb6f 100644--- a/tests/in_process/embeddings_rpc_e2e.rs+++ b/tests/in_process/embeddings_rpc_e2e.rs@@ -5,7 +5,7 @@//! OpenAI / Cohere calls are made — tests either use the "none" noop provider//! or assert error shapes from providers that require live credentials.//!-//! Run with: `cargo test -p openhuman-cli --test in_process_all embeddings_rpc_e2e`+//! Run with: `cargo test -p openhuman-cli --test in_process_all`use crate::env_guard::EnvVarGuard;use crate::env_guard::env_lock;diff --git a/tests/in_process/memory_graph_roundtrip_e2e.rs b/tests/in_process/memory_graph_roundtrip_e2e.rsindex 2e1cd54d7a..1946f49ada 100644--- a/tests/in_process/memory_graph_roundtrip_e2e.rs+++ b/tests/in_process/memory_graph_roundtrip_e2e.rs@@ -20,7 +20,7 @@//! proves the handler wiring but never touches JSON-RPC dispatch or the//! `serde` layer that builds `GraphUpsertParams` / `GraphQueryParams` from a//! wire payload.-//! * `tests/worker_c_modules_e2e.rs` names `openhuman.memory_graph_upsert` and+//! * `tests/in_process/worker_c_modules_e2e.rs` names `openhuman.memory_graph_upsert` and//! `openhuman.memory_graph_query` in a 68-method loop that calls each with//! `json!({})` and asserts `assert_rpc_completed`. That helper tolerates an//! error response as long as it is not `unknown method:`, which is the@@ -56,7 +56,7 @@//! # Running it//!//! ```text-//! cargo test -p openhuman-cli --features modules --test memory_graph_roundtrip_e2e+//! cargo test -p openhuman-cli --features modules --test in_process_all//! ```//!//! **`--features modules` is required.** `openhuman-cli`'s `modules` feature isdiff --git a/tests/in_process/memory_sources_e2e.rs b/tests/in_process/memory_sources_e2e.rsindex ed477b06a8..b6e45ae079 100644--- a/tests/in_process/memory_sources_e2e.rs+++ b/tests/in_process/memory_sources_e2e.rs@@ -4,7 +4,7 @@//! exercises the full user flow: add source → list → list_items →//! read_item → ingest into memory tree → verify chunks indexed.//!-//! Run with: `cargo test -p openhuman-cli --test in_process_all memory_sources_e2e`+//! Run with: `cargo test -p openhuman-cli --test in_process_all`use crate::env_guard::EnvVarGuard;use crate::env_guard::env_lock;@@ -472,10 +472,10 @@ async fn memory_sources_validation_rejects_bad_input() {/// outbound GitHub access doesn't fail on rate limits or transient/// network blips. `#[ignore]`d so it reports as ignored rather than passing/// without asserting. Run locally with:-/// cargo test -p openhuman-cli --test memory_sources_e2e \+/// cargo test -p openhuman-cli --test in_process_all \/// memory_sources_github_repo_activity_flow -- --ignored#[tokio::test]-#[ignore = "needs outbound network to GitHub (kelseyhightower/nocode via the gh CLI / GitHub API); not run in CI. Run: cargo test -p openhuman-cli --test memory_sources_e2e memory_sources_github_repo_activity_flow -- --ignored"]+#[ignore = "needs outbound network to GitHub (kelseyhightower/nocode via the gh CLI / GitHub API); not run in CI. Run: cargo test -p openhuman-cli --test in_process_all memory_sources_github_repo_activity_flow -- --ignored"]async fn memory_sources_github_repo_activity_flow() {let _guard = env_lock();let home = test_home();diff --git a/tests/in_process/skill_registry_e2e.rs b/tests/in_process/skill_registry_e2e.rsindex 63eec99c22..b1556bef43 100644--- a/tests/in_process/skill_registry_e2e.rs+++ b/tests/in_process/skill_registry_e2e.rs@@ -1,7 +1,7 @@//! Skill registry E2E: exercises browse, search, sources, and install//! JSON-RPC endpoints against a real core router.//!-//! Run: `cargo test -p openhuman-cli --test in_process_all skill_registry_e2e`+//! Run: `cargo test -p openhuman-cli --test in_process_all`//!//! The test uses a local fixture catalog and local SKILL.md download URL so CI//! does not depend on the live Hermes API.diff --git a/tests/in_process/transcript_search_e2e.rs b/tests/in_process/transcript_search_e2e.rsindex a7fbd465d8..46782c3b1f 100644--- a/tests/in_process/transcript_search_e2e.rs+++ b/tests/in_process/transcript_search_e2e.rs@@ -7,7 +7,7 @@//! the `thread_*` tool family; the op below still backs the RPC surface.//! against that on-disk data under a per-test temp `OPENHUMAN_WORKSPACE`.//!-//! Run with: `cargo test -p openhuman-cli --test in_process_all transcript_search_e2e`+//! Run with: `cargo test -p openhuman-cli --test in_process_all`use crate::env_guard::{env_lock, EnvVarGuard};use std::path::Path;diff --git a/tests/in_process/tree_summarizer_e2e.rs b/tests/in_process/tree_summarizer_e2e.rsindex d1fa7d4956..507c2db694 100644--- a/tests/in_process/tree_summarizer_e2e.rs+++ b/tests/in_process/tree_summarizer_e2e.rs@@ -18,7 +18,7 @@//! dedupe decision keyed on that echo drifts silently. Nothing catches it//! today.//!-//! Run with: `cargo test -p openhuman-cli --test tree_summarizer_e2e`+//! Run with: `cargo test -p openhuman-cli --test in_process_all`use crate::env_guard::EnvVarGuard;use crate::env_guard::env_lock;@@ -57,13 +57,13 @@ fn test_home() -> &'static Path {/// The `#[cfg(feature = "modules")]` body is evaluated against **openhuman-cli**'s/// features, not the core's. `openhuman-cli`'s own `modules` flag is OFF in its/// default set even though `openhuman-core/modules` is on transitively, so a-/// bare `cargo test -p openhuman-cli --test tree_summarizer_e2e` compiles this+/// bare `cargo test -p openhuman-cli --test in_process_all` compiles this/// to a no-op and every test here fails on the message above. Run it the way/// `scripts/test-rust-e2e.sh` does:////// RUST_MIN_STACK=67108864 cargo test -p openhuman-cli \/// --features "$(bash scripts/ci/product-features.sh)" \-/// --test tree_summarizer_e2e+/// --test in_process_allfn ensure_memory_seams() {MEMORY_SEAMS_INIT.get_or_init(|| {std::thread::Builder::new()