Skip to content

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

chore(deps): update openhuman-core dependency to fix build errors

Steven Enamakel62b0f8c9aa7d
diff --git a/crates/openhuman-core/src/agent/experience/README.md b/crates/openhuman-core/src/agent/experience/README.md
index a0db960d4e..e37368fe8f 100644
--- a/crates/openhuman-core/src/agent/experience/README.md
+++ b/crates/openhuman-core/src/agent/experience/README.md
@@ -71,7 +71,7 @@ Records are stored through the `Memory` trait (no dedicated DB), served by `Driv
- Value: **base64 of the `AgentExperience` JSON**, `MemoryCategory::Custom("agent_experience")`. Base64 keeps the memory layer's bare-numeric PII scrubber from rewriting a Luhn-valid millisecond timestamp and corrupting the JSON (#5209); reads fall back to plain JSON for legacy rows.
- `put` requires non-empty `task_summary` and `lesson`, preserves the original `created_at_ms` on update, stamps `updated_at_ms`, and runs `memory::safety::sanitize_text` over every free-text field (`task_fingerprint`, `task_summary`, `lesson`, `reuse_hint`, `avoid_hint`, `error_class`, `agent_id`, `entrypoint`, `tools_used`, `tool_sequence`, `tags`) before write. `id` and `profile_id` are keys and left intact.
- Dismiss is a soft flag (`dismissed = true`), retained in `list`, filtered out of `retrieve`. `dismiss_for_profile` refuses to flag a record owned by a different profile.
-- Each memory subtree (`memory` for the shared tree, `memory-<suffix>` for a profile with dedicated memory) is its own binding and therefore its own store.
+- Each memory subtree (`memory` for the shared tree, `memory<suffix>` such as `memory-1` for a profile with dedicated memory) is its own binding and therefore its own store.
## Dependencies
diff --git a/crates/openhuman-core/src/agent/harness_init/README.md b/crates/openhuman-core/src/agent/harness_init/README.md
index 0a2d88c2dd..4f756614bf 100644
--- a/crates/openhuman-core/src/agent/harness_init/README.md
+++ b/crates/openhuman-core/src/agent/harness_init/README.md
@@ -1,50 +1,55 @@
# harness_init
First-run provisioning orchestration. Several setup steps (managed Python
-runtime, spaCy + model, the runtime Python server, Kompress/torch, managed
+runtime, spaCy + model, Kompress/torch, the runtime Python server, managed
Node) used to run lazily on first use with no user-visible feedback. This
-domain runs them eagerly and non-blockingly at core startup, tracks per-step
-progress in an in-memory snapshot, and exposes it over
+domain runs them eagerly at core startup without blocking the ready signal,
+tracks per-step progress in an in-memory snapshot, and exposes it over
`openhuman.harness_init_status` / `openhuman.harness_init_run` for the
-frontend's initialization screen.
+frontend's initialization screen (`app/src/services/harnessInitService.ts`).
-Steps delegate to existing idempotent provisioning code — `runtime::python`,
-`runtime::node`, and `runtime::python_server` (spaCy / Kompress venvs) — this
-module only orchestrates and reports; it does not reimplement downloads.
+Steps delegate to existing idempotent provisioning code — `runtime::python`
+(`PythonBootstrap`), `runtime::node` (`NodeBootstrap`), and
+`runtime::python_server` (`ensure_spacy`, `ensure_kompress`, `ensure_started`)
+— this module only orchestrates and reports; it does not reimplement downloads.
## Files
- `mod.rs` — module doc and re-exports.
-- `registry.rs` — the ordered `HarnessInitStep` list (`python_runtime`,
- `spacy`, `kompress`, `runtime_python_server`, and `node_runtime` when the
- `runtime-node` feature is enabled). Each step is a durable, network-free
- `is_done` probe plus a `run` closure, and a `provisioning` flag that decides
- whether the step may trigger the blocking first-run overlay (a download or
- install) versus running silently as routine startup (e.g. relaunching an
- already-installed local server).
-- `ops.rs` — `run_harness_init` / `run_harness_init_with`: walks the registry,
- marks steps `Done` instantly when already satisfied, otherwise runs them.
- `provisioning_required` decides up front whether any *provisioning* step
- still needs work, so an already-provisioned host never flashes the overlay
- on a warm restart (GH-5047). Also hosts the `harness_init_status` /
- `harness_init_run` RPC handlers.
-- `store.rs` — process-lifetime `HarnessInitSnapshot` behind a mutex;
- `update_step` is the single mutation point and publishes the matching
- `DomainEvent`.
+- `registry.rs` — the ordered `HarnessInitStep` list from `all_steps()`:
+ `python_runtime`, `spacy`, `kompress`, `runtime_python_server`, and
+ `node_runtime` (only when the `runtime-node` feature is compiled in). Each
+ step is a durable, network-free `is_done` probe plus a `run` closure, and a
+ `provisioning` flag that says whether the step may download/install (and so
+ justify the blocking first-run overlay) or is routine startup that must run
+ silently (relaunching an already-installed local server). All steps are
+ `required: false`; a failure degrades to a fallback.
+- `ops.rs` — `run_harness_init` / `run_harness_init_with(config, force)`:
+ walks the registry, marks steps `Done` instantly when already satisfied,
+ otherwise runs them. `provisioning_required` decides up front whether any
+ *provisioning* step still needs work, so an already-provisioned host never
+ flashes the overlay on a warm restart (GH-5047). Also hosts the RPC handlers
+ `handle_status` / `handle_run` (`force` re-runs satisfied steps).
+- `store.rs` — process-lifetime `HarnessInitSnapshot` behind a mutex.
+ `set_overall` and `update_step` mutate it; `update_step` publishes
+ `DomainEvent::HarnessInitProgress` and `publish_completed` publishes
+ `DomainEvent::HarnessInitCompleted` (both in `core/events.rs`).
- `types.rs` — `HarnessInitSnapshot`, `StepStatus`, `OverallState`,
- `StepState`.
-- `bus.rs` — currently a placeholder; progress is published directly from
- `store::update_step`, kept for the canonical module shape and any future
- health re-publishing.
+ `StepState` (serialized `snake_case`).
+- `bus.rs` — placeholder; progress is published directly from `store`, so
+ there is no subscriber today.
- `schemas.rs` — `harness_init` namespace controller schemas (`status`,
`run`).
+- `*_tests.rs` — focused behavior tests beside each file.
## Wiring
-- `core::runtime::services::spawn_background_services` spawns
- `run_harness_init` (fire-and-forget) when `ServiceSet.harness_init` is true.
- `ServiceSet` (`core::runtime::builder.rs`) enables it on the desktop preset
- and disables it on the custom/embedded presets.
-- Controllers are registered via
+- `core::runtime::services::start_boot_once_jobs` spawns `run_harness_init`
+ (fire-and-forget) when `ServiceSet.harness_init` is true. It is called from
+ `start_core_runtime_services` in `core/jsonrpc.rs`, deliberately outside
+ `bootstrap_core_runtime`, so a build-only embedder never starts it.
+- `ServiceSet` (`core/runtime/builder.rs`) turns it on in the `desktop()` and
+ `embedded()` presets and off in `headless_api()` and `none()`.
+- Controllers are registered under `DomainGroup::Agent` via
`agent::harness_init::all_harness_init_registered_controllers` in
- `core::all.rs`.
+ `core/all.rs`.
diff --git a/crates/openhuman-core/src/agent/profiles/README.md b/crates/openhuman-core/src/agent/profiles/README.md
index 5ad02f69f9..6205382894 100644
--- a/crates/openhuman-core/src/agent/profiles/README.md
+++ b/crates/openhuman-core/src/agent/profiles/README.md
@@ -17,8 +17,9 @@ dedicated-workspace profiles from writing into a sibling's directory.
`review`).
- Persist and normalise profile state (`AgentProfileStore`): merge built-ins
into any loaded/saved state, slugify ids, drop empty allowlist entries to
- `None`, and auto-assign a stable numeric `memory_dir_suffix` to new custom
- profiles.
+ `None`, auto-assign a stable numeric `memory_dir_suffix` to new custom
+ profiles, and pin non-dedicated built-ins back to the shared memory subtree
+ on every load/save.
- Materialize and reconcile each profile's on-disk "home" — `SOUL.md`,
`MEMORY.md`, a private `skills/` dir, and (opt-in) a dedicated workspace.
- Resolve profile-scoped paths for prompt building: which SOUL.md content and
@@ -35,11 +36,11 @@ dedicated-workspace profiles from writing into a sibling's directory.
| --- | --- |
| `mod.rs` | Module docs, `mod` decls, and the re-export surface. |
| `types.rs` | `AgentProfile`, `AgentProfilesState`, `DEFAULT_PROFILE_ID`, `profile_signature` (a serialized cache key for prompt construction). |
-| `store.rs` | `AgentProfileStore` (load/save/select/upsert/delete/resolve) over `<workspace>/agent_profiles.json`; `built_in_profiles`, `load_profiles`, id normalisation/slugification, and the numeric `memory_dir_suffix` allocator. |
+| `store.rs` | `AgentProfileStore` (load/save/select/upsert/delete/resolve) over `<workspace>/agent_profiles.json`; `built_in_profiles`, `load_profiles`, id normalisation/slugification (`normalise_profile_id`, applied before `validate_profile_id` on every `upsert`), and the numeric `memory_dir_suffix` allocator. `delete` refuses built-in ids. |
| `home.rs` | Per-profile home materialization: `profile_home`, `profile_action_workspace`, `profile_skills_dir`/`profile_skills_root`, `validate_profile_id`, `ensure_profile_home` (idempotent seed), `sync_soul_md_on_upsert` (reconcile an edited inline soul into the on-disk file), `dedicated_workspace_dir`. |
-| `paths.rs` | Personality-scoped path/content resolution: `resolve_personality_soul`, `resolve_personality_memory_md`, `effective_memory_suffix`, the `*_subdir_for_suffix` helpers, `profile_session_signature`, `PersonalityContext`, `filter_integrations`/`HasToolkit`. |
+| `paths.rs` | Personality-scoped path/content resolution: `resolve_personality_soul` (home `SOUL.md` → `soul_md_path` → inline `soul_md` → `None`), `resolve_personality_memory_md`, `effective_memory_suffix`, the `*_subdir_for_suffix` helpers, `profile_session_signature`, `PersonalityContext`, `filter_integrations`/`HasToolkit`, and the `pub(crate)` `soul_md_file_path` shared with the channel runtime's identity fingerprint. |
| `guard.rs` | Cross-profile identity plumbing and write guard: `workspace_policy_id`/`profile_id_from_policy_id` (encode/decode the `WorkspaceDescriptor::policy_id`), `classify_cross_profile_target` (file tools), `scan_command_for_cross_profile` (shell/process tools, best-effort). |
-| `prompt_section.rs` | `AgentProfilePromptSection` (renders the `## Agent profile` prompt block) and `cross_profile_workspace_notice`. |
+| `prompt_section.rs` | `AgentProfilePromptSection` (a `PromptSection` named `agent_profile`), `render_agent_profile_block` (the same `## Agent profile` text for prompt paths without a `PromptContext`, used by `channels/system_prompt.rs`), and `cross_profile_workspace_notice`. |
| `ops.rs` | `list`/`select`/`upsert`/`delete` business logic: `agent_id` validation against the global agent registry, home materialization, SOUL.md reconciliation, and read-only path enrichment (`soulMdFile`, `skillsDir`, `workspaceDir`) on the returned payload. |
| `schemas.rs` | Controller schemas + thin handlers for the `profiles` namespace; re-exported as `all_profiles_controller_schemas` / `all_profiles_registered_controllers`. |
| `*_tests.rs` | Sibling test suites per file (via `#[path]`). |
@@ -64,14 +65,17 @@ overwrites a user's edited files.
## RPC / controllers
-Namespace `profiles`, registered via `all_profiles_registered_controllers()`:
+Namespace `profiles`, registered via `all_profiles_registered_controllers()`.
+On the JSON-RPC wire the methods are `openhuman.profiles_list`,
+`openhuman.profiles_select`, `openhuman.profiles_upsert`, and
+`openhuman.profiles_delete` (`core::all::rpc_method_name`).
-| Method | Inputs | Output |
+| Controller | Inputs | Output |
| --- | --- | --- |
| `profiles.list` | — | `{ profiles, activeProfileId }`, each profile enriched with `soulMdFile`/`skillsDir`/`workspaceDir` when present on disk |
| `profiles.select` | `profile_id: string` | updated state payload |
-| `profiles.upsert` | `profile: AgentProfile` (JSON) | updated state payload |
-| `profiles.delete` | `profile_id: string` | updated state payload |
+| `profiles.upsert` | `profile: AgentProfile` (camelCase JSON) | updated state payload |
+| `profiles.delete` | `profile_id: string` | updated state payload; built-in ids are rejected |
`upsert` fails closed on a non-empty, non-`orchestrator` `agent_id` when the
global `AgentDefinitionRegistry` is not yet initialised, rather than persist a
@@ -96,25 +100,45 @@ profile-less run rather than failing the job.
integration filtering when building a session.
- `agent/harness/session/turn/tools.rs` resolves `profile_skills_root` for
workflow discovery.
-- `security/policy/path_checks.rs` and `tools/impl/system/mod.rs` call
- `classify_cross_profile_target` / `scan_command_for_cross_profile` to enforce
- the write guard at the file-tool and process-tool call sites.
-- `cron/scheduler_part_02.rs` resolves a job's attributed profile
- (`from_config_for_agent_with_profile`).
-- `skills/ops_discover.rs` and `agent/tools/{run_workflow,delegate_to_personality}.rs`
- scope skill discovery and delegation to the active profile.
-- `channels/system_prompt.rs` and `web_chat/session.rs` resolve profile-scoped
- prompt content and the session signature for cache invalidation.
+- `security/policy/path_checks.rs` (file tools) decodes the active profile
+ from the descriptor's `policy_id` and calls `classify_cross_profile_target`;
+ `tools/impl/system/mod.rs` (process tools) adds
+ `scan_command_for_cross_profile`. Both map `PROFILES_ROOT_SENTINEL` to a
+ root-specific denial message.
+- `cron/scheduler_part_02.rs` resolves a job's attributed profile via
+ `load_profiles` and builds the run with
+ `Agent::from_config_for_agent_with_profile`.
+- `agent/task_dispatcher/executor.rs` and
+ `agent/tools/delegate_to_personality.rs` build a `PersonalityContext` for the
+ target profile; `agent/tools/run_workflow.rs`, `skills/tools.rs`,
+ `skills/runtime/run_machinery.rs`, and `tools/ops.rs` thread the active
+ `AgentProfile` through skill listing and execution. `skills/ops_discover.rs`
+ does not import this module: it receives the already-resolved
+ `profile_skills_root` path (`discover_workflows_with_profile`,
+ `load_workflow_metadata_for_profile`).
+- `agent/experience/ops.rs` maps profiles to memory subdirs with
+ `effective_memory_suffix` / `memory_subdir_for_suffix`.
+- `channels/system_prompt.rs` resolves soul/memory content and
+ `soul_md_file_path` for the native channel runtime and renders the block via
+ `render_agent_profile_block`; `web_chat/session.rs` stores
+ `profile_session_signature` for cache invalidation; `web_chat/run_task.rs`
+ reads the store.
+- `agent/tinyagents/host/definition_registry.rs` reads
+ `AgentProfile::model_override` through its `ModelResolver` adapter.
## Notes / gotchas
- `validate_profile_id` (hermes grammar `^[a-z0-9][a-z0-9_-]{0,63}$`) gates
- every home read/write path; a legacy id that fails validation gets no home,
- no dedicated workspace, and no profile-local skills — reads and writes stay
- symmetric.
+ every home read/write path and every store `upsert`; a legacy id that fails
+ validation still loads from the JSON store but gets no home, no dedicated
+ workspace, no dedicated-memory suffix, and no profile-local skills — reads
+ and writes stay symmetric. The `home.rs` doc comment saying it is "only
+ enforced when creating a new custom profile" understates this.
- `scan_command_for_cross_profile` is explicitly best-effort defense in depth
for process tools (static token scan, not a real shell parser); the hard
boundary for file mutations is `SecurityPolicy::validate_path`.
-- The mod-level doc comment's note about being "relocated from
- `openhuman::agent::profiles` / `::personality_paths`" is historical residue
- from the pre-flattening layout; the current path is `crate::agent::profiles`.
+- The mod-level doc comment's "Relocated from `openhuman::agent::profiles` /
+ `::personality_paths`" line dates from the original domain split (#3632),
+ when `agent/profiles.rs` and `agent/personality_paths.rs` were merged into
+ this directory; it predates the crate flattening. The module is addressed as
+ `crate::agent::profiles` in-crate (`openhuman::agent::profiles` from outside).
diff --git a/crates/openhuman-core/src/agent/profiles/schemas.rs b/crates/openhuman-core/src/agent/profiles/schemas.rs
index 810da4807b..ed764cb38c 100644
--- a/crates/openhuman-core/src/agent/profiles/schemas.rs
+++ b/crates/openhuman-core/src/agent/profiles/schemas.rs
@@ -1,7 +1,8 @@
//! Controller schemas + handlers for the `profiles` RPC namespace.
//!
-//! Methods: `openhuman.profiles_list`, `openhuman.profile_select`,
-//! `openhuman.profile_upsert`, `openhuman.profile_delete`.
+//! JSON-RPC methods: `openhuman.profiles_list`, `openhuman.profiles_select`,
+//! `openhuman.profiles_upsert`, `openhuman.profiles_delete` (see
+//! `core::all::rpc_method_name`).
use serde::de::DeserializeOwned;
use serde::Deserialize;
diff --git a/crates/openhuman-rpc/src/lib.rs b/crates/openhuman-rpc/src/lib.rs
index e3e58e03b6..1d677fd216 100644
--- a/crates/openhuman-rpc/src/lib.rs
+++ b/crates/openhuman-rpc/src/lib.rs
@@ -2,9 +2,11 @@
//!
//! This crate is linked by `openhuman_core` (re-exported there as
//! `openhuman_core::rpc`), the Tauri shell (`crates/openhuman-app`), and the
-//! TUI (`crates/openhuman-tui`). It exists as a separate crate so the shell
-//! can speak the same wire format without linking the whole core, and it must
-//! stay free of domain types and runtime dependencies.
+//! TUI (`crates/openhuman-tui`). It is a separate crate so the producer of
+//! RPC envelopes (the core) and their decoders (the shell's HTTP relay, the
+//! TUI) compile one definition of the wire shape, and that definition depends
+//! on nothing in the core. It must stay free of domain types and runtime
+//! dependencies.
//!
//! - [`RpcOutcome`] and [`apply_log_envelope`] define handler results and the
//! log envelope rule. Domain `ops.rs` operations return `RpcOutcome<T>`.
diff --git a/docs/TEST-COVERAGE-MATRIX.md b/docs/TEST-COVERAGE-MATRIX.md
index 545f7714db..4d765728f6 100644
--- a/docs/TEST-COVERAGE-MATRIX.md
+++ b/docs/TEST-COVERAGE-MATRIX.md
@@ -126,7 +126,7 @@ Canonical mapping of every product feature to its test source(s). Drives gap-fil
| 3.1.2 | Model Download & Installation | WD | `local-model-runtime.spec.ts` | ✅ | |
| 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 |
-| 3.1.5 | Model Context-Window Requirement Gate | RU+VU | `crates/openhuman-core/src/inference/local/model_requirements.rs`, `crates/openhuman-core/src/inference/local/ollama.rs`, `crates/openhuman-core/src/inference/local/service/ollama_admin_tests.rs`, `app/src/components/settings/panels/local-model/ModelStatusSection.test.tsx` | ✅ | Rejects Ollama models whose native context window is below the memory-layer minimum (`local_ai.model_context_check`) |
+| 3.1.5 | Model Context-Window Requirement Gate | RU | `crates/openhuman-core/src/inference/local/model_requirements.rs`, `crates/openhuman-core/src/inference/local/ollama.rs`, `crates/openhuman-core/src/inference/local/service/ollama_admin_tests.rs` | 🟡 | Rejects Ollama models whose native context window is below the memory-layer minimum (`local_ai.model_context_check`); the frontend unit test (`ModelStatusSection.test.tsx`) was removed with the local-model debug panel (#5125) and has no VU replacement |
### 3.2 Runtime Execution
@@ -184,7 +184,7 @@ Canonical mapping of every product feature to its test source(s). Drives gap-fil
| 4.2.2 | AI Response Generation | WD | `agent-review.spec.ts` | ✅ | Mock LLM |
| 4.2.3 | Streaming Responses | RI | `tests/json_rpc_e2e.rs`, `tests/agent_harness_e2e.rs` | ✅ | `tests/agent_harness_e2e.rs` adds provider-level SSE tool-arg accumulation (chunked args reassembled + parsed) and engine-level delta forwarding (#3471) |
| 4.2.4 | Parallel inference (cross-thread + within-thread forked turns) | RU+VU | `crates/openhuman-core/src/web_chat/web_tests.rs`, `app/src/store/__tests__/chatRuntimeSlice.test.ts`, `app/src/providers/__tests__/ChatRuntimeProvider.test.tsx` | 🟡 | Concurrent same-/cross-thread dispatch, cooperative `CancellationToken` teardown, and parallel-lane stream routing covered; dedicated WD E2E is a follow-up |
-| 4.2.5 | Per-thread todo list (plan strip above composer) | RU+VU+WD | `crates/openhuman-core/src/agent/tools/todo.rs`, `app/src/pages/conversations/components/ThreadTodoStrip.test.tsx`, `app/test/e2e/specs/chat-thread-todo-strip.spec.ts` | ✅ | Read-only thread-scoped todo strip fed by `task_board_updated`; agent `todo` tool guidance + thread binding; E2E drives a `todo` tool call and asserts the card renders |
+| 4.2.5 | Per-thread todo list (plan strip above composer) | RU+VU+WD | `crates/openhuman-core/src/agent/tools/todo.rs`, `app/src/features/conversations/components/ThreadTodoStrip.test.tsx`, `app/test/e2e/specs/chat-thread-todo-strip.spec.ts` | ✅ | Read-only thread-scoped todo strip fed by `task_board_updated`; agent `todo` tool guidance + thread binding; E2E drives a `todo` tool call and asserts the card renders |
| 4.2.6 | Background-activity panel (chat-header Background tasks button) | VU+WD | `app/src/features/conversations/hooks/useBackgroundActivity.test.ts`, `app/src/features/conversations/components/__tests__/BackgroundActivityRows.test.tsx`, `app/test/e2e/specs/chat-background-activity-panel.spec.ts` | ✅ | View-only panel surfacing this chat's async sub-agents + global cron jobs and memory syncing; freshness-only "Syncing now" labeling; E2E opens the panel and asserts its sections render and close |
| 4.2.7 | Plan-mode review (Approve / Reject / Send-feedback before execute) | RU+RI+VU | `crates/openhuman-core/src/agent/plan_review/gate.rs`, `crates/openhuman-core/src/agent/plan_review/tool.rs`, `crates/openhuman-core/src/agent/plan_review/schemas.rs`, `tests/json_rpc_e2e.rs`, `app/src/pages/conversations/components/PlanReviewCard.test.tsx`, `app/src/pages/__tests__/Conversations.render.test.tsx` | ✅ | Interactive turns call `request_plan_review`, which parks the LIVE turn on the in-memory `PlanReviewGate` (oneshot) until the user decides; `plan_review_request` socket event drives `PlanReviewCard`, which resolves via `openhuman.plan_review_decide` (approve resumes-and-executes / reject resumes-and-stops / revise resumes-with-feedback). RU covers gate park/resolve/timeout + tool auto-approve + parking; RI covers the decide RPC; VU covers the card + provider wiring. WD E2E (agent-driven park flow) tracked as follow-up |
@@ -565,7 +565,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 |
| ------ | -------------------------------------------- | ----- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| 13.3.1 | Model Configuration | VU+WD | `app/src/components/settings/panels/__tests__/AutocompletePanel.test.tsx`, `app/test/e2e/specs/settings-ai-skills.spec.ts` | ✅ | AI-model-switch covered |
+| 13.3.1 | Model Configuration | WD | `app/test/e2e/specs/settings-ai-skills.spec.ts` | 🟡 | AI-model-switch covered by E2E; the previously-cited `AutocompletePanel.test.tsx` unit test belonged to the now-removed autocomplete feature (#5125) and never covered model configuration |
| 13.3.2 | Skill Toggle | WD | `skill-lifecycle.spec.ts`, `app/test/e2e/specs/settings-ai-skills.spec.ts` | ✅ | |
| 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. |