Skip to content

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

docs(test-coverage-matrix): correct test path for runtime failure handling

Steven Enamakel6ebae7c8c262
diff --git a/docs/TEST-COVERAGE-MATRIX.md b/docs/TEST-COVERAGE-MATRIX.md
index c3f554890d..0525e344da 100644
--- a/docs/TEST-COVERAGE-MATRIX.md
+++ b/docs/TEST-COVERAGE-MATRIX.md
@@ -123,7 +123,7 @@ Canonical mapping of every product feature to its test source(s). Drives gap-fil
| ID | Feature | Layer | Test path(s) | Status | Notes |
| ----- | ------------------------------------- | ----- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ | -------------------------------------------------------------------------------------------------------------------- |
-| 3.1.1 | Model Detection | RU+RI | `tests/json_rpc_e2e.rs` (`json_rpc_local_ai_lm_studio_config_diagnostics_and_prompt`), `tests/ollama_lifecycle_e2e.rs`, `vendor/tinyagents/vendor/tinyinference/crates/tinyinference-local/src/models.rs` | 🟑 | Was βœ… citing `local-model-runtime.spec.ts`. **That citation was false**: the spec was `describe.skip`ped and drove a panel deleted by `0ec68613af`; it now asserts only the route redirect. Detection itself is covered at RI; the model-list UI it used to drive no longer exists. ⚠️ **`tinyinference-local` is not built by any OpenHuman lane** β€” `vendor` is in the root `[workspace] exclude` and no CI step names the package, so its unit tests are cited history, not executed coverage. |
+| 3.1.1 | Model Detection | RU+RI | `tests/json_rpc_e2e.rs` (`json_rpc_local_ai_lm_studio_config_diagnostics_and_prompt`), `vendor/tinyagents/vendor/tinyinference/crates/tinyinference-local/src/models.rs` | 🟑 | Was βœ… citing `local-model-runtime.spec.ts`. **That citation was false**: the spec was `describe.skip`ped and drove a panel deleted by `0ec68613af`; it now asserts only the route redirect. Detection itself is covered at RI; the model-list UI it used to drive no longer exists. ⚠️ **`tinyinference-local` is not built by any OpenHuman lane** β€” `vendor` is in the root `[workspace] exclude` and no CI step names the package, so its unit tests are cited history, not executed coverage. |
| 3.1.2 | Model Download \& Installation | RI | `tests/raw_coverage/inference_local_services_round21_raw_coverage_e2e.rs` (`local_ai_download_asset`, `local_ai_downloads_progress`) | 🟑 | Was βœ… citing `local-model-runtime.spec.ts`, which never ran an assertion. The download RPCs are covered over loopback mocks at RI; **there is no user-facing download control** since `0ec68613af`, only `LocalAIDownloadSnackbar`. |
| 3.1.3 | Model Version Handling | RU | `crates/openhuman-core/src/inference/model_ids.rs` | βœ… | |
| 3.1.4 | LM Studio Model Discovery | RU+RI | `crates/openhuman-core/src/inference/local/service/ollama_admin_tests.rs`, `tests/json_rpc_e2e.rs` | βœ… | Uses LM Studio's OpenAI-compatible `/v1/models` surface |
@@ -135,7 +135,7 @@ Canonical mapping of every product feature to its test source(s). Drives gap-fil
| ----- | ---------------------------------- | ----- | ------------------------------------------------------------------------------- | ------ | -------------------------------------------------------- |
| 3.2.1 | Local Inference Execution | RU+RI | `crates/openhuman-core/src/inference/provider/factory_crate_native_tests.rs`, `crates/openhuman-core/src/flows/ops_agent_binding_tests.rs`, `tests/json_rpc_e2e.rs` | βœ… | Caller-owned model construction and local agent-flow readiness work without an OpenHuman session; cloud session refusal is retained. **`local-model-runtime.spec.ts` dropped from the citation** β€” it was skipped and asserted nothing; the remaining RU+RI evidence carries the row on its own. |
| 3.2.2 | Resource Handling (CPU/GPU/Memory) | RU | `vendor/tinyagents/vendor/tinyinference/crates/tinyinference-local/src/device.rs`, `crates/openhuman-core/src/config/ops/local_ai_presets_tests.rs` | 🟑 | **Path corrected** (was `crates/openhuman-core/src/inference/device.rs`, which does not exist). ⚠️ **`tinyinference-local` is not built by any OpenHuman lane** β€” `vendor` is in the root `[workspace] exclude` and no CI step names the package, so its unit tests are cited history, not executed coverage. OpenHuman-side consumption is now covered by `local_ai_presets_tests.rs`; runtime constraint enforcement remains manual. |
-| 3.2.3 | Runtime Failure Handling | RU+RI | `tests/ollama_lifecycle_e2e.rs` (owned-spawn shutdown, external adoption, stale-marker crash recovery) | 🟑 | Was βœ… citing `local-model-runtime.spec.ts`, which was skipped. `ollama_lifecycle_e2e.rs` covers the daemon-ownership failure modes; the UI-level "runtime unavailable" guidance it used to assert has no surface left to assert against. |
+| 3.2.3 | Runtime Failure Handling | RU+RI | `vendor/tinyagents/vendor/tinyinference/crates/tinyinference-local/src/service/ollama_admin_adoption_and_recovery_tests.rs` (owned-spawn shutdown, external adoption, stale-marker crash recovery) | 🟑 | Was βœ… citing `local-model-runtime.spec.ts`, which was skipped. the tinyinference-local lifecycle tests cover the daemon-ownership failure modes; the UI-level "runtime unavailable" guidance it used to assert has no surface left to assert against. |
| 3.2.4 | LM Studio Chat Completions | RU+RI | `crates/openhuman-core/src/inference/local/service/public_infer_tests.rs`, `tests/json_rpc_e2e.rs` | βœ… | Covers prompt/chat success and non-success status errors |
### 3.3 Runtime Configuration