Skip to content

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

docs: record library concurrency coverage

Steven Enamakelaa0dacb85452
diff --git a/docs/TEST-COVERAGE-MATRIX.md b/docs/TEST-COVERAGE-MATRIX.md
index 0e497b4e68..647592a536 100644
--- a/docs/TEST-COVERAGE-MATRIX.md
+++ b/docs/TEST-COVERAGE-MATRIX.md
@@ -174,7 +174,7 @@ Canonical mapping of every product feature to its test source(s). Drives gap-fil
| ----- | ---------------------- | ----- | ---------------------------------------------------------------- | ------ | ------------------------------------- |
| 4.1.1 | Session Creation | WD | `conversations-web-channel-flow.spec.ts` | ✅ | |
| 4.1.2 | Session Persistence | WD | `conversations-web-channel-flow.spec.ts` | ✅ | |
-| 4.1.3 | Multi-Session Handling | WD | `agent-review.spec.ts`, `conversations-web-channel-flow.spec.ts` | 🟡 | No dedicated multi-thread switch test |
+| 4.1.3 | Multi-Session Handling | RU+WD | `src/openhuman/memory/conversations/store/store_concurrency_tests.rs`, `agent-review.spec.ts`, `conversations-web-channel-flow.spec.ts` | 🟡 | 100 concurrent transcript writers use independent per-thread locks without loss/corruption; no dedicated frontend multi-thread switch test |
### 4.2 Messaging
@@ -632,7 +632,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 |
| ------ | -------------------------------------------------------------- | ----- | ------------------------------------------------------------------------------------------------- | ------ | -------------------------------------------------------------------------------------------------------------- |
-| 16.1.1 | End-to-end turn with no transport and no background services | RI | `tests/harness_embed.rs` | ✅ | Real turn against a wiremock provider; asserts the request landed on the caller's endpoint, that no RPC listener was bound, session continuity across two turns, `session_db` under the harness workspace, and removal on drop |
+| 16.1.1 | End-to-end turn with no transport and no background services | RI | `tests/harness_embed.rs` | ✅ | Real login-free `HostKind::Library` turn against a wiremock provider; asserts the request landed on the caller's endpoint, no RPC listener was bound, continuity across two turns, then 100 distinct sessions overlap on the same live core without fake auth; also checks `session_db` placement and workspace removal on drop |
| 16.1.2 | Turn wire contract (`TurnRequest` ↔ `inference.agent_chat`) | RU | `src/embed/agent_tests.rs` | ✅ | Field names checked **both ways** against the registered controller schema — `AgentChatParams` carries no `rename_all`, so an upstream rename is otherwise a silent runtime failure; plus absent-option omission |
| 16.1.3 | Embedder-supplied config reaches handlers, not just boot | RU | `src/core/runtime/context.rs` (`*_embedder_config`) | ✅ | `CoreBuilder::config` is published on `CoreContext` and preferred by `load_config_with_timeout`; without it every handler re-resolves the process-global workspace |
| 16.1.4 | Workspace lifetime and credential isolation | RU | `src/embed/harness/workspace_tests.rs` | ✅ | Ephemeral removed on drop, `Dir` persists, `action_dir` never inside the workspace, and `config_path` beside it — its parent is where auth profiles and the keyring resolve |