Skip to content

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

docs: update stale web_chat module references

Steven Enamakel2bcb63a54446
diff --git a/app/test/playwright/specs/assistant-ui-subagent-list.spec.ts b/app/test/playwright/specs/assistant-ui-subagent-list.spec.ts
index e29ac4058f..5e7e4d83dc 100644
--- a/app/test/playwright/specs/assistant-ui-subagent-list.spec.ts
+++ b/app/test/playwright/specs/assistant-ui-subagent-list.spec.ts
@@ -57,7 +57,7 @@
*
* So streaming works. That makes this spec's failure HARDER to explain, not
* easier, and rules out the tidy "one cause, four slices" story:
- * `subagent_spawned` is published by `web_chat/progress_bridge_subagent_events.rs`
+ * `subagent_spawned` is published by `web_chat/progress_subagent.rs`
* (`on_subagent_spawned` -> `publish_seq_stamped`) — the progress bridge, the
* same publisher as the streaming that works. It does NOT share a publisher with
* `plan_review_request`, which is bridged separately by `ApprovalSurfaceSubscriber`
diff --git a/crates/openhuman-core/src/agent/README.md b/crates/openhuman-core/src/agent/README.md
index 43fae5bcd0..50ac346007 100644
--- a/crates/openhuman-core/src/agent/README.md
+++ b/crates/openhuman-core/src/agent/README.md
@@ -63,7 +63,7 @@ the bus path because they keep their own history.
### A chat turn, end to end
```text
- web_chat::run_task (or cron, flows, mcp, ...)
+ web_chat::turn_host (or cron, flows, mcp, ...)
| build or reuse OpenHumanSessionHost::from_config_for_agent(cfg, id)
v
run_single_with_origin(msg, origin) session_host/runtime/run_loop.rs
@@ -135,7 +135,7 @@ In order:
([`tinyagents/observability/event_bridge.rs`](./tinyagents/observability/event_bridge.rs)), which turns it into an
`AgentProgress` value ([`progress.rs`](./progress.rs)) on the session's `on_progress`
channel and feeds usage to `platform::cost`. Web chat forwards that
- stream to the socket in [`web_chat/progress_bridge.rs`](../web_chat/progress_bridge.rs). A `TurnJournal`
+ stream to the socket in [`web_chat/progress.rs`](../web_chat/progress.rs). A `TurnJournal`
([`tinyagents/journal.rs`](./tinyagents/journal.rs)) writes the same events to a durable JSONL
store that the replay RPCs read.
8. If the loop paused at its model-call cap without a conclusion, the driver
diff --git a/crates/openhuman-core/src/agent/orchestration/README.md b/crates/openhuman-core/src/agent/orchestration/README.md
index 775fe75879..8482fc8559 100644
--- a/crates/openhuman-core/src/agent/orchestration/README.md
+++ b/crates/openhuman-core/src/agent/orchestration/README.md
@@ -208,7 +208,7 @@ what the harness exposes to the child.
agent-team routing, and parallel map/reduce fanout.
- `core::bus::BUS`: `DomainEvent::AgentOrchestration*` /
`Subagent*` publication and subscription.
-- `web_chat::progress_bridge`: the per-turn progress-channel counterpart to
+- `web_chat::progress`: the per-turn progress-channel counterpart to
`run_ledger_finalize.rs`'s global-bus settlement.
## Used by
diff --git a/crates/openhuman-core/src/agent/orchestration/run_ledger_finalize.rs b/crates/openhuman-core/src/agent/orchestration/run_ledger_finalize.rs
index 20528bdf1a..b8e4dc773e 100644
--- a/crates/openhuman-core/src/agent/orchestration/run_ledger_finalize.rs
+++ b/crates/openhuman-core/src/agent/orchestration/run_ledger_finalize.rs
@@ -12,7 +12,7 @@
//! — the *spawning turn's* progress channel.
//!
//! The run-ledger's terminal transition used to live **only** in the per-turn
-//! [`progress_bridge`](crate::web_chat::progress_bridge),
+//! [`progress_bridge`](crate::web_chat::progress),
//! which consumes that progress channel. That works for synchronous subagents
//! (they finish inside the turn, sink still alive) but **leaks** for detached
//! `spawn_async_subagent` runs: they outlive the parent turn, so when they
diff --git a/crates/openhuman-core/src/agent/progress_tracing/README.md b/crates/openhuman-core/src/agent/progress_tracing/README.md
index 655bfc3c6a..7782e001e0 100644
--- a/crates/openhuman-core/src/agent/progress_tracing/README.md
+++ b/crates/openhuman-core/src/agent/progress_tracing/README.md
@@ -52,7 +52,7 @@ Tests live in this directory as `*_tests.rs` files, e.g.
## Called by
-- [`web_chat/progress_bridge.rs`](../../web_chat/progress_bridge.rs): the only caller. Builds a `SpanCollector`
+- [`web_chat/progress.rs`](../../web_chat/progress.rs): the only caller. Builds a `SpanCollector`
per run, feeds it `AgentProgress`, shadow-compares the live spans against
`spans_from_observations` over the run journal, then calls
`export_run_trace_from_journal` (journal available) or `export_run_trace`.
diff --git a/crates/openhuman-core/src/agent/progress_tracing/journal_projection.rs b/crates/openhuman-core/src/agent/progress_tracing/journal_projection.rs
index f17ce89e5d..31f759e192 100644
--- a/crates/openhuman-core/src/agent/progress_tracing/journal_projection.rs
+++ b/crates/openhuman-core/src/agent/progress_tracing/journal_projection.rs
@@ -4,7 +4,7 @@
//! [`AgentObservation`] journal (the crate `AgentEvent` record) and folds it
//! through the existing [`SpanCollector`], so trace spans no longer require the
//! *live* in-run `AgentProgress` side-observer
-//! (`web_chat/progress_bridge.rs`). A UI/supervisor can attach
+//! (`web_chat/progress.rs`). A UI/supervisor can attach
//! after a run, read the journal, and rebuild identical spans.
//!
//! This is deliberately built on `SpanCollector` (not a re-derivation) so span
diff --git a/crates/openhuman-core/src/agent/session_db/mod.rs b/crates/openhuman-core/src/agent/session_db/mod.rs
index 125fd01f0e..d721b85b4f 100644
--- a/crates/openhuman-core/src/agent/session_db/mod.rs
+++ b/crates/openhuman-core/src/agent/session_db/mod.rs
@@ -18,7 +18,7 @@
//! controllers were removed in #6082: they queried a session index that nothing
//! in `src/` ever writes (permanently empty in production, no frontend
//! consumer). The run ledger below is written from
-//! [`crate::web_chat::progress_bridge`] and
+//! [`crate::web_chat::progress`] and
//! [`crate::agent::progress_tracing`], so it stays fully functional.
mod schemas;
diff --git a/crates/openhuman-core/src/agent/session_host/turn_backstop.rs b/crates/openhuman-core/src/agent/session_host/turn_backstop.rs
index 6a2dccd2ec..01d84eecf7 100644
--- a/crates/openhuman-core/src/agent/session_host/turn_backstop.rs
+++ b/crates/openhuman-core/src/agent/session_host/turn_backstop.rs
@@ -2,7 +2,7 @@
//! override. The deadline itself (`close_budget`
//! included) is `tinyagents_harness::turn_deadline::TurnDeadline`.
//!
-//! A web-chat turn runs under an outer backstop (`web_chat::ops::turn_guards`)
+//! A web-chat turn runs under an outer backstop (`web_chat::turn_events`)
//! that drops the turn future when it elapses. Dropping it discards
//! everything the turn did. Production showed ~55 orchestrator turns a week
//! dying this way at exactly 900s, after 50–98 model calls, with nothing
diff --git a/crates/openhuman-core/src/agent/tinyagents/host/progress_sink.rs b/crates/openhuman-core/src/agent/tinyagents/host/progress_sink.rs
index de94f7e718..aad4ae9ed1 100644
--- a/crates/openhuman-core/src/agent/tinyagents/host/progress_sink.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/host/progress_sink.rs
@@ -20,7 +20,7 @@
//! The obvious-looking shortcut — build a `WebChannelEvent` and publish it
//! straight onto the web-channel bus — is wrong here. Everything that makes a
//! web-channel progress event correct is owned by
-//! [`crate::web_chat::progress_bridge::spawn_progress_bridge`]: the
+//! [`crate::web_chat::progress::spawn_progress_bridge`]: the
//! per-request monotonic `seq` stamp the frontend dedups on, the
//! `TurnStateMirror` snapshot, the run-ledger upserts, the tracing span
//! collector, and the client/thread/request routing ids that a `ProgressEvent`
@@ -157,7 +157,7 @@ struct OpenToolCall {
///
/// Construct one per turn with the same sender that would otherwise be handed
/// to `OpenHumanSessionHost::set_on_progress`, so the existing
-/// `web_chat::progress_bridge` consumer sees an identical event stream
+/// `web_chat::progress` consumer sees an identical event stream
/// regardless of which runtime produced it.
///
/// Cheap to clone-by-`Arc`: the crate's blanket
@@ -582,7 +582,7 @@ impl ProgressSink for OpenHumanProgressSink {
// TODO(phase4): if the runtime ever becomes the only producer
// of turn outcomes, this needs a real host-side failure event
// (a new `AgentProgress` variant plus a `chat_error` mapping in
- // `web_chat::progress_bridge`), not a repurposed one.
+ // `web_chat::progress`), not a repurposed one.
}
}
}
diff --git a/crates/openhuman-core/src/core/all_removed_tests.rs b/crates/openhuman-core/src/core/all_removed_tests.rs
index 45aa1e1114..5337160eac 100644
--- a/crates/openhuman-core/src/core/all_removed_tests.rs
+++ b/crates/openhuman-core/src/core/all_removed_tests.rs
@@ -32,7 +32,7 @@ fn memory_diff_controllers_are_gone_and_memory_survives() {
/// queried a session index that nothing in `src/` ever writes (permanently
/// empty in production, no frontend consumer). The three `run_ledger`
/// controllers live in the same module and read a table that *is* written
-/// (from `web_chat::progress_bridge` and `agent::progress_tracing`), so they
+/// (from `web_chat::progress` and `agent::progress_tracing`), so they
/// must stay fully registered.
///
/// `run_ledger` is asserted present in the same test on purpose: the removal
diff --git a/crates/openhuman-core/src/core/observability.rs b/crates/openhuman-core/src/core/observability.rs
index f3c80287ec..091da0b556 100644
--- a/crates/openhuman-core/src/core/observability.rs
+++ b/crates/openhuman-core/src/core/observability.rs
@@ -269,7 +269,7 @@ pub enum ExpectedErrorKind {
/// (`api_error`) already demotes its own per-attempt event; this catches
/// the **re-report** when the same flattened error is raised again under
/// `domain=web_channel` / `agent` (the path
- /// `web_chat::run_chat_task` →
+ /// `web_chat turn run (`turn_host`)` →
/// `report_error_or_expected`). The FE surfaces actionable copy via
/// `classify_inference_error`; Sentry must not double-report (F2/F4).
///
@@ -906,7 +906,7 @@ fn is_embedding_model_rejected(lower: &str) -> bool {
/// - `"OpenHuman API error (401 Unauthorized): {…\"Session expired. Please
/// log in again.\"…}"` — emitted by `providers::ops::api_error` from the
/// OpenHuman backend and re-raised through `agent::run_single` /
-/// `web_chat::run_chat_task` (OPENHUMAN-TAURI-26). The
+/// `web_chat turn run (`turn_host`)` (OPENHUMAN-TAURI-26). The
/// `"session expired"` substring anchors the match to the OpenHuman
/// backend's session-renewal body, not the bare numeric status.
/// - `"OpenHuman API error (401 Unauthorized): {…\"error\":\"Invalid token\"…}"`
@@ -1832,7 +1832,7 @@ fn is_filesystem_user_path_invalid_message(lower: &str) -> bool {
/// `text_chars=0 thinking_chars=0 tool_calls=0`.
///
/// This catches the **web-channel re-report** (Sentry TAURI-RUST-4Z1):
-/// `web_chat::run_chat_task` wraps the failure as
+/// `web_chat turn run (`turn_host`)` wraps the failure as
/// `"run_chat_task failed client_id=… error=The model returned an empty
/// response. Please try again."` and routes it through
/// `report_error_or_expected` after the typed
@@ -2675,7 +2675,7 @@ fn all_provider_attempts_are_transient(message: &str) -> bool {
/// Defense-in-depth filter for the Sentry `before_send` hook: the primary
/// suppression lives at the call sites in `agent::session_host::
/// runtime::run_single`, `channels::runtime::dispatch`, and
-/// `web_chat::run_chat_task`, all of which now skip
+/// `web_chat turn run (`turn_host`)`, all of which now skip
/// `report_error` when this variant is detected. This filter catches any
/// future call site that re-emits the message without going through those
/// funnels — e.g. a new wrapper that calls `tracing::error!` directly with
diff --git a/crates/openhuman-core/src/profiles/README.md b/crates/openhuman-core/src/profiles/README.md
index 622619480f..4a1b4fb786 100644
--- a/crates/openhuman-core/src/profiles/README.md
+++ b/crates/openhuman-core/src/profiles/README.md
@@ -491,7 +491,7 @@ minutes and another node may then run the interrupted occurrence again.
## One turn at a time per profile
-Chat turns (`web_chat::run_chat_task`), relayed-message turns
+Chat turns (`web_chat turn run (`turn_host`)`), relayed-message turns
(`run_relay_turn`) and the cron sweep's runs of one profile take that
profile's gate ([`turn_gate`](turn_gate.rs)) for the whole turn, so they
queue instead of overlapping. A due cron occurrence waits behind an in-flight
diff --git a/crates/openhuman-core/src/threads/README.md b/crates/openhuman-core/src/threads/README.md
index b2a43f5d86..d05e76841d 100644
--- a/crates/openhuman-core/src/threads/README.md
+++ b/crates/openhuman-core/src/threads/README.md
@@ -126,12 +126,12 @@ existing directory with no null byte and refuses anything
`SecurityPolicy::is_always_forbidden` covers. After the first message the
folder is fixed: a resumed session keeps its first system prompt and tool list
verbatim, so moving it would leave the model describing one directory while
-its tools act in another. `web_chat::run_task` reads the binding through
+its tools act in another. `web_chat::turn_host` reads the binding through
`ops::thread_working_dir`.
### Turn-state snapshots
-`web_chat::progress_bridge` drives a `tinyagents_session::turn_state::TurnStateMirror`
+`web_chat::progress` drives a `tinyagents_session::turn_state::TurnStateMirror`
for each web turn. `turn_state::mirror::ObserveProgress` (`mirror/observe.rs`)
is the host projection: it turns each `agent::progress::AgentProgress` event
into a `TurnState` mutation. Streaming deltas only update memory; the mirror
@@ -191,7 +191,7 @@ label from threads and renames `welcome*` session transcripts to
- `ConversationThreadSummary`, `ConversationMessageRecord` ([`rpc_models.rs`](./rpc_models.rs)): their wire forms.
- `ThreadsError` ([`error.rs`](./error.rs)): the error type for handlers that can report a missing thread.
- `ops::token_usage` ([`ops/usage.rs`](./ops/usage.rs)): also called by `agent/context_breakdown.rs`.
-- `ObserveProgress` ([`turn_state/mirror/observe.rs`](./turn_state/mirror/observe.rs)): the trait `web_chat::progress_bridge` uses to feed the mirror.
+- `ObserveProgress` ([`turn_state/mirror/observe.rs`](./turn_state/mirror/observe.rs)): the trait `web_chat::progress` uses to feed the mirror.
## RPC surface
diff --git a/crates/openhuman-core/src/threads/store/blocking.rs b/crates/openhuman-core/src/threads/store/blocking.rs
index 98fefac2f7..74e1cbb415 100644
--- a/crates/openhuman-core/src/threads/store/blocking.rs
+++ b/crates/openhuman-core/src/threads/store/blocking.rs
@@ -15,7 +15,7 @@
//! `conversations` module, and the import below is the only line that changed for it. The item set is
//! the same one the engine exported, so function signatures, argument order,
//! error strings and the `[conversations]` log prefix stay byte-identical —
-//! `web_chat::run_task` and the RPC layer read them.
+//! `web_chat::turn_host` and the RPC layer read them.
//!
//! Every store entry point is synchronous and does fsync'd JSONL file IO. The
//! store now coordinates lifecycle per conversation root, shared metadata per
diff --git a/crates/openhuman-core/src/threads/turn_state/mod.rs b/crates/openhuman-core/src/threads/turn_state/mod.rs
index 9c515688b8..24fa8f9811 100644
--- a/crates/openhuman-core/src/threads/turn_state/mod.rs
+++ b/crates/openhuman-core/src/threads/turn_state/mod.rs
@@ -14,7 +14,7 @@
//!
//! [`types`] holds the wire/storage shapes; they are camelCase to mirror
//! `app/src/store/chatRuntimeSlice.ts`. `TurnStateMirror` is driven by the
-//! web-channel progress bridge (`web_chat::progress_bridge`), and snapshots
+//! web-channel progress bridge (`web_chat::progress`), and snapshots
//! are read back through the `threads` RPC surface (`turn_state_get` /
//! `turn_state_list` / `turn_state_history` / `turn_state_get_turn` /
//! `turn_state_clear`). See `../README.md` for the full `threads` module
diff --git a/crates/openhuman-core/src/voice/README.md b/crates/openhuman-core/src/voice/README.md
index 253a4c6712..08161b368e 100644
--- a/crates/openhuman-core/src/voice/README.md
+++ b/crates/openhuman-core/src/voice/README.md
@@ -353,7 +353,7 @@ count, rolling recent-transcript buffer) behind a `OnceCell` singleton.
`voice_providers.rs`); migrations live in `config/migrations/`.
Callers outside this folder include `core/all.rs` (controller and CLI
-registration), `web_chat/run_task.rs` (reply speech, PTT events),
+registration), `web_chat/turn_host.rs` (reply speech, PTT events),
`channels/host/adapters.rs` (channel STT and reply synthesis),
`security/credentials/ops/gated_services.rs` (starts and stops the dictation
server, listener and always-on mode when gating credentials change),
diff --git a/docs/TEST-COVERAGE-MATRIX.md b/docs/TEST-COVERAGE-MATRIX.md
index f337ff7305..bee0b67a97 100644
--- a/docs/TEST-COVERAGE-MATRIX.md
+++ b/docs/TEST-COVERAGE-MATRIX.md
@@ -196,7 +196,7 @@ Local inference runs against a runtime the user installs, starts, and pulls mode
| 4.2.10 | Durable agent reply (core stores it before announcing `chat_done`) | RU+VU | `crates/openhuman-core/src/web_chat/reply_persistence_tests.rs`, `crates/openhuman-core/src/web_chat/presentation_tests.rs`, `app/src/providers/__tests__/ChatRuntimeProvider.test.tsx` | ✅ | `deliver_response` persists an unsegmented reply under `agent:<request_id>` before publishing the terminal event, so a dropped socket, a failed `threads_message_append` or a reloaded webview costs a repaint rather than the answer; the client's append collapses onto that row by id. RU covers the write, its idempotency, the empty-reply and missing-thread paths, and that delivery still announces when the store refuses. VU covers the mirrored id, the segmented exception, the refetch that recovers a failed append, and the reconnect that rejoins orphaned thread rooms. WD E2E (kill the append mid-turn) is a follow-up |
| 4.2.11 | Links open in the default browser; the main webview never loads a remote page | RU+VU+MS | `crates/openhuman-app/src/external_navigation_tests.rs`, `app/src/utils/openUrl.test.ts`, `app/src/utils/externalLinkGuard.test.ts`, `app/src/components/Announcement/AnnouncementModal.test.tsx`, release-manual-smoke | 🟡 | RU covers the shell's navigation policy: remote http(s) navigation of `main` is cancelled and handed to the OS opener; `tauri://localhost`, `tauri.localhost`, `about:`/`data:`/`blob:` and the `tauri dev` server stay in the webview; other webviews are untouched. VU covers `openUrl` never falling back to `window.open` in the desktop shell (including the IPC bridge bootstrap gap) and the click guard. Real macOS click verified manually; automated desktop E2E is a follow-up (the WDIO desktop runner still assumes CEF) |
| 4.2.12 | Live stream renders like the reopened thread (parity, append-only, atomic settle) | VU+WD | `app/src/providers/__tests__/liveHistoryParity.test.tsx`, `app/src/store/__tests__/chatRuntimeSlice.liveParity.test.ts`, `app/src/features/conversations/derived/mapDisplayItems.test.ts`, `app/src/services/chatDeltaCoalescer.test.ts`, `app/src/features/conversations/components/AssistantUiToolCall.disclosure.test.tsx`, `app/src/components/assistant-ui/elements/reasoning-panel.test.tsx`, `app/src/components/assistant-ui/thread.followBottom.test.tsx`, `chat-live-history-parity.spec.ts` | ✅ | One scripted turn (`app/src/test/fixtures/streamedTurn.ts`) is told as socket events and as the core transcript. VU drives it through the real socket handlers: the settled reply equals the reload projection, the tail is append-only while it streams, and `chat_done` swaps tail for reply in one store update at one index. Also covered: in-place sub-agent promotion on both sides, args-delta row adoption, a superseded settle, frame-coalesced deltas, disclosure state across remounts, and following that survives a collapse. WD samples the real DOM while streaming, checks the viewport still follows, and compares with the reopened thread |
-| 4.2.13 | Final-reply remix with region slang and memes (TinyMemes, `OPENHUMAN_TINYMEMES` off/on/ab) | RU+VU | `crates/openhuman-core/src/tinymemes/arm_tests.rs`, `crates/openhuman-core/src/tinymemes/mod_tests.rs`, `crates/openhuman-core/src/tinymemes/callbacks_tests.rs`, `crates/openhuman-core/src/tinymemes/history_tests.rs`, `crates/openhuman-core/src/tinymemes/docs_tests.rs`, `crates/openhuman-core/src/tinymemes/service_tests.rs`, `crates/openhuman-core/src/tinymemes/e2e_tests.rs`, `crates/openhuman-core/src/tinymemes/inference_tests.rs`, `crates/openhuman-core/src/web_chat/progress_bridge_tests.rs::hold_text_stream_suppresses_text_delta_but_keeps_interim`, `app/src/components/markdown/MarkdownImage.test.tsx` | 🟡 | Off by default. RU covers the flag (runtime value over the build-time default), stable per-thread A/B buckets, delivered-history conversion with message ids (the module tags remixed turns from its own ring), the one-shot adoption of the legacy `remixed.json`/index files into storage, host-callback authentication (module peer only, live correlation id only) and per-workspace concurrency, OpenRouter reasoning-off routing, and that treatment threads hold `text_delta` while interim narration still flushes. VU covers capped, lazy, no-referrer meme images. The engine itself (Jev reading, rating, rewrite, meme and slang vetting) runs in the `tinymemes` module and is tested in `tinyhumansai/tinymemes`; the host side is covered with a scripted remixer and the served Complete/Evaluate/Search/LoadIndex/SaveIndex/Deliver/End callbacks; `e2e_tests.rs` drives the real compiled module (runs where a module library is staged). WD E2E of a remixed turn is a follow-up |
+| 4.2.13 | Final-reply remix with region slang and memes (TinyMemes, `OPENHUMAN_TINYMEMES` off/on/ab) | RU+VU | `crates/openhuman-core/src/tinymemes/arm_tests.rs`, `crates/openhuman-core/src/tinymemes/mod_tests.rs`, `crates/openhuman-core/src/tinymemes/callbacks_tests.rs`, `crates/openhuman-core/src/tinymemes/history_tests.rs`, `crates/openhuman-core/src/tinymemes/docs_tests.rs`, `crates/openhuman-core/src/tinymemes/service_tests.rs`, `crates/openhuman-core/src/tinymemes/e2e_tests.rs`, `crates/openhuman-core/src/tinymemes/inference_tests.rs`, `crates/openhuman-core/src/web_chat/progress_tests.rs::hold_text_stream_suppresses_text_delta_but_keeps_interim`, `app/src/components/markdown/MarkdownImage.test.tsx` | 🟡 | Off by default. RU covers the flag (runtime value over the build-time default), stable per-thread A/B buckets, delivered-history conversion with message ids (the module tags remixed turns from its own ring), the one-shot adoption of the legacy `remixed.json`/index files into storage, host-callback authentication (module peer only, live correlation id only) and per-workspace concurrency, OpenRouter reasoning-off routing, and that treatment threads hold `text_delta` while interim narration still flushes. VU covers capped, lazy, no-referrer meme images. The engine itself (Jev reading, rating, rewrite, meme and slang vetting) runs in the `tinymemes` module and is tested in `tinyhumansai/tinymemes`; the host side is covered with a scripted remixer and the served Complete/Evaluate/Search/LoadIndex/SaveIndex/Deliver/End callbacks; `e2e_tests.rs` drives the real compiled module (runs where a module library is staged). WD E2E of a remixed turn is a follow-up |
| 4.2.14 | Tool UI widgets in chat (MCP Apps `ui://` and Apps SDK templates) | RU+VU | `crates/openhuman-core/src/mcp/ui/resolve_tests.rs`, `crates/openhuman-core/src/mcp/ui/ops_tests.rs`, `crates/openhuman-core/src/mcp/ui/decorate_tests.rs`, `crates/openhuman-core/src/mcp/ui/tools_tests.rs`, `crates/openhuman-app/src/widget_scheme_tests.rs`, `app/src/features/conversations/tools/mcpUi/mcpAppBridge.test.ts`, `app/src/features/conversations/tools/mcpUi/McpAppFrame.test.tsx`, `app/src/components/assistant-ui/thread.mcpWidgets.test.tsx` | 🟡 | RU covers template resolution, resource reads, widget tool-call policy, result decoration and the `ohwidget://` proxy scheme. VU covers the bridge, the sandboxed frame, link and QR fallback, and widget placement in the assistant turn. The live widget round-trip against a real MCP server is manual smoke only |
### 4.3 Tool Invocation
diff --git a/docs/dep-audit/2026-10-11-legacy-candidates.md b/docs/dep-audit/2026-10-11-legacy-candidates.md
index 306491822b..46727a1105 100644
--- a/docs/dep-audit/2026-10-11-legacy-candidates.md
+++ b/docs/dep-audit/2026-10-11-legacy-candidates.md
@@ -16,7 +16,7 @@ This record selects the defaults for six follow-ups. It changes no runtime behav
## TinyMemes: keep and move to its owner
-[The host adapter](../../crates/openhuman-core/src/tinymemes/mod.rs) runs on the final web-chat reply, leaves the harness transcript original, and falls back to the original reply on failure or timeout. [The web-chat caller](../../crates/openhuman-core/src/web_chat/run_task.rs) holds treatment-arm streaming and invokes the remix after the turn. This is an implemented capability, despite having no dedicated frontend controller.
+[The host adapter](../../crates/openhuman-core/src/tinymemes/mod.rs) runs on the final web-chat reply, leaves the harness transcript original, and falls back to the original reply on failure or timeout. [The web-chat caller](../../crates/openhuman-core/src/web_chat/turn_host.rs) holds treatment-arm streaming and invokes the remix after the turn. This is an implemented capability, despite having no dedicated frontend controller.
[The experiment selector](../../crates/openhuman-core/src/tinymemes/arm.rs) reads `OPENHUMAN_TINYMEMES`, supports stable per-thread A/B assignment, and falls back to `OPENHUMAN_TINYMEMES_DEFAULT` if supplied during compilation; neither flag means off. [Core defaults](../../crates/openhuman-core/Cargo.toml), [the product feature list](../../scripts/ci/product-features.txt), and [the shell manifest](../../crates/openhuman-app/Cargo.toml) still compile it.
diff --git a/tests/composio_list_tools_stack_overflow_regression.rs b/tests/composio_list_tools_stack_overflow_regression.rs
index 6498f9bed0..7a1332f174 100644
--- a/tests/composio_list_tools_stack_overflow_regression.rs
+++ b/tests/composio_list_tools_stack_overflow_regression.rs
@@ -25,7 +25,7 @@
//! ← subagent_runner::run_inner_loop / run_typed_mode / run_subagent
//! ← SkillDelegationTool::execute (delegate_to_integrations_agent, since removed)
//! ← Agent::execute_tool_call / execute_tools / turn
-//! ← web_chat::run_chat_task
+//! ← web_chat turn run (`turn_host`)
//! ```
//!
//! The crash trigger is `composio_list_tools` reloading the config from