Skip to content

feat(omni): S5 multimodal media memory — two-trigger collection, root-bounded recall, active/sideQuery surfaces - #8949

Merged
LaZzyMan merged 32 commits into
omni-experimentfrom
omni/s5-memory
Aug 13, 2026
Merged

feat(omni): S5 multimodal media memory — two-trigger collection, root-bounded recall, active/sideQuery surfaces#8949
LaZzyMan merged 32 commits into
omni-experimentfrom
omni/s5-memory

Conversation

@LaZzyMan

Copy link
Copy Markdown
Collaborator

What this PR does

Implements the S5 memory slice of the omni experiment — S5a (minimal cross-session recall) and S5b (full graph: atomic policy registration, lineage, reuse, sideQuery) — as one persistent multimodal memory: collect at exactly two trigger points, recall through one root-bounded service with two mutually-exclusive surfaces.

Collection side (Stage A)

  • Store + schema (services/media-memory/): single-JSON v1 backend (.qwen/omni/memory.json, temp+rename atomic writes, schemaVersion: 1) holding MediaFileRecord / MediaFileVersionRecord / MediaPolicyExecutionRecord / normalized policy outputs, with HAS_VERSION / DERIVED_FROM / PRODUCED_BY expressed as record references bounded by rootFileId.
  • Exactly two write triggers (design M §4/§6): FileRecognizedprocessMediaForOmniDelivery (and the reactive-degrade ladder) records the source identity (localPath + sha256, user originals never copied into objects/) idempotently; OmniPolicySucceeded — the orchestrator's success point commits execution + derived versions + text outputs in one all-or-nothing transaction, AFTER objects/ promotion (S §5 ordering invariant: no record may reference a missing object). Failure/quarantine/abort paths commit nothing. Collection failures never block delivery (D12).
  • Content-identity reuse (M §11): executionId = sha256(sourceSha | policyFingerprint) — degradation-cache hits and replays converge onto the same execution node; the graph does not grow on re-delivery.
  • Version isolation (D9): same content hash re-recognized under the same locator is idempotent; a new hash creates an immutable new FileVersion and moves CURRENT_VERSION.

Recall side (Stage B)

  • One recall service (recall.ts): request/result protocol per M §9 — current-version-first (§9.5, stale bound versions surface as an explicit current: false history hint), root-bounded traversal (§8), honest gaps (not_processed / partial_coverage / artifact_unavailable, D5: deleted user file degrades to a gap, never an error), whole-request rejection for unknown/fabricated handles (§9.2), and advisor-produced nextPolicyActions limited to tools that are registered AND modelAccess-enabled.
  • Session resource registry (M §5.2): persistent fileVersionId ↔ opaque session resourceId binder hung off Config; every delivery mounts the source (and derivatives) and the delivery consumers lead the part group with a 【媒体资源】displayName:resourceId annotation — the handle is the ONLY identity the model ever sees. Recall results rebind returned derivatives to fresh session handles.
  • Active mode (omni_recall_media_memory): registered only when omni.memory.recall.mode === "active". Read-only (D11); maxFilesPerCall enforced; rejections map to retryable invalid_tool_params.
  • sideQuery mode: a bounded selector (runSideQuery JSON face) reads a candidate manifest (maxCandidateEntries cap, summaries only — no raw media/full text/paths), returns entryIds only; unknown/cross-root/over-maxSelectedEntries selections reject wholesale; timeout or selector failure degrades to an empty recall with a recorded reason. The materialized result is injected as a system reminder strictly BEFORE the main request (client.ts UserQuery/Cron turns). The two modes are mutually exclusive (D10) — active never runs the selector, sideQuery never registers the tool.
  • Evidence-gathering path (M §5.2): gated model/client calls of media-policy tools accept resourceId in place of inputPath, resolved at the single call gate (evaluateMediaPolicyToolCall, shared by CoreToolScheduler and ACP) before the lockedArguments check; input io errors report only the file's basename so a handle-resolved call cannot leak the locator it stands in for.
  • Config: omni.memory.collection/recall settings node, normalized once at startup (getOmniMemoryConfig()), startup-fatal on invalid budgets/mode, cross-field ordering maxSelectedEntries ≤ maxEntries ≤ maxCandidateEntries enforced.

Design mapping: docs/design/2026-07-29-omni-multimodal-memory.md (M) + docs/design/2026-07-30-omni-managed-media-storage.md (S §4–§6/§8).

Why it's needed

Closes #8188
Closes #8189

After S4, every policy execution's knowledge dies with the turn: re-referencing the same movie re-pays recognition, keyframe extraction, and a full ASR pass; the model has no way to ask "what do we already know about this file?". S5 makes processing knowledge persistent and addressable — a transcript produced last week answers today's question in one tool call (or one passive injection), across sessions, without ever exposing a real path to the model.

Reviewer Test Plan

How to verify

Unit suites (all green):

cd packages/core
npx vitest run src/services/media-memory/   # 72 tests, 5 files
npx vitest run src/omni/                    # 803 tests, 34 files
npx vitest run src/config src/core/client.test.ts

E2E acceptance ran against the real DashScope API with qwen3.5-omni-plus (npm run build && npm run bundle, node dist/cli.js), five cases:

# Scenario Result
E1 Cross-session active recall (8s clip, pre-populated store) PASS — model calls the tool with the delivered handle; partial: 10 entries (transcript + 4 keyframes with per-frame disclosures + wav + metadata + 3 executions); derivatives rebound to fresh session handles; zero path leakage in every model-visible payload; store unchanged
E2 Evidence gathering via handle PASS — recall → nextPolicyActions suggestion → model calls omni_extract_keyframes with resourceId (no path) → gate resolves → 8 real frames on disk
E3 Fabricated handle PASS — whole-request rejection (not issued in this session, invalid_tool_params)
E4 sideQuery mode, two sessions PASS — recall tool NOT registered (D10); selector request precedes the main request; 【媒体记忆】 reminder injected with the unified protocol JSON; session 2 answers transcript/keyframe questions from injected memory without reprocessing
E5 986MB movie closed loop PASS — session 1 collects 28 transcription segments (0:00–1:21:22, ~16.6k chars) + 16 keyframes (54 files / 39 executions); strong test: fixed policies off + 100MB transport guard → source explicitly omitted, zero media delivered, model answers the opening dialogue lines verbatim from hit: 12 entries, 0 gaps recall alone

Spot-checks worth doing in review:

  1. Two triggers only: grep write callers — recordFileRecognized / commitPolicySucceeded are called exclusively from the omni pipeline; the tool surface is read-only.
  2. Atomicity: kill mid-commit → memory.json is either the old or the new snapshot (temp+rename), never a half-written one; a quarantined invocation leaves zero records.
  3. Identity: deliver the same file twice → no new nodes; edit the file → new version, old derivatives no longer recalled by default (explicit includeHistoricalVersions opt-in).
  4. Mutual exclusion: flip omni.memory.recall.mode → tool registration and selector behavior swap; both never active at once.
  5. Path privacy: recall payloads, candidate manifests, and handle-resolved error messages never contain an absolute path.

Tested on

OS Status
🍏 macOS
🪟 Windows ⚠️
🐧 Linux ⚠️

Environment (optional)

Local vitest + tsc; E2E against DashScope with qwen3.5-omni-plus (real uploads, real ASR, real 986MB movie).

Risk & Scope

  • Main risk or tradeoff: memory collection adds one upfront content hash per delivery (R3: paid once and threaded through, upload's lazy hash never re-pays it) and a JSON store write per trigger; the whole store is memory-resident v1 — capacity governance is deferred to S6 GC by design (records are shaped for mark-and-sweep). sideQuery mode adds one bounded selector round-trip (timeoutMs-capped) before media-bearing requests.
  • Not validated / out of scope: GC/retention for memory.json + orphaned objects (S6); historical oss URL rewriting; sideQuery candidate pre-ranking token budgets (M §18 open item — conservative truncation for now); persistent schema migration (v1 writes schemaVersion: 1).
  • Breaking changes / migration notes: none — new omni.memory settings node with full defaults; memory is inert unless omni is enabled.

…-success points

Add the media-memory service (packages/core/src/services/media-memory):
a persistent, file-scoped lineage graph over .qwen/omni/memory.json that
records recognized files/versions and policy executions with their
derived media and text outputs.

Collection side (Stage A of the multimodal memory design):

- store.ts: single-JSON v1 backend with atomic writes, corrupt-document
  backup/rebuild, and read/transact serialization shared with the omni
  JSON cache chain.
- service.ts: recordFileRecognized (idempotent file+version upsert,
  CURRENT_VERSION follows disk both ways) and commitPolicySucceeded
  (one atomic commit per succeeded policy execution: execution record,
  derived versions with DERIVED_FROM/PRODUCED_BY lineage, and
  derived_media/policy_result entries with conservative channel and
  coverage derivations). executionId is a content-identity key
  (source sha256 + policy fingerprint), so replays and degradation-cache
  hits converge on the same execution node. findBindingBySha256 gives
  the reactive ladder a read-only identity lookup.
- config.ts: omni.memory normalization with fail-fast validation
  (unknown keys, budgets, kinds, cross-field ordering).

Wire both trigger points: processMediaForOmniDelivery records the
source file after recognition (hashing the source upfront and threading
sha256 through the policy pipeline), and executePolicy commits after
object promotion on both the success and degradation-cache-hit paths.
Persistence failures are logged and never block delivery; a policy
commit itself stays all-or-nothing.
omni_extract_keyframes and omni_clip_video emitted artifacts without
metadata.omniRole, so role consumers could not tell an excerpt from a
complete derivative: output routing selectors (role:keyframe /
role:clip) never matched, and media-memory coverage derivation fell
through to 'complete' for sampled keyframes and temporal clips.
Label them 'keyframe' and 'clip', matching the transcript labeling
convention.
Stage B read side of multimodal media memory (design M §9):

- MediaResourceRegistry: session-scoped opaque handle binder
  (fileVersionId <-> resourceId, M §5.2) so recall payloads never
  carry real paths or stable identifiers.
- MediaMemoryRecallService: current-version-first recall (§9.5) over
  the rootFileId-bounded derivation graph (§8), returning the minimal
  protocol shape (§9.4) with synthesized metadata/execution entries,
  honest gaps (not_processed / partial_coverage / artifact_unavailable,
  D5), and advisor-driven nextPolicyActions. Unknown or empty resource
  requests reject as a whole (§9.2); an unreadable store degrades to
  a plain miss.
Hang a lazy MediaResourceRegistry off Config and bind every
memory-known resource the delivery pipeline puts in front of the
model — the source at recognition, each preprocessing deliverable,
and the transport-guard replacement — so recall can rebind opaque
session handles back to persistent memory identities without ever
exposing a path.
…le disclosure

Stage B recall surface #1 (memory design M §9, D10 mutual exclusion):

- omni_recall_media_memory tool, registered only when omni is enabled AND
  omni.memory.recall.mode === 'active'. Read-only (D11): consults the
  persistent store through MediaMemoryRecallService and binds session
  handles for returned derived artifacts; whole-request rejection maps to
  invalid_tool_params so the model can correct and retry.
- Session resource handles are now disclosed to the model: delivery
  carries the SOURCE binding's resourceId, and both consumers (file reads
  and the tool-result funnel) lead the part group with a 【媒体资源】
  annotation — the handle stands in for the path the model never sees
  (M §5.2), while disclosures keep their D8 adjacency to the media part.
- Advisor wiring: recall gaps suggest nextPolicyActions only for tools
  that are both registered and opened via modelAccess.enabled — recall
  never steers the model into calls the media-policy gate would reject.
- omni.memory normalization moved to first use (ensureOmniMemoryConfig):
  createToolRegistry needs recall.mode before initialize()'s omni block
  runs; invalid settings stay startup-fatal on both paths.
…gate

Stage B evidence-gathering path (memory design M §5.2): a gated
model/client call of a media-policy tool may now name its source by the
opaque session resourceId announced at delivery or returned by recall,
instead of a filesystem path the model must never see.

- evaluateMediaPolicyToolCall resolves the handle through the session
  registry BEFORE the lockedArguments check (a resolved inputPath cannot
  sidestep an operator-pinned input); unknown/fabricated handles and
  inputPath+resourceId together reject as invalid_params; fixed_policy
  origins remain untouched (RESERVED_ARGUMENT_KEYS already bans the key
  in policy arguments).
- Shared io schema advertises resourceId as the alternative to
  inputPath; required drops inputPath (presence is enforced in
  validateMediaPolicyIoParams AFTER gate resolution, with an actionable
  either-or message).
- assertMediaPolicyIo input errors now name only the file's basename:
  those messages reach the model, and a handle-resolved call must not
  leak the locator the handle stands in for — basename matches the
  displayName the model already saw at delivery (D5: a deleted source
  errors without disclosing its path).
…uest

Stage B recall surface #2 (memory design M §9.3, D10 sideQuery mode):

- MediaMemoryRecallService grows the two sideQuery faces on the same
  root-bounded walk recall() uses: candidateSummaries() builds the
  bounded selector manifest (structure + capped preview, never raw
  media/full text/paths; maxCandidateEntries cap, deterministic order),
  and recallSelection() materializes a selection through the unified
  protocol — an unknown/over-budget entryId rejects the WHOLE selection
  (invalid_selection), never a partial fulfilment.
- runOmniMemorySideQuery orchestrates one passive pass: handles are
  parsed from the 【媒体资源】 annotations the request itself carries
  (never a project-wide scan), the selector runs on the runSideQuery
  JSON face (entryIds only, validate enforces manifest membership and
  maxSelectedEntries), and every failure — timeout, selector error,
  rejected selection — degrades to an empty recall with a recorded
  reason while the main request proceeds.
- client.ts injects the materialized recall as a system reminder on
  UserQuery/Cron turns strictly BEFORE the main request is sent (M
  §9.3: never retrofitted into a later turn); latency is bounded by
  sideQuery.timeoutMs.
- disclosure.ts gains parseResourceHandleText, keying on the
  harness-minted handle grammar so displayNames containing the
  separator cannot confuse extraction.
@qwen-code-ci-bot

qwen-code-ci-bot commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

Qwen Triage finishedview run. See the stage comments in this thread for the result.

Qwen Triage 已完成 —— 查看运行。结果见本线程中的各阶段评论。

@qwen-code-ci-bot

Copy link
Copy Markdown
Collaborator

Thanks for the PR!

Template looks good ✓ (all sections are present in substance — the Closes #8188 / Closes #8189 keywords live under "Why it's needed" instead of a separate "Linked Issues" heading, and the E2E tables stand in for "Evidence (Before & After)"; both are fine, noted only for formality).

Problem: this is a planned experiment milestone, not a hypothetical — it closes #8188 (S5a minimal recall) and #8189 (S5b full graph), both filed and labeled omni-experiment, with the design committed earlier via #8110. The motivating cost is concrete: after S4 every policy execution dies with the turn, so re-referencing the same media re-pays recognition, keyframe extraction and a full ASR pass. The PR's own E5 case quantifies the win (986MB movie answered from recall alone, zero reprocessing).

Direction: aligned. This is the S5 slice of the omni experiment track — S1–S4 (#8422, #8512, #8632, #8815) already landed on this same omni-experiment branch, which the PR correctly targets instead of main. Claude Code's CHANGELOG has no comparable feature, but that's expected for an internal experiment branch, not a signal against.

Size: 6,052 changed lines in 45 files — 3,815 production / 2,123 test / 114 generated (IDE settings schema). Author is a maintainer, so the two-tier core gate is exempt per AGENTS.md; for awareness only: production volume is well past the 1000-line advisory. The S5a+S5b coupling is justified in the description — collection triggers, store, recall service, and registry form one dependency closure, and the two surfaces are mutually exclusive by design (D10), so a split would have landed two near-identical mega-diffs.

Approach: the scope coheres — exactly two write triggers on existing pipeline events, one recall service with two mutually-exclusive surfaces, and opaque session handles as the only model-visible identity. Existing-file edits are wiring only (config node, tool names, orchestrator commit point, client.ts injection point, schema regen); I see no drive-by refactors or unrelated churn. The questions worth pressure-testing are at the seams: the client.ts pre-request injection ordering and the orchestrator's all-or-nothing commit — both get close attention in code review.

Risk: no elevated risk signals — no match against the revert-correlated high-risk paths.

Moving on to code review. 🔍

中文说明

感谢贡献!

模板完整 ✓(各部分实质内容齐全——Closes #8188 / Closes #8189 放在"Why it's needed"下而非单独的"Linked Issues"标题,E2E 表格代替了"Evidence (Before & After)";两者均可接受,仅作形式记录)。

问题:这是计划中的实验里程碑,而非假设性问题——关闭 #8188(S5a 最小召回)与 #8189(S5b 完整图),两个 issue 均由作者提出并标记 omni-experiment,设计文档已通过 #8110 提交。动机成本是具体的:S4 之后每次 policy 执行的知识随回合消亡,再次引用同一媒体要重新付出识别、关键帧提取和完整 ASR 的代价。PR 自身的 E5 案例量化了收益(986MB 电影仅靠召回作答,零重处理)。

方向:对齐。这是 omni 实验路线的 S5 切片——S1–S4(#8422#8512#8632#8815)已先后合入同一条 omni-experiment 分支,本 PR 也正确地以该分支为目标而非 main。Claude Code 的 CHANGELOG 中没有可比功能,但这对内部实验分支属预期,不构成反对信号。

规模:45 个文件共 6,052 行变更——3,815 行生产代码 / 2,123 行测试 / 114 行生成文件(IDE settings schema)。作者为维护者,按 AGENTS.md 豁免两层核心门禁;仅作知会:生产代码量远超 1000 行大 PR 建议线。S5a+S5b 合并在描述中已论证——收集触发点、存储、召回服务与注册表构成一个依赖闭包,两个界面按设计互斥(D10),拆分会产生两个近乎相同的巨型 diff。

方案:范围自洽——恰好两个写入触发点挂在既有管线事件上,一个召回服务带两个互斥界面,不透明会话句柄是模型可见的唯一身份。对既有文件的改动仅为接线(config 节点、工具名、orchestrator 提交点、client.ts 注入点、schema 重新生成);未见顺手重构或无关变更。值得重点审视的是接缝处:client.ts 主请求前的注入顺序,以及 orchestrator 的全有或全无提交——代码审查会重点看这两处。

风险:无升级风险信号——未命中与 revert 相关的高风险路径。

进入代码审查 🔍

Qwen Code · qwen3.8-max

Reviewed at 22cc1f1f2a9a9e2b9ca7e75b8e203d2e99fdb043 · re-run with @qwen-code /triage

@qwen-code-ci-bot

qwen-code-ci-bot commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

Code review

Reviewed the full diff at the commit below. Independent baseline first: for "persist what omni already learned about media and let later sessions recall it", I'd reach for exactly what this PR does — one content-keyed JSON store with atomic writes, collection on the two existing pipeline events, one recall service with an opaque-handle privacy boundary. No simpler shape comes to mind that keeps the path-privacy and root-bounded-traversal guarantees, so the review focused on whether the implementation actually holds those invariants. It does:

  • Two triggers only, collection never blocks delivery. recordFileRecognized / commitPolicySucceeded are called only from the delivery pipeline (omni/index.ts, orchestrator.ts, reactive ladder) and both catch their own persistence errors internally and return undefined — I specifically checked that the un-wrapped recordFileRecognized call in processMediaForOmniDelivery can't throw into delivery (it can't; the service swallows and logs). Commits land AFTER objects/ promotion, one transact = one atomic rename, so records never reference missing bytes and a mid-commit kill leaves old-or-new, never half.
  • Path privacy holds at the seams I probed. Source records store locator: displayName, never the path; derived versions use sha256/… managed locators; execution records persist finalArguments which is {...settingsDefaults, ...policy.arguments}inputPath/outputDir are injected into the invocation request separately and are NOT part of it (verified at the orchestrator call site), and RESERVED_ARGUMENT_KEYS bars policy configs from smuggling them in. Tool-io error messages report only the basename. The recall payload, candidate manifest, and handle-resolution rejections all carry tests asserting no path escapes.
  • Handle gate ordering is correct. evaluateMediaPolicyToolCall resolves resourceIdinputPath BEFORE the lockedArguments check, so a handle can't sidestep an operator-pinned input — pinned by a dedicated test. The schema relaxation (required: ['outputDir'] on all media-policy tools) is compensated by validateMediaPolicyIoParams failing with an actionable "inputPath or resourceId" message when neither is given.
  • D10 mutual exclusion enforced at registration time — the recall tool exists only when recall.mode === 'active'; the sideQuery path no-ops in active mode. Both surfaces share one service + advisor via memory-recall.ts, so they can't drift.
  • Recall honesty: current-version-first with an explicit current: false hint for stale handles, gaps computed from the full unfiltered subgraph (request filters never change what was processed), deleted files/artifacts degrade to artifact_unavailable gaps rather than errors or dead handles, unknown handles reject the WHOLE request.
  • Store discipline reuses existing machineryserializeFileOperation is exported from the existing omni JSON-cache module rather than duplicated, writes go through the existing atomicWriteFile (0600, noFollow), corrupt docs back up and rebuild empty, and an unreadable-but-existing doc is a no-op (a transient EACCES can't trigger a wipe-save). The selector reuses the existing runSideQuery with schema validation and attempt budgeting. No new dependencies.

Non-blocking observations (follow-ups, not merge-blockers):

  1. MediaMemoryService is constructed per delivery, so each delivery re-reads memory.json from disk. Fine at experiment scale; if this store grows or batch deliveries get wide, a shared cached instance per session is the natural next step (S6 GC territory per the PR's own Risk & Scope).
  2. The store's "unreadable document → no-op" branch doesn't have a dedicated store-level test (the service-level chmod test covers the consequence). Minor.
  3. One formatting-only reflow in downscale-video.ts — harmless.
sequenceDiagram
    participant P1 as Delivery pipeline
    participant P2 as MediaMemoryService
    participant P3 as memory.json store
    participant P4 as Recall service
    participant P5 as Session registry
    participant P6 as Selector model
    Note over P1,P3: Collection - two triggers only
    P1->>P2: FileRecognized - source sha256 plus identity
    P2->>P3: atomic upsert, temp plus rename
    P1->>P1: fixed policies run, objects promoted
    P1->>P2: OmniPolicySucceeded - execution plus outputs
    P2->>P3: one all-or-nothing commit
    Note over P4,P6: Recall - sideQuery mode, before the main request
    P4->>P5: resolve handles the request carries
    P4->>P3: read snapshot, root-bounded walk
    P4->>P6: bounded manifest, entryIds only
    P6-->>P4: selection, validated against manifest
    P4->>P5: rebind returned derivatives to fresh handles
    P4-->>P1: system reminder injected before send
Loading
Files changed (30 of 45 shown)
File What changed
packages/core/src/services/media-memory/types.ts Persistent record types: files, versions, executions, entries, scope/channel/coverage
packages/core/src/services/media-memory/store.ts Single-JSON v1 backend: serialized ops, atomic writes, corrupt backup/rebuild
packages/core/src/services/media-memory/service.ts The only write facade: FileRecognized upsert + all-or-nothing policy commit, both failure-swallowing
packages/core/src/services/media-memory/recall.ts Recall service: root-bounded walk, current-version-first, gaps, candidate manifest, selection validation
packages/core/src/services/media-memory/config.ts Startup normalization of omni.memory, invalid values fatal, cross-field budget ordering
packages/core/src/services/media-memory/registry.ts Session-scoped fileVersionId ↔ opaque resourceId binder, never persisted
packages/core/src/services/media-memory/index.ts Facade exports; service is the only entry point
packages/core/src/omni/index.ts Collection trigger 1 wired into delivery: upfront hash, source binding, handle disclosure leads every part group
packages/core/src/omni/policy/orchestrator.ts Collection trigger 2: commit after promotion on success and cache-hit paths, lineage threaded on work items
packages/core/src/omni/memory-side-query.ts Passive selector: bounded manifest, entryIds-only schema, timeout-bounded, degrades to empty recall
packages/core/src/omni/memory-recall.ts Shared wiring for both recall surfaces; advisor suggests only registered + model-accessible tools
packages/core/src/omni/recall-media-memory-tool.ts Active-mode tool: read-only, maxFilesPerCall, rejections as invalid_tool_params
packages/core/src/omni/policy/model-access.ts resourceId → inputPath resolution before the lockedArguments check
packages/core/src/omni/policy/tools/media-policy-tool.ts inputPath presence moved to runtime validation; input errors name only the basename
packages/core/src/omni/disclosure.ts 【媒体资源】 handle annotation format + parser
packages/core/src/omni/tool-result-media.ts Handle part leads tool-result replacement groups in every branch
packages/core/src/omni/reactive-degrade.ts Reactive ladder re-binds memory identity via sha256 lookup, best-effort
packages/core/src/omni/json-cache-file.ts serializeFileOperation exported for the memory store to share the chain
packages/core/src/core/client.ts sideQuery recall injected strictly before the main request on UserQuery/Cron turns
packages/core/src/config/config.ts omniMemory param, lazy idempotent normalization, registry accessor, registration-time mode gate
packages/cli/src/config/settingsSchema.ts omni.memory settings node with defaults, enums, minimums
packages/cli/src/config/config.ts Threads raw omni.memory settings into core Config
packages/core/src/tools/tool-names.ts OMNI_RECALL_MEDIA_MEMORY name + display name
packages/core/src/index.ts Public exports for the new surfaces
packages/vscode-ide-companion/schemas/settings.schema.json Regenerated IDE schema for the new settings node
packages/core/src/services/media-memory/recall.test.ts Recall invariants: rejection, traversal, gaps, availability, manifest, selection
packages/core/src/services/media-memory/service.test.ts Idempotency, version pointer, replay convergence, inline-text budget, failure stance
packages/core/src/services/media-memory/store.test.ts Atomicity, no-change no-save, corrupt backup/rebuild
packages/core/src/services/media-memory/config.test.ts Defaults, unknown keys, cross-field ordering
…and 15 more files Remaining test files, tool role metadata (clip/keyframe), and schema tweaks

Test evidence

This is an unattended CI run — the PR's code was NOT built or executed here; the evidence below is the PR's own CI on the reviewed commit, fetched via API.

Final CI results for 22cc1f1 (auto-updated by the triage finalize job after CI completed):

Check Conclusion
Test (ubuntu-latest, Node 22.x) ❌ failure
Classify PR ✅ success
Post Coverage Comment (ubuntu-latest, 22.x) ✅ success
web-shell E2E Smoke (ubuntu-latest, Node 22.x) ✅ success

One row per check name (latest run); skipped checks omitted; failures sort first. / 每个检查名一行(取最新一次运行),省略 skipped,失败项排在最前。

The unit suite for this PR's scope (author-reported: 72 new media-memory tests + the 803-test omni suite) is what the ubuntu job is running right now; it had not concluded at review time, so treat "tests pass" as NOT yet established here. The macOS/Windows/integration checks are skipped for this run — nothing red, but also no cross-platform signal. The author's E1–E5 table (real DashScope API, 986MB movie closed loop) is the author's claim from a local run, not independently re-run in this review.

Sandboxed verification would settle the remaining behavioural claim: @qwen-code /verify — that cross-session recall actually answers from persisted memory without reprocessing (and that sideQuery injection lands before the main request) is not observable from the diff, and this PR's CI exercises none of it against a real model; the E2E cases rest on the author's local runs.

中文说明

代码审查

按上述提交完整审阅了 diff。独立基线:对于"持久化 omni 已学到的媒体知识并让后续会话召回",我能想到的最简形态正是本 PR 的做法——一个以内容哈希为键、原子写入的 JSON 存储,在既有管线事件上收集,一个带不透明句柄隐私边界的召回服务。评审重点因此放在实现是否真正守住这些不变量。结论:守住了。

  • 仅两个写入触发点,收集永不阻塞投递。 两个提交入口内部各自捕获持久化错误并返回 undefined——特别核查了 processMediaForOmniDelivery 中未包 try/catch 的 recordFileRecognized 调用,确认不会向投递路径抛错。提交发生在 objects/ 提升之后,一次 transact 即一次原子 rename,记录不会引用缺失的对象,中途被杀只会留下旧或新快照。
  • 接缝处的路径隐私成立。 源记录只存 displayName 定位符;派生版本用 sha256 管理定位符;执行记录持久化的 finalArguments 经核实不含 inputPath/outputDir(二者在调用点单独注入),且 RESERVED_ARGUMENT_KEYS 禁止 policy 配置夹带;工具 IO 错误只报 basename;召回载荷、候选清单与句柄解析拒绝均有无路径泄漏的测试断言。
  • 句柄门禁顺序正确。 resourceId → inputPath 解析发生在 lockedArguments 检查之前,句柄无法绕过操作员锁定的输入,且有专门测试钉住。schema 放宽由运行时的可操作错误信息兜底。
  • D10 互斥在注册期执行,两个界面共用一个服务与 advisor,不会漂移。
  • 召回诚实性:当前版本优先 + 过期句柄显式历史提示;gap 由完整未过滤子图计算;文件/工件丢失降级为 artifact_unavailable 而非错误或死句柄;未知句柄整请求拒绝。
  • 复用既有机制:序列化链导出现有模块、原子写复用 atomicWriteFile、选择器复用 runSideQuery;无新增依赖。

非阻塞观察(后续跟进):每次投递新建 MediaMemoryService 会重读 memory.json(实验规模可接受,S6 再优化);store 的"不可读文档→跳过"分支缺专门测试;downscale-video.ts 有一处纯格式化折行。

测试证据

本次为无人值守 CI 运行——未构建或执行 PR 代码,以上证据为通过 API 获取的 PR 自身 CI。ubuntu 单测作业审阅时仍在运行,"测试通过"尚未成立;macOS/Windows/集成检查本轮被跳过。作者的 E1–E5 真实 API 结果为作者本地声明,未独立复跑。沙箱验证可了结剩余行为性论断:@qwen-code /verify——跨会话召回确实靠持久记忆作答、sideQuery 注入先于主请求,这些在 diff 中不可观测,CI 也不覆盖真实模型路径。

Qwen Code · qwen3.8-max

Reviewed at 22cc1f1f2a9a9e2b9ca7e75b8e203d2e99fdb043 · re-run with @qwen-code /triage

@github-actions

github-actions Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Code Coverage Summary

Package Lines Statements Functions Branches
CLI 83.18% 83.18% 89.24% 82.42%
Core 87.8% 87.8% 89.22% 86.26%
CLI Package - Full Text Report
-------------------|---------|----------|---------|---------|-------------------
File               | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s 
-------------------|---------|----------|---------|---------|-------------------
All files          |   83.18 |    82.42 |   89.24 |   83.18 |                   
 src               |   84.45 |    80.93 |   89.13 |   84.45 |                   
  cli.ts           |   94.21 |    83.33 |     100 |   94.21 | ...72-573,583-584 
  gemini.tsx       |   73.89 |    76.49 |    82.6 |   73.89 | ...1183-1187,1308 
  ...ractiveCli.ts |   85.65 |    81.55 |   87.17 |   85.65 | ...2390,2396,2448 
  ...liCommands.ts |   88.34 |     83.6 |      90 |   88.34 | ...63,480,514,635 
  ...ActiveAuth.ts |     100 |     87.5 |     100 |     100 | 66-80             
 ...cp-integration |   69.15 |    71.79 |   89.53 |   69.15 |                   
  acpAgent.ts      |    68.8 |    71.63 |   89.55 |    68.8 | ...02,11107-11109 
  authMethods.ts   |      92 |       60 |     100 |      92 | 33-34             
  errorCodes.ts    |       0 |        0 |       0 |       0 | 1-22              
  ...ion-skills.ts |     100 |    88.23 |     100 |     100 | 17,32             
  generation.ts    |    97.1 |    81.25 |     100 |    97.1 | 109,112           
  ...DirContext.ts |     100 |      100 |     100 |     100 |                   
 ...ration/service |   97.04 |    95.71 |   93.33 |   97.04 |                   
  filesystem.ts    |   97.04 |    95.71 |   93.33 |   97.04 | ...21-122,238-239 
 ...ration/session |   91.26 |    86.44 |   96.49 |   91.26 |                   
  Session.ts       |   90.79 |    85.29 |   96.01 |   90.79 | ...9209,9236-9240 
  ...entTracker.ts |   91.87 |    89.18 |   88.88 |   91.87 | ...33,197,280-289 
  ...stop-guard.ts |     100 |    98.07 |     100 |     100 | 37,127            
  ...eplay-page.ts |    93.1 |    90.72 |     100 |    93.1 | 71,82-85,111-121  
  ...y-replayer.ts |   98.53 |    95.52 |     100 |   98.53 | 238-240           
  index.ts         |       0 |        0 |       0 |       0 | 1-40              
  ...ssionUtils.ts |   89.76 |    86.76 |     100 |   89.76 | ...54-270,326-328 
  tasksSnapshot.ts |    94.3 |     87.5 |     100 |    94.3 | 65-71             
  ...on-tracker.ts |     100 |      100 |     100 |     100 |                   
  types.ts         |     100 |      100 |     100 |     100 |                   
 ...ssion/emitters |   95.68 |     93.7 |   96.66 |   95.68 |                   
  ...ageEmitter.ts |   95.34 |    94.11 |     100 |   95.34 | 52-59             
  PlanEmitter.ts   |     100 |    83.33 |     100 |     100 | 59                
  base-emitter.ts  |   78.26 |       75 |     100 |   78.26 | 23-24,26-28       
  index.ts         |       0 |        0 |       0 |       0 | 1-10              
  ...ll-emitter.ts |   99.17 |    97.43 |     100 |   99.17 | 352-353           
 ...ession/rewrite |    91.8 |    89.13 |   94.44 |    91.8 |                   
  LlmRewriter.ts   |    82.4 |     86.2 |     100 |    82.4 | ...,88-89,166-170 
  ...Middleware.ts |   96.96 |    88.09 |     100 |   96.96 | 144,152-154       
  TurnBuffer.ts    |     100 |      100 |     100 |     100 |                   
  config.ts        |     100 |      100 |     100 |     100 |                   
  index.ts         |     100 |      100 |     100 |     100 |                   
  types.ts         |       0 |        0 |       0 |       0 | 1                 
 src/commands      |   89.02 |    73.18 |   64.51 |   89.02 |                   
  auth.ts          |     100 |    83.33 |     100 |     100 | 11,14             
  channel.ts       |   55.55 |      100 |       0 |   55.55 | 18-22,30-40       
  extensions.tsx   |   96.77 |      100 |      50 |   96.77 | 39                
  hooks.tsx        |   66.66 |      100 |       0 |   66.66 | 20-24             
  mcp.ts           |   95.45 |      100 |      50 |   95.45 | 31                
  review.ts        |   98.03 |      100 |      50 |   98.03 | 62                
  serve.ts         |   86.85 |     67.3 |     100 |   86.85 | ...32-635,649-653 
  sessions.ts      |     100 |      100 |      50 |     100 |                   
  update.ts        |   98.13 |    94.44 |   66.66 |   98.13 | 82-83             
 ...mmands/channel |   86.94 |    87.09 |   89.61 |   86.94 |                   
  channel-cwd.ts   |     100 |      100 |     100 |     100 |                   
  ...l-registry.ts |      80 |    84.61 |      80 |      80 | 37-40,49-52,63-66 
  ...entry-path.ts |      75 |       50 |     100 |      75 | 8-9               
  config-utils.ts  |   95.87 |    96.35 |     100 |   95.87 | ...08-213,271-274 
  configure.ts     |    14.7 |      100 |       0 |    14.7 | 18-21,23-84       
  daemon-worker.ts |   93.88 |    85.33 |   94.11 |   93.88 | ...1207,1214-1215 
  loop-runtime.ts  |   91.66 |      100 |      50 |   91.66 | 15,22             
  ...classifier.ts |   98.49 |    96.51 |     100 |   98.49 | 115-116,161       
  ...tact-store.ts |   93.51 |    87.65 |     100 |   93.51 | ...71,288-289,337 
  pairing.ts       |   72.85 |      100 |      50 |   72.85 | 22-28,57-68       
  pidfile.ts       |   95.55 |       90 |     100 |   95.55 | ...50-251,315-316 
  proxy.ts         |     100 |      100 |     100 |     100 |                   
  reload.ts        |    77.5 |    86.95 |      75 |    77.5 | 72-84,93-97       
  runtime.ts       |   81.42 |    87.71 |     100 |   81.42 | ...70-174,234-236 
  set.ts           |   75.72 |    85.71 |      50 |   75.72 | 65-83,111-116     
  start.ts         |   75.05 |    73.17 |   76.92 |   75.05 | ...31,537-540,552 
  ...ure-format.ts |   93.65 |    82.45 |     100 |   93.65 | ...42,48-49,74-75 
  status.ts        |   78.57 |    59.25 |   66.66 |   78.57 | ...36-137,150-161 
  stop.ts          |   57.83 |    82.35 |      50 |   57.83 | ...3,74-76,85-111 
 ...nds/extensions |   88.82 |    87.82 |   87.09 |   88.82 |                   
  consent.ts       |   72.53 |       90 |   42.85 |   72.53 | ...86-142,157-163 
  disable.ts       |     100 |       90 |     100 |     100 | 30                
  enable.ts        |     100 |    91.66 |     100 |     100 | 38                
  install.ts       |   82.95 |    81.57 |      75 |   82.95 | ...96-199,202-211 
  link.ts          |     100 |      100 |     100 |     100 |                   
  list.ts          |     100 |     90.9 |     100 |     100 | 18                
  new.ts           |     100 |      100 |     100 |     100 |                   
  settings.ts      |   99.15 |      100 |   83.33 |   99.15 | 151               
  sources.ts       |   93.42 |    87.09 |   92.85 |   93.42 | ...4-66,96-98,167 
  uninstall.ts     |   74.57 |       40 |   66.66 |   74.57 | 45-47,60-67,70-73 
  update.ts        |   96.71 |    97.05 |     100 |   96.71 | 114-118           
  utils.ts         |      75 |    55.55 |     100 |      75 | ...27-131,133-137 
 ...les/mcp-server |       0 |        0 |       0 |       0 |                   
  example.ts       |       0 |        0 |       0 |       0 | 1-60              
 ...amples/starter |       0 |        0 |       0 |       0 |                   
  example.ts       |       0 |        0 |       0 |       0 | 1-64              
 src/commands/mcp  |   90.17 |    84.39 |   83.33 |   90.17 |                   
  add.ts           |    99.3 |    96.07 |     100 |    99.3 | 154-155           
  approve.ts       |   76.19 |     87.5 |   66.66 |   76.19 | ...,89-99,114-124 
  list.ts          |   92.59 |    83.87 |      80 |   92.59 | ...62-164,180-181 
  reconnect.ts     |   78.85 |    66.66 |   85.71 |   78.85 | 42-55,169-191     
  remove.ts        |     100 |       80 |     100 |     100 | 21-25             
 ...ommands/review |   84.59 |    86.04 |   85.08 |   84.59 |                   
  agent-prompt.ts  |   90.88 |    92.78 |      96 |   90.88 | ...1259,1729-1798 
  capture-local.ts |   68.57 |     90.9 |      75 |   68.57 | 107-111,158-189   
  ...k-coverage.ts |   48.38 |    14.28 |   66.66 |   48.38 | ...21-226,239-249 
  cleanup.ts       |   90.25 |    83.14 |   83.33 |   90.25 | ...77-482,484-485 
  ...ent-status.ts |   93.03 |    83.87 |   83.33 |   93.03 | 291,531-551       
  ...ose-review.ts |   95.85 |    91.25 |   93.75 |   95.85 | ...1439,1467-1489 
  fetch-pr.ts      |   74.02 |    53.57 |      50 |   74.02 | ...98,332,402-407 
  load-rules.ts    |   26.41 |      100 |   16.66 |   26.41 | ...41-153,155-156 
  parse-args.ts    |   99.27 |       96 |     100 |   99.27 | 345,417           
  plan-diff.ts     |   64.04 |      100 |   66.66 |   64.04 | 127-163           
  pr-context.ts    |   84.44 |    79.38 |   91.66 |   84.44 | ...29-910,939-941 
  presubmit.ts     |   83.75 |    92.72 |   88.88 |   83.75 | ...77-578,655-685 
  ...ve-anchors.ts |   77.02 |    88.46 |      75 |   77.02 | ...70-175,187-204 
  run.ts           |   81.14 |    86.17 |    90.9 |   81.14 | ...13,429-477,490 
  script-lint.ts   |   83.67 |    78.41 |   88.88 |   83.67 | ...59-773,775-797 
  submit.ts        |   76.74 |    82.05 |   81.81 |   76.74 | ...03-639,641-642 
  test-efficacy.ts |   80.68 |    69.41 |    92.3 |   80.68 | ...93-594,602-622 
 ...nds/review/lib |   95.77 |    93.13 |   95.74 |   95.77 |                   
  agent-briefs.ts  |   98.68 |      100 |       0 |   98.68 | 520-521           
  anchors.ts       |     100 |    94.79 |     100 |     100 | ...33,169,178,225 
  coverage.ts      |   95.47 |    94.25 |   95.45 |   95.47 | ...98,335,433-450 
  diff-flags.ts    |     100 |        0 |     100 |     100 | 63                
  diff-plan.ts     |   98.73 |    93.01 |     100 |   98.73 | ...41,264,290-291 
  effort.ts        |     100 |      100 |     100 |     100 |                   
  gh.ts            |    85.6 |    88.37 |   71.42 |    85.6 | ...20,257-258,285 
  git.ts           |   97.64 |    95.65 |     100 |   97.64 | 180-181           
  heavy.ts         |     100 |      100 |     100 |     100 |                   
  inline-counts.ts |     100 |      100 |     100 |     100 |                   
  local-diff.ts    |    84.4 |    88.46 |     100 |    84.4 | ...63-473,475-483 
  merge-base.ts    |     100 |      100 |     100 |     100 |                   
  path-rules.ts    |     100 |      100 |     100 |     100 |                   
  paths.ts         |     100 |    85.71 |     100 |     100 | 70                
  prompt-record.ts |   94.73 |    88.23 |     100 |   94.73 | ...28,151-152,156 
  receipt.ts       |     100 |      100 |     100 |     100 |                   
  report.ts        |   94.38 |    93.75 |     100 |   94.38 | 173-177           
  roster.ts        |     100 |    94.23 |     100 |     100 | 143,161,206       
  shell-quote.ts   |     100 |      100 |     100 |     100 |                   
  test-utils.ts    |     100 |      100 |     100 |     100 |                   
  transcripts.ts   |   96.27 |    93.18 |     100 |   96.27 | ...83,269-270,294 
  workspaces.ts    |   97.76 |     91.2 |     100 |   97.76 | 186-187,212-213   
 ...mands/sessions |   91.56 |    86.95 |   83.33 |   91.56 |                   
  common.ts        |     100 |      100 |     100 |     100 |                   
  list.ts          |   90.96 |    86.66 |   81.81 |   90.96 | 208-219,221-222   
 src/config        |   94.45 |    88.04 |   95.93 |   94.45 |                   
  auth.ts          |   89.35 |    83.56 |     100 |   89.35 | ...97-298,314-315 
  ...eMcpImport.ts |   87.91 |    81.52 |     100 |   87.91 | ...63-371,453-454 
  compile-cache.ts |     100 |      100 |     100 |     100 |                   
  config.ts        |      88 |     86.2 |   85.29 |      88 | ...2460,2462-2470 
  ...cy-monitor.ts |   88.75 |    76.19 |     100 |   88.75 | ...3,90-92,98,101 
  ...ust-policy.ts |   83.04 |    88.28 |     100 |   83.04 | ...39,253,352-353 
  ...heme-names.ts |     100 |      100 |     100 |     100 |                   
  environment.ts   |   94.33 |    89.61 |   94.73 |   94.33 | ...35-639,655-656 
  ...le-watcher.ts |   90.86 |    83.65 |   95.83 |   90.86 | ...23-325,370,418 
  ...resh-state.ts |   90.57 |    97.29 |   93.75 |   90.57 | 137-142,146-152   
  ...ime-reload.ts |     100 |    69.69 |     100 |     100 | ...12-113,122-123 
  hot-reload.ts    |     100 |    89.13 |     100 |     100 | 47,172-178,238    
  keyBindings.ts   |   97.38 |       50 |     100 |   97.38 | 234-237           
  ...ngsAdapter.ts |     100 |    94.11 |     100 |     100 | 64                
  ...ig-watcher.ts |   95.17 |    83.05 |     100 |   95.17 | ...78,200,292-293 
  ...er-secrets.ts |   98.97 |    96.96 |     100 |   98.97 | 85                
  mcpApprovals.ts  |   96.55 |    95.55 |     100 |   96.55 | 223-224,229-231   
  mcpJson.ts       |     100 |      100 |     100 |     100 |                   
  mcpServers.ts    |   92.85 |     87.5 |     100 |   92.85 | 46-47             
  ...idersScope.ts |      95 |    94.73 |     100 |      95 | 11-12             
  ...abledTools.ts |     100 |      100 |     100 |     100 |                   
  ...comparison.ts |     100 |      100 |     100 |     100 |                   
  ...n-settings.ts |   99.15 |    93.75 |     100 |   99.15 | 63                
  sandboxConfig.ts |   61.64 |    71.87 |   66.66 |   61.64 | ...54-68,73,77-89 
  ...ings-cache.ts |   96.52 |    93.93 |     100 |   96.52 | 90-91,201-202     
  settings.ts      |   90.99 |     92.3 |      90 |   90.99 | ...1006,1008-1009 
  ...ingsSchema.ts |     100 |      100 |     100 |     100 |                   
  ...ngsWatcher.ts |   95.54 |    88.34 |     100 |   95.54 | ...28,277-278,293 
  ...d-env-keys.ts |     100 |      100 |     100 |     100 |                   
  ...l-settings.ts |     100 |      100 |     100 |     100 |                   
  ...paths-lite.ts |   89.47 |       88 |     100 |   89.47 | 43-44,53-54,56-57 
  ...tedFolders.ts |   93.35 |    94.11 |     100 |   93.35 | ...90-391,427-438 
 ...nfig/migration |   95.23 |    77.77 |   83.33 |   95.23 |                   
  index.ts         |   95.65 |     87.5 |     100 |   95.65 | 117-118           
  scheduler.ts     |   96.55 |    77.77 |     100 |   96.55 | 19-20             
  types.ts         |       0 |        0 |       0 |       0 | 1                 
 ...ation/versions |   94.91 |      100 |     100 |   94.91 |                   
  ...-v2-shared.ts |     100 |      100 |     100 |     100 |                   
  v1-to-v2.ts      |   81.75 |      100 |     100 |   81.75 | ...28-229,231-247 
  v2-to-v3.ts      |     100 |      100 |     100 |     100 |                   
  v3-to-v4.ts      |     100 |      100 |     100 |     100 |                   
  v5-to-v4.ts      |      96 |      100 |     100 |      96 | 94-95,99          
 src/core          |     100 |      100 |     100 |     100 |                   
  auth.ts          |     100 |      100 |     100 |     100 |                   
  initializer.ts   |     100 |      100 |     100 |     100 |                   
  theme.ts         |     100 |      100 |     100 |     100 |                   
 src/dualOutput    |    71.8 |    70.31 |   66.66 |    71.8 |                   
  ...tputBridge.ts |   71.95 |    70.96 |   68.42 |   71.95 | ...08-409,417-420 
  ...utContext.tsx |     100 |      100 |     100 |     100 |                   
  index.ts         |       0 |        0 |       0 |       0 | 1-8               
 src/export        |       0 |        0 |       0 |       0 |                   
  index.ts         |       0 |        0 |       0 |       0 | 1-7               
 src/generated     |     100 |      100 |     100 |     100 |                   
  git-commit.ts    |     100 |      100 |     100 |     100 |                   
 src/i18n          |   85.98 |    81.92 |   89.65 |   85.98 |                   
  index.ts         |   73.45 |    77.77 |      90 |   73.45 | ...70-271,294-299 
  languages.ts     |   93.07 |     92.3 |   85.71 |   93.07 | ...35,164-169,184 
  ...nslateKeys.ts |     100 |      100 |     100 |     100 |                   
  ...lationDict.ts |   93.33 |    66.66 |     100 |   93.33 | 15                
 src/i18n/locales  |     100 |      100 |     100 |     100 |                   
  ca.js            |     100 |      100 |     100 |     100 |                   
  de.js            |     100 |      100 |     100 |     100 |                   
  en.js            |     100 |      100 |     100 |     100 |                   
  fr.js            |     100 |      100 |     100 |     100 |                   
  ja.js            |     100 |      100 |     100 |     100 |                   
  pt.js            |     100 |      100 |     100 |     100 |                   
  ru.js            |     100 |      100 |     100 |     100 |                   
  zh-TW.js         |     100 |      100 |     100 |     100 |                   
  zh.js            |     100 |      100 |     100 |     100 |                   
 ...nonInteractive |      80 |    76.31 |   81.35 |      80 |                   
  session.ts       |   84.08 |    75.27 |   93.61 |   84.08 | ...1007,1016-1026 
  types.ts         |    42.5 |      100 |   33.33 |    42.5 | ...24-625,628-629 
 ...active/control |   76.11 |    89.09 |      80 |   76.11 |                   
  ...rolContext.ts |    6.45 |        0 |       0 |    6.45 | 56-95             
  ...Dispatcher.ts |   91.79 |    92.45 |   88.88 |   91.79 | ...49-367,387,390 
  ...rolService.ts |     7.4 |        0 |       0 |     7.4 | 46-185            
 ...ol/controllers |   39.78 |    63.24 |   47.22 |   39.78 |                   
  ...Controller.ts |   39.49 |      100 |      80 |   39.49 | 88-92,127-210     
  ...Controller.ts |       0 |        0 |       0 |       0 | 1-56              
  ...Controller.ts |   49.11 |    62.96 |   54.54 |   49.11 | ...63-568,570-575 
  ...Controller.ts |   14.06 |      100 |       0 |   14.06 | ...82-117,130-133 
  ...Controller.ts |   37.92 |    60.71 |   46.66 |   37.92 | ...41-653,662-691 
 .../control/types |       0 |        0 |       0 |       0 |                   
  serviceAPIs.ts   |       0 |        0 |       0 |       0 | 1                 
 ...Interactive/io |   98.07 |    94.05 |   95.23 |   98.07 |                   
  ...putAdapter.ts |   97.98 |     93.2 |   98.07 |   97.98 | ...1415,1431-1432 
  ...putAdapter.ts |      96 |    91.66 |   85.71 |      96 | 51-52             
  ...nputReader.ts |     100 |    94.73 |     100 |     100 | 67                
  ...putAdapter.ts |   98.38 |      100 |   90.47 |   98.38 | 84-85,125-126     
  index.ts         |     100 |      100 |     100 |     100 |                   
 src/patches       |       0 |        0 |       0 |       0 |                   
  is-in-ci.ts      |       0 |        0 |       0 |       0 | 1-17              
 src/remoteInput   |   87.31 |    75.32 |   88.23 |   87.31 |                   
  ...utContext.tsx |     100 |      100 |     100 |     100 |                   
  ...putWatcher.ts |   88.01 |       76 |   93.33 |   88.01 | ...49-350,361-364 
  index.ts         |       0 |        0 |       0 |       0 | 1-8               
 src/serve         |   87.28 |    83.36 |   91.16 |   87.28 |                   
  ...tp-enabled.ts |     100 |      100 |     100 |     100 |                   
  ...ion-bridge.ts |     100 |      100 |     100 |     100 |                   
  auth.ts          |    93.4 |    93.05 |     100 |    93.4 | ...19-320,323-325 
  ...em-adapter.ts |     100 |      100 |     100 |     100 |                   
  capabilities.ts  |     100 |    97.87 |     100 |     100 | 629               
  ...cp-command.ts |     100 |      100 |     100 |     100 |                   
  ...horization.ts |   92.79 |    93.33 |    87.5 |   92.79 | 75-80,135-136     
  ...livery-ipc.ts |     100 |     90.9 |     100 |     100 | 94,106,134        
  ...l-delivery.ts |     100 |      100 |     100 |     100 |                   
  ...op-mcp-ipc.ts |   81.06 |    73.68 |   94.11 |   81.06 | ...37-242,267,289 
  ...nt-service.ts |   93.89 |    86.61 |     100 |   93.89 | ...66-468,475,477 
  ...-selection.ts |     100 |      100 |     100 |     100 |                   
  ...ings-store.ts |   85.85 |    91.78 |   95.83 |   85.85 | ...94-206,366-369 
  ...ebhook-ipc.ts |    98.5 |    86.66 |     100 |    98.5 | 47                
  ...iagnostics.ts |     100 |      100 |     100 |     100 |                   
  ...worker-env.ts |     100 |      100 |     100 |     100 |                   
  ...rker-group.ts |   87.27 |     85.2 |     100 |   87.27 | ...10,816-820,838 
  ...er-manager.ts |   89.39 |    83.88 |   93.33 |   89.39 | ...98,711,722-724 
  ...tartup-ipc.ts |   97.72 |    96.66 |     100 |   97.72 | 88-89             
  ...supervisor.ts |   92.41 |    84.44 |    97.1 |   92.41 | ...1460,1514-1518 
  ...e-grouping.ts |     100 |    94.11 |     100 |     100 | 69,132            
  core-runtime.ts  |     100 |      100 |     100 |     100 |                   
  ...ub-session.ts |   92.04 |    77.77 |     100 |   92.04 | ...36-445,470,508 
  daemon-logger.ts |    82.2 |    77.26 |   91.76 |    82.2 | ...1720,1747-1753 
  ...trics-ring.ts |     100 |      100 |     100 |     100 |                   
  ...s-provider.ts |   68.04 |    52.77 |     100 |   68.04 | ...44-249,282-290 
  daemon-status.ts |   98.37 |    90.06 |     100 |   98.37 | ...1041,1043-1044 
  debug-mode.ts    |     100 |      100 |     100 |     100 |                   
  demo.ts          |     100 |      100 |     100 |     100 |                   
  env-snapshot.ts  |    91.3 |       80 |     100 |    91.3 | ...24-127,205-212 
  ...-scheduler.ts |   87.34 |    83.87 |     100 |   87.34 | 33-36,48-50,79-81 
  ...-path-argv.ts |     100 |      100 |     100 |     100 |                   
  ...h-settings.ts |   94.41 |    88.75 |     100 |   94.41 | ...24,702,718,728 
  fast-path.ts     |   90.33 |    80.23 |   95.45 |   90.33 | ...83-492,558-559 
  ...ration-sse.ts |   42.55 |    33.33 |     100 |   42.55 | 23-24,30,33-56    
  health-query.ts  |     100 |      100 |     100 |     100 |                   
  index.ts         |       0 |        0 |       0 |       0 | 1-143             
  ...e-observer.ts |   89.89 |    83.24 |      96 |   89.89 | ...11-512,541-543 
  ...back-binds.ts |     100 |    88.88 |     100 |     100 | 32                
  ...-workspace.ts |    90.9 |    85.71 |     100 |    90.9 | ...27-128,139-140 
  ...iders-edit.ts |     100 |    82.14 |     100 |     100 | 58-60,65,81       
  ...ory-picker.ts |     100 |    86.95 |     100 |     100 | 36,66,92          
  ...sion-audit.ts |     100 |      100 |   93.33 |     100 |                   
  rate-limit.ts    |   92.77 |    88.42 |     100 |   92.77 | ...93-295,307-309 
  ...qwen-serve.ts |   82.62 |     79.3 |   73.86 |   82.62 | ...6648,6653-6654 
  ...tup-errors.ts |     100 |      100 |     100 |     100 |                   
  ...-keepalive.ts |   95.04 |    87.62 |     100 |   95.04 | ...07,511-512,552 
  ...-lifecycle.ts |     100 |      100 |     100 |     100 |                   
  server.ts        |   93.99 |    93.52 |      75 |   93.99 | ...2061,2082-2086 
  ...on-helpers.ts |     100 |      100 |     100 |     100 |                   
  ...t-event-id.ts |     100 |    95.23 |     100 |     100 | 12                
  ...-admission.ts |   98.71 |    89.65 |     100 |   98.71 | 68                
  types.ts         |     100 |      100 |     100 |     100 |                   
  ...erver-name.ts |     100 |      100 |     100 |     100 |                   
  ...ion-limits.ts |     100 |      100 |     100 |     100 |                   
  ...t-sessions.ts |   93.34 |    76.57 |     100 |   93.34 | ...17,820,833-835 
  ...l-resolver.ts |   90.32 |    66.66 |     100 |   90.32 | 16,45-46          
  ...ell-static.ts |   91.07 |    86.66 |     100 |   91.07 | ...79-182,216-219 
  ...ace-agents.ts |   66.13 |    70.57 |   92.68 |   66.13 | ...2246,2256-2266 
  ...generation.ts |    95.4 |    82.35 |   66.66 |    95.4 | 55-56,78,92       
  ...-git-state.ts |     100 |    91.93 |    90.9 |     100 | 161,172,202,265   
  ...ace-inputs.ts |     100 |      100 |     100 |     100 |                   
  ...-constants.ts |     100 |      100 |     100 |     100 |                   
  ...-summaries.ts |   86.66 |       50 |     100 |   86.66 | 11,19             
  ...ace-memory.ts |      83 |    74.54 |     100 |      83 | ...30-537,597-604 
  ...ers-status.ts |   98.58 |       79 |     100 |   98.58 | 106,134,174,177   
  ...tion-store.ts |   89.67 |    88.27 |   92.59 |   89.67 | ...91-400,411-414 
  ...e-registry.ts |   93.89 |     87.5 |     100 |   93.89 | ...17-518,524-525 
  ...ber-errors.ts |     100 |    95.32 |     100 |     100 | 53,93-94,172,192  
  ...e-remember.ts |   98.14 |    88.92 |     100 |   98.14 | ...31,335-340,381 
  ...te-runtime.ts |   83.98 |    90.19 |     100 |   83.98 | ...48-156,216-237 
  ...management.ts |   72.63 |    72.72 |      96 |   72.63 | ...88-889,896-900 
  ...ls-mapping.ts |     100 |      100 |     100 |     100 |                   
  ...lls-status.ts |     100 |    92.85 |     100 |     100 | 127               
  ...reconciler.ts |    91.6 |     83.9 |     100 |    91.6 | ...70-272,305-306 
 ...serve/acp-http |   76.83 |    78.16 |   93.15 |   76.83 |                   
  ...r-registry.ts |   96.92 |    94.87 |     100 |   96.92 | 184-187           
  client-mcp-ws.ts |   54.85 |    58.62 |   72.72 |   54.85 | ...99-300,304-305 
  ...n-registry.ts |    98.2 |    88.62 |     100 |    98.2 | 1015,1041-1052    
  dispatch.ts      |   71.11 |    73.69 |   95.23 |   71.11 | ...4685,4733-4739 
  index.ts         |   81.78 |    79.64 |   90.56 |   81.78 | ...2273,2343-2344 
  json-rpc.ts      |     100 |    96.96 |     100 |     100 | 92                
  safe-ws-send.ts  |   52.94 |    71.42 |     100 |   52.94 | 33-42,47-55       
  sse-stream.ts    |   93.96 |    88.57 |   84.61 |   93.96 | ...57-159,161-163 
  ...ort-stream.ts |       0 |        0 |       0 |       0 | 1                 
  ws-stream.ts     |   91.86 |       80 |     100 |   91.86 | 45,50,96,100-103  
 src/serve/auth    |   86.86 |     79.7 |   93.87 |   86.86 |                   
  device-flow.ts   |   96.35 |    80.57 |   97.61 |   96.35 | ...1358,1453,1519 
  ...w-provider.ts |   44.24 |    74.07 |   71.42 |   44.24 | ...23-284,297,301 
 ...rve/cdp-tunnel |   85.73 |    73.17 |    97.5 |   85.73 |                   
  ...r-emulator.ts |   88.57 |    63.63 |     100 |   88.57 | ...72-175,194-195 
  ...verse-link.ts |      88 |    76.19 |     100 |      88 | ...28-329,420-423 
  ...l-registry.ts |     100 |      100 |     100 |     100 |                   
  cdp-ws.ts        |   76.28 |    61.29 |    87.5 |   76.28 | ...13-217,223-228 
 ...nel/acceptance |       0 |        0 |       0 |       0 |                   
  ...mcp-smoke.mjs |       0 |        0 |       0 |       0 | 1-119             
  ...cceptance.mjs |       0 |        0 |       0 |       0 | 1-473             
  real-tab.mjs     |       0 |        0 |       0 |       0 | 1-218             
 src/serve/fs      |   86.12 |    79.85 |     100 |   86.12 |                   
  audit.ts         |     100 |    96.15 |     100 |     100 | 204               
  errors.ts        |     100 |      100 |     100 |     100 |                   
  index.ts         |     100 |      100 |     100 |     100 |                   
  ...x-registry.ts |     100 |      100 |     100 |     100 |                   
  paths.ts         |   77.64 |     73.8 |     100 |   77.64 | ...65,594-598,611 
  policy.ts        |   90.32 |    89.18 |     100 |   90.32 | 141-149           
  ...ile-system.ts |   85.85 |    78.51 |     100 |   85.85 | ...2227,2237-2238 
 src/serve/routes  |    85.8 |    79.37 |   95.64 |    85.8 |                   
  a2ui-action.ts   |   96.84 |     88.5 |    87.5 |   96.84 | ...70-272,309-311 
  capabilities.ts  |     100 |      100 |     100 |     100 |                   
  ...nel-notify.ts |   85.22 |       88 |     100 |   85.22 | ...,83-87,103-104 
  ...l-webhooks.ts |   93.56 |    84.09 |     100 |   93.56 | ...42,292,332,334 
  daemon-status.ts |   85.45 |    83.33 |     100 |   85.45 | 98-105            
  goals.ts         |   98.92 |     90.9 |     100 |   98.92 | 146               
  health-demo.ts   |   94.73 |     86.2 |     100 |   94.73 | 62-66,154         
  permission.ts    |     100 |     92.3 |     100 |     100 | 50,98             
  ...uled-tasks.ts |   86.78 |     81.9 |   95.65 |   86.78 | ...1195,1238-1239 
  ...on-runtime.ts |     100 |    90.47 |     100 |     100 | 58,94             
  session.ts       |   86.27 |    81.47 |      95 |   86.27 | ...4295,4297-4298 
  sse-events.ts    |   84.45 |     87.5 |   77.77 |   84.45 | ...36,453-456,485 
  usage-stats.ts   |     100 |    95.45 |     100 |     100 | 118               
  ...space-auth.ts |   85.55 |    75.64 |     100 |   85.55 | ...21-326,331,345 
  ...el-control.ts |   86.26 |    78.94 |     100 |   86.26 | ...17-318,339-347 
  ...management.ts |   90.19 |    77.68 |     100 |   90.19 | ...47-448,467-468 
  ...d-contacts.ts |     100 |      100 |     100 |     100 |                   
  ...controller.ts |   83.41 |    78.89 |      90 |   83.41 | ...1024,1030,1033 
  ...extensions.ts |    87.2 |    72.76 |   94.11 |    87.2 | ...1822,1867-1868 
  ...-file-read.ts |   92.34 |     81.1 |     100 |   92.34 | ...96-597,600-601 
  ...file-write.ts |   84.44 |    64.51 |     100 |   84.44 | ...73-275,355-357 
  ...t-branches.ts |   75.43 |    66.66 |     100 |   75.43 | ...13-618,627-634 
  ...e-git-diff.ts |   97.32 |    90.56 |     100 |   97.32 | 161-162,189-191   
  ...ce-git-log.ts |     100 |    93.18 |     100 |     100 | 52,77,188         
  workspace-git.ts |   77.08 |    89.65 |     100 |   77.08 | 97-118            
  ...github-prs.ts |   88.26 |    63.46 |     100 |   88.26 | ...38-239,264-265 
  ...-lifecycle.ts |   95.23 |    75.75 |     100 |   95.23 | ...50-151,186-187 
  ...management.ts |   88.15 |    85.19 |     100 |   88.15 | ...1537,1557-1562 
  ...cp-control.ts |    73.2 |    67.54 |   85.71 |    73.2 | ...27-633,644-645 
  ...ace-models.ts |   95.53 |    89.74 |     100 |   95.53 | ...52-157,296-297 
  ...ermissions.ts |    77.9 |    72.41 |     100 |    77.9 | ...69-277,298-316 
  ...e-settings.ts |   74.81 |    70.31 |     100 |   74.81 | ...47-658,664-665 
  ...tup-github.ts |   77.97 |    70.58 |   84.21 |   77.97 | ...46-352,397-398 
  ...ace-skills.ts |   69.87 |    78.12 |     100 |   69.87 | ...59-284,290-324 
  ...ace-status.ts |   82.94 |     74.5 |     100 |   82.94 | ...84-486,490-491 
  ...pace-tools.ts |   75.94 |    69.69 |   66.66 |   75.94 | ...59-164,193-194 
  ...pace-trust.ts |   78.42 |    64.78 |      80 |   78.42 | ...31-336,344-345 
  ...pace-voice.ts |   91.33 |    80.92 |     100 |   91.33 | ...70-673,676-678 
 src/serve/server  |   90.77 |    89.49 |   95.27 |   90.77 |                   
  access-log.ts    |   98.68 |     97.1 |     100 |   98.68 | 115,186           
  ...er-helpers.ts |   63.82 |    77.96 |   81.81 |   63.82 | ...16,330,332-347 
  ...w-registry.ts |    98.8 |    81.81 |     100 |    98.8 | 107               
  ...r-handlers.ts |   97.29 |       75 |     100 |   97.29 | 17                
  ...r-response.ts |   85.45 |    76.57 |     100 |   85.45 | ...93,710,773-782 
  fs-factory.ts    |     100 |    92.59 |     100 |     100 | 34,42,103,159     
  ...branch-ops.ts |     100 |      100 |     100 |     100 |                   
  ...t-deadline.ts |     100 |      100 |     100 |     100 |                   
  ...iter-setup.ts |      65 |    73.33 |   33.33 |      65 | 30-35,38-43,47-48 
  ...st-helpers.ts |   95.11 |    95.14 |     100 |   95.11 | ...65-167,422-427 
  self-origin.ts   |   76.19 |       80 |     100 |   76.19 | 45-54             
  ...e-features.ts |   94.81 |    90.32 |     100 |   94.81 | 175-181           
  ...on-archive.ts |   89.61 |    90.56 |   88.23 |   89.61 | ...36-441,513-523 
  ...ion-export.ts |     100 |    94.44 |     100 |     100 | 64                
  session-list.ts  |   93.55 |    91.01 |     100 |   93.55 | ...79,681-687,827 
  telemetry.ts     |   99.01 |    97.43 |     100 |   99.01 | ...13,627,769-771 
 src/serve/voice   |   83.35 |    92.22 |   90.47 |   83.35 |                   
  ...ice-config.ts |   84.61 |       30 |     100 |   84.61 | 90-99,103-104     
  voice-ws.ts      |   77.16 |    94.73 |   83.33 |   77.16 | ...68,483,521-523 
  ...oordinator.ts |     100 |    98.21 |     100 |     100 | 176               
 ...kspace-service |    89.4 |    85.59 |      90 |    89.4 |                   
  index.ts         |   88.94 |    85.16 |   88.57 |   88.94 | ...1211-1215,1218 
  types.ts         |     100 |      100 |     100 |     100 |                   
 src/services      |   92.23 |    88.48 |   97.82 |   92.23 |                   
  ...mandLoader.ts |     100 |    88.88 |     100 |     100 | 104-117           
  ...killLoader.ts |   97.14 |    87.87 |     100 |   97.14 | 140,151-152       
  ...andService.ts |   98.73 |      100 |     100 |   98.73 | 107               
  ...mandLoader.ts |   86.83 |    83.87 |     100 |   86.83 | ...30-335,340-345 
  ...omptLoader.ts |   79.55 |    88.29 |   83.33 |   79.55 | ...48,178,245-246 
  ...mandLoader.ts |   97.36 |    92.68 |     100 |   97.36 | 153,160-161       
  ...nd-factory.ts |   91.42 |    91.66 |     100 |   91.42 | 128,137-144       
  ...ation-tool.ts |     100 |    95.45 |     100 |     100 | 125               
  ...ndMetadata.ts |   98.23 |    96.72 |     100 |   98.23 | 83,87             
  commandUtils.ts  |      96 |     90.9 |     100 |      96 | 48                
  ...and-parser.ts |   90.69 |    85.71 |     100 |   90.69 | 63-66             
  ...ionService.ts |     100 |      100 |     100 |     100 |                   
  prompt-stash.ts  |   96.66 |    92.85 |     100 |   96.66 | 34-35             
  ...tree-lease.ts |   88.29 |    86.48 |     100 |   88.29 | ...91-196,229-230 
  ...low-loader.ts |     100 |    96.15 |     100 |     100 | 88                
  setup-github.ts  |    90.8 |    80.95 |     100 |    90.8 | ...49-450,457-458 
  ...-args-file.ts |   93.54 |    90.47 |    87.5 |   93.54 | 201-203,217-223   
  types.ts         |     100 |      100 |     100 |     100 |                   
  ...e-keyterms.ts |   98.64 |    95.71 |     100 |   98.64 | 116,142-143       
  voice-model.ts   |     100 |      100 |     100 |     100 |                   
  voice-service.ts |   90.37 |    87.87 |     100 |   90.37 | ...80,287,352-357 
  ...e-settings.ts |     100 |    95.23 |     100 |     100 | 19                
  ...ranscriber.ts |   90.46 |    82.19 |      96 |   90.46 | ...66-668,671-673 
 ...rvices/insight |     100 |      100 |     100 |     100 |                   
  dates.ts         |     100 |      100 |     100 |     100 |                   
 ...ght/generators |   88.91 |    86.29 |   96.15 |   88.91 |                   
  DataProcessor.ts |   88.28 |    86.24 |   94.73 |   88.28 | ...1352,1356-1363 
  ...tGenerator.ts |   98.24 |    85.71 |     100 |   98.24 | 47                
  ...teRenderer.ts |     100 |      100 |     100 |     100 |                   
 .../insight/types |       0 |       50 |      50 |       0 |                   
  ...sightTypes.ts |       0 |        0 |       0 |       0 |                   
  ...sightTypes.ts |       0 |        0 |       0 |       0 | 1                 
 ...mpt-processors |   97.27 |    94.04 |     100 |   97.27 |                   
  ...tProcessor.ts |     100 |      100 |     100 |     100 |                   
  ...eProcessor.ts |   94.52 |    84.21 |     100 |   94.52 | 46-47,93-94       
  ...tionParser.ts |     100 |      100 |     100 |     100 |                   
  ...lProcessor.ts |   97.41 |    95.65 |     100 |   97.41 | 95-98             
  types.ts         |     100 |      100 |     100 |     100 |                   
 src/services/tips |   97.27 |    84.61 |     100 |   97.27 |                   
  index.ts         |     100 |      100 |     100 |     100 |                   
  tipHistory.ts    |   92.59 |       70 |     100 |   92.59 | ...24,146,153,162 
  tipRegistry.ts   |     100 |      100 |     100 |     100 |                   
  tipScheduler.ts  |     100 |    91.66 |     100 |     100 | 55                
 src/startup       |   88.99 |    83.47 |    90.9 |   88.99 |                   
  ...p-prefetch.ts |   98.09 |    94.23 |    87.5 |   98.09 | 50,209,225-226    
  ...reeStartup.ts |   80.53 |     74.6 |     100 |   80.53 | ...94,403,409-412 
 src/test-utils    |   93.26 |       75 |   83.33 |   93.26 |                   
  ci-env.ts        |      88 |     62.5 |     100 |      88 | 22-23,28          
  ...omMatchers.ts |   69.69 |       50 |      50 |   69.69 | 32-35,37-39,45-47 
  ...andContext.ts |     100 |      100 |     100 |     100 |                   
  render.tsx       |     100 |      100 |     100 |     100 |                   
 src/ui            |   72.11 |    75.58 |   64.63 |   72.11 |                   
  App.tsx          |   33.33 |       75 |   33.33 |   33.33 | 32-86             
  AppContainer.tsx |   73.26 |    72.45 |   67.85 |   73.26 | ...4122,4164-4174 
  ...tionNudge.tsx |    9.58 |      100 |       0 |    9.58 | 24-94             
  ...ackDialog.tsx |    30.3 |      100 |       0 |    30.3 | 26-76             
  ...tionNudge.tsx |    7.69 |      100 |       0 |    7.69 | 25-103            
  colors.ts        |      60 |      100 |   35.29 |      60 | ...52,54-55,60-61 
  constants.ts     |     100 |      100 |     100 |     100 |                   
  keyMatchers.ts   |   95.91 |    97.14 |     100 |   95.91 | 25-26             
  ...tic-colors.ts |     100 |      100 |     100 |     100 |                   
  ...ractiveUI.tsx |   66.97 |    65.71 |   33.33 |   66.97 | ...77,292,323-328 
  ...inePresets.ts |   96.27 |    83.87 |     100 |   96.27 | ...97,402,410-412 
  textConstants.ts |     100 |      100 |     100 |     100 |                   
  types.ts         |     100 |      100 |     100 |     100 |                   
 src/ui/auth       |   58.53 |    66.18 |   51.06 |   58.53 |                   
  AuthDialog.tsx   |   59.01 |     42.1 |   16.66 |   59.01 | ...25,332-354,358 
  ...nProgress.tsx |       0 |        0 |       0 |       0 | 1-64              
  ...etupSteps.tsx |   60.21 |    70.73 |   57.69 |   60.21 | ...90,794,803,806 
  useAuth.ts       |    94.6 |    73.52 |     100 |    94.6 | ...21-222,241-247 
  ...rSetupFlow.ts |   43.18 |    33.33 |      50 |   43.18 | ...78-399,416-459 
 src/ui/commands   |   81.41 |    82.99 |    89.4 |   81.41 |                   
  aboutCommand.ts  |     100 |      100 |     100 |     100 |                   
  agentsCommand.ts |   83.78 |      100 |      60 |   83.78 | 30-32,42-44       
  ...odeCommand.ts |    93.1 |    95.23 |     100 |    93.1 | 77-82             
  arenaCommand.ts  |   63.89 |    65.71 |   65.21 |   63.89 | ...01-606,691-699 
  authCommand.ts   |     100 |      100 |     100 |     100 |                   
  branchCommand.ts |     100 |      100 |     100 |     100 |                   
  btwCommand.ts    |   94.32 |    77.41 |     100 |   94.32 | 35-36,114-119     
  bugCommand.ts    |     100 |    77.77 |     100 |     100 | 27,61             
  cdCommand.ts     |   92.46 |    83.63 |     100 |   92.46 | ...4-69,94-99,178 
  clearCommand.ts  |    80.9 |    70.83 |     100 |    80.9 | ...24-125,133-142 
  ...essCommand.ts |   67.95 |    55.88 |      75 |   67.95 | ...86-187,201-204 
  ...astCommand.ts |   84.17 |       75 |     100 |   84.17 | ...,91-97,125-130 
  ...ig-command.ts |   93.12 |    88.42 |     100 |   93.12 | ...07-315,321-323 
  ...extCommand.ts |   68.48 |    71.01 |   84.61 |   68.48 | ...74-607,618-619 
  copyCommand.ts   |    98.7 |    96.29 |     100 |    98.7 | 66-67,172,272,323 
  deleteCommand.ts |     100 |      100 |     100 |     100 |                   
  diffCommand.ts   |     100 |    87.87 |     100 |     100 | ...63,231-232,245 
  ...ryCommand.tsx |   81.64 |    87.67 |    90.9 |   81.64 | ...73-278,325-332 
  docsCommand.ts   |     100 |     90.9 |     100 |     100 | 25                
  doctorCommand.ts |   65.37 |    81.88 |   94.11 |   65.37 | ...85-535,538-672 
  dreamCommand.ts  |   85.45 |    88.88 |     100 |   85.45 | 58-65             
  editorCommand.ts |     100 |      100 |     100 |     100 |                   
  ...rt-command.ts |   82.97 |    78.57 |     100 |   82.97 | 47-52,67-70,91-96 
  exportCommand.ts |   98.25 |    91.02 |     100 |   98.25 | ...81,198-199,364 
  ...onsCommand.ts |   52.31 |    56.25 |   69.23 |   52.31 | ...09,277-329,390 
  forgetCommand.ts |     100 |       90 |     100 |     100 | 59                
  forkCommand.ts   |     100 |    94.11 |     100 |     100 | 96,147            
  goalCommand.ts   |   91.13 |    83.72 |      90 |   91.13 | ...81-184,196-199 
  helpCommand.ts   |     100 |      100 |     100 |     100 |                   
  ...oryCommand.ts |     100 |      100 |     100 |     100 |                   
  hooksCommand.ts  |   81.13 |    65.71 |   85.71 |   81.13 | ...,86-93,131-132 
  ideCommand.ts    |   60.75 |    64.28 |   41.17 |   60.75 | ...05-306,310-324 
  ...figCommand.ts |   52.83 |    81.25 |      70 |   52.83 | ...74-319,321-330 
  initCommand.ts   |   91.86 |       80 |     100 |   91.86 | 48,83-88          
  ...ghtCommand.ts |   77.87 |    71.42 |     100 |   77.87 | ...44-245,250-272 
  ...ageCommand.ts |   93.45 |    89.06 |     100 |   93.45 | ...68-169,196-206 
  learn-command.ts |     100 |      100 |     100 |     100 |                   
  lspCommand.ts    |     100 |    86.95 |     100 |     100 | 31,101-102        
  mcpCommand.ts    |     100 |      100 |     100 |     100 |                   
  memoryCommand.ts |     100 |      100 |     100 |     100 |                   
  modelCommand.ts  |   86.27 |    83.01 |     100 |   86.27 | ...22-935,969-974 
  ...onsCommand.ts |     100 |      100 |     100 |     100 |                   
  planCommand.ts   |   78.82 |    76.92 |     100 |   78.82 | 30-35,51-56,68-73 
  quitCommand.ts   |     100 |      100 |     100 |     100 |                   
  recapCommand.ts  |   21.81 |      100 |      50 |   21.81 | 24-73             
  ...ns-command.ts |   98.83 |    81.81 |     100 |   98.83 | 100               
  ...berCommand.ts |     100 |     87.5 |     100 |     100 | 46                
  renameCommand.ts |   89.06 |    88.37 |     100 |   89.06 | ...72-176,202-209 
  ...oreCommand.ts |    90.9 |    86.04 |     100 |    90.9 | ...41-146,176-177 
  resumeCommand.ts |     100 |      100 |     100 |     100 |                   
  rewindCommand.ts |   81.25 |      100 |      50 |   81.25 | 20-22             
  ...ngsCommand.ts |     100 |      100 |     100 |     100 |                   
  ...hubCommand.ts |   89.47 |       75 |      80 |   89.47 | 54-59             
  skillsCommand.ts |   78.82 |    81.81 |     100 |   78.82 | 37-52,78,97       
  statsCommand.ts  |   90.65 |    76.73 |     100 |   90.65 | ...30-733,825-832 
  ...ineCommand.ts |     100 |      100 |     100 |     100 |                   
  ...aryCommand.ts |    6.43 |      100 |      50 |    6.43 | 31-330            
  tasksCommand.ts  |   77.22 |    72.13 |     100 |   77.22 | ...46-150,172-177 
  ...tupCommand.ts |     100 |      100 |     100 |     100 |                   
  themeCommand.ts  |     100 |      100 |     100 |     100 |                   
  toolsCommand.ts  |     100 |      100 |     100 |     100 |                   
  trustCommand.ts  |     100 |      100 |     100 |     100 |                   
  types.ts         |     100 |      100 |     100 |     100 |                   
  ...te-command.ts |     100 |    94.11 |     100 |     100 | 74,148            
  vimCommand.ts    |   54.54 |      100 |      50 |   54.54 | 19-29             
  voice-command.ts |   93.57 |       88 |     100 |   93.57 | 35,97-102         
  ...owsCommand.ts |   91.82 |    78.87 |   66.66 |   91.82 | ...59-160,169-174 
 src/ui/components |   70.64 |    78.44 |   76.29 |   70.64 |                   
  AboutBox.tsx     |     100 |      100 |     100 |     100 |                   
  ...ateScreen.tsx |   97.29 |     87.5 |   66.66 |   97.29 | 49                
  AnsiOutput.tsx   |   65.57 |      100 |      50 |   65.57 | 69-90             
  ApiKeyInput.tsx  |       0 |        0 |       0 |       0 | 1-97              
  AppHeader.tsx    |    88.7 |       75 |     100 |    88.7 | 36,38-43,45       
  ...odeDialog.tsx |   87.24 |    72.22 |   33.33 |   87.24 | ...85,233-238,245 
  AsciiArt.ts      |     100 |      100 |     100 |     100 |                   
  ...Indicator.tsx |   95.65 |    66.66 |     100 |   95.65 | 27,52             
  ...TextInput.tsx |   88.65 |    90.41 |     100 |   88.65 | ...84-286,300-302 
  Composer.tsx     |   94.49 |    66.66 |     100 |   94.49 | ...-72,84,139,153 
  ...entPrompt.tsx |     100 |      100 |     100 |     100 |                   
  ...ryDisplay.tsx |   75.89 |    62.06 |     100 |   75.89 | ...,88,93-108,113 
  ...geDisplay.tsx |   68.42 |    57.14 |     100 |   68.42 | 16-17,31-32,42-50 
  CronPill.tsx     |     100 |    93.75 |     100 |     100 | 19                
  ...ification.tsx |      84 |       60 |     100 |      84 | 23-24,40-42       
  ...gProfiler.tsx |       0 |        0 |       0 |       0 | 1-36              
  ...ogManager.tsx |       0 |        0 |       0 |       0 | 1-597             
  DiffDialog.tsx   |    53.5 |     37.5 |   69.23 |    53.5 | ...32-737,747-760 
  ...ngsDialog.tsx |       0 |        0 |       0 |       0 | 1-195             
  EffortDialog.tsx |   97.36 |      100 |     100 |   97.36 | 55-56             
  ExitWarning.tsx  |     100 |      100 |     100 |     100 |                   
  ...hProgress.tsx |    87.8 |    33.33 |     100 |    87.8 | 28-31,56          
  ...ustDialog.tsx |     100 |      100 |     100 |     100 |                   
  Footer.tsx       |   75.11 |     61.4 |      50 |   75.11 | ...48-253,271-275 
  ...ngSpinner.tsx |   68.42 |    85.71 |      50 |   68.42 | 35-52,73,80-81    
  GoalPill.tsx     |   83.33 |    76.92 |     100 |   83.33 | 24-30             
  Header.tsx       |   98.65 |    94.73 |     100 |   98.65 | 173,175           
  Help.tsx         |   98.33 |       90 |     100 |   98.33 | ...25,382,448-449 
  ...emDisplay.tsx |   78.51 |     65.3 |     100 |   78.51 | ...99,502,505-511 
  ...ngeDialog.tsx |     100 |      100 |     100 |     100 |                   
  InputPrompt.tsx  |   83.08 |    81.73 |      80 |   83.08 | ...2197,2223,2297 
  ...Shortcuts.tsx |   20.65 |      100 |       0 |   20.65 | ...7,50-52,68-126 
  ...Indicator.tsx |   98.18 |    97.82 |     100 |   98.18 | 161-162           
  ...firmation.tsx |   91.42 |      100 |      50 |   91.42 | 26-31             
  MainContent.tsx  |   95.82 |    92.53 |      50 |   95.82 | ...97,440-444,447 
  MemoryDialog.tsx |   86.59 |    80.15 |     100 |   86.59 | ...34-435,485,553 
  ...geDisplay.tsx |       0 |        0 |       0 |       0 | 1-41              
  ModelDialog.tsx  |   83.41 |    71.65 |     100 |   83.41 | ...69,971,976-992 
  ...tsDisplay.tsx |     100 |    97.22 |     100 |     100 | 270               
  ...fications.tsx |       0 |        0 |       0 |       0 | 1-56              
  ...onsDialog.tsx |       0 |        0 |       0 |       0 | 1-1004            
  ...ryDisplay.tsx |     100 |      100 |     100 |     100 |                   
  ...icePrompt.tsx |   92.64 |    85.71 |     100 |   92.64 | 102-106,134-139   
  PrepareLabel.tsx |   91.66 |    77.27 |     100 |   91.66 | 73-75,77-79,110   
  ...atePrompt.tsx |       0 |        0 |       0 |       0 | 1-134             
  ...geDisplay.tsx |     100 |      100 |     100 |     100 |                   
  ...ngDisplay.tsx |       0 |        0 |       0 |       0 | 1-39              
  ...hProgress.tsx |   85.25 |    88.46 |     100 |   85.25 | 121-147           
  ...dSelector.tsx |   92.79 |    82.65 |     100 |   92.79 | ...19-323,354-370 
  ...ionPicker.tsx |   83.66 |    72.13 |     100 |   83.66 | ...96,402,444-466 
  ...onPreview.tsx |   93.58 |    83.78 |     100 |   93.58 | ...,70-71,195-197 
  ...ryDisplay.tsx |     100 |      100 |     100 |     100 |                   
  ...putPrompt.tsx |   72.56 |       80 |      40 |   72.56 | ...06-109,114-117 
  ...tedDialog.tsx |     100 |      100 |     100 |     100 |                   
  ...ngsDialog.tsx |   71.49 |    73.89 |   69.23 |   71.49 | ...1244,1250-1251 
  ...ionDialog.tsx |    92.3 |    96.15 |   33.33 |    92.3 | 60-63,68-75,164   
  ...putPrompt.tsx |    15.9 |      100 |       0 |    15.9 | 20-63             
  ...Indicator.tsx |   57.14 |      100 |       0 |   57.14 | 12-15             
  ...MoreLines.tsx |       0 |        0 |       0 |       0 | 1-40              
  ...iewDialog.tsx |   97.77 |    87.67 |     100 |   97.77 | ...97,305-307,324 
  ...tsDisplay.tsx |   95.86 |       75 |     100 |   95.86 | 67-71             
  ...ionPicker.tsx |       0 |        0 |       0 |       0 | 1-172             
  ...tivityTab.tsx |    3.94 |      100 |       0 |    3.94 | 27-275            
  StatsDialog.tsx  |    8.64 |      100 |       0 |    8.64 | ...76-111,130-322 
  StatsDisplay.tsx |     100 |      100 |     100 |     100 |                   
  ...ciencyTab.tsx |    78.9 |    56.52 |     100 |    78.9 | ...26,213,262-288 
  ...atmapView.tsx |    8.98 |      100 |       0 |    8.98 | 20-107            
  ...essionTab.tsx |      80 |    66.66 |     100 |      80 | ...70-277,283-300 
  ...ineDialog.tsx |    93.5 |    85.18 |     100 |    93.5 | ...05,267,287-289 
  ...yTodoList.tsx |   96.36 |    88.23 |     100 |   96.36 | 138-141           
  ...nsDisplay.tsx |   92.97 |    83.87 |     100 |   92.97 | ...43,246,273-275 
  ThemeDialog.tsx  |   89.95 |    46.15 |      75 |   89.95 | ...71-173,243-245 
  Tips.tsx         |   93.54 |       75 |     100 |   93.54 | 39-40             
  TodoDisplay.tsx  |     100 |      100 |     100 |     100 |                   
  ...tsDisplay.tsx |     100 |     87.5 |     100 |     100 | 31-32             
  ...criptView.tsx |   98.27 |    84.21 |     100 |   98.27 | 45,53             
  TrustDialog.tsx  |     100 |    83.33 |     100 |     100 | 72-87             
  ...ification.tsx |   36.36 |      100 |       0 |   36.36 | 15-22             
  ...Indicator.tsx |    92.5 |     87.5 |     100 |    92.5 | 50-53             
  ...ackDialog.tsx |       0 |        0 |       0 |       0 | 1-134             
  ...xitDialog.tsx |   80.36 |    43.47 |      60 |   80.36 | ...24-238,248-251 
  ...odeVisuals.ts |   97.22 |    85.71 |     100 |   97.22 | 25                
  ...s-helpers.tsx |   66.25 |    81.25 |      50 |   66.25 | 25-32,46-53,62-72 
 ...nts/agent-view |   53.72 |    70.87 |   42.85 |   53.72 |                   
  ...atContent.tsx |    9.09 |      100 |       0 |    9.09 | 54-275,281-283    
  ...tChatView.tsx |   21.05 |      100 |       0 |   21.05 | 21-39             
  ...tComposer.tsx |   64.78 |    29.41 |   33.33 |   64.78 | ...51,269,277-279 
  AgentFooter.tsx  |   15.38 |      100 |       0 |   15.38 | 28-65             
  AgentHeader.tsx  |   15.38 |      100 |       0 |   15.38 | 27-64             
  AgentTabBar.tsx  |    87.9 |    63.88 |     100 |    87.9 | ...88,110-118,136 
  ...oryAdapter.ts |     100 |    91.83 |     100 |     100 | 103,109-110,138   
  index.ts         |       0 |        0 |       0 |       0 | 1-12              
 ...mponents/arena |    42.3 |    68.69 |   73.68 |    42.3 |                   
  ArenaCards.tsx   |   73.06 |    71.79 |   85.71 |   73.06 | ...83-185,321-326 
  ...ectDialog.tsx |   83.48 |    69.86 |   88.88 |   83.48 | ...88-392,409-410 
  ...artDialog.tsx |       0 |        0 |       0 |       0 | 1-166             
  ...tusDialog.tsx |       0 |        0 |       0 |       0 | 1-288             
  ...topDialog.tsx |       0 |        0 |       0 |       0 | 1-213             
 ...ackground-view |    82.2 |    81.36 |    90.9 |    82.2 |                   
  ...sksDialog.tsx |   77.53 |     76.9 |   80.76 |   77.53 | ...1781,1803-1809 
  ...TasksPill.tsx |   67.03 |     86.2 |     100 |   67.03 | ...02-122,130-138 
  ...gentPanel.tsx |   97.08 |    86.31 |     100 |   97.08 | 132,442-446,520   
  agent-forest.ts  |    99.2 |    93.93 |     100 |    99.2 | 258               
  ...Visibility.ts |     100 |      100 |     100 |     100 |                   
  ...e-overlay.tsx |    88.2 |    76.47 |     100 |    88.2 | ...36-138,140-142 
 ...nts/extensions |   84.32 |    76.78 |   83.33 |   84.32 |                   
  ...gerDialog.tsx |   82.15 |    76.08 |     100 |   82.15 | ...91-198,258,260 
  TabBar.tsx       |   97.29 |    88.88 |     100 |   97.29 | 33                
  index.ts         |       0 |        0 |       0 |       0 | 1-12              
  types.ts         |     100 |      100 |     100 |     100 |                   
 ...tensions/steps |   46.26 |       85 |   58.82 |   46.26 |                   
  ...ctionStep.tsx |   95.12 |    92.85 |   85.71 |   95.12 | 84-86,89          
  ...etailStep.tsx |       0 |        0 |       0 |       0 | 1-145             
  ...nListStep.tsx |   75.26 |    88.37 |   66.66 |   75.26 | ...53,174,203-209 
  ...electStep.tsx |       0 |        0 |       0 |       0 | 1-83              
  ...nfirmStep.tsx |   16.32 |      100 |       0 |   16.32 | 28-74             
  index.ts         |       0 |        0 |       0 |       0 | 1-11              
 ...xtensions/tabs |   71.92 |    68.14 |   70.83 |   71.92 |                   
  DiscoverTab.tsx  |   68.22 |    67.66 |   55.55 |   68.22 | ...93,656-660,664 
  InstalledTab.tsx |   75.49 |    67.28 |   83.33 |   75.49 | ...77,782-783,820 
  SourcesTab.tsx   |   71.67 |    70.47 |   77.77 |   71.67 | ...28,547,621-633 
 ...tensions/views |   50.97 |    52.38 |   20.83 |   50.97 |                   
  ...tionsView.tsx |   73.75 |    56.36 |   66.66 |   73.75 | ...30,353,369-374 
  ...tionsView.tsx |   43.45 |    44.82 |    6.66 |   43.45 | ...98-405,408-420 
  ...etailView.tsx |    9.56 |      100 |       0 |    9.56 | 40-67,70-158      
 ...mponents/hooks |   86.99 |    81.37 |   91.89 |   86.99 |                   
  ...rListBody.tsx |   95.29 |    85.18 |     100 |   95.29 | 95-98             
  ...etailStep.tsx |   75.32 |    71.42 |      60 |   75.32 | ...56-169,173-186 
  ...etailStep.tsx |     100 |      100 |     100 |     100 |                   
  ...rListStep.tsx |     100 |      100 |     100 |     100 |                   
  ...entHeader.tsx |     100 |    85.71 |     100 |     100 | 47                
  ...rListStep.tsx |     100 |      100 |     100 |     100 |                   
  ...etailStep.tsx |     100 |      100 |     100 |     100 |                   
  ...abledStep.tsx |     100 |      100 |     100 |     100 |                   
  ...sListStep.tsx |     100 |      100 |     100 |     100 |                   
  ...entDialog.tsx |   72.29 |    70.49 |     100 |   72.29 | ...51,563-568,572 
  constants.ts     |     100 |      100 |     100 |     100 |                   
  index.ts         |       0 |        0 |       0 |       0 | 1-13              
  ...erGrouping.ts |     100 |      100 |     100 |     100 |                   
  sourceLabels.ts  |     100 |      100 |     100 |     100 |                   
  types.ts         |     100 |      100 |     100 |     100 |                   
 ...components/mcp |   40.04 |    61.53 |   70.58 |   40.04 |                   
  ...ealthPill.tsx |   68.42 |    85.71 |     100 |   68.42 | 40-46             
  ...entDialog.tsx |   32.09 |    26.19 |      40 |   32.09 | ...12,914,927-933 
  ...valDialog.tsx |   15.06 |      100 |       0 |   15.06 | 40-109            
  constants.ts     |     100 |      100 |     100 |     100 |                   
  index.ts         |       0 |        0 |       0 |       0 | 1-35              
  types.ts         |     100 |      100 |     100 |     100 |                   
  utils.ts         |      97 |       95 |     100 |      97 | 24,113-114        
 ...ents/mcp/steps |   53.94 |    73.51 |   57.14 |   53.94 |                   
  ...icateStep.tsx |    5.65 |      100 |       0 |    5.65 | 40-66,69-308      
  ...electStep.tsx |   10.95 |      100 |       0 |   10.95 | 16-88             
  ...etailStep.tsx |     100 |      100 |     100 |     100 |                   
  ...eListStep.tsx |   99.09 |    97.36 |     100 |   99.09 | 71                
  ...etailStep.tsx |   62.83 |       60 |   33.33 |   62.83 | ...87-296,307-332 
  ...rListStep.tsx |   88.53 |    81.25 |     100 |   88.53 | ...64,170,175-180 
  ...etailStep.tsx |    10.3 |      100 |       0 |    10.3 | ...1,67-79,82-140 
  ToolListStep.tsx |   69.29 |       50 |     100 |   69.29 | ...23,126,135-144 
 ...nents/messages |   89.97 |    86.17 |      87 |   89.97 |                   
  ...ionDialog.tsx |   89.23 |    84.27 |   81.81 |   89.23 | ...75,593,611-613 
  BtwMessage.tsx   |     100 |      100 |     100 |     100 |                   
  ...upDisplay.tsx |     100 |    94.73 |     100 |     100 | ...43,289,402,432 
  ...onMessage.tsx |   92.06 |    82.35 |     100 |   92.06 | 58-60,62,64       
  ...nMessages.tsx |   96.71 |    97.77 |   91.66 |   96.71 | 223-233           
  DiffRenderer.tsx |   93.17 |    86.02 |     100 |   93.17 | ...07,235-236,302 
  ...tsDisplay.tsx |   97.08 |    77.77 |     100 |   97.08 | 95,97,106         
  ...usMessage.tsx |   76.52 |     42.1 |   66.66 |   76.52 | ...00,102,125,156 
  ...tsDisplay.tsx |   95.52 |    88.31 |     100 |   95.52 | ...40,142,175-180 
  ...ssMessage.tsx |    12.5 |      100 |       0 |    12.5 | 18-59             
  ...edMessage.tsx |   21.05 |      100 |       0 |   21.05 | 23-39             
  ...sMessages.tsx |   59.04 |       50 |    37.5 |   59.04 | ...21-126,147-159 
  ...ryMessage.tsx |   13.63 |      100 |       0 |   13.63 | 23-64             
  ...onMessage.tsx |   89.75 |     79.1 |     100 |   89.75 | ...33-635,642-644 
  ...upMessage.tsx |   98.32 |    95.16 |     100 |   98.32 | 184-187,414       
  ToolMessage.tsx  |   92.49 |       85 |   93.33 |   92.49 | ...61-966,993-995 
 ...ponents/shared |   85.76 |    82.09 |   94.05 |   85.76 |                   
  ...ctionList.tsx |     100 |      100 |      75 |     100 |                   
  ...tonSelect.tsx |     100 |      100 |     100 |     100 |                   
  EnumSelector.tsx |     100 |    96.42 |     100 |     100 | 58                
  ...rBoundary.tsx |     100 |      100 |     100 |     100 |                   
  MaxSizedBox.tsx  |   84.71 |    86.86 |      90 |   84.71 | ...67-568,685-686 
  MultiSelect.tsx  |   93.58 |       75 |     100 |   93.58 | ...43,199-201,211 
  ...tonSelect.tsx |     100 |      100 |     100 |     100 |                   
  ...ontroller.tsx |     100 |    83.33 |     100 |     100 | 73,93-95          
  ...eSelector.tsx |     100 |       60 |     100 |     100 | 40-45             
  ...lableList.tsx |   81.48 |    84.84 |     100 |   81.48 | 46-66,73-76       
  StaticRender.tsx |   72.72 |      100 |     100 |   72.72 | 31-33             
  TextInput.tsx    |    80.8 |    67.24 |      80 |    80.8 | ...36-240,252-258 
  ...ontroller.tsx |     100 |    81.81 |     100 |     100 | 59-62             
  ...apsedTime.tsx |     100 |      100 |     100 |     100 |                   
  ...Indicator.tsx |     100 |      100 |     100 |     100 |                   
  ...lizedList.tsx |   88.51 |    85.11 |   81.81 |   88.51 | ...51-779,792,887 
  text-buffer.ts   |   85.98 |    81.81 |   97.91 |   85.98 | ...2664,2762-2763 
  ...er-actions.ts |   73.93 |    67.22 |     100 |   73.93 | ...32-733,934-936 
 ...ponents/skills |       0 |        0 |       0 |       0 |                   
  ...gerDialog.tsx |       0 |        0 |       0 |       0 | 1-681             
 ...ents/subagents |       0 |        0 |       0 |       0 |                   
  constants.ts     |       0 |        0 |       0 |       0 | 1-71              
  index.ts         |       0 |        0 |       0 |       0 | 1-11              
  reducers.tsx     |       0 |        0 |       0 |       0 | 1-190             
  types.ts         |       0 |        0 |       0 |       0 | 1-125             
  utils.ts         |       0 |        0 |       0 |       0 | 1-102             
 ...bagents/create |       0 |        0 |       0 |       0 |                   
  ...ionWizard.tsx |       0 |        0 |       0 |       0 | 1-299             
  ...rSelector.tsx |       0 |        0 |       0 |       0 | 1-85              
  ...onSummary.tsx |       0 |        0 |       0 |       0 | 1-331             
  ...tionInput.tsx |       0 |        0 |       0 |       0 | 1-177             
  ...dSelector.tsx |       0 |        0 |       0 |       0 | 1-63              
  ...nSelector.tsx |       0 |        0 |       0 |       0 | 1-58              
  ...EntryStep.tsx |       0 |        0 |       0 |       0 | 1-78              
  ToolSelector.tsx |       0 |        0 |       0 |       0 | 1-253             
 ...bagents/manage |   14.14 |    53.19 |    37.5 |   14.14 |                   
  ...ctionStep.tsx |       0 |        0 |       0 |       0 | 1-103             
  ...eleteStep.tsx |       0 |        0 |       0 |       0 | 1-62              
  ...tEditStep.tsx |       0 |        0 |       0 |       0 | 1-124             
  ...ctionStep.tsx |   35.61 |    59.52 |     100 |   35.61 | ...21-433,438-440 
  ...iewerStep.tsx |       0 |        0 |       0 |       0 | 1-73              
  ...gerDialog.tsx |       0 |        0 |       0 |       0 | 1-341             
 ...mponents/views |   69.97 |    72.89 |   61.11 |   69.97 |                   
  ContextUsage.tsx |   70.88 |    63.88 |      80 |   70.88 | ...20-426,463-557 
  DoctorReport.tsx |     9.8 |      100 |       0 |     9.8 | 25-54,57-131      
  ...sionsList.tsx |   88.05 |       75 |     100 |   88.05 | 70-77             
  McpStatus.tsx    |   92.01 |     73.8 |     100 |   92.01 | ...36,175-177,262 
  SkillsList.tsx   |   20.51 |      100 |       0 |   20.51 | 17-20,27-57       
  ToolsList.tsx    |     100 |      100 |     100 |     100 |                   
 src/ui/contexts   |   84.11 |    81.79 |    86.3 |   84.11 |                   
  ...ewContext.tsx |   64.83 |    88.88 |      50 |   64.83 | ...16-219,225-235 
  AppContext.tsx   |      80 |       50 |     100 |      80 | 19-20             
  ...ewContext.tsx |   92.45 |    62.79 |      50 |   92.45 | ...69-270,272-276 
  ...igContext.tsx |   81.81 |       50 |     100 |   81.81 | 15-16             
  ...ssContext.tsx |   85.92 |    85.15 |     100 |   85.92 | ...1607-1609,1615 
  ...owContext.tsx |   91.07 |    81.81 |     100 |   91.07 | 47-48,60-62       
  ...deContext.tsx |     100 |      100 |      50 |     100 |                   
  ...onContext.tsx |   80.77 |       80 |    92.3 |   80.77 | ...31-434,443-446 
  ...gsContext.tsx |     100 |      100 |     100 |     100 |                   
  ...usContext.tsx |     100 |      100 |     100 |     100 |                   
  ...ngContext.tsx |   71.42 |       50 |     100 |   71.42 | 17-20             
  ...utContext.tsx |   85.71 |      100 |   66.66 |   85.71 | 13-14             
  ...edContext.tsx |     100 |      100 |      50 |     100 |                   
  ...nsContext.tsx |   88.88 |       50 |     100 |   88.88 | 155-156           
  ...teContext.tsx |   86.66 |       50 |     100 |   86.66 | 234-235           
  ...deContext.tsx |      80 |     87.5 |      75 |      80 | ...11-112,118-120 
  ...rtContext.tsx |     100 |      100 |     100 |     100 |                   
 src/ui/daemon     |   88.35 |    73.51 |   95.45 |   88.35 |                   
  ...ui-adapter.ts |   88.35 |    73.51 |   95.45 |   88.35 | ...74,792-793,879 
 src/ui/editors    |       0 |        0 |       0 |       0 |                   
  ...ngsManager.ts |       0 |        0 |       0 |       0 | 1-67              
 src/ui/hooks      |   84.87 |    82.48 |   89.57 |   84.87 |                   
  ...dProcessor.ts |   82.03 |    83.62 |     100 |   82.03 | ...1193,1239-1240 
  ...ention-ref.ts |   97.72 |       84 |     100 |   97.72 | 65                
  keyToAnsi.ts     |    3.92 |      100 |       0 |    3.92 | 19-77             
  ...esourceRef.ts |     100 |      100 |     100 |     100 |                   
  ...completion.ts |     100 |    95.45 |     100 |     100 | 95                
  ...ention-ref.ts |     100 |      100 |     100 |     100 |                   
  ...dProcessor.ts |   94.62 |    73.58 |     100 |   94.62 | ...86-287,292-293 
  ...dProcessor.ts |   85.21 |     66.4 |   81.81 |   85.21 | ...1407,1428-1432 
  ...rt-command.ts |     100 |      100 |     100 |     100 |                   
  ...sced-flush.ts |     100 |      100 |     100 |     100 |                   
  ...oice-input.ts |   92.36 |    81.95 |   66.66 |   92.36 | ...00,502-503,658 
  ...ke-repaint.ts |     100 |      100 |     100 |     100 |                   
  ...amingState.ts |   12.22 |      100 |       0 |   12.22 | 54-157            
  ...agerDialog.ts |   88.23 |      100 |     100 |   88.23 | 20,24             
  ...dScrollbar.ts |     100 |      100 |     100 |     100 |                   
  ...ationFrame.ts |      52 |    63.63 |     100 |      52 | ...59,67-70,76-87 
  ...odeCommand.ts |   58.82 |      100 |     100 |   58.82 | 28,33-48          
  ...enaCommand.ts |      85 |      100 |     100 |      85 | 23-24,29          
  ...aInProcess.ts |   27.92 |       80 |      25 |   27.92 | ...69-170,173-175 
  ...Completion.ts |   86.44 |    88.48 |     100 |   86.44 | ...14-515,525-541 
  ...ifications.ts |   87.82 |    96.77 |     100 |   87.82 | 138-152           
  ...tIndicator.ts |   88.28 |    81.08 |     100 |   88.28 | ...66,175,179-187 
  ...waySummary.ts |   96.26 |       75 |     100 |   96.26 | 126-128,170       
  ...ndTaskView.ts |   94.73 |    76.59 |     100 |   94.73 | 162-166,255,261   
  ...chedScroll.ts |     100 |      100 |     100 |     100 |                   
  ...ketedPaste.ts |    23.8 |      100 |       0 |    23.8 | 19-37             
  ...nchCommand.ts |   94.85 |    80.76 |     100 |   94.85 | ...54,229,292-295 
  ...ompletion.tsx |   97.09 |    87.09 |     100 |   97.09 | ...23-324,334-335 
  ...dMigration.ts |    92.1 |    88.88 |     100 |    92.1 | 42-44             
  useCompletion.ts |   96.29 |    90.56 |     100 |   96.29 | ...17-218,222-223 
  ...nitMessage.ts |     100 |      100 |     100 |     100 |                   
  ...extualTips.ts |   78.26 |       50 |     100 |   78.26 | ...2,75-79,96-104 
  ...eteCommand.ts |   78.53 |    88.57 |     100 |   78.53 | ...96-104,112-113 
  ...ialogClose.ts |   36.11 |       10 |     100 |   36.11 | ...89-195,202-207 
  useDiffData.ts   |       0 |        0 |       0 |       0 | 1-87              
  ...oublePress.ts |   53.12 |       75 |     100 |   53.12 | 33-35,41-54       
  ...orSettings.ts |     100 |      100 |     100 |     100 |                   
  ...Completion.ts |   99.12 |    97.67 |     100 |   99.12 | 182-183           
  ...ionUpdates.ts |   93.72 |    92.98 |     100 |   93.72 | ...87-291,314-320 
  ...agerDialog.ts |   88.88 |      100 |     100 |   88.88 | 21,25             
  ...backDialog.ts |    63.9 |    76.47 |   66.66 |    63.9 | ...66-168,190-191 
  useFocus.ts      |     100 |      100 |     100 |     100 |                   
  ...olderTrust.ts |     100 |    93.33 |     100 |     100 | 62                
  ...ggestions.tsx |   96.47 |    78.94 |     100 |   96.47 | 121,155-156       
  ...miniStream.ts |    85.7 |    81.24 |   96.15 |    85.7 | ...3992,4160-4168 
  ...BranchName.ts |     100 |    94.44 |     100 |     100 | 54                
  ...oryManager.ts |   98.01 |    98.36 |     100 |   98.01 | 139-142           
  ...ooksDialog.ts |    87.5 |      100 |     100 |    87.5 | 19,23             
  ...stListener.ts |     100 |      100 |     100 |     100 |                   
  ...nAuthError.ts |   76.19 |       50 |     100 |   76.19 | 39-40,43-45       
  ...putHistory.ts |   92.59 |    85.71 |     100 |   92.59 | 63-64,72,94-96    
  ...storyStore.ts |     100 |    94.11 |     100 |     100 | 69                
  useKeypress.ts   |     100 |      100 |     100 |     100 |                   
  ...rdProtocol.ts |   36.36 |      100 |       0 |   36.36 | 24-31             
  ...unchEditor.ts |    9.67 |      100 |       0 |    9.67 | 11-32,39-90       
  ...gIndicator.ts |     100 |    96.66 |     100 |     100 | 109               
  useLogger.ts     |      16 |      100 |       0 |      16 | 15-45             
  useMCPHealth.ts  |   63.15 |       80 |      50 |   63.15 | 42-52,64-67       
  ...cpApproval.ts |   93.12 |    86.11 |     100 |   93.12 | ...24-127,139-140 
  useMcpDialog.ts  |    87.5 |      100 |     100 |    87.5 | 19,23             
  ...moryDialog.ts |    87.5 |      100 |     100 |    87.5 | 19,23             
  ...oryMonitor.ts |   83.14 |    78.57 |     100 |   83.14 | 54-63,74-79       
  ...ssageQueue.ts |     100 |     97.5 |     100 |     100 | 99                
  ...delCommand.ts |     100 |       95 |     100 |     100 | 53                
  ...ouseEvents.ts |   94.38 |    97.36 |   83.33 |   94.38 | 77-81             
  ...raseCycler.ts |   84.74 |    76.47 |     100 |   84.74 | ...49,52-53,69-71 
  ...rredEditor.ts |   58.33 |    22.22 |     100 |   58.33 | 23-27,29-33       
  ...derUpdates.ts |    87.4 |    78.78 |     100 |    87.4 | ...71,321-333,381 
  useQwenAuth.ts   |     100 |      100 |     100 |     100 |                   
  ...lScheduler.ts |   88.95 |    86.95 |     100 |   88.95 | ...37-439,471-481 
  ...oryCommand.ts |       0 |        0 |       0 |       0 | 1-7               
  ...umeCommand.ts |   94.67 |    74.28 |     100 |   94.67 | ...19,174,233-238 
  ...ompletion.tsx |   90.67 |    83.33 |     100 |   90.67 | ...02,105,138-141 
  ...ectionList.ts |   97.12 |    96.22 |     100 |   97.12 | ...92-193,247-250 
  ...sionPicker.ts |   92.87 |    90.35 |     100 |   92.87 | ...99-501,503-505 
  ...earchInput.ts |     100 |    97.29 |     100 |     100 | 82                
  ...ngsCommand.ts |   18.75 |      100 |       0 |   18.75 | 10-25             
  ...ellHistory.ts |   93.28 |    80.95 |     100 |   93.28 | ...96,153-154,164 
  ...oryCommand.ts |   85.48 |    58.33 |     100 |   85.48 | 22-28,40,71       
  ...agerDialog.ts |   88.23 |      100 |     100 |   88.23 | 20,24             
  ...Completion.ts |   82.85 |    85.13 |   94.73 |   82.85 | ...78-680,688-724 
  ...tateAndRef.ts |     100 |      100 |     100 |     100 |                   
  ...tatsDialog.ts |     100 |      100 |     100 |     100 |                   
  useStatusLine.ts |   97.13 |    93.33 |     100 |   97.13 | ...78-382,478-485 
  ...eateDialog.ts |   88.23 |      100 |     100 |   88.23 | 14,18             
  ...mInProcess.ts |   27.35 |       80 |      25 |   27.35 | ...82-183,186-188 
  ...tification.ts |     100 |     87.5 |     100 |     100 | 50                
  ...alProgress.ts |   67.34 |    58.82 |   66.66 |   67.34 | 52-53,61-68,79-85 
  ...rminalSize.ts |     100 |      100 |     100 |     100 |                   
  ...emeCommand.ts |   67.01 |    29.41 |     100 |   67.01 | ...10-111,115-116 
  useTimer.ts      |   97.59 |    94.73 |     100 |   97.59 | 17-18             
  ...lMigration.ts |       0 |        0 |       0 |       0 |                   
  ...rustModify.ts |     100 |    90.47 |     100 |     100 | 112,134           
  useTurnDiffs.ts  |   95.12 |    78.57 |     100 |   95.12 | 133-134,156-157   
  ...elcomeBack.ts |   87.36 |     90.9 |     100 |   87.36 | ...,94-96,114-115 
  ...reeSession.ts |   93.75 |       70 |     100 |   93.75 | 47-48,72          
  vim.ts           |      74 |    67.56 |   69.23 |      74 | ...1854-1861,1869 
 src/ui/layouts    |    91.2 |    89.47 |     100 |    91.2 |                   
  ...AppLayout.tsx |    90.9 |     87.5 |     100 |    90.9 | 60-62,110-115,151 
  ...AppLayout.tsx |   91.66 |    92.85 |     100 |   91.66 | 75-80             
 src/ui/models     |   80.72 |       80 |   71.42 |   80.72 |                   
  ...ableModels.ts |   80.72 |       80 |   71.42 |   80.72 | ...,61-71,125-127 
 ...noninteractive |     100 |      100 |    6.66 |     100 |                   
  ...eractiveUi.ts |     100 |      100 |    6.66 |     100 |                   
 src/ui/selection  |   86.47 |    79.88 |   96.66 |   86.47 |                   
  screen-buffer.ts |   94.73 |    64.28 |     100 |   94.73 | 51-52             
  ...ion-coords.ts |     100 |      100 |     100 |     100 |                   
  ...ction-span.ts |   92.72 |       90 |     100 |   92.72 | 37-38,67-68       
  ...tion-state.ts |   85.71 |      100 |   88.88 |   85.71 | 51-58             
  ...ction-text.ts |   92.85 |    92.45 |     100 |   92.85 | 30-34,114-115     
  ...selection.tsx |   80.31 |    59.64 |     100 |   80.31 | ...13-314,330-331 
 src/ui/state      |      95 |    81.81 |     100 |      95 |                   
  extensions.ts    |      95 |    81.81 |     100 |      95 | 69-70,89          
 src/ui/themes     |    98.5 |    73.17 |     100 |    98.5 |                   
  ansi-light.ts    |     100 |      100 |     100 |     100 |                   
  ansi.ts          |     100 |      100 |     100 |     100 |                   
  atom-one-dark.ts |     100 |      100 |     100 |     100 |                   
  ayu-light.ts     |     100 |      100 |     100 |     100 |                   
  ayu.ts           |     100 |      100 |     100 |     100 |                   
  color-utils.ts   |   99.23 |    97.05 |     100 |   99.23 | 277-278           
  default-light.ts |     100 |      100 |     100 |     100 |                   
  default.ts       |     100 |      100 |     100 |     100 |                   
  ...inal-theme.ts |   88.59 |    85.96 |     100 |   88.59 | ...57-261,266-270 
  dracula.ts       |     100 |      100 |     100 |     100 |                   
  github-dark.ts   |     100 |      100 |     100 |     100 |                   
  github-light.ts  |     100 |      100 |     100 |     100 |                   
  googlecode.ts    |     100 |      100 |     100 |     100 |                   
  no-color.ts      |     100 |      100 |     100 |     100 |                   
  qwen-dark.ts     |     100 |      100 |     100 |     100 |                   
  qwen-light.ts    |     100 |      100 |     100 |     100 |                   
  ...tic-tokens.ts |     100 |      100 |     100 |     100 |                   
  ...-of-purple.ts |     100 |      100 |     100 |     100 |                   
  theme-manager.ts |   88.68 |    84.52 |     100 |   88.68 | ...83-392,397-398 
  theme.ts         |     100 |    38.02 |     100 |     100 | ...34-449,457-461 
  xcode.ts         |     100 |      100 |     100 |     100 |                   
 src/ui/utils      |   86.25 |    85.11 |   95.04 |   86.25 |                   
  ...Colorizer.tsx |   80.31 |    85.41 |     100 |   80.31 | ...00-201,313-339 
  ...nRenderer.tsx |   79.84 |     75.6 |     100 |   79.84 | ...66,270,328-329 
  ...wnDisplay.tsx |   92.87 |    93.46 |     100 |   92.87 | ...,955,1002-1020 
  ...idDiagram.tsx |   87.79 |    95.34 |     100 |   87.79 | 156-179           
  ...eRenderer.tsx |   92.38 |    81.91 |   95.23 |   92.38 | ...43-746,799-804 
  ...odeDisplay.ts |   94.28 |    85.71 |     100 |   94.28 | 23,40             
  asciiCharts.ts   |    96.7 |     87.5 |     100 |    96.7 | 170-177,278       
  ...dWorkUtils.ts |     100 |      100 |     100 |     100 |                   
  ...boardUtils.ts |   52.52 |    73.25 |   91.66 |   52.52 | ...23,626-635,638 
  commandUtils.ts  |   96.17 |    88.88 |     100 |   96.17 | ...77,179-180,323 
  computeStats.ts  |     100 |      100 |     100 |     100 |                   
  customBanner.ts  |   90.68 |    91.22 |     100 |   90.68 | ...13,324-327,334 
  displayUtils.ts  |   73.84 |    73.91 |     100 |   73.84 | ...34,36-40,42-46 
  formatters.ts    |    95.4 |    98.38 |     100 |    95.4 | 123-126           
  gradientUtils.ts |     100 |      100 |     100 |     100 |                   
  highlight.ts     |     100 |      100 |     100 |     100 |                   
  ...gap-notice.ts |     100 |      100 |     100 |     100 |                   
  ...oryMapping.ts |     100 |       95 |     100 |     100 | 44,103            
  historyUtils.ts  |      96 |    97.05 |     100 |      96 | 102-105           
  inline-math.ts   |   98.48 |    95.23 |     100 |   98.48 | 129-130           
  input-mouse.ts   |     100 |    85.71 |     100 |     100 | 48,93             
  isNarrowWidth.ts |     100 |      100 |     100 |     100 |                   
  ...olDetector.ts |   69.47 |       75 |   66.66 |   69.47 | ...24-129,157-158 
  latexRenderer.ts |   94.95 |     73.8 |     100 |   94.95 | ...76-178,184-187 
  layoutUtils.ts   |     100 |      100 |     100 |     100 |                   
  list-mouse.ts    |     100 |      100 |     100 |     100 |                   
  ...ightLoader.ts |     100 |       95 |     100 |     100 | 81                
  ...nUtilities.ts |   98.72 |    94.36 |     100 |   98.72 | 145-146           
  ...t-position.ts |     100 |     87.5 |     100 |     100 | 85                
  ...geRenderer.ts |   86.23 |    69.06 |   95.12 |   86.23 | ...1284,1324-1330 
  ...alRenderer.ts |   86.69 |     71.9 |     100 |   86.69 | ...1476,1513-1519 
  ...lsBySource.ts |     100 |    95.23 |     100 |     100 | 84                
  mouse.ts         |   92.85 |    74.19 |     100 |   92.85 | ...38,145,149-152 
  osc8.ts          |   90.43 |    78.33 |     100 |   90.43 | ...59,244,248-249 
  ...red-height.ts |   98.38 |     97.1 |     100 |   98.38 | 195-197           
  ...mConstants.ts |     100 |      100 |     100 |     100 |                   
  restoreGoal.ts   |     100 |      100 |     100 |     100 |                   
  ...storyUtils.ts |   71.33 |     79.2 |   93.75 |   71.33 | ...08-530,661-662 
  ...ickerUtils.ts |     100 |      100 |     100 |     100 |                   
  ...evel-label.ts |   77.77 |    66.66 |     100 |   77.77 | 18,22-24          
  ...are-cursor.ts |   89.47 |    85.71 |     100 |   89.47 | 39-44             
  ...ataService.ts |   93.17 |     79.1 |     100 |   93.17 | ...14,227,254-256 
  suggestions.ts   |     100 |      100 |     100 |     100 |                   
  ...izedOutput.ts |   94.94 |      100 |   88.88 |   94.94 | 112-117           
  ...nal-buffer.ts |     100 |      100 |     100 |     100 |                   
  ...wOptimizer.ts |     100 |    96.77 |     100 |     100 | 69                
  terminalSetup.ts |    4.37 |      100 |       0 |    4.37 | 44-393            
  textUtils.ts     |   95.97 |    94.06 |   94.44 |   95.97 | ...29-330,490-491 
  ...background.ts |     100 |      100 |     100 |     100 |                   
  todoSnapshot.ts  |   90.42 |    92.85 |     100 |   90.42 | ...06-207,240-241 
  ...isplay-map.ts |     100 |      100 |     100 |     100 |                   
  updateCheck.ts   |     100 |    92.75 |     100 |     100 | 227-239,331       
  ...ow-keyword.ts |     100 |      100 |     100 |     100 |                   
 ...i/utils/export |   75.03 |    59.89 |   94.59 |   75.03 |                   
  collect.ts       |   71.27 |    65.81 |      96 |   71.27 | ...90-633,655-656 
  index.ts         |     100 |      100 |     100 |     100 |                   
  normalize.ts     |   80.42 |    50.68 |     100 |   80.42 | ...59-364,376-378 
  types.ts         |       0 |        0 |       0 |       0 | 1                 
  utils.ts         |     100 |      100 |     100 |     100 |                   
 ...ort/formatters |   52.92 |    47.22 |   71.42 |   52.92 |                   
  html.ts          |   84.61 |       50 |     100 |   84.61 | ...53,57-58,62-63 
  json.ts          |     100 |      100 |     100 |     100 |                   
  jsonl.ts         |   82.45 |     37.5 |     100 |   82.45 | ...48,50-51,65-66 
  markdown.ts      |   36.32 |    47.05 |      50 |   36.32 | ...16-219,233-295 
 src/ui/voice      |   80.94 |    72.69 |   80.55 |   80.94 |                   
  ...d-recorder.ts |     6.2 |      100 |       0 |     6.2 | ...33-159,162-163 
  ...o-recorder.ts |   84.61 |    93.33 |   57.14 |   84.61 | ...16-117,131-136 
  ...me-session.ts |   89.72 |    65.33 |   93.75 |   89.72 | ...99,305,316-319 
  sox-recorder.ts  |    92.7 |    71.87 |     100 |    92.7 | ...34-135,153-154 
  ...ailability.ts |     100 |      100 |     100 |     100 |                   
  ...e-keyterms.ts |     100 |      100 |     100 |     100 |                   
  voice-model.ts   |     100 |      100 |     100 |     100 |                   
  ...e-recorder.ts |   88.29 |    67.74 |   81.81 |   88.29 | ...,98-99,112,115 
  voice-refine.ts  |     100 |    93.33 |     100 |     100 | 92                
  ...ream-retry.ts |   86.79 |    68.42 |     100 |   86.79 | 16-18,48-49,59-60 
  ...am-session.ts |   88.02 |    66.66 |   84.61 |   88.02 | ...26,343-345,363 
  ...ranscriber.ts |     100 |      100 |     100 |     100 |                   
 src/utils         |   81.27 |    87.04 |   92.49 |   81.27 |                   
  ...p-profiler.ts |   98.39 |    90.56 |     100 |   98.39 | 141,185,235       
  acpModelUtils.ts |   97.36 |    95.19 |     100 |   97.36 | ...09-210,214-215 
  apiPreconnect.ts |   96.74 |    94.59 |     100 |   96.74 | 167-170           
  ...ol-call-id.ts |   84.61 |       60 |     100 |   84.61 | 26-27,37-38       
  ...ng-failure.ts |     100 |       95 |     100 |     100 | 72                
  checks.ts        |   33.33 |      100 |       0 |   33.33 | 23-28             
  ...-api-error.ts |     100 |    96.42 |     100 |     100 | 14                
  cleanup.ts       |   84.05 |    94.11 |      80 |   84.05 | 80,111-121        
  commands.ts      |   97.45 |    96.66 |     100 |   97.45 | 153-155           
  ...Calculator.ts |     100 |      100 |     100 |     100 |                   
  cpuProfiler.ts   |   70.73 |    73.23 |   88.88 |   70.73 | ...27,430-431,438 
  deepMerge.ts     |     100 |       90 |     100 |     100 | 41-43,49          
  ...re-runtime.ts |     100 |      100 |     100 |     100 |                   
  ...ScopeUtils.ts |   97.56 |    88.88 |     100 |   97.56 | 67                
  doctorChecks.ts  |   70.31 |    74.57 |     100 |   70.31 | ...95-301,325-341 
  ...putCapture.ts |   90.65 |    86.17 |     100 |   90.65 | ...72,370,372-373 
  ...arResolver.ts |   97.14 |    96.55 |     100 |   97.14 | 125-126           
  errors.ts        |   97.56 |    94.64 |     100 |   97.56 | 69-70,304-305     
  events.ts        |     100 |      100 |     100 |     100 |                   
  ...on-mention.ts |   88.48 |     82.6 |     100 |   88.48 | ...56-160,164-168 
  gitUtils.ts      |   92.85 |    86.66 |     100 |   92.85 | ...13-116,164-167 
  ...AutoUpdate.ts |    93.1 |       94 |      90 |    93.1 | 103,108,179-190   
  ...tyWarnings.ts |     100 |      100 |     100 |     100 |                   
  ...lationInfo.ts |   97.68 |    94.28 |     100 |   97.68 | ...59,376-377,422 
  jsonc-editor.ts  |   93.18 |    92.72 |     100 |   93.18 | ...80-381,384-385 
  languageUtils.ts |   98.88 |    97.05 |     100 |   98.88 | 184-185           
  load-undici.ts   |     100 |      100 |     100 |     100 |                   
  ...npm-update.ts |   86.32 |    76.05 |     100 |   86.32 | ...02-303,331-341 
  math.ts          |       0 |        0 |       0 |       0 | 1-15              
  ...er-mention.ts |     100 |    66.66 |     100 |     100 | 14,30,44-46       
  ...iagnostics.ts |   94.57 |    83.01 |   88.88 |   94.57 | ...05,311,315-317 
  ...serMessage.ts |     100 |      100 |     100 |     100 |                   
  ...onfigUtils.ts |   94.25 |    91.17 |     100 |   94.25 | ...30,436,439-443 
  ...iveHelpers.ts |   95.13 |    91.79 |     100 |   95.13 | ...53-454,552,565 
  osc.ts           |   97.18 |      100 |    87.5 |   97.18 | 182-183           
  package.ts       |   88.88 |    85.71 |     100 |   88.88 | 31-32             
  ...uggestions.ts |   74.38 |    69.56 |     100 |   74.38 | ...92-103,105-116 
  processUtils.ts  |    92.3 |       80 |     100 |    92.3 | 45-46             
  readStdin.ts     |   93.67 |    94.11 |   85.71 |   93.67 | 79-83             
  relaunch.ts      |   95.87 |    89.28 |     100 |   95.87 | 103-105,131       
  resolvePath.ts   |     100 |      100 |     100 |     100 |                   
  runBudget.ts     |   99.35 |    96.77 |     100 |   99.35 | 119               
  sandbox-path.ts  |     100 |      100 |     100 |     100 |                   
  sandbox.ts       |   45.67 |    56.93 |   76.92 |   45.67 | ...1034,1046-1069 
  ...xImageName.ts |     100 |    77.77 |     100 |     100 | 10,18             
  sandboxMounts.ts |     100 |      100 |     100 |     100 |                   
  sessionPaths.ts  |   90.84 |    90.56 |     100 |   90.84 | ...81-182,185-186 
  settingsUtils.ts |   82.35 |    89.57 |      90 |   82.35 | ...25-743,750-758 
  spawnWrapper.ts  |     100 |      100 |     100 |     100 |                   
  ...ate-verify.ts |     100 |      100 |     100 |     100 |                   
  ...one-update.ts |   39.81 |    77.44 |   62.16 |   39.81 | ...1193,1196-1215 
  ...upProfiler.ts |   98.47 |    94.66 |     100 |   98.47 | 132-133,308       
  ...upWarnings.ts |     100 |      100 |     100 |     100 |                   
  stdioHelpers.ts  |     100 |     87.5 |     100 |     100 | 23                
  systemInfo.ts    |   95.12 |    90.27 |     100 |   95.12 | ...54-255,260-264 
  ...InfoFields.ts |    87.5 |    65.85 |     100 |    87.5 | ...24-125,146-147 
  ...alSequence.ts |     100 |    97.61 |     100 |     100 | 60                
  ...iffPreview.ts |   76.47 |       25 |     100 |   76.47 | 13,17,23-24       
  ...e-relaunch.ts |   89.61 |    86.66 |      50 |   89.61 | 56-61,83-84       
  ...entEmitter.ts |     100 |      100 |     100 |     100 |                   
  ...ansionHook.ts |     100 |      100 |     100 |     100 |                   
  ...upWarnings.ts |   87.75 |       75 |     100 |   87.75 | 47-48,53-54,57-58 
  version.ts       |     100 |    66.66 |     100 |     100 | 11                
  ...ingHandler.ts |     100 |      100 |     100 |     100 |                   
  windowTitle.ts   |   95.45 |    93.33 |     100 |   95.45 | 54-55             
  ...WithBackup.ts |   65.04 |    77.77 |     100 |   65.04 | 97,112,133-172    
 ...s/housekeeping |   91.63 |    91.02 |      95 |   91.63 |                   
  cleanup.ts       |   95.77 |    95.83 |     100 |   95.77 | 70-72             
  ...eractionAt.ts |     100 |      100 |     100 |     100 |                   
  scheduler.ts     |   91.91 |    90.47 |    87.5 |   91.91 | 58-62,73,131-135  
  throttledOnce.ts |   86.66 |     86.2 |     100 |   86.66 | ...99,105,137-138 
-------------------|---------|----------|---------|---------|-------------------
Core Package - Full Text Report
-------------------|---------|----------|---------|---------|-------------------
File               | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s 
-------------------|---------|----------|---------|---------|-------------------
All files          |    87.8 |    86.26 |   89.22 |    87.8 |                   
 src               |     100 |      100 |     100 |     100 |                   
  index.ts         |     100 |      100 |     100 |     100 |                   
 src/__mocks__/fs  |       0 |        0 |       0 |       0 |                   
  promises.ts      |       0 |        0 |       0 |       0 | 1-48              
 src/agents        |   89.87 |    84.13 |   94.08 |   89.87 |                   
  ...transcript.ts |   87.63 |    83.52 |     100 |   87.63 | ...74,582,588-592 
  ...ent-resume.ts |   84.67 |    77.52 |   79.16 |   84.67 | ...1774-1778,1781 
  ...ound-tasks.ts |   96.15 |     90.1 |   98.76 |   96.15 | ...1732,1752-1755 
  index.ts         |     100 |      100 |     100 |     100 |                   
  ...ent-result.ts |    96.8 |    92.68 |     100 |    96.8 | 106,129-131       
  ...n-registry.ts |   95.65 |    89.28 |     100 |   95.65 | ...12-413,485-489 
  ...w-snapshot.ts |   91.86 |       75 |     100 |   91.86 | ...54,178,185-187 
 src/agents/arena  |   76.32 |    67.71 |   78.94 |   76.32 |                   
  ...gentClient.ts |   79.47 |    88.88 |   81.81 |   79.47 | ...68-183,189-204 
  ArenaManager.ts  |   75.11 |    64.51 |   78.57 |   75.11 | ...1887,1893-1894 
  arena-events.ts  |   64.44 |      100 |      50 |   64.44 | ...71-175,178-183 
  diff-summary.ts  |    87.5 |    72.34 |     100 |    87.5 | ...32-133,137-138 
  index.ts         |     100 |      100 |     100 |     100 |                   
  types.ts         |     100 |      100 |     100 |     100 |                   
 ...gents/backends |   78.09 |    85.23 |   76.28 |   78.09 |                   
  ITermBackend.ts  |   97.97 |    93.93 |     100 |   97.97 | ...78-180,255,307 
  ...essBackend.ts |    90.9 |    85.36 |   93.33 |    90.9 | ...70,672,674-675 
  TmuxBackend.ts   |    90.7 |    76.55 |   97.36 |    90.7 | ...87,697,743-747 
  detect.ts        |   31.25 |      100 |       0 |   31.25 | 34-88             
  index.ts         |     100 |      100 |     100 |     100 |                   
  iterm-it2.ts     |     100 |     92.1 |     100 |     100 | 37-38,106         
  tmux-commands.ts |    6.64 |      100 |    3.03 |    6.64 | ...93-363,386-503 
  types.ts         |     100 |      100 |     100 |     100 |                   
 ...agents/runtime |   90.24 |    85.52 |   87.34 |   90.24 |                   
  agent-context.ts |     100 |      100 |     100 |     100 |                   
  agent-core.ts    |   84.35 |    74.69 |   76.92 |   84.35 | ...2172,2218-2220 
  agent-events.ts  |     100 |      100 |     100 |     100 |                   
  ...t-headless.ts |   93.49 |    88.09 |   83.33 |   93.49 | ...96-497,500-501 
  ...nteractive.ts |   81.01 |    82.35 |   76.66 |   81.01 | ...33,535-538,541 
  ...statistics.ts |   98.29 |    82.95 |     100 |   98.29 | 141,165,206,239   
  agent-types.ts   |     100 |      100 |     100 |     100 |                   
  index.ts         |     100 |      100 |     100 |     100 |                   
  ...ool-policy.ts |   98.34 |      100 |    92.3 |   98.34 | 81-82             
  ...low-budget.ts |     100 |      100 |     100 |     100 |                   
  ...ow-journal.ts |   91.76 |    75.86 |     100 |   91.76 | ...38-139,179-181 
  ...chestrator.ts |   91.79 |    87.79 |   82.35 |   91.79 | ...1774,1823-1826 
  ...ow-prompts.ts |     100 |      100 |     100 |     100 |                   
  ...ow-sandbox.ts |   96.87 |    94.51 |     100 |   96.87 | ...24-325,330-331 
  ...flow-saved.ts |   96.51 |    94.36 |     100 |   96.51 | 134-135,234-237   
  ...flow-stall.ts |    97.9 |    83.33 |     100 |    97.9 | 138-139,236       
 src/agents/tasks  |     100 |      100 |     100 |     100 |                   
  types.ts         |     100 |      100 |     100 |     100 |                   
 src/agents/team   |   81.81 |    83.99 |    87.5 |   81.81 |                   
  TeamManager.ts   |   72.02 |    79.41 |   79.24 |   72.02 | ...1632,1655-1656 
  identity.ts      |     100 |      100 |     100 |     100 |                   
  index.ts         |     100 |      100 |     100 |     100 |                   
  ...sionBridge.ts |     100 |      100 |     100 |     100 |                   
  mailbox.ts       |   94.76 |    86.36 |   92.85 |   94.76 | 86-87,348-354     
  ...ptAddendum.ts |     100 |      100 |     100 |     100 |                   
  tasks.ts         |   88.85 |    82.56 |   96.29 |   88.85 | ...-990,1034-1035 
  team-events.ts   |   60.52 |      100 |      50 |   60.52 | ...40-144,151-155 
  teamHelpers.ts   |   92.02 |    94.91 |   95.23 |   92.02 | ...31-332,368-378 
  types.ts         |     100 |      100 |     100 |     100 |                   
 ...eam/test-utils |   94.39 |    94.26 |   98.21 |   94.39 |                   
  ...on-harness.ts |   96.49 |    84.21 |     100 |   96.49 | 128-129,141-142   
  fake-agent.ts    |   98.49 |    95.08 |     100 |   98.49 | 201-203           
  fake-backend.ts  |   86.46 |    97.61 |   95.83 |   86.46 | 124-146           
 src/config        |   83.78 |    86.84 |   73.54 |   83.78 |                   
  approval-mode.ts |     100 |      100 |     100 |     100 |                   
  ...xtDefaults.ts |     100 |      100 |     100 |     100 |                   
  config.ts        |   83.05 |    86.53 |    71.8 |   83.05 | ...8374,8378-8379 
  constants.ts     |     100 |      100 |     100 |     100 |                   
  models.ts        |     100 |      100 |     100 |     100 |                   
  storage.ts       |   94.11 |    91.95 |      88 |   94.11 | ...25-426,429-430 
 ...nfirmation-bus |   98.27 |    97.14 |     100 |   98.27 |                   
  message-bus.ts   |   98.14 |    97.05 |     100 |   98.14 | 42-43             
  types.ts         |     100 |      100 |     100 |     100 |                   
 src/core          |   91.56 |    87.83 |   93.08 |   91.56 |                   
  baseLlmClient.ts |   88.28 |    82.48 |   81.81 |   88.28 | ...47,660,666-668 
  client.ts        |   91.41 |     86.8 |   91.56 |   91.41 | ...3930,4026-4027 
  ...tGenerator.ts |   86.34 |    87.34 |   84.61 |   86.34 | ...65-466,511-517 
  ...lScheduler.ts |   90.59 |    85.94 |      96 |   90.59 | ...5741,5769-5780 
  geminiChat.ts    |      91 |    89.06 |      96 |      91 | ...4493,4541-4542 
  geminiRequest.ts |     100 |      100 |     100 |     100 |                   
  genai-compat.ts  |     100 |      100 |     100 |     100 |                   
  ...MediaLimit.ts |     100 |       96 |     100 |     100 | 96                
  ...htProtocol.ts |    9.09 |      100 |       0 |    9.09 | ...9,62-66,69-110 
  ...ream-error.ts |     100 |      100 |     100 |     100 |                   
  logger.ts        |   87.41 |    87.02 |     100 |   87.41 | ...64-568,614-628 
  ...lay-buffer.ts |     100 |      100 |     100 |     100 |                   
  ...dispatcher.ts |     100 |      100 |     100 |     100 |                   
  ...tyDefaults.ts |     100 |      100 |     100 |     100 |                   
  ...olExecutor.ts |   93.54 |    83.33 |      50 |   93.54 | 47-48             
  ...on-helpers.ts |   93.49 |    78.57 |     100 |   93.49 | ...10-211,228-229 
  ...issionFlow.ts |   98.97 |    96.96 |     100 |   98.97 | 107               
  ...try-policy.ts |     100 |      100 |     100 |     100 |                   
  ...ell-policy.ts |   95.19 |    89.47 |     100 |   95.19 | ...44-245,290-291 
  prompts.ts       |   93.59 |    91.42 |   83.33 |   93.59 | ...1194,1397-1398 
  ...ing-effort.ts |     100 |      100 |     100 |     100 |                   
  ...n-recovery.ts |   95.13 |       80 |     100 |   95.13 | ...06-107,142-144 
  ...t-profiler.ts |   96.89 |    80.88 |   88.23 |   96.89 | ...10,117-118,123 
  ...port-retry.ts |     100 |      100 |     100 |     100 |                   
  tokenLimits.ts   |     100 |     92.1 |     100 |     100 | 87,122-139        
  ...reparation.ts |     100 |      100 |     100 |     100 |                   
  ...allIdUtils.ts |   98.41 |    93.47 |     100 |   98.41 | 36,45             
  ...okTriggers.ts |   99.45 |    92.43 |     100 |   99.45 | 182,193           
  ...terruption.ts |     100 |     92.3 |     100 |     100 | 86,104            
  turn.ts          |   98.52 |    91.66 |     100 |   98.52 | ...69,697-698,745 
 ...ntentGenerator |   96.24 |    87.19 |   95.38 |   96.24 |                   
  ...tGenerator.ts |   97.09 |    86.94 |   94.44 |   97.09 | ...1329,1358,1369 
  converter.ts     |   96.16 |    87.32 |     100 |   96.16 | ...,984,1139-1141 
  index.ts         |       0 |        0 |       0 |       0 | 1-21              
  usage.ts         |     100 |      100 |     100 |     100 |                   
 ...ntentGenerator |   88.78 |    72.36 |   89.47 |   88.78 |                   
  ...tGenerator.ts |   87.18 |    71.83 |   88.88 |   87.18 | ...58-364,382-383 
  index.ts         |     100 |       80 |     100 |     100 | 50                
 ...ntentGenerator |   95.21 |    86.46 |    92.3 |   95.21 |                   
  index.ts         |     100 |      100 |     100 |     100 |                   
  ...tGenerator.ts |   95.12 |     85.4 |   91.89 |   95.12 | ...1169-1170,1198 
  ...tDetection.ts |     100 |      100 |     100 |     100 |                   
 ...ntentGenerator |   91.63 |    90.31 |   95.28 |   91.63 |                   
  constants.ts     |     100 |      100 |     100 |     100 |                   
  converter.ts     |   90.95 |    89.44 |   96.87 |   90.95 | ...1977,2146-2161 
  errorHandler.ts  |     100 |      100 |     100 |     100 |                   
  index.ts         |   60.31 |       75 |      50 |   60.31 | ...71,74-78,90-94 
  ...tGenerator.ts |    66.4 |    70.58 |   88.88 |    66.4 | ...51-157,168-169 
  pipeline.ts      |   96.69 |       91 |     100 |   96.69 | ...1119,1256,1284 
  ...ureContext.ts |     100 |      100 |     100 |     100 |                   
  ...ingOptions.ts |       0 |        0 |       0 |       0 | 1                 
  ...CallParser.ts |   92.24 |     92.4 |     100 |   92.24 | ...28-529,549-552 
  ...kingParser.ts |     100 |    96.87 |     100 |     100 | 42                
  types.ts         |       0 |        0 |       0 |       0 | 1                 
 ...rator/provider |   96.74 |    89.83 |   98.27 |   96.74 |                   
  dashscope.ts     |    97.5 |    92.02 |      95 |    97.5 | ...92-393,535-536 
  deepseek.ts      |   94.91 |    89.36 |     100 |   94.91 | ...31-132,145-146 
  default.ts       |   99.16 |    96.96 |     100 |   99.16 | 198               
  index.ts         |     100 |      100 |     100 |     100 |                   
  mimo.ts          |   94.11 |    66.66 |     100 |   94.11 | 29,52-53          
  minimax.ts       |     100 |      100 |     100 |     100 |                   
  mistral.ts       |   96.07 |    73.33 |     100 |   96.07 | 32-33             
  modelscope.ts    |     100 |      100 |     100 |     100 |                   
  types.ts         |       0 |        0 |       0 |       0 |                   
  utils.ts         |     100 |      100 |     100 |     100 |                   
  zai.ts           |   92.13 |    82.14 |     100 |   92.13 | ...,39-40,135-137 
 src/extension     |   86.12 |    83.18 |   92.19 |   86.12 |                   
  ...ive-safety.ts |     100 |      100 |     100 |     100 |                   
  ...-converter.ts |   78.32 |    71.83 |     100 |   78.32 | ...1122,1168-1169 
  corruptFile.ts   |     100 |       50 |     100 |     100 | 40-45             
  ...-converter.ts |   80.39 |     87.5 |     100 |   80.39 | 50-59             
  ...me-refresh.ts |     100 |      100 |     100 |     100 |                   
  ...sion-store.ts |   90.82 |    86.35 |   97.82 |   90.82 | ...1215-1221,1265 
  ...ionManager.ts |   80.59 |    78.06 |   80.23 |   80.59 | ...2577,2599-2600 
  ...references.ts |     100 |     90.9 |     100 |     100 | ...05,129,197,200 
  ...onSettings.ts |    92.3 |     94.4 |     100 |    92.3 | ...98-501,570-571 
  ...-converter.ts |    75.9 |    84.61 |   85.71 |    75.9 | ...98,202,214-248 
  github.ts        |   88.58 |    82.13 |     100 |   88.58 | ...62,952-953,963 
  http-client.ts   |   84.61 |       80 |     100 |   84.61 | 20-21             
  i18n.ts          |   78.26 |       96 |      50 |   78.26 | 104-110,116-123   
  index.ts         |     100 |      100 |     100 |     100 |                   
  marketplace.ts   |   88.39 |    83.11 |     100 |   88.39 | ...08,494,507-508 
  ...ork-policy.ts |   89.72 |    91.93 |     100 |   89.72 | ...36,148-154,156 
  npm.ts           |   89.02 |    81.81 |     100 |   89.02 | ...86-688,695-700 
  override.ts      |   94.11 |    93.33 |     100 |   94.11 | 63-64,81-82       
  redaction.ts     |     100 |      100 |     100 |     100 |                   
  settings.ts      |   66.26 |      100 |      50 |   66.26 | 81-107,141-146    
  ...ceRegistry.ts |   94.01 |    83.14 |     100 |   94.01 | ...38-344,365-366 
  storage.ts       |     100 |      100 |     100 |     100 |                   
  ...ableSchema.ts |     100 |      100 |     100 |     100 |                   
  variables.ts     |   88.95 |    83.78 |     100 |   88.95 | ...32-235,238-241 
  ...extraction.ts |   85.77 |    80.61 |   89.47 |   85.77 | ...02-205,260-261 
 src/followup      |   77.48 |    79.84 |    90.9 |   77.48 |                   
  followupState.ts |   98.44 |    95.74 |     100 |   98.44 | 236-237           
  index.ts         |     100 |      100 |     100 |     100 |                   
  overlayFs.ts     |   96.29 |    88.88 |     100 |   96.29 | 78,108,122        
  speculation.ts   |   65.58 |    62.63 |   71.42 |   65.58 | ...21-622,629-630 
  ...onToolGate.ts |     100 |    96.55 |     100 |     100 | 97                
  ...nGenerator.ts |   72.03 |    81.15 |   83.33 |   72.03 | ...68-219,331-333 
 src/generated     |       0 |        0 |       0 |       0 |                   
  git-commit.ts    |       0 |        0 |       0 |       0 | 1-10              
 src/goals         |   94.17 |    88.82 |   95.93 |   94.17 |                   
  ...eGoalStore.ts |   87.61 |    88.88 |   86.66 |   87.61 | ...85-188,196-204 
  goal-evidence.ts |   87.59 |     85.1 |   95.65 |   87.59 | ...12-613,636-639 
  ...projection.ts |   89.41 |    72.22 |   66.66 |   89.41 | ...28,131,135-137 
  ...ersistence.ts |   87.73 |    84.84 |      80 |   87.73 | ...-94,97,101-106 
  goal-protocol.ts |    91.3 |       90 |     100 |    91.3 | 107-108           
  goal-reducer.ts  |   92.21 |    85.48 |     100 |   92.21 | ...67-368,381,436 
  goal-runtime.ts  |   99.01 |    93.44 |     100 |   99.01 | ...83-684,707-708 
  goal-tools.ts    |   98.32 |    93.18 |   95.23 |   98.32 | ...48-149,256-257 
  ...rn-context.ts |     100 |      100 |     100 |     100 |                   
  goal-verifier.ts |   92.46 |    92.85 |     100 |   92.46 | ...67-170,183-185 
  goal-wire.ts     |       0 |        0 |       0 |       0 | 1-27              
  goalHook.ts      |   96.91 |    92.42 |     100 |   96.91 | 115-120,221-222   
  goalJudge.ts     |   95.84 |    87.09 |     100 |   95.84 | ...55-356,448-449 
  index.ts         |     100 |      100 |     100 |     100 |                   
 src/hooks         |   87.97 |    86.27 |   88.42 |   87.97 |                   
  ...okRegistry.ts |   86.48 |    77.08 |     100 |   86.48 | ...41-344,362-369 
  ...bortSignal.ts |     100 |      100 |     100 |     100 |                   
  context-usage.ts |     100 |      100 |     100 |     100 |                   
  ...terpolator.ts |   96.66 |    93.33 |     100 |   96.66 | 66-67             
  ...HookRunner.ts |   96.68 |    87.23 |     100 |   96.68 | 110-112,231-233   
  ...Aggregator.ts |   96.57 |    91.48 |     100 |   96.57 | ...20-321,402,404 
  ...entHandler.ts |   95.46 |       84 |   94.59 |   95.46 | ...1015-1016,1026 
  hookPlanner.ts   |    87.5 |    85.36 |   86.66 |    87.5 | ...21-225,232-243 
  hookRegistry.ts  |   92.53 |    85.43 |     100 |   92.53 | ...39,458,462,466 
  hookRunner.ts    |   62.65 |    72.34 |   66.66 |   62.65 | ...70-771,780-781 
  hookSystem.ts    |   87.55 |      100 |   70.21 |   87.55 | ...45-746,752-753 
  ...HookRunner.ts |   79.06 |    66.66 |      80 |   79.06 | ...33-434,452-456 
  index.ts         |     100 |      100 |     100 |     100 |                   
  ...edCallback.ts |     100 |      100 |     100 |     100 |                   
  ...HookRunner.ts |   94.19 |    84.37 |   81.81 |   94.19 | ...76-384,458-459 
  ...SkillHooks.ts |   78.75 |       75 |   66.66 |   78.75 | 62-66,137-152     
  ...oksManager.ts |   94.87 |    88.88 |     100 |   94.87 | ...84,325,327-329 
  ssrfGuard.ts     |   86.45 |    89.13 |     100 |   86.45 | ...85,289-295,301 
  stopHookCap.ts   |     100 |      100 |     100 |     100 |                   
  trustedHooks.ts  |      90 |    52.63 |     100 |      90 | ...53,66-67,97-98 
  types.ts         |   94.24 |    96.12 |   88.88 |   94.24 | ...42-543,628-632 
  urlValidator.ts  |     100 |      100 |     100 |     100 |                   
 src/ide           |   76.98 |    85.03 |   79.03 |   76.98 |                   
  constants.ts     |     100 |      100 |     100 |     100 |                   
  detect-ide.ts    |     100 |      100 |     100 |     100 |                   
  ide-client.ts    |   69.16 |    84.65 |   68.29 |   69.16 | ...1068,1097-1105 
  ide-installer.ts |   89.06 |    79.31 |     100 |   89.06 | ...36,143-147,160 
  ideContext.ts    |     100 |      100 |     100 |     100 |                   
  process-utils.ts |   84.84 |    71.79 |     100 |   84.84 | ...37,151,193-194 
  types.ts         |     100 |      100 |     100 |     100 |                   
 src/lsp           |   58.96 |    70.57 |   66.14 |   58.96 |                   
  ...nfigLoader.ts |   80.55 |       72 |   95.45 |   80.55 | ...02-504,508-514 
  ...ionFactory.ts |   42.81 |    73.07 |      50 |   42.81 | ...76-427,433-450 
  ...Normalizer.ts |   23.09 |    13.72 |   30.43 |   23.09 | ...04-905,909-924 
  ...verManager.ts |   75.73 |     80.1 |   79.66 |   75.73 | ...1346,1352-1382 
  ...eLspClient.ts |   32.78 |       80 |   16.66 |   32.78 | ...89-293,299-300 
  ...LspService.ts |      60 |    73.36 |   78.26 |      60 | ...1575,1635-1645 
  configHash.ts    |     100 |      100 |     100 |     100 |                   
  constants.ts     |     100 |      100 |     100 |     100 |                   
  types.ts         |     100 |      100 |     100 |     100 |                   
 src/mcp           |    82.3 |    77.81 |   78.33 |    82.3 |                   
  configHash.ts    |     100 |      100 |     100 |     100 |                   
  constants.ts     |     100 |      100 |     100 |     100 |                   
  ...h-provider.ts |   86.95 |      100 |   33.33 |   86.95 | ...,93,97,101-102 
  ...h-provider.ts |   79.31 |    58.06 |     100 |   79.31 | ...26-933,940-942 
  ...en-storage.ts |   98.78 |    97.95 |     100 |   98.78 | 106-107           
  oauth-utils.ts   |   73.61 |    85.48 |    92.3 |   73.61 | ...46-366,392-421 
  ...n-provider.ts |   89.83 |       96 |   45.45 |   89.83 | ...43,147,151-152 
 .../token-storage |   82.12 |    88.19 |   89.28 |   82.12 |                   
  ...en-storage.ts |     100 |      100 |     100 |     100 |                   
  ...en-storage.ts |   87.08 |    87.03 |   95.23 |   87.08 | ...00-201,214-215 
  ...en-storage.ts |     100 |      100 |     100 |     100 |                   
  index.ts         |     100 |      100 |     100 |     100 |                   
  ...en-storage.ts |   68.14 |    82.35 |   64.28 |   68.14 | ...81-295,298-314 
  types.ts         |     100 |      100 |     100 |     100 |                   
 src/memory        |   87.17 |    82.89 |   90.29 |   87.17 |                   
  ...y-document.ts |   89.52 |    84.61 |     100 |   89.52 | ...24-325,329-330 
  ...nel-memory.ts |   97.11 |    95.72 |   96.29 |   97.11 | ...85-287,361-362 
  const.ts         |   94.28 |     92.3 |     100 |   94.28 | 66-67             
  dream.ts         |    64.6 |    72.22 |      50 |    64.6 | ...04-109,124-165 
  ...entPlanner.ts |     100 |    81.81 |     100 |     100 | 126,136           
  entries.ts       |   75.59 |    84.84 |   83.33 |   75.59 | ...56-157,172-180 
  extract.ts       |   91.48 |    75.75 |     100 |   91.48 | ...99,118-121,189 
  ...entPlanner.ts |   91.51 |    76.19 |     100 |   91.51 | ...04,113-116,290 
  ...ionPlanner.ts |       0 |        0 |       0 |       0 | 1                 
  forget.ts        |   81.83 |       75 |   83.33 |   81.83 | ...51,474,478-507 
  indexer.ts       |   94.14 |       84 |     100 |   94.14 | ...32-233,334,337 
  ...kill-agent.ts |   97.94 |    89.36 |     100 |   97.94 | 82-83,179-180     
  manager.ts       |    78.4 |    82.29 |   77.77 |    78.4 | ...1482,1495-1497 
  ...ent-config.ts |   82.27 |    77.92 |   83.33 |   82.27 | ...66,285,292-298 
  memoryAge.ts     |   90.47 |       80 |     100 |   90.47 | 50-51             
  paths.ts         |   94.73 |    95.94 |     100 |   94.73 | ...35-336,357-358 
  ...ing-skills.ts |     100 |       72 |     100 |     100 | 31-35,73-78,97    
  prompt.ts        |   97.26 |    87.03 |     100 |   97.26 | ...10-218,222,225 
  recall.ts        |   82.06 |       75 |    90.9 |   82.06 | ...59-364,395-406 
  refresh.ts       |   89.85 |    82.92 |     100 |   89.85 | ...54-155,162-163 
  ...ceSelector.ts |    93.1 |    81.81 |     100 |    93.1 | ...25,127-128,136 
  remember.ts      |   98.89 |    89.79 |     100 |   98.89 | 50,70             
  scan.ts          |   93.12 |    77.41 |     100 |   93.12 | ...08-109,154,157 
  ...et-scanner.ts |     100 |      100 |     100 |     100 |                   
  ...entPlanner.ts |   71.68 |    65.51 |   68.75 |   71.68 | ...90-394,397,403 
  status.ts        |   10.52 |      100 |       0 |   10.52 | 41-98             
  store.ts         |   92.92 |     82.6 |     100 |   92.92 | ...16-117,147-148 
  ...git-status.ts |     100 |     87.5 |     100 |     100 | 30                
  ...cret-guard.ts |     100 |      100 |     100 |     100 |                   
  ...emory-sync.ts |   94.24 |    82.85 |     100 |   94.24 | ...34-236,246-247 
  types.ts         |     100 |      100 |     100 |     100 |                   
  ...ontextFile.ts |   81.21 |    81.53 |   81.81 |   81.21 | ...63-277,291-296 
 src/mocks         |       0 |        0 |       0 |       0 |                   
  msw.ts           |       0 |        0 |       0 |       0 | 1-9               
 src/models        |   92.54 |       89 |   91.13 |   92.54 |                   
  constants.ts     |     100 |      100 |     100 |     100 |                   
  ...tor-config.ts |   97.77 |    91.83 |     100 |   97.77 | 155,161,171       
  index.ts         |     100 |      100 |     100 |     100 |                   
  ...nfigErrors.ts |   74.22 |    47.82 |   84.61 |   74.22 | ...,67-74,106-117 
  ...igResolver.ts |   98.71 |    93.33 |     100 |   98.71 | 166,328,334       
  modelRegistry.ts |     100 |    98.13 |     100 |     100 | 177,260           
  modelsConfig.ts  |   89.36 |    86.93 |   88.09 |   89.36 | ...1404,1433-1434 
  types.ts         |     100 |      100 |     100 |     100 |                   
 src/omni          |   94.69 |     86.7 |   98.59 |   94.69 |                   
  delivery-gate.ts |     100 |      100 |     100 |     100 |                   
  disclosure.ts    |     100 |      100 |     100 |     100 |                   
  download.ts      |   95.61 |     87.8 |     100 |   95.61 | ...96-497,555-559 
  estimation.ts    |   98.36 |    94.73 |     100 |   98.36 | 108               
  ffmpeg.ts        |   96.31 |     82.1 |     100 |   96.31 | ...44-245,275-276 
  guard.ts         |     100 |      100 |     100 |     100 |                   
  index.ts         |   92.91 |    86.74 |     100 |   92.91 | ...1,929-930,1076 
  ...cache-file.ts |   99.16 |     91.3 |     100 |   99.16 | 184               
  ...a-guidance.ts |     100 |      100 |     100 |     100 |                   
  memory-recall.ts |     100 |    96.42 |     100 |     100 | 144               
  ...side-query.ts |   91.37 |    81.35 |     100 |   91.37 | ...50-251,256-262 
  ...ve-degrade.ts |   91.46 |    65.06 |     100 |   91.46 | ...32,436,472-477 
  ...emory-tool.ts |   91.35 |    73.33 |   85.71 |   91.35 | ...99-101,117-118 
  recognition.ts   |   98.21 |    97.26 |     100 |   98.21 | 69-70,203         
  recovery.ts      |   89.85 |    86.25 |     100 |   89.85 | ...03,352,421-423 
  storage.ts       |   96.39 |    88.05 |     100 |   96.39 | ...25-327,329-330 
  ...sult-media.ts |     100 |    90.16 |     100 |     100 | 65,82-91,240-244  
  upload-cache.ts  |     100 |      100 |     100 |     100 |                   
  upload.ts        |   91.58 |    83.87 |    92.3 |   91.58 | ...42-244,335-340 
 src/omni/policy   |   95.95 |     91.5 |     100 |   95.95 |                   
  conditions.ts    |   96.92 |    95.96 |     100 |   96.92 | ...97-198,214-216 
  config.ts        |   92.93 |    88.88 |     100 |   92.93 | ...60,864,995-999 
  ...tion-cache.ts |     100 |    97.67 |     100 |     100 | 68                
  model-access.ts  |   99.47 |    97.82 |     100 |   99.47 | 145               
  ...collection.ts |   91.36 |    66.66 |     100 |   91.36 | 110,129-138,156   
  orchestrator.ts  |    97.5 |    90.86 |     100 |    97.5 | ...1204,1213-1216 
  ...on-context.ts |     100 |      100 |     100 |     100 |                   
  types.ts         |     100 |      100 |     100 |     100 |                   
 ...i/policy/tools |   96.59 |    93.65 |    90.9 |   96.59 |                   
  clip-video.ts    |   95.65 |     91.3 |    87.5 |   95.65 | 102-108,222-223   
  convert-image.ts |   96.39 |    94.73 |   91.66 |   96.39 | ...86-187,216-217 
  ...mple-audio.ts |   97.92 |      100 |   83.33 |   97.92 | 100-103           
  ...mple-image.ts |   95.26 |    91.66 |   83.33 |   95.26 | ...29-130,172-173 
  ...cale-video.ts |   96.19 |     93.1 |   85.71 |   96.19 | ...04-205,244-245 
  extract-audio.ts |   97.34 |    94.11 |   88.88 |   97.34 | 143-145,215-216   
  ...-keyframes.ts |   97.16 |    90.27 |   92.85 |   97.16 | ...18-419,486-487 
  ...olicy-tool.ts |   99.06 |    98.71 |   95.23 |   99.06 | 251-252           
  sharp-module.ts  |     100 |      100 |     100 |     100 |                   
  ...ribe-audio.ts |    95.4 |    91.45 |   93.33 |    95.4 | ...96-597,600-609 
 src/output        |     100 |      100 |     100 |     100 |                   
  ...-formatter.ts |     100 |      100 |     100 |     100 |                   
  types.ts         |     100 |      100 |     100 |     100 |                   
 src/permissions   |   83.58 |    91.03 |   70.71 |   83.58 |                   
  autoMode.ts      |   97.65 |    93.17 |     100 |   97.65 | ...79-586,632,709 
  ...transcript.ts |      98 |    84.61 |     100 |      98 | 200-201           
  classifier.ts    |      94 |    94.54 |     100 |      94 | 158-165,389-393   
  ...erousRules.ts |     100 |    89.36 |     100 |     100 | 110,133,147,175   
  ...alTracking.ts |     100 |      100 |     100 |     100 |                   
  ...e-commands.ts |   86.77 |     73.8 |     100 |   86.77 | 131-141,210-214   
  index.ts         |     100 |      100 |     100 |     100 |                   
  ...on-manager.ts |   86.54 |    89.63 |      80 |   86.54 | ...1096,1202-1206 
  rule-parser.ts   |   94.18 |    91.86 |     100 |   94.18 | ...1345,1379-1381 
  ...-semantics.ts |   70.36 |    91.04 |   46.66 |   70.36 | ...2237,2300-2303 
  types.ts         |     100 |      100 |     100 |     100 |                   
 ...sifier-prompts |   99.04 |    95.23 |     100 |   99.04 |                   
  system-prompt.ts |   99.04 |    95.23 |     100 |   99.04 | 220               
 src/prompts       |   83.63 |      100 |    87.5 |   83.63 |                   
  mcp-prompts.ts   |   18.18 |      100 |       0 |   18.18 | 11-19             
  ...t-registry.ts |     100 |      100 |     100 |     100 |                   
 src/providers     |   83.71 |     78.5 |   81.25 |   83.71 |                   
  all-providers.ts |     100 |      100 |     100 |     100 |                   
  index.ts         |     100 |      100 |     100 |     100 |                   
  install.ts       |   93.11 |     84.5 |     100 |   93.11 | ...56-257,330-331 
  ...der-config.ts |   75.85 |    73.84 |   78.26 |   75.85 | ...73-474,502-503 
  types.ts         |       0 |        0 |       0 |       0 | 1                 
 ...viders/presets |   97.82 |    91.66 |   63.63 |   97.82 |                   
  ...oding-plan.ts |   87.34 |      100 |       0 |   87.34 | 82-84,87-89,91-94 
  ...a-standard.ts |     100 |      100 |     100 |     100 |                   
  ...token-plan.ts |     100 |      100 |     100 |     100 |                   
  ...m-provider.ts |   97.05 |    81.25 |      75 |   97.05 | 118-119           
  deepseek.ts      |     100 |      100 |     100 |     100 |                   
  grok.ts          |     100 |      100 |     100 |     100 |                   
  idealab.ts       |     100 |      100 |     100 |     100 |                   
  minimax.ts       |     100 |      100 |     100 |     100 |                   
  modelscope.ts    |     100 |      100 |     100 |     100 |                   
  openrouter.ts    |     100 |      100 |     100 |     100 |                   
  requesty.ts      |     100 |      100 |     100 |     100 |                   
  zai.ts           |     100 |      100 |     100 |     100 |                   
 src/qwen          |   85.41 |    78.52 |   95.89 |   85.41 |                   
  ...tGenerator.ts |   98.64 |    98.18 |     100 |   98.64 | 105-106           
  qwenOAuth2.ts    |   82.79 |    73.29 |   90.62 |   82.79 | ...1205-1221,1251 
  ...kenManager.ts |   85.36 |    76.61 |     100 |   85.36 | ...52-757,778-783 
 src/resources     |     100 |      100 |     100 |     100 |                   
  ...e-registry.ts |     100 |      100 |     100 |     100 |                   
 src/services      |   89.37 |    84.47 |   96.77 |   89.37 |                   
  ...ionTrailer.ts |     100 |      100 |     100 |     100 |                   
  ...llRegistry.ts |   97.68 |    85.71 |     100 |   97.68 | ...96,119,490-491 
  ...ionService.ts |   96.71 |    95.79 |     100 |   96.71 | ...83,699,832-840 
  ...ingService.ts |    90.9 |    84.09 |   95.45 |    90.9 | ...2042,2069-2070 
  ...ttribution.ts |   91.73 |    87.71 |      90 |   91.73 | ...80-685,826-827 
  ...utSlimming.ts |    97.2 |    94.05 |     100 |    97.2 | ...39-340,378-381 
  cronScheduler.ts |   94.17 |    90.45 |      98 |   94.17 | ...1333,1736-1737 
  cronTasksFile.ts |   95.49 |    90.82 |     100 |   95.49 | ...37,346-347,483 
  cronTasksLock.ts |   94.44 |    89.47 |     100 |   94.44 | ...02-103,132-133 
  ...eryService.ts |   96.22 |    93.54 |      90 |   96.22 | 121,155-156,161   
  ...oryService.ts |   88.17 |    79.02 |    92.3 |   88.17 | ...1303,1344-1347 
  fileReadCache.ts |     100 |      100 |     100 |     100 |                   
  ...temService.ts |   93.58 |    86.04 |   93.33 |   93.58 | ...00-301,388-395 
  ...ratedFiles.ts |      96 |    88.23 |     100 |      96 | 119-120,146-147   
  gitInit.ts       |     100 |      100 |     100 |     100 |                   
  ...reeService.ts |    73.7 |    68.49 |   95.83 |    73.7 | ...2196,2225-2226 
  ...on-service.ts |   87.38 |       72 |     100 |   87.38 | ...01-305,343-344 
  ...references.ts |   98.39 |    88.76 |     100 |   98.39 | 154-155,215-216   
  ...ionService.ts |   98.22 |    97.34 |     100 |   98.22 | ...75-676,723-724 
  ...ticsDumper.ts |   98.37 |    95.23 |     100 |   98.37 | 185-186           
  ...ureMonitor.ts |   95.82 |    90.52 |   97.05 |   95.82 | ...60,861,875-877 
  ...orRegistry.ts |    97.3 |    91.22 |     100 |    97.3 | ...53-454,611-612 
  ...ttachments.ts |   97.74 |     90.8 |     100 |   97.74 | 298-308,646       
  ...ersistence.ts |   90.95 |    78.75 |     100 |   90.95 | ...78,963-964,992 
  ...on-service.ts |   94.49 |    92.26 |   97.14 |   94.49 | ...98-600,656-664 
  ...ce-service.ts |   98.38 |    93.75 |   88.88 |   98.38 | 63-64             
  ...ipt-reader.ts |   94.41 |    88.65 |      98 |   94.41 | ...1083-1084,1148 
  ...est-helper.ts |       0 |        0 |       0 |       0 | 1-65              
  ...iter-lease.ts |   79.58 |    73.55 |   95.58 |   79.58 | ...1913,1917-1929 
  sessionRecap.ts  |   67.56 |    43.47 |     100 |   67.56 | ...60,178,180-183 
  ...ionService.ts |   88.73 |    83.46 |    97.1 |   88.73 | ...2401,2471-2491 
  sessionTitle.ts  |   94.19 |    73.21 |     100 |   94.19 | ...43-246,277-278 
  ...ionService.ts |   84.35 |    78.37 |   97.14 |   84.35 | ...2472,2478-2483 
  ...pInhibitor.ts |   97.42 |    92.77 |     100 |   97.42 | ...30,169,369-370 
  ...Estimation.ts |     100 |    88.23 |     100 |     100 | 118-119           
  ...ageService.ts |   97.76 |    91.59 |   93.75 |   97.76 | ...61-262,366,567 
  ...UseSummary.ts |   94.63 |    88.46 |     100 |   94.63 | ...62-164,214-215 
  ...rd-service.ts |     100 |    88.37 |     100 |     100 | ...29,145-146,241 
  ...oryService.ts |   90.72 |    84.07 |     100 |   90.72 | ...06-509,561-562 
  ...reeCleanup.ts |   14.42 |      100 |   33.33 |   14.42 | 58-186            
  ...ionService.ts |   87.98 |    86.84 |     100 |   87.98 | ...38-439,455-456 
 ...s/media-memory |   96.77 |    89.62 |   98.46 |   96.77 |                   
  config.ts        |     100 |      100 |     100 |     100 |                   
  index.ts         |     100 |      100 |     100 |     100 |                   
  recall.ts        |      98 |    89.16 |     100 |      98 | ...5-439,657,1072 
  registry.ts      |     100 |      100 |     100 |     100 |                   
  service.ts       |   92.25 |    84.09 |     100 |   92.25 | ...39-443,555-557 
  store.ts         |   99.22 |    93.47 |     100 |   99.22 | 188               
  types.ts         |       0 |        0 |       0 |       0 | 1                 
 ...icrocompaction |   99.41 |    96.55 |     100 |   99.41 |                   
  microcompact.ts  |   99.41 |    96.55 |     100 |   99.41 | 244-245,677       
 ...s/visionBridge |   98.81 |    92.12 |     100 |   98.81 |                   
  ...capability.ts |     100 |      100 |     100 |     100 |                   
  ...part-utils.ts |     100 |      100 |     100 |     100 |                   
  ...ion-bridge.ts |   98.72 |    82.35 |     100 |   98.72 | 65,71             
  ...-constants.ts |     100 |      100 |     100 |     100 |                   
  ...ge-service.ts |   98.61 |     94.7 |     100 |   98.61 | ...06,666,679-680 
 src/skills        |   88.37 |    87.22 |   90.16 |   88.37 |                   
  index.ts         |     100 |      100 |     100 |     100 |                   
  ...activation.ts |     100 |    93.33 |     100 |     100 | 93,112            
  skill-load.ts    |   94.84 |     87.5 |     100 |   94.84 | ...03,223,235-237 
  skill-manager.ts |   83.78 |    82.63 |   82.35 |   83.78 | ...1218,1225-1229 
  skill-paths.ts   |   89.65 |    86.95 |     100 |   89.65 | ...11-112,117-118 
  symlinkScope.ts  |     100 |      100 |     100 |     100 |                   
  types.ts         |   97.91 |       98 |     100 |   97.91 | 277-278           
 ...ataviz/scripts |   80.06 |    95.23 |   88.23 |   80.06 |                   
  ...te_palette.js |   80.06 |    95.23 |   88.23 |   80.06 | 261-296,306-328   
 ...s/bundled/loop |   97.48 |    95.77 |     100 |   97.48 |                   
  ...omous-loop.ts |     100 |      100 |     100 |     100 |                   
  ...-task-file.ts |   94.85 |     92.4 |     100 |   94.85 | ...56,367,375-376 
  ...k-resolver.ts |     100 |      100 |     100 |     100 |                   
 src/subagents     |   87.63 |    88.64 |   96.55 |   87.63 |                   
  ...ter-schema.ts |     100 |    98.07 |     100 |     100 | 99                
  ...tin-agents.ts |     100 |      100 |     100 |     100 |                   
  index.ts         |     100 |      100 |     100 |     100 |                   
  ...nt-manager.ts |   84.25 |    85.31 |   94.87 |   84.25 | ...1566,1643-1644 
  types.ts         |     100 |      100 |     100 |     100 |                   
  validation.ts    |   92.46 |    95.18 |     100 |   92.46 | 47-52,63-68,71-76 
 src/telemetry     |   80.91 |     83.4 |   84.44 |   80.91 |                   
  ...ty-tracker.ts |     100 |      100 |     100 |     100 |                   
  config.ts        |     100 |      100 |     100 |     100 |                   
  constants.ts     |     100 |      100 |     100 |     100 |                   
  ...on-metrics.ts |   99.07 |    80.95 |     100 |   99.07 | 183,197           
  ...on-tracing.ts |   76.31 |    74.62 |   73.68 |   76.31 | ...80,387-389,405 
  ...attributes.ts |   95.15 |    87.27 |     100 |   95.15 | ...97-198,216-217 
  ...ag-metrics.ts |     100 |    77.77 |     100 |     100 | 21,40             
  ...t-loop-lag.ts |     100 |    90.47 |     100 |     100 | 49,76             
  ...-exporters.ts |   65.78 |    83.33 |   55.55 |   65.78 | ...04-105,108-109 
  ...ai-content.ts |    74.5 |    66.41 |   91.66 |    74.5 | ...1480,1493-1502 
  ...i-provider.ts |     100 |       99 |     100 |     100 | 99                
  ...ai-request.ts |   87.52 |    92.79 |   83.78 |   87.52 | ...55-561,564-570 
  gen-ai-usage.ts  |     100 |      100 |     100 |     100 |                   
  index.ts         |     100 |      100 |     100 |     100 |                   
  ...t.circular.ts |       0 |        0 |       0 |       0 | 1-111             
  ...-processor.ts |   99.09 |    95.61 |      95 |   99.09 | 141,365-366       
  ...t.circular.ts |       0 |        0 |       0 |       0 | 1-128             
  loggers.ts       |    56.1 |    71.15 |   64.15 |    56.1 | ...1376,1393-1413 
  metrics.ts       |   78.44 |    79.62 |   79.66 |   78.44 | ...1079,1082-1093 
  otlp-urls.ts     |     100 |      100 |     100 |     100 |                   
  ...attributes.ts |     100 |      100 |     100 |     100 |                   
  ...ime-config.ts |       0 |        0 |       0 |       0 | 1                 
  sanitize.ts      |      80 |    83.33 |     100 |      80 | 35-36,41-42       
  ...rters-grpc.ts |     100 |      100 |     100 |     100 |                   
  ...rters-http.ts |     100 |      100 |     100 |     100 |                   
  sdk-impl.ts      |   91.06 |    87.15 |   68.75 |   91.06 | ...32,478-479,495 
  sdk.ts           |   79.22 |    89.18 |   63.63 |   79.22 | ...57-161,199-221 
  ...on-context.ts |     100 |      100 |     100 |     100 |                   
  ...on-tracing.ts |   90.83 |    90.16 |   96.77 |   90.83 | ...1666,1697-1700 
  ...etry-utils.ts |     100 |      100 |     100 |     100 |                   
  ...l-decision.ts |     100 |      100 |     100 |     100 |                   
  trace-context.ts |     100 |      100 |     100 |     100 |                   
  ...e-id-utils.ts |     100 |      100 |     100 |     100 |                   
  tracer.ts        |   98.56 |    88.63 |     100 |   98.56 | 52,101            
  types.ts         |   82.35 |    87.23 |   86.04 |   82.35 | ...1361,1365-1372 
  uiTelemetry.ts   |   97.18 |    93.93 |      88 |   97.18 | ...70,314,461-462 
 ...ry/qwen-logger |   74.11 |    80.35 |      70 |   74.11 |                   
  event-types.ts   |       0 |        0 |       0 |       0 |                   
  qwen-logger.ts   |   74.11 |    80.18 |   69.49 |   74.11 | ...1118,1156-1157 
 src/test-utils    |      94 |    98.24 |   78.94 |      94 |                   
  config.ts        |     100 |      100 |     100 |     100 |                   
  ...st-helpers.ts |   94.11 |       90 |     100 |   94.11 | 69-70             
  index.ts         |     100 |      100 |     100 |     100 |                   
  mock-tool.ts     |   92.57 |      100 |   75.75 |   92.57 | ...63,227-228,241 
  ...aceContext.ts |     100 |      100 |     100 |     100 |                   
 src/tools         |   86.02 |    84.62 |   88.42 |   86.02 |                   
  ...erQuestion.ts |   89.71 |    80.76 |   91.66 |   89.71 | ...66-367,374-375 
  ...-registrar.ts |    77.7 |    66.66 |   66.66 |    77.7 | ...72-277,292-294 
  ...ub-session.ts |   89.67 |     91.3 |   81.81 |   89.67 | ...03-304,315-322 
  cron-create.ts   |   90.64 |    92.85 |   72.72 |   90.64 | ...,73-74,223-231 
  cron-delete.ts   |   97.56 |      100 |   83.33 |   97.56 | 31-32             
  cron-list.ts     |   98.23 |    95.34 |    87.5 |   98.23 | 57-58             
  diffOptions.ts   |     100 |      100 |     100 |     100 |                   
  edit.ts          |    82.7 |    86.77 |   81.25 |    82.7 | ...43-744,863-913 
  ...r-worktree.ts |   83.14 |    67.56 |    87.5 |   83.14 | ...84-187,278-279 
  enterPlanMode.ts |      85 |     82.6 |    87.5 |      85 | ...28-133,161-175 
  exit-worktree.ts |   83.29 |    83.65 |   94.44 |   83.29 | ...14-515,537-538 
  exitPlanMode.ts  |      95 |    85.29 |     100 |      95 | ...21-325,344,378 
  ...permission.ts |     100 |      100 |     100 |     100 |                   
  glob.ts          |   96.33 |     88.5 |     100 |   96.33 | ...24-225,373,376 
  grep.ts          |   90.73 |    86.61 |   85.71 |   90.73 | ...76-677,727-728 
  ...adTracking.ts |     100 |      100 |     100 |     100 |                   
  image-gen.ts     |   91.66 |    77.41 |    90.9 |   91.66 | ...13-214,221-222 
  list-agents.ts   |   94.02 |    82.35 |   83.33 |   94.02 | 31-32,47-48       
  loop-wakeup.ts   |   99.27 |    92.85 |     100 |   99.27 | 45                
  ls.ts            |   96.74 |    90.27 |     100 |   96.74 | 176-181,212,216   
  lsp.ts           |   72.71 |     59.5 |   90.32 |   72.71 | ...1212,1214-1215 
  ...nt-manager.ts |   81.63 |       79 |   85.41 |   81.63 | ...3221,3223-3224 
  mcp-client.ts    |   79.83 |    85.09 |   89.47 |   79.83 | ...2233,2237-2240 
  ...ry-timeout.ts |     100 |      100 |     100 |     100 |                   
  mcp-errors.ts    |     100 |      100 |     100 |     100 |                   
  ...pool-entry.ts |   77.56 |    84.11 |   77.14 |   77.56 | ...1291,1299-1300 
  ...ool-events.ts |       8 |        0 |       0 |       8 | 132-158           
  mcp-pool-key.ts  |   97.46 |    93.93 |     100 |   97.46 | 175-176           
  ...ce-content.ts |   96.55 |    91.17 |     100 |   96.55 | 80-82             
  mcp-retry.ts     |   97.67 |    95.65 |     100 |   97.67 | 131-132           
  mcp-status.ts    |     100 |      100 |     100 |     100 |                   
  mcp-tool.ts      |    97.2 |    93.47 |     100 |    97.2 | ...00-801,856-857 
  ...sport-pool.ts |   83.49 |    80.15 |   84.61 |   83.49 | ...1409,1416-1420 
  ...ace-budget.ts |   87.27 |     82.6 |     100 |   87.27 | ...00-305,340-345 
  memory-config.ts |     100 |      100 |     100 |     100 |                   
  ...iable-tool.ts |     100 |    84.61 |     100 |     100 | 101,108           
  monitor.ts       |   91.74 |    84.28 |   88.46 |   91.74 | ...93,606,804-809 
  notebook-edit.ts |   85.55 |    77.39 |   81.25 |   85.55 | ...86-902,948-949 
  ...escendants.ts |   36.17 |    64.51 |   55.55 |   36.17 | ...46-310,385-390 
  ...nforcement.ts |   82.57 |    90.24 |     100 |   82.57 | 174-185,234-247   
  read-file.ts     |   95.49 |    88.52 |   86.66 |   95.49 | ...49,464,536-537 
  ...p-resource.ts |   96.85 |      100 |   91.66 |   96.85 | 92-96             
  ...d-artifact.ts |   91.18 |    86.71 |    87.5 |   91.18 | ...26-427,441-453 
  ripGrep.ts       |    94.6 |    87.26 |   95.23 |    94.6 | ...33-734,740-741 
  ...-transport.ts |   71.42 |    55.55 |   71.42 |   71.42 | ...36-137,143-144 
  send-message.ts  |   81.13 |    89.74 |    62.5 |   81.13 | ...80-286,363-371 
  ...n-mcp-view.ts |   93.57 |     92.3 |      90 |   93.57 | 122-130           
  shell.ts         |   78.78 |    84.06 |   91.91 |   78.78 | ...5019,5082-5083 
  skill-utils.ts   |     100 |      100 |     100 |     100 |                   
  skill.ts         |   91.06 |    93.33 |   89.47 |   91.06 | ...71,475,520-542 
  ...eticOutput.ts |   95.12 |      100 |      80 |   95.12 | 87-88             
  task-create.ts   |    94.4 |    93.33 |   81.81 |    94.4 | 45-49,63-64,95    
  task-list.ts     |   73.38 |    77.77 |   83.33 |   73.38 | ...02,105,109-116 
  task-stop.ts     |   93.14 |    96.15 |   85.71 |   93.14 | 39-40,54-64       
  task-update.ts   |   82.89 |    83.92 |    92.3 |   82.89 | ...14-422,454-465 
  team-create.ts   |   97.22 |    85.71 |   83.33 |   97.22 | 48-49,129-130     
  team-delete.ts   |   86.74 |    83.33 |   83.33 |   86.74 | 37-38,42-48,72-73 
  ...n-approval.ts |   92.14 |    96.77 |   77.77 |   92.14 | 38-39,42-43,93-99 
  todoWrite.ts     |   94.36 |    84.61 |   92.85 |   94.36 | ...10-415,437-438 
  tool-error.ts    |     100 |      100 |     100 |     100 |                   
  tool-names.ts    |     100 |      100 |     100 |     100 |                   
  tool-registry.ts |   80.29 |     79.6 |   84.78 |   80.29 | ...1000,1008-1009 
  tool-search.ts   |   96.27 |    90.06 |   93.33 |   96.27 | ...10,264-269,439 
  tools.ts         |   92.83 |    91.66 |   91.66 |   92.83 | ...29-630,646-652 
  ...reapproved.ts |   99.27 |    94.11 |     100 |   99.27 | 170               
  web-fetch.ts     |   96.05 |    90.54 |   96.77 |   96.05 | ...85-786,800-801 
  web-search.ts    |   90.53 |    83.57 |      80 |   90.53 | ...1007,1065-1068 
  write-file.ts    |    86.7 |    84.92 |   88.88 |    86.7 | ...24-827,864-899 
  zoom-image.ts    |   95.76 |    93.75 |      90 |   95.76 | 54-59,203-204     
 src/tools/agent   |   85.28 |     85.8 |   86.66 |   85.28 |                   
  agent.ts         |   85.13 |    85.59 |   86.17 |   85.13 | ...4128,4150-4160 
  fork-subagent.ts |   88.32 |       90 |    90.9 |   88.32 | ...05-123,200-201 
 ...tools/artifact |   95.78 |    92.51 |   88.63 |   95.78 |                   
  artifact-tool.ts |   91.46 |    88.46 |   71.42 |   91.46 | ...13-314,322-325 
  ...-publisher.ts |     100 |    85.71 |     100 |     100 | 32                
  ...-publisher.ts |   96.74 |    97.72 |    87.5 |   96.74 | 29-30,156-157     
  html.ts          |     100 |    96.77 |     100 |     100 | 122               
  ...-publisher.ts |     100 |       80 |     100 |     100 | 30                
  oss-publisher.ts |    98.1 |    91.48 |     100 |    98.1 | 43-45             
  publisher.ts     |     100 |      100 |     100 |     100 |                   
 ...s/computer-use |   90.21 |    82.17 |   78.08 |   90.21 |                   
  bootstrap.ts     |   59.42 |    80.95 |   41.66 |   59.42 | ...35-339,341-345 
  client.ts        |   80.11 |       90 |   77.77 |   80.11 | ...97,242-243,274 
  constants.ts     |     100 |    94.73 |     100 |     100 | 129,256           
  downloader.ts    |   65.29 |    52.77 |   58.33 |   65.29 | ...99-300,316-355 
  index.ts         |     100 |      100 |     100 |     100 |                   
  install-state.ts |   94.44 |    72.72 |     100 |   94.44 | 44-45             
  ...n-detector.ts |     100 |     87.5 |     100 |     100 | 50                
  schemas.ts       |     100 |      100 |     100 |     100 |                   
  tool.ts          |    96.3 |    85.71 |     100 |    96.3 | 75-76,184,252-258 
 ...tools/workflow |   87.46 |    79.41 |   85.71 |   87.46 |                   
  workflow.ts      |   87.46 |    79.41 |   85.71 |   87.46 | ...51-652,664-667 
 src/utils         |   92.79 |     89.7 |   96.81 |   92.79 |                   
  LruCache.ts      |     100 |      100 |     100 |     100 |                   
  ...Controller.ts |     100 |      100 |     100 |     100 |                   
  ...ssageQueue.ts |     100 |      100 |     100 |     100 |                   
  ...cFileWrite.ts |   94.94 |    92.51 |     100 |   94.94 | ...43-544,651-655 
  bareMode.ts      |   81.81 |      100 |      50 |   81.81 | 18-19             
  ...ry-content.ts |   98.45 |    95.45 |     100 |   98.45 | 132-133,159-160   
  browser.ts       |   86.84 |    78.94 |     100 |   86.84 | 34,36-37,65-66    
  btwUtils.ts      |   13.95 |      100 |       0 |   13.95 | 17-31,34-55       
  bundlePaths.ts   |     100 |      100 |     100 |     100 |                   
  ...on-context.ts |     100 |      100 |     100 |     100 |                   
  ...ncyLimiter.ts |   94.64 |    95.23 |     100 |   94.64 | 64-66             
  ...igResolver.ts |     100 |      100 |     100 |     100 |                   
  ...engthError.ts |   91.44 |    89.83 |     100 |   91.44 | ...58-159,166-167 
  ...n-branches.ts |   95.81 |    93.95 |      95 |   95.81 | ...91-492,504-517 
  ...tion-chain.ts |     100 |      100 |     100 |     100 |                   
  cronDisplay.ts   |     100 |    97.61 |     100 |     100 | 46                
  cronParser.ts    |   95.34 |    93.33 |     100 |   95.34 | 41-42,47-48,70-71 
  debugLogger.ts   |   96.66 |    96.61 |   88.88 |   96.66 | 192-196           
  editHelper.ts    |   93.63 |     83.9 |     100 |   93.63 | ...27-428,462-463 
  editor.ts        |   97.65 |    95.45 |     100 |   97.65 | ...35-336,338-339 
  encoding.ts      |     100 |      100 |     100 |     100 |                   
  env.ts           |     100 |      100 |     100 |     100 |                   
  ...arResolver.ts |   94.28 |    88.88 |     100 |   94.28 | 28-29,125-126     
  ...entContext.ts |   96.63 |    90.13 |   96.66 |   96.63 | ...42,444-445,512 
  errorParsing.ts  |     100 |      100 |     100 |     100 |                   
  ...rReporting.ts |   95.65 |    93.33 |     100 |   95.65 | 37-38             
  errors.ts        |   82.62 |    94.32 |    61.9 |   82.62 | ...62-378,382-388 
  fetch.ts         |   91.25 |    83.33 |     100 |   91.25 | ...84,495-496,515 
  fileUtils.ts     |   94.87 |    92.65 |   96.15 |   94.87 | ...1958,1983-1984 
  forkedAgent.ts   |   92.45 |    82.35 |   93.75 |   92.45 | ...34,642,647-654 
  formatters.ts    |   81.81 |       75 |     100 |   81.81 | 15-16             
  ...eUtilities.ts |    92.4 |    86.95 |     100 |    92.4 | ...52-158,168-169 
  ...rStructure.ts |   94.39 |    94.28 |     100 |   94.39 | ...29-132,343-348 
  getPty.ts        |   31.57 |       50 |     100 |   31.57 | 26-38             
  git-branches.ts  |    91.6 |    84.21 |    92.3 |    91.6 | ...90,405-410,570 
  gitDiff.ts       |   95.19 |    81.36 |     100 |   95.19 | ...1073,1419-1420 
  gitDirect.ts     |   98.84 |    94.28 |     100 |   98.84 | 234,318           
  ...noreParser.ts |   94.48 |    93.22 |     100 |   94.48 | ...23-124,158-159 
  gitUtils.ts      |   78.02 |    81.25 |   85.71 |   78.02 | ...22-123,147-198 
  github-prs.ts    |   95.74 |    82.27 |     100 |   95.74 | 216,314-322       
  iconvHelper.ts   |     100 |      100 |     100 |     100 |                   
  ...rePatterns.ts |     100 |      100 |     100 |     100 |                   
  image-view.ts    |   95.12 |    93.33 |     100 |   95.12 | ...68-172,240-244 
  ...ionManager.ts |     100 |     90.9 |     100 |     100 | 27                
  ...lPromptIds.ts |     100 |      100 |     100 |     100 |                   
  ...on-context.ts |     100 |      100 |     100 |     100 |                   
  jsonl-utils.ts   |   95.27 |     93.1 |     100 |   95.27 | ...16-317,359-362 
  ...-detection.ts |     100 |      100 |     100 |     100 |                   
  ...iconv-lite.ts |     100 |      100 |     100 |     100 |                   
  ...simple-git.ts |   96.77 |    91.66 |     100 |   96.77 | 38                
  ...m-headless.ts |      96 |    88.88 |     100 |      96 | 34                
  ...iagnostics.ts |    96.4 |     94.2 |     100 |    96.4 | ...66,293-294,376 
  ...yDiscovery.ts |    92.4 |    89.13 |     100 |    92.4 | ...28,331,522-525 
  ...tProcessor.ts |   94.01 |       90 |     100 |   94.01 | ...47-353,445-446 
  ...Inspectors.ts |     100 |      100 |     100 |     100 |                   
  modelId.ts       |   98.96 |    98.21 |     100 |   98.96 | 153               
  ...kerChecker.ts |    90.9 |    91.66 |     100 |    90.9 | 73-79             
  notebook.ts      |   94.57 |    89.91 |   95.83 |   94.57 | ...21,333,385-387 
  openaiLogger.ts  |   91.66 |    89.74 |     100 |   91.66 | ...26-228,251-256 
  osc8.ts          |   54.26 |    64.86 |   83.33 |   54.26 | ...72-195,197-257 
  partUtils.ts     |     100 |    98.64 |     100 |     100 | 211               
  pathReader.ts    |     100 |      100 |     100 |     100 |                   
  paths.ts         |   93.95 |    92.79 |     100 |   93.95 | ...78-479,481-483 
  pdf.ts           |   92.17 |    85.81 |     100 |   92.17 | ...64-565,606-611 
  projectPath.ts   |     100 |      100 |     100 |     100 |                   
  projectRoot.ts   |   71.73 |    78.57 |     100 |   71.73 | 54-66             
  ...ectSummary.ts |   89.62 |    72.41 |     100 |   89.62 | ...40-145,196-199 
  ...tIdContext.ts |     100 |      100 |     100 |     100 |                   
  proxyUtils.ts    |     100 |      100 |     100 |     100 |                   
  ...rDetection.ts |   71.15 |       86 |     100 |   71.15 | ...-90,96-101,147 
  ...noreParser.ts |   92.63 |    91.66 |     100 |   92.63 | ...77-178,197-198 
  rateLimit.ts     |   93.75 |    89.62 |     100 |   93.75 | ...13,218-219,262 
  ...text-range.ts |   97.16 |    84.69 |     100 |   97.16 | ...67-268,340-341 
  readManyFiles.ts |   96.29 |    87.23 |     100 |   96.29 | 225,276,286-290   
  retry.ts         |   96.09 |    92.52 |     100 |   96.09 | ...67,558-559,577 
  retryContext.ts  |     100 |      100 |     100 |     100 |                   
  ...sification.ts |   97.63 |    97.02 |     100 |   97.63 | ...17,251-252,278 
  retryPolicy.ts   |   97.72 |    90.56 |     100 |   97.72 | 130-131           
  ripgrepUtils.ts  |   90.04 |    93.43 |   95.45 |   90.04 | ...55-565,598-599 
  ...sDiscovery.ts |   97.46 |    93.05 |     100 |   97.46 | ...04,182-183,202 
  ...iagnostics.ts |   83.08 |     67.5 |   92.59 |   83.08 | ...23,543-544,550 
  ...tchOptions.ts |   85.29 |     87.5 |   96.29 |   85.29 | ...71,696,725-734 
  ...odelPrefix.ts |     100 |      100 |     100 |     100 |                   
  runtimeStatus.ts |    97.5 |    89.74 |     100 |    97.5 | 162-163           
  safe-mode.ts     |     100 |      100 |     100 |     100 |                   
  safeJsonParse.ts |     100 |      100 |     100 |     100 |                   
  ...nStringify.ts |     100 |      100 |     100 |     100 |                   
  ...-child-env.ts |     100 |      100 |     100 |     100 |                   
  ...aConverter.ts |   98.03 |    97.75 |     100 |   98.03 | 100,102-103       
  ...aValidator.ts |   92.09 |    83.65 |   90.47 |   92.09 | ...60,882-883,896 
  ...r-launcher.ts |   96.35 |    93.97 |   85.71 |   96.35 | ...35-336,347-348 
  sedEditParser.ts |   91.78 |    92.18 |     100 |   91.78 | ...66-569,645-646 
  ...nIdContext.ts |     100 |      100 |     100 |     100 |                   
  ...orageUtils.ts |   95.98 |    83.96 |     100 |   95.98 | ...70,386,466,485 
  ...-pager-env.ts |     100 |      100 |     100 |     100 |                   
  ...fety-rules.ts |     100 |     89.7 |     100 |     100 | ...01,304,309-311 
  shell-utils.ts   |   86.07 |    88.34 |     100 |   86.07 | ...2269,2276-2280 
  ...lAstParser.ts |   98.16 |    91.91 |     100 |   98.16 | ...1244-1246,1256 
  ...ContextEnv.ts |     100 |       92 |     100 |     100 | 50-52             
  ...nlyChecker.ts |   96.33 |    96.57 |     100 |   96.33 | ...83-284,292-293 
  sideQuery.ts     |   86.82 |    86.66 |     100 |   86.82 | ...79-185,187-193 
  ...pEventSink.ts |     100 |       80 |     100 |     100 | 61                
  ...tGenerator.ts |     100 |      100 |     100 |     100 |                   
  ...ameContext.ts |     100 |      100 |     100 |     100 |                   
  symlink.ts       |   77.77 |       50 |     100 |   77.77 | 44,54-59          
  ...e-encoding.ts |   85.96 |    76.47 |     100 |   85.96 | 58-61,64-65,78-79 
  ...emEncoding.ts |   96.36 |    91.17 |     100 |   96.36 | 59-60,124-125     
  terminalSafe.ts  |     100 |      100 |     100 |     100 |                   
  ...Serializer.ts |   98.72 |       90 |     100 |   98.72 | 42-43,134,201-203 
  testUtils.ts     |   53.33 |      100 |   33.33 |   53.33 | ...53,59-64,70-72 
  ...-constants.ts |     100 |      100 |     100 |     100 |                   
  textUtils.ts     |      65 |      100 |      75 |      65 | 56-75             
  thoughtUtils.ts  |     100 |    95.65 |     100 |     100 | 99                
  ...-converter.ts |   95.23 |    85.71 |     100 |   95.23 | 36-37             
  ...name-utils.ts |     100 |      100 |     100 |     100 |                   
  ...-finalizer.ts |   97.66 |    90.82 |     100 |   97.66 | 165-166,168-172   
  tool-utils.ts    |    95.2 |    93.61 |     100 |    95.2 | ...58-159,162-163 
  ...ultCleanup.ts |   54.62 |       64 |      75 |   54.62 | ...03-105,108-134 
  ...Compaction.ts |   96.11 |    96.22 |     100 |   96.11 | ...22-327,329-334 
  ...pt-records.ts |   85.85 |    83.63 |     100 |   85.85 | ...86-390,420-435 
  truncation.ts    |   90.56 |    90.43 |     100 |   90.56 | ...35-443,480-486 
  windowsPath.ts   |   89.47 |    79.31 |     100 |   89.47 | ...57-58,62,90-91 
  ...aceContext.ts |   95.81 |    89.39 |     100 |   95.81 | ...74-275,299-301 
  xml.ts           |    97.8 |    87.69 |     100 |    97.8 | 98-99             
  yaml-parser.ts   |   83.87 |    77.27 |     100 |   83.87 | ...31-234,239-240 
 ...ils/filesearch |   83.68 |    80.38 |   94.69 |   83.68 |                   
  crawlCache.ts    |     100 |      100 |     100 |     100 |                   
  crawler.ts       |   82.47 |    76.22 |      95 |   82.47 | ...1525,1559-1560 
  fileSearch.ts    |   93.78 |    87.67 |     100 |   93.78 | ...71-272,274-275 
  fzfWorker.ts     |       0 |        0 |       0 |       0 | 1-109             
  ...rkerHandle.ts |   84.05 |    75.43 |   89.47 |   84.05 | ...30-334,340-341 
  ignore.ts        |     100 |    97.36 |     100 |     100 | 187               
  result-cache.ts  |     100 |    93.75 |     100 |     100 | 49                
 ...uest-tokenizer |   69.76 |    75.47 |   85.29 |   69.76 |                   
  ...eTokenizer.ts |   65.72 |    74.02 |    92.3 |   65.72 | ...65-466,479-533 
  index.ts         |     100 |      100 |     100 |     100 |                   
  ...tTokenizer.ts |   68.39 |    69.49 |    90.9 |   68.39 | ...24-325,327-328 
  ...ageFormats.ts |   76.92 |      100 |   33.33 |   76.92 | 46-49,56-57       
  textTokenizer.ts |     100 |      100 |     100 |     100 |                   
  types.ts         |       0 |        0 |       0 |       0 | 1                 
-------------------|---------|----------|---------|---------|-------------------

For detailed HTML reports, please see the 'coverage-reports-22.x-ubuntu-latest' artifact from the main CI run.

@qwen-code-ci-bot

Copy link
Copy Markdown
Collaborator

Confidence: 4/5 — clean static review with no blockers found; the remaining point of uncertainty is the still-running unit suite and the real-model behaviour only /verify can settle.

Stepping back: my independent proposal for "make omni's processing knowledge survive the turn" was exactly this shape — one content-keyed atomic JSON store, collection on the two pipeline events that already exist, one recall service behind an opaque-handle privacy boundary — and I didn't find a materially simpler path this PR missed. The hard questions all answer well: the problem is real and quantified (re-referencing the same media re-pays recognition + ASR; the PR's own 986MB case shows recall answering alone), the direction is the planned S5 slice of an experiment track whose S1–S4 already landed on this branch, and the scope coheres because the two surfaces share one store and one service by design.

What impressed me in the code is the discipline at the seams: handle resolution ordered before the lockedArguments check, commits landing only after object promotion, gaps computed from the unfiltered subgraph so request filters can't rewrite processing truth, dead artifacts degrading to gaps instead of dead handles, and every failure path on the collection side proven unable to block delivery. The test suite pins these invariants rather than just exercising happy paths. What keeps this at 4 rather than 5: the unit suite had not concluded on the reviewed commit at decision time, the macOS/Windows/integration checks are skipped for this run, and the cross-session-recall-with-a-real-model claim rests on the author's local E2E — substantiated only if a maintainer triggers the sandboxed lane named in the review comment. The non-blocking nits (per-delivery service construction re-reading the store; no store-level test for the unreadable-document no-op) are named in Stage 2 and belong to follow-ups, not this merge.

Approving — but CI is still running on the reviewed commit, so approval is deferred until CI lands green on 22cc1f1f2a9a9e2b9ca7e75b8e203d2e99fdb043; this run posts no approval itself.

中文说明

置信度:4/5 —— 静态审查干净、未发现阻塞项;剩余不确定性在于仍在运行的单测套件,以及只有 /verify 能了结的真实模型行为。

退一步看:我对"让 omni 的处理知识活过回合"的独立设想与本次实现形态完全一致——一个以内容哈希为键的原子 JSON 存储、在两个既有管线事件上收集、一个位于不透明句柄隐私边界之后的召回服务——没有发现被本 PR 遗漏的更简路径。关键问题都站得住:问题真实且可量化(重复引用同一媒体要重新付出识别 + ASR 代价,PR 自身的 986MB 案例展示仅靠召回作答);方向是实验路线计划中的 S5 切片,S1–S4 已合入本分支;范围自洽,因为两个界面按设计共用一个存储与一个服务。

代码中令人印象深刻的是接缝处的纪律:句柄解析排在 lockedArguments 检查之前、提交只发生在对象提升之后、gap 由未过滤子图计算使请求过滤无法改写处理真相、失效工件降级为 gap 而非死句柄、收集侧每条失败路径都被证明不会阻塞投递。测试套件钉住的是这些不变量,而不只是跑通 happy path。之所以是 4 而不是 5:审阅提交上的单测在决策时仍未出结果,macOS/Windows/集成检查本轮被跳过,跨会话真实模型召回的论断仍基于作者本地 E2E——只有维护者触发上面点名的沙箱验证通道才能 substantiate。非阻塞的小问题(每次投递新建 service 会重读存储;store 的不可读文档分支缺专门测试)已在 Stage 2 点名,属于后续跟进,不影响本次合入。

予以批准——但 CI 在审阅提交上仍在运行,批准推迟到 CI 在该提交上转绿;本次运行不直接提交批准。

Qwen Code · qwen3.8-max

Reviewed at 22cc1f1f2a9a9e2b9ca7e75b8e203d2e99fdb043 · re-run with @qwen-code /triage

@qwen-code-ci-bot qwen-code-ci-bot added the omni-experiment Omni multimodal experiment (omni-experiment branch) label Aug 11, 2026

@qwen-code-ci-bot qwen-code-ci-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not reviewed: build-and-test — Integration Tests (CLI, No Sandbox) was skipped in CI and its suite did not run locally.

Not explored to full depth (tool budget reached): You are review agent reverse-audit — Reverse audit agen...: none — all checks above were completed within budget.; chunk 7: couldn't run typecheck/tests (the review worktree has no node_modules, and installing the monorepo's dependencies exceeded the remaining budget); type correctne…; chunk 7: could not run typecheck/tests — the review worktree has no node_modules and installing monorepo dependencies exceeded the remaining budget; type correctness w…; You are review agent reverse-audit — Reverse audit agen...: none — all checks above completed within budget.; You are review agent reverse-audit — Reverse audit agen...: none — all checks above completed within budget., and 5 more.

Test Plan (not a blocker): src/core/client.test.tsno such file or directory.

中文说明

未审查:build-and-test — Integration Tests (CLI, No Sandbox) was skipped in CI and its suite did not run locally。

未探索到全部深度(达到工具调用预算):You are review agent reverse-audit — Reverse audit agen...:none — all checks above were completed within budget.;chunk 7:couldn't run typecheck/tests (the review worktree has no node_modules, and installing the monorepo's dependencies exceeded the remaining budget); type correctne…;chunk 7:could not run typecheck/tests — the review worktree has no node_modules and installing monorepo dependencies exceeded the remaining budget; type correctness w…;You are review agent reverse-audit — Reverse audit agen...:none — all checks above completed within budget.;You are review agent reverse-audit — Reverse audit agen...:none — all checks above completed within budget.,另有 5 条。

Test Plan(非阻断):src/core/client.test.tsno such file or directory

— qwen3.8-max via Qwen Code /review (v0.21.9)

OMNI_CLIP_VIDEO: 'ClipVideo',
OMNI_CONVERT_IMAGE: 'ConvertImage',
OMNI_TRANSCRIBE_AUDIO: 'TranscribeAudio',
OMNI_RECALL_MEDIA_MEMORY: 'RecallMediaMemory',

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Critical] R1-1: The new tool name/display name is registered in core without propagating to the two drift-guarded consumer surfaces — web-shell TOOL_DISPLAY_NAMES and cli i18n zh.js. — Failure scenario: npm test fails in packages/web-shell (toolFormatting.drift.test.ts: expected [ 'omni_recall_media_memory' ] to deeply equal []) and packages/cli (i18n/index.test.ts: expected [ 'RecallMediaMemory' ] to deeply equal []). Measured net-new against the merge base (base web-shell run 151/151 green) — CI on this PR is red because of this.

Suggested fix: add omni_recall_media_memory: 'RecallMediaMemory' to web-shell toolFormatting.ts and toolDisplayName.RecallMediaMemory to packages/cli/src/i18n/locales/zh.js (see also the zh-TW comment on the tool constructor).

中文说明

新工具名/显示名只在 core 注册,未同步到两个有漂移守卫的消费面:web-shell 的 TOOL_DISPLAY_NAMES 与 cli 的 i18n zh.js。失败场景:packages/web-shell 与 packages/cli 的 npm test 失败(已相对合并基线实测为本 PR 新增失败),本 PR 的 CI 因此变红。修复:在上述两处补齐条目。

— qwen3.8-max via Qwen Code /review (v0.21.9)

});
}
}
// Memory collection (S5, design M §6.4): commit AFTER promotion — the

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Critical] R1-2: The OmniPolicySucceeded memory commit fires only for fixed-policy orchestrator invocations (the only commitPolicySucceeded callers are orchestrator.ts:762/:964, both hardcoding fixed_policy origin). Successful model/client-origin media-policy tool calls — the exact resourceId-resolved calls this PR builds the gate for — never commit to memory. — Failure scenario: recall gap speech_text: not_processed → advisor suggests evidence gathering → model calls the tool with the handle → the tool succeeds, artifacts land on disk — but nothing commits, so every later recall returns the identical gap and suggestion, re-paying the work every session forever. Design M §3.2/§7.1/§17.1 mandate both fixed and model policy successes enter the same OmniPolicySucceeded boundary; corroborating: MediaExecutionOrigin model/client kinds are produced only by test fixtures.

Suggested fix: add the commit point on the model/client success path (scheduler/ACP, after the gated invocation succeeds and artifacts validate), reusing commitPolicySucceeded with executionOrigin: { kind: 'model' | 'client' }.

中文说明

OmniPolicySucceeded 入库只在固定 policy 的 orchestrator 调用点触发;模型/客户端发起的媒体工具调用(本 PR 专门为其建设了 resourceId 解析门)成功后从不入库。失败场景:召回缺口 → 建议取证 → 模型调用成功但不入库 → 之后每次召回都返回相同缺口与建议,永久重复处理。设计文档 M §3.2/§7.1/§17.1 要求固定与模型 policy 成功后都经同一 OmniPolicySucceeded 边界入库。修复:在模型/客户端成功路径上补上提交点。

— qwen3.8-max via Qwen Code /review (v0.21.9)

// effective arguments, and descriptor version at the S4 boundary.
const sourceVersion = snapshot.versions[input.source.fileVersionId];
const sourceSha = sourceVersion?.sha256 ?? input.source.fileVersionId;
const executionId = hashId('x', `${sourceSha}|${input.omniConfigHash}`);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Critical] R1-3: Content-identity replay collision. executionId is content-keyed and omits file/version identity, so when a SECOND file with identical bytes hits the replay branch, nothing is written for it (probe-observed: zero executions/entries/lineage for file B), mediaBindings are rebuilt with B's rootFileId over A's version records (mixed root), and the declared reusedExecutionId field (types.ts:177) is assigned nowhere. — Failure scenario: movie.mkv fully processed; byte-identical copy.mkv delivered later → replay commit changed: false → recall on B's handle returns false not_processed gaps on every channel (probe-observed) while A's derivatives get rebound under B's root. Violates M §11.2/§11.3 (每个 File 仍写入自己的 PolicyExecution 与 provenance,不共享图节点); the existing "two files with identical bytes" test only asserts recognition-time node separation, never recalls the second file.

Suggested fix: in the replay branch, when existing.sourceVersionId !== input.source.fileVersionId, write the caller's own lightweight execution record with reusedExecutionId and entries parented on the caller's version; build mediaBindings from the recorded version's own rootFileId.

中文说明

内容身份重放冲突:executionId 仅以内容哈希为键、不含文件/版本身份,第二个同字节文件走重放分支时不写入任何记录(实测:B 文件零执行/零条目/零血缘),且 mediaBindings 以 B 的根覆盖 A 的版本记录(跨根混用),声明的 reusedExecutionId 字段无任何赋值点。失败场景:对 B 的召回返回全通道假 not_processed 缺口。违反 M §11.2/§11.3。修复:重放分支在源版本不同时为调用方写入轻量执行记录(含 reusedExecutionId),并用记录自身的 rootFileId 构建绑定。

— qwen3.8-max via Qwen Code /review (v0.21.9)

disclosure,
// Marks the artifact as a temporal excerpt for downstream role
// consumers (output routing selectors, memory coverage).
role: 'clip',

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Critical] R1-21 (pattern, location 1 of 2 — twin at extract-keyframes.ts:273): role: 'clip' is introduced but the tool descriptor version stays '1', so pre-PR degradation-cache entries and recorded fingerprints converge onto the same executionId post-PR. The cache-hit recommit passes role: hit.role = undefined → coverageFor(undefined) = complete; the replay branch never upgrades recorded entries. — Failure scenario: after upgrading, a cache hit or replay for a pre-PR-processed clip commits/reports complete coverage for a temporal excerpt → recall overclaims completeness, the model answers about footage spans it never saw, and the advisor never proposes closing the gap. Violates the service.ts "Honesty over precision — never overclaim" invariant (probe-verified: roleless output → complete; with role → partial).

Suggested fix: bump the descriptor version ('1''2') here and in extract-keyframes so pre-PR cache/fingerprints no longer converge, or treat an absent role on cache-hit recommit as non-committable.

中文说明

(模式问题,2 处之 1,另一处在 extract-keyframes.ts:273)新增 role: 'clip' 但工具描述符版本仍为 '1':PR 前的降级缓存条目与指纹在升级后仍命中同一 executionId,缓存命中重提交携带 role: undefined → 覆盖度被记为 complete;重放分支也从不升级既有记录。失败场景:升级后旧缓存命中会把片段剪辑报成完整覆盖 → 召回过度声明、模型回答从未看过的片段。违反 "never overclaim" 不变量(已探针验证)。修复:两处工具一起升级描述符版本,或缓存命中重提交时视缺失 role 为不可提交。

— qwen3.8-max via Qwen Code /review (v0.21.9)

omniDisclosure: `原视频 ${originalDuration}${originalResolution} → 关键帧 ${index + 1}/${frames.length}${atTime},${samplingNote},时间连续性丢失`,
// Marks the artifact as a sampled excerpt for downstream role
// consumers (output routing selectors, memory coverage).
omniRole: 'keyframe',

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Critical] R1-21 (pattern, location 2 of 2 — twin at clip-video.ts:204): omniRole: 'keyframe' is introduced but the descriptor version stays '1', so pre-PR state converges onto the same fingerprints post-PR. Two concrete triggers: (1) replay-discard — a pre-PR recorded execution (role-less entries, coverageFor(undefined) = complete) takes the replay branch on re-delivery, which rebuilds bindings and returns changed: false WITHOUT upgrading recorded entries, so keyframes keep reporting complete visual coverage instead of sampled; (2) a stale single-frame cache entry (maxFrames: 1) recommits with role: hit.role = undefined. — Failure scenario: recall overclaims complete visual coverage for sampled keyframes — the model answers about footage spans it never saw; the advisor never proposes closing the gap. Same "never overclaim" invariant violation as the clip-video twin.

Suggested fix: bump this tool's descriptor version together with clip-video's.

中文说明

(模式问题,2 处之 2,另一处在 clip-video.ts:204)新增 omniRole: 'keyframe' 但描述符版本仍为 '1'。两个触发路径:重放丢弃(PR 前已记录的执行走重放分支,条目覆盖度保持 complete 而不升级为 sampled);单帧旧缓存条目以 role: undefined 重提交。失败场景:关键帧被报成完整视觉覆盖 → 召回过度声明。修复:与 clip-video 一起升级描述符版本。

— qwen3.8-max via Qwen Code /review (v0.21.9)

Comment on lines +72 to +73
sampleCount?: number;
sampleRate?: number;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Suggestion] R1-51 (dead persistent-schema pattern, location 3 of 3): three more declared-but-unwritten-and-unread fields — MediaCoverage.sampleCount, MediaCoverage.sampleRate (here) and MediaVersionRecognition.probeBackend (types.ts:116). Repo-wide greps: probeBackend has exactly one match (its declaration); sampleCount/sampleRate have zero producers/consumers in the media-memory code. Both interfaces persist — coverage on every entry, recognition on every version record. — Concrete cost: the schema advertises capabilities that do not exist: a tool emitting mode: 'sampled' coverage gets no sampling-statistics semantics (recall reads only mode/channels), and the MediaVersionRecognition doc claim ("enough to decide whether a past recognition is still trustworthy") cannot be honored — nothing can consult probeBackend to invalidate stale recognitions.

Suggested fix: delete the three fields (per simplicity-first), or document them as explicitly reserved with the planned consumer.

中文说明

(死持久化字段模式,3 处之 3)另有三个只声明、不写入、不读取的字段:MediaCoverage.sampleCount/sampleRateMediaVersionRecognition.probeBackend。全仓 grep 证实无生产者/消费者,而两个接口分别持久化在每条条目与每个版本记录上。代价:schema 宣称不存在的能力(采样统计、探测后端可信度判断)。修复:删除三个字段,或明确标注为预留并写明计划消费方。

— qwen3.8-max via Qwen Code /review (v0.21.9)

Comment on lines +3454 to +3455
"maxEntries": {
"type": "number",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Suggestion] R1-69: All eight numeric omni.memory fields emit "type": "number", but the runtime validator positiveInteger requires Number.isInteger and is startup-fatal — the schema blesses fractional values that abort CLI startup. The file's established convention for integer-only settings is "type": "integer" (11 prior uses; the generator supports it via case 'integer'). — Concrete cost: a user editing settings.json in VS Code sets omni.memory.recall.maxEntries: 12.5 — the schema validates green (number, ≥ 1), the IDE gives no warning, and the next CLI launch aborts with "must be a positive integer (got 12.5)". This section is where pre-validation matters most: its own description says "Invalid values abort startup".

Suggested fix: in settingsSchema.ts change the eight jsonSchemaOverride fragments from type: 'number' to type: 'integer' (optionally add uniqueItems: true to the kinds override), then regenerate via npx tsx scripts/generate-settings-schema.ts.

中文说明

新的八个 omni.memory 数值字段都生成 "type": "number",但运行时校验器 positiveInteger 要求整数且启动即失败——schema 放行了会让 CLI 启动中止的小数值。本文件对整数设置的既有约定是 "type": "integer"(已有 11 处)。代价:用户在 VS Code 中设置 maxEntries: 12.5 时编辑器零警告,下次启动直接中止。修复:settingsSchema.ts 中八处 override 改为 integer 并重新生成。

— qwen3.8-max via Qwen Code /review (v0.21.9)

mediaType: 'audio',
channels: ['speech_text'],
toolName: ToolNames.OMNI_TRANSCRIBE_AUDIO,
reason: 'no transcript collected yet: transcribe the audio',

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Suggestion] R1-70: Sibling of R1-46 for images: expectedChannels('image') demands 'visual', but no flow ever covers it for an image no fixed policy processed — the common case ("There are NO system-default fixedPolicies"; guard policies run only over transport limits) — and GAP_STEP has no image row. — Concrete cost: every recall of an untouched image reports an uncloseable not_processed visual gap with no suggested action; combined with R1-2 (model-origin calls never commit) the model cannot close it either — permanently partial. The onscreen_text precedent documented one line above ("its absence is not reported as a gap") argues visual on an image whose delivered bytes ARE the visual evidence should not be expected either.

Suggested fix: drop 'visual' from expectedChannels('image') (mirroring the onscreen_text stance), or add an image-appropriate coverage rule recognizing the delivered/recognized image as visual evidence.

中文说明

R1-46 的图片版孪生:expectedChannels('image') 要求 'visual',但未经固定 policy 处理的图片(常见情形)没有任何流程能覆盖它,GAP_STEP 也没有 image 行。代价:每次召回未处理图片都报告无法闭合的 visual 缺口且无建议动作;叠加 R1-2 后模型也无法闭合——永远 partial。上方 onscreen_text 先例(无生产者即不期待)同样适用。修复:从图片期望通道中移除 'visual',或增加承认已投递图片即视觉证据的覆盖规则。

— qwen3.8-max via Qwen Code /review (v0.21.9)

// The manifest the selector saw is the ordered, capped view —
// validate against exactly that, so an id beyond the cap (which
// the selector was never shown) rejects like any unknown id.
const manifest = new Map(

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Suggestion] R1-72: The sideQuery flow judges one selection against TWO snapshots taken seconds apart: candidateSummaries (store read #1) → selector LLM window (≤ timeoutMs, default 30s) → recallSelection (store read #2) re-derives orderCandidates + slice(maxCandidateEntries) for validation — despite the comment claiming validation against exactly the manifest the selector saw. Probe: a cap-boundary pick valid under manifest #1 is rejected wholesale (invalid_selection) after one interleaved commit. — Concrete cost: cross-session recall is the feature's stated purpose — a concurrent commit during the selector window (shared .qwen/omni/memory.json) shifts the newest-first cap and pushes a legitimately-shown entryId below it → the WHOLE selection rejects → passive recall degrades to empty for that turn despite every pick having been valid when shown. Since entries are append-only, the mismatch can only false-reject.

Suggested fix: validate against the manifest the selector actually saw — have candidateSummaries return (or the service cache) the manifest/snapshot it produced, and have recallSelection validate and materialize against that one read instead of re-reading the store.

中文说明

sideQuery 流程用相隔数秒的两次快照判定同一选择:candidateSummaries(读 #1)→ selector 窗口 → recallSelection(读 #2)重新派生截断 manifest 做校验——与注释声称的"按 selector 实际所见 manifest 校验"不符。实测:一次穿插提交即可让原本合法的选择被整体拒绝。代价:selector 窗口内的并发提交(跨会话共享存储是该特性的既定目的)会把合法条目挤出上限 → 整个选择被拒 → 被动召回降级为空。修复:按 selector 实际所见的 manifest 校验(传递/缓存读 #1 的结果)。

— qwen3.8-max via Qwen Code /review (v0.21.9)

mimeType: output.mimeType,
sizeBytes: output.sizeBytes,
},
...(output.kind === 'text'

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Suggestion] R1-74: Oversized transcript text is truncated silently (truncateUtf8 at commit, truncateChars at recall) with NO truncation marker while the entry keeps coverage: {mode:'complete'} for speech_text; the doc's escape hatch ("the full content stays reachable through the artifactRef") does not exist in any shipped read path — recall exposes no artifactRef, and text entries carry no derived version/handle. The trigger is cheap at defaults: maxTextChars (24000 chars) < maxInlineTextBytes (65536 bytes), so any transcript over ~24k chars is cut at recall. — Concrete cost: the passive reminder dumps the truncated entry framed as complete — the model answers questions about late-audio content from a prefix it is told is complete; speech_text registers as covered, so no gap is ever reported and the advisor never suggests re-transcription. Contradicts the "never overclaim" stance one function above.

Suggested fix: when truncation actually happens, record it — persist a flag (inlineTextTruncated: true) or append a visible …[truncated] marker to content — and surface it in the recalled entry so coverage and payload don't contradict each other.

中文说明

超长转录文本被静默截断(提交时 truncateUtf8、召回时 truncateChars),无任何截断标记,而条目仍保持 speech_textcomplete 覆盖;文档声称的逃生通道(经 artifactRef 访问完整内容)在任何已发布的读取路径中都不存在。默认配置下触发成本很低:超过约 24k 字符的转录必然被截。代价:被动注入把截断后的内容当作完整呈现——模型基于前缀回答后段音频问题;无缺口、无建议。修复:截断发生时记录标记(如 inlineTextTruncated 或可见的 …[truncated])并在召回条目中呈现。

— qwen3.8-max via Qwen Code /review (v0.21.9)

…ded surface

A new core tool name must land in four places, not one: core
ToolNames/ToolDisplayNames, the cli i18n dictionaries, and the web-shell
display-name map plus its own zh dictionary. Two drift tests guard this
(cli i18n/index.test.ts and web-shell toolFormatting) and both were red.
…eted sources, keep the selector's view of the question

Three independent correctness fixes in the memory slice:

- Config normalization rejected unknown keys at every nested level but
  not at the root, so `{recalll: {...}}` silently discarded the entire
  configuration and ran default active mode while the operator believed
  sideQuery was configured — the exact silent fallback this module's
  startup-fatal stance exists to prevent.
- gapsForVersion emitted `artifact_unavailable` for a deleted source and
  then CONTINUED the channel scan, adding `not_processed` siblings. The
  advisor only filters `artifact_unavailable`, so recall steered the
  model into evidence-gathering calls on a file that no longer exists —
  the gate resolves the handle and the io assertion then fails. Nothing
  can be gathered from a deleted file: report the loss and stop.
- The sideQuery selector dropped any text part starting with
  `<system-reminder>`, but IDE context is PREPENDED INTO the user's own
  part before the passive pass runs — so in IDE mode the selector never
  saw the question and picked relevance-blind. Strip reminder blocks
  instead of discarding the part.
…e annotations

The role labels these tools gained are what memory maps to honest
coverage (`clip` → partial, `keyframe` → sampled); role-less outputs
derive `complete`. The descriptor version feeds the policy fingerprint,
which keys both the degradation cache and the content-identity execution
id — so leaving it at '1' let pre-role cache entries and recorded
executions converge onto the post-change fingerprint two ways: a cache
hit recommits with the persisted `role: undefined`, and the replay
branch returns without upgrading recorded entries.

Either path makes recall report a temporal excerpt or a sampled frame
set as complete coverage: the model then answers about footage it never
saw and the advisor never proposes closing the gap. Bumping the version
partitions pre- and post-annotation state instead.
…ut every read

`load()` validated the document envelope but not the record values inside
it. A single non-object value — one hand edit, bad merge, or truncated
sync — made every read path throw (`indexSnapshot` dereferences
`version.parentVersionId`, `findBindingBySha256` reads `version.sha256`),
and those throws are caught into miss/empty by the never-fatal read
wrappers. The result was a PERMANENT global recall blackout for the whole
project, with no `.corrupt-*` backup and nothing named in the debug log,
because the envelope itself stayed valid.

Prune the bad values individually and name them, matching the sibling
`OmniJsonCacheFile.load()` defense. Dangling references to pruned records
already degrade gracefully — a missing version reads as an
`artifact_unavailable` gap.
Two Files with identical bytes shared one execution node: the key was
`sha256 ⊕ configHash`, so the second file took the replay branch and got
ZERO records of its own, while the first file's derivative versions were
handed back stamped with the second file's rootFileId. Recall on the
second file then reported false `not_processed` gaps across every channel
and re-paid the work, and the derivative's lineage pointed into a
different root's tree. M §11.2/§11.3 prescribe the opposite: identical
bytes never merge Files, each File writes its own PolicyExecution and
provenance, and only the computation and the stored bytes are reused.

Three layers, cleanly separated:

- execution identity is now per-File (source VERSION ⊕ config), so a
  replay is a genuine same-file replay and stays idempotent;
- the content-identity reuse key (`sha256 ⊕ config`) is derived
  separately and spans Files — that is what makes cross-file reuse
  possible while provenance stays apart. A match records
  `reusedExecutionId` (declared since the schema landed, never assigned
  until now) pointing at the original;
- derivative File nodes are keyed by (root, object path) instead of the
  object path alone, so each root owns cheap metadata rows over the SAME
  content-addressed object rather than sharing a node whose root belongs
  to whoever derived it first — bounded traversal (M §8) holds for both.
…ing file

Collection recorded the source's persistent identity as the path it was
handed — correct for a user file, whose bytes stay in place (S §4), but
wrong for tool-result media: that path is a staging `.part` the funnel
deletes in its `finally` the same turn, while this same delivery promotes
the identical bytes into the content-addressed object store.

So the disclosed handle resolved to a file that no longer existed: any
media-policy tool the model pointed at it failed with ENOENT, and recall
reported `artifact_unavailable` across every channel for an artifact that
actually persists. Tool-origin sources now record (and bind) the
content-addressed object location, which is derivable from the hash
before promotion runs. If promotion never happens — the transport guard
omitted the media — the ref dangles and recall says
`artifact_unavailable`: honest, because the bytes were not retained.
… memory boundary

Memory design M §7.1 requires fixed calls, model tool calls and direct
client calls to enter ONE `OmniPolicySucceeded` boundary, and §17 names
both capture sites — the core scheduler and ACP's own executor. Only the
fixed-policy orchestrator ever committed: the scheduler built the
`PolicyArtifactBatch` (with the real origin) and nothing consumed it, and
the "model-call artifact bridge" its comment referred to did not exist.

So evidence gathering never accumulated. Recall reported a gap, the
advisor suggested a tool, the model called it with a session handle, the
tool succeeded and wrote real artifacts — and the next recall reported the
identical gap, re-paying the work every session, forever. That is exactly
the loop the resourceId path in this PR was built to close.

The bridge walks the same gates in the same order as the orchestrator:
validate each artifact against the descriptor (contained in the output
directory the call declared), require every declared output, promote to
the content-addressed store, THEN commit (M §6.4 / S §5 — no record may
reference bytes that are not yet in `objects/`). A handle-driven call
recovers its source identity from the session registry instead of
re-hashing the input; a raw-path call falls back to an idempotent
recognition upsert. Fixed-policy batches are skipped: the orchestrator
already owns them.

`resourceId` also joins the fingerprint's excluded keys. Like
`inputPath`, it is per-invocation plumbing — and it is minted fresh every
session, so leaving it in would make each session re-derive identical
work.
The degradation cache maps one input to ONE media derivative, so its own
comment admits that multi-output tools and text products are "simply not
cached — re-run instead of guessing". That made #8189's «同文件同 settings
二次触发同一 policy:直接复用,无重复执行» unmet in the cases that cost the
most: re-delivering an 81-minute movie re-ran the whole ASR pass every
time, because a transcript is a text product.

Memory already records every output of every execution, keyed by content
identity — so it can answer the reuse question the cache cannot. The
orchestrator now consults it BEFORE the cache and, on a hit, rebuilds the
deliverables from the recorded objects and skips execution entirely,
covering media, text and multi-output alike.

Reuse is verified exactly like a cache hit, because memory.json is
project-local and hand-editable: every object must still be a regular
file, must still hash to its recorded identity, and a media object must
re-recognize as a type the tool DECLARES producing — otherwise a crafted
record could route arbitrary store content through a policy that never
made it. Text is re-read from the promoted object rather than from the
entry's `inlineText`, which is truncated to
`collection.maxInlineTextBytes` and must never be delivered as the whole
transcript. Any doubt falls through to a fresh derivation.

The reusing file still commits its own execution, stamped with
`reusedExecutionId` (M §11.3): the computation is shared, the provenance
is not.
…wording

Two acceptance criteria in #8188 read as direct contradictions of this
document, and one of them contradicts #8189 as well. Both are resolved by
naming the layer each statement belongs to, rather than by changing the
model.

- §11.2.1 (new): «内容相同的两个文件不重复建节点» and «不合并不同文件»
  live on different layers. Content-keyed reuse covers the physical object
  and the derived computation; the File node stays locator-keyed because
  identity MUST be stable across content changes — key it on content and
  §11.1's version chain and #8189's «修改内容后旧衍生物不默认召回» both
  become inexpressible (an edit yields an unrelated node, and editing back
  makes history a cycle). Also records why derivatives are keyed by
  (root, object path).
- §9.2.1 (new): «按路径/内容 hash 查询» and «返回中永不暴露真实本地路径»
  are reconciled per caller — the model gets session handles only
  (unforgeable capability; a path parameter would let injected media steer
  it into probing other files, whose transcripts recall returns), while
  path/hash lookup stays a harness capability that already exists. The
  known cost is written down too: a deleted file's memory is currently
  unreachable, and the fix belongs in the authorization layer
  (@-reference re-anchoring), not in widening what the model may pass.

The issue bodies were updated to match.
@LaZzyMan

Copy link
Copy Markdown
Collaborator Author

Review response — all 10 Critical addressed, plus two design conflicts resolved

Nine commits pushed (fce4230..9384faf). Every package's suites are green:
core 1739, cli 346, web-shell 38; tsc and eslint clean on both packages.

The 10 Critical findings

# Finding Resolution
R1-1 New tool name reached only core, not the two drift-guarded surfaces Fixed. cli i18n (zh/zh-TW/en) + web-shell TOOL_DISPLAY_NAMES and its own zh dictionary. Both drift tests green — this was the red CI.
R1-2 Model/client policy successes never entered OmniPolicySucceeded Fixed, and it was the biggest real gap: the policyArtifacts channel had no consumer and the "model-call artifact bridge" its comment referenced did not exist, so the whole evidence-gathering loop this PR builds was a no-op across sessions. New omni/policy/model-call-collection.ts, wired into both capture sites M §17 names — the core scheduler and ACP's own executor. It walks the orchestrator's gates in the orchestrator's order (validate → require declared outputs → promote → commit), reusing the same two validators (now exported rather than reimplemented).
R1-3 Content-keyed executionId collided across files Fixed via the three-layer model below.
R1-21 (×2) role added without bumping the descriptor version Fixed. Both versions '1''2', so pre-role cache entries and recorded executions cannot converge on the post-change fingerprint and keep reporting sampled/partial coverage as complete.
R1-22 Root-level unknown keys silently discarded the whole config Fixed. ROOT_KEYS validation, matching every nested level and the sibling omni.processing normalizer. Probe-confirmed before and after.
R1-24 artifact_unavailable plus sibling gaps → advice on a dead handle Fixed. A deleted source now reports that loss and stops: nothing can be gathered from a file that is gone, so no sibling gaps and no advice.
R1-26 load() validated the envelope, not record values Fixed. Per-value pruning with the pruned records named in the debug line, matching OmniJsonCacheFile.load(). One bad value no longer converts every recall in the project into a permanent blackout.
R1-52 Tool-result media recorded its ephemeral staging .part as the persistent fileRef Fixed. Tool-origin sources record and bind the content-addressed object location, derivable from the hash before promotion. If promotion never happens (guard omission), the ref dangles and recall says artifact_unavailable — honest, because the bytes were not retained.
R1-53 IDE-merged user text dropped, so the selector picked relevance-blind Fixed. Reminder blocks are stripped from a part instead of the part being discarded.

R1-3 in detail: three layers, not a different identity key

The probe was right about the symptom and about its cause being the content-keyed
execution id, but the fix is not to key identity on content. Doing that makes
M §11.1's version chain — and #8189's own «修改文件内容后旧衍生物不默认召回» —
inexpressible: if identity IS content, a content change yields an unrelated node
and there is no "same file, new content" to express. So:

  • execution identity is now per-file (source version ⊕ config), making a
    replay a genuine same-file replay;
  • the content-identity reuse key (sha256 ⊕ config) is derived separately and
    spans files — that is what enables cross-file reuse while provenance stays
    apart. A match stamps reusedExecutionId, declared since the schema landed and
    never assigned until now;
  • derivative File nodes are keyed by (root, object path). Probing this turned up a
    second instance of the same bug class the finding describes: upsertRecognizedFile
    preserves an existing record's rootFileId, so byte-identical derivatives of two
    roots shared one node whose root belonged to whoever derived it first — leaking
    lineage and putting the node outside the second root's bounded traversal (§8).

Beyond the review: two acceptance criteria that contradicted the design

  • [omni] S5b Memory 完整图 #8189 «直接复用,无重复执行» was unmet where it costs most. The degradation
    cache maps one input to one media derivative and its own comment admits
    multi-output tools and text products are "simply not cached — re-run instead of
    guessing", so re-delivering the 81-minute movie re-ran the entire ASR pass every
    time. Memory already records every output keyed by content identity, so the
    orchestrator now consults it before the cache and, on a verified hit, rebuilds
    the deliverables and skips execution — media, text and multi-output alike.
    A new orchestrator test asserts the tool executor is called once across two
    identical deliveries.
  • [omni] S5a Memory 最小召回 #8188 contained two statements that contradict this design (and one that
    contradicts [omni] S5b Memory 完整图 #8189). Both are resolved by naming the layer each belongs to, and
    written into the design doc as new §11.2.1 and §9.2.1; the issue bodies were
    updated to match. The recall entry stays session-handle-only for the model: a
    path parameter would let injected media steer the model into probing other
    files, whose transcripts recall returns. Path/hash lookup remains a harness
    capability, which already exists (findBindingBySha256). The known cost is
    documented rather than hidden — a deleted file's memory is currently
    unreachable, and the fix belongs in the authorization layer (@-reference
    re-anchoring), not in widening what the model may pass.

One suggested change declined

Separating the tool-settings hash from the final arguments in the reuse key. The
tool only ever sees the merged effectiveArguments, so settings={q:80},args={}
and settings={},args={q:80} produce byte-identical output — reuse there is
correct, and splitting them would create two keys for one piece of work,
weakening #8189 rather than improving correctness. FINGERPRINT_EXCLUDED_KEYS
was checked too: it excludes only io plumbing, and operator-only parameters that
do change results (baseUrl, apiKeyEnv — a different ASR endpoint yields a
different transcript) are correctly folded in. resourceId was added to that
exclusion set, since it is per-invocation plumbing minted fresh each session.

The 55 Suggestion-level comments are being triaged next.

… sections

Both found by running the real pipeline rather than the unit suites.

Text-product reuse never fired. `findReusableOutputs` only resolves an
object path for outputs that have a derived VERSION node, which text
products do not have — so `rebuildReusedOutputs` bailed and the tool
re-ran. The comment there even said the caller reconstructs the path from
the content hash; that half was never written. A real run made it obvious:
extract-audio and keyframes logged reuse hits while the transcript re-ran
the entire ASR pass — the single most expensive thing #8189 exists to
avoid, and the headline claim of the reuse commit. The object store is
content-addressed, so the path is derivable; text outputs now reuse like
media. The existing test passed because it used a media artifact, so a
transcript-shaped case was added alongside it.

Unknown sections under `omni` were silently ignored. The settings loader
scans TOP-LEVEL keys only, and only to a debug line, so a nested typo was
caught by nothing: `omni.memoryy.recall.mode = sideQuery` started
cleanly and registered the active-mode recall tool — the operator's whole
configuration discarded without a word. The same hole swallowed
`omni.processingg`, which would silently disable every degradation
policy. `omni`'s own normalizers are startup-fatal by design, so the
namespace now rejects unknown sections with the allowed set named. The
permitted keys are derived from the settings schema, not hardcoded, so
they cannot drift.
…al execution windows

Three defects a real multi-session run surfaced. The first destroyed work.

**Fixed output filenames collided.** Every policy tool wrote a constant
name (`clip.mp4`, `downsampled.jpg`, `transcript.txt`). Under
fixed-policy orchestration that is safe — each invocation gets its own
staging directory — but `modelAccess` lets a caller pick a PERSISTENT
`outputDir`, and there the second call silently destroyed the first
artifact. In the run: a clip cut on day one was overwritten by a different
clip on day three, and the commentary written against the first clip began
describing the wrong footage. Worse, the model noticed something was off,
could not diagnose it, and skipped re-watching — so the defect surfaced as
degraded output quality rather than an error.

Names now carry the axes that distinguish artifacts: the source stem, plus
a natural variant where the operation has one (a clip's span, a frame's
index). Same source and variant still resolve to one name, so re-running
an operation replaces its own output — idempotent, not destructive. The
keyframe lister derives its matcher from the same template, so it can
never pick up a sibling video's frames out of a shared directory.

**The transport guard had no duration dimension.** A 98-minute film
downscaled to 474 MB cleared the 1 GiB byte ceiling, uploaded, and was
then refused by the provider for being too long: the guard reported
success, the caller got an opaque 400, and a 97-second transcode was paid
for nothing. Duration is a transport limit like the others, so
`maxDurationSeconds` now sits beside the byte and token checks with the
same semantics (unset disables it; missing metadata never rejects) and a
message that names duration and says downscaling cannot fix it.

**Model-origin executions recorded the collection window, not the work.**
`startedAt` was taken after the tool had already run, so extracting audio
from a 98-minute film was recorded as 0.6s. The scheduler already tracks
`executionStartTime` (approval wait excluded); it is now threaded through.
A derived artifact of a clip re-uses the clip's filename as its source
stem, and the clip's own variant contains '+' (`123s+40s`). Stripping it
made the derived stem drift from its parent (`clip-123s-40s-keyframe-…`).
'+' is portable on every major filesystem, so keep it: names now round-trip
through a derivation chain.
…ated

Two friction points the character-analysis run surfaced.

**A remembered file's memory was unreachable once its bytes were gone.** A
handle is minted only at delivery, and delivery needs the bytes — so a
transcript or keyframe set outlived the file it described with no way back
into a session. The same wall hits an audit that does not want to
re-deliver a 2.4 GB film just to ask what work was recorded: with no
handle, recall rejects everything, and the natural next move (passing the
filename as a resourceId) is correctly refused. Observed exactly that: the
model reached for `resourceIds: ["robot-dreams.mkv"]` and got
`not issued in this session`.

An `@`-reference to a missing-but-remembered path now mints a handle from
the recorded identity — the user's reference is the same authorization a
delivery carries, so the fix belongs at the authorization layer rather
than by widening what the model may pass (design M §9.2.1). The model gets
the handle plus an explicit 【媒体缺失】 note, so it recalls instead of
trying to read. Path/locator lookup stays a harness capability.

**A truncated recall page was indistinguishable from an exhaustive one.**
An audit read 6 clips under `limit: 12` and reported "no keyframes were
ever extracted" while the store held 72 of them. The reader was honest
about what it saw — it simply had no way to know it was looking at a page.
`matchedEntries` now states the full match count, and only when the budget
actually cut something, so an exhaustive page stays as small as before
(§9.4 minimal return).
…e reprocessing

The handle annotation ships with every memory-known delivery, but nothing
in the model's context explained it: the media-guidance section listed only
the three disclosure markers, and the tool that consumes handles is
deferred, so its description — which does explain them — is not in context
until ToolSearch surfaces it. Meanwhile the same section actively tells the
model to gather missing evidence with the policy tools, i.e. to reprocess
from scratch exactly what memory already holds. The active-recall surface's
whole purpose could silently never fire.

The section now names the handle marker, states that it is the only
identity the model will ever get for that file, and says to consult recall
BEFORE reprocessing. Gated on active recall mode: under sideQuery the
harness injects recalled memory itself and the tool is not registered, so
naming it would invite a guaranteed unknown-tool error (D10).

The tool-display-name drift test now runs over every translating locale
rather than zh alone. `t()` has no cross-locale fallback, so a tool added
to one locale renders a raw English badge beside translated siblings in the
other.
Fourteen findings from the PR review, verified one at a time. The ones
that could mislead a caller:

- a truncated recall entry now says so. maxTextChars (24k chars) is
  smaller than the collection bound (64 KiB), so any long transcript is
  cut at READ time while coverage still legitimately reports `complete`
  — the model saw a prefix, no gap, and answered about audio it never
  read. `contentTruncated` marks the prefix.
- a resourceId handle whose modality the tool does not accept is refused
  as a parameter error instead of becoming a spawned ffmpeg that burns
  the tool timeout and returns an opaque stderr tail.
- the advisor no longer suggests audio extraction against a video's
  speech_text gap: that gap is still open in the very payload that
  RETURNS the extracted track, so the suggestion repeated itself. Nor
  does it suggest anything against `partial_coverage` — sampled evidence
  stays sampled by design, so that advice could never close the gap.
- a derived version keeps the execution that actually produced it. A
  second execution landing on byte-identical output was rewriting the
  pointer, leaving the version naming an execution whose outputs it is
  not.
- `maxAttempts` governs the client's retry loop only; a selection that
  parses but names entries outside the manifest is refused without a
  retry. The comment and the setting description said otherwise.
- `sideQuery.model: null` means the side-query default (the configured
  fast model, falling back to the session model), not "the session's
  active model" as three places claimed.

And the hygiene:

- duplicate resourceIds and repeated selector picks collapse instead of
  spending the budget twice
- an empty materialization records `materialized_nothing` rather than
  injecting a reminder that says nothing
- `candidateSummaries` lets a defect propagate (the caller already
  degrades with a recorded reason) instead of swallowing the stack
- `kinds`/`roles` reject `[]`, which read as "restrict to nothing"
- count and millisecond settings are `integer` in the generated schema
- dropped three never-written fields; corrected the `managedId` doc,
  which described an extension the key does not carry
The @-command/URL funnel records the file in memory and mints a registry
binding, then never tells the model the handle. Active recall rejects the
handle as never-issued, and the passive selector finds no handles to
consult — so a session could pay for a download, an upload, and a policy
run, and be structurally unable to recall any of it.

The withheld case is where it matters most: the model cannot see the
media, so the handle is its only remaining route to the content.
`contentTruncated` and `matchedEntries` both exist because a reader that
cannot tell a prefix from the whole, or a page from the set, draws
confident wrong conclusions — and both were shipped in code without the
design doc naming them.
Mutation probes showed both were free to break silently:

- inverting the selector's manifest-membership check kept the whole suite
  green while, with the default single attempt, every passive recall
  degrades to `selector_failed` — the feature dead in production. The
  mock now forwards responses through `validate` the way production does,
  so the happy path exercises the gate too; three tests fail on the
  inversion.
- dropping `...handleParts` at any of the five replacement sites left
  tool-produced or withheld media with no recall handle, and no test
  cared. Each site now fails exactly one case.

Also pinned: the 4000-char selector request cap, the abort/timeout signal
composition (a Ctrl-C in the selector window must cancel it, not leave
the main request waiting out the full timeout), promptId attribution, and
the basename-only input error — whose leak-prevention was satisfied by
the old full-path message too. The manifest no-path assertion moved out
of the mock: a leak used to fail as "result was null" instead of naming
the path.
…ough

Sixteen behaviors the design doc states and the code implements, none of
which any test defended. Each was verified by breaking the source, seeing
the new test fail, and restoring it. The ones that matter most:

- gaps must speak for the CURRENT version's processing state, always, and
  must be computed from the FULL subgraph. Two mutants — looping gaps over
  every consulted version, and threading the request's kinds/roles filter
  into the coverage scan — would have made recall report missing work that
  exists, purely because the caller narrowed what it asked to see. The
  existing history test could not catch either; the new fixtures invert
  its direction (unprocessed history, processed current) and kill both.
- the selector-visible manifest: the 200-char description cap was never
  binding (longest fixture was 184 chars), so removing it would have sent
  full transcripts to the selector; and validation against the CAPPED
  manifest let an entry past maxCandidateEntries be materialized though
  the selector was never shown it.
- registry rebinding now pins first-binding-wins explicitly. Updating in
  place would repoint a handle the model already holds; minting a second
  handle for one version would break cross-call correlation.
- the store's rename-based write and newest-wins backup retention, pinned
  black-box (inode replacement, no orphan .tmp) rather than by mocking.
- multi-output executions: every call site in the suite committed exactly
  one output, so truncating the output loop was invisible.
- the config normalizer's real contract: it throws rather than clamps, its
  bounds are non-strict, and it validates the MERGED values — lowering
  only maxEntries to 6 is startup-fatal against the default 12.
…call degraded

Three findings that each end the same way — the session holds a memory it
cannot get back to, and nothing says so:

- A transport-guard rejection threw away the handle it had already minted.
  Every throw site sits downstream of the bind, and the omission branch
  with the identical "over-limit, withheld" verdict does disclose its
  handle — so the rejection was the one path that stranded a recorded
  resource: the model can neither see the bytes nor ask memory about them.
  The verdict now carries the handle, and the tool-result funnel emits it.

- Passive recall degrades silently by design (the turn proceeds without the
  memory it was meant to carry). With a pinned-but-unavailable selector
  model that is a permanent outage with nothing to see, so the reason is
  now recorded at the injection seam, and the manifest-failure branch —
  which had no log at all — gets one.

- Chinese queries never ranked. Splitting on separators yielded one token
  per phrase, scored by whole-substring containment: unless an entry
  repeated the caller's exact phrasing, everything scored zero and ordering
  collapsed to newest-first. Unsegmented scripts now index as overlapping
  character bigrams, split at script boundaries so `480p字幕` does not
  produce bigrams that straddle them.

Also: `PolicySucceededCommit.created` had no consumer outside tests. It
distinguishes a content-identity replay from a fresh record, which is
exactly what a reader of the debug log cannot otherwise tell — "no new
execution appeared" reads identically to "collection did nothing".
Each was free to disappear without a red test:

- the orchestrator's post-promotion commit, its degradation-cache-hit
  commit, and the memoryBinding threaded onto each WorkItem. Disabling the
  commit, or always threading the source binding instead of the derived
  one, left the suite green while every fixed-policy execution recorded
  wrong or no lineage. Covered with a real MediaMemoryService on a tmp
  store, reading memory.json back — including a two-stage chain, where
  stage two must be EXECUTED_ON stage one's version, not the root.
- the reactive-degradation ladder's memory wiring, which had no coverage
  at all beyond its pure helpers. One test pins that a rung's re-derivation
  lands on the binding found by content hash; the other that an unknown
  hash degrades normally and records NO execution, rather than inventing
  provenance on someone else's lineage.
- the client injection seam: moving it after the systemReminders splice —
  the exact regression that kills passive recall — now fails.
- the D10 exposure gate at registry-construction level: the recall tool
  appears in active mode, is absent in sideQuery mode, and an invalid
  omni.memory.recall.mode aborts instead of falling back to defaults.
@LaZzyMan

Copy link
Copy Markdown
Collaborator Author

Suggestion triage — all 55 reviewed, 20 fixed, 33 covered by new tests, 2 declined with evidence

Pushed as 8 commits on top of the Critical batch. Grouped by what the finding actually cost.

Fixed — findings that could mislead a caller

# Finding What was actually wrong
R1-74 truncation invisible maxTextChars (24000 chars) is smaller than the collection bound (65536 bytes), so any long transcript is cut at read time — while coverage speaks for what was processed and therefore legitimately reports complete. Model sees a prefix, full coverage, no gap, and answers about audio it never read. Added contentTruncated.
R1-39 modality unchecked An image-only tool handed a video handle really did spawn ffmpeg, burn the tool timeout, and return an opaque stderr tail. Now an instant invalid_params.
R1-37 / R1-56 advisor contradicts its own payload The video speech_text gap is still open in the payload that returns the extracted audio → it re-suggested extraction forever. And no suggestion can ever close a partial_coverage gap (keyframes deliberately never claim complete visual coverage). GAP_STEP row narrowed to ['acoustic']; advisor returns [] for partial_coverage.
R1-24 provenance rewritten A second execution landing on byte-identical output overwrote producedByExecutionId, leaving the version naming an execution whose outputs it is not. Now only the execution that first materialized the content owns the pointer.
R1-57 retry semantics documented backwards maxAttempts governs the client's retry loop; validate runs once after generateJson, so a selection that parses but names an out-of-manifest id fails on the first offense with no retry. Comment + setting description corrected.
R1-7 sideQuery.model: null Resolves to the side-query default (configured fast model, falling back to the session model) — three places claimed "the session's active model". Corrected in all three, vscode schema regenerated.
R1-4 @/URL media unreachable That funnel recorded the file and minted a registry binding, then never told the model the handle: active recall rejects it as never-issued and extractRequestResourceIds finds nothing, so the session was structurally unable to recall what it had just paid a download + upload + policy run to collect. Handle now leads the part group in all three branches.
R1-29 guard rejection stranded a bound resource Every OmniTransportGuardError throw site is downstream of the bind, and the omission branch with the identical verdict does disclose its handle — so the rejection was the one path where the model can neither see the bytes nor ask memory about them. The verdict now carries the handle.
R1-28 degrade reason discarded Passive recall degrades silently by design; with a pinned-unavailable selector model that is a permanent outage with nothing to see. Reason now recorded at the injection seam, and the manifest-failure branch (which had no log at all) got one.
R1-63 Chinese queries never ranked Separator splitting yielded one token per phrase, scored by whole-substring containment → unless an entry repeated the caller's exact phrasing, every candidate scored zero and ordering collapsed to newest-first. Unsegmented scripts now index as overlapping bigrams, split at script boundaries so 480p字幕 does not produce straddling pairs.

Fixed — hygiene

R1-5 empty materialization records materialized_nothing instead of injecting an empty reminder · R1-6 duplicate resourceIds and repeated selector picks collapse · R1-64 candidateSummaries lets defects propagate (the caller already degrades with a recorded reason) · R1-30 kinds/roles reject [], which read as "restrict to nothing" and produced a plausible-looking miss · R1-69 the eight numeric omni.memory fields are integer in the generated schema, matching the runtime validator · R1-51 dropped three declared-but-never-written fields; PolicySucceededCommit.created got a real consumer (it distinguishes a content-identity replay from a fresh record — "no new execution appeared" otherwise reads identically to "collection did nothing"); corrected the managedId doc, which described an extension the key does not carry.

Also fixed the CI red: settings.schema.json had not been regenerated after settingsSchema.ts changed.

Covered by new tests — 33 findings, each verified by mutation

Every test below was checked by breaking the source, watching it fail, and restoring the source. Highlights where the probe found something worse than "missing coverage":

  • R1-27 inverting the selector's manifest-membership check kept the entire suite green — with the default single attempt, that inversion makes every passive recall degrade to selector_failed, i.e. the feature dead in production. The mock now forwards responses through validate the way production does; three tests fail on the inversion.
  • R1-61 / R1-62 two mutants would have made recall report missing work that exists: computing gaps per consulted version, and threading the request's kinds/roles filter into the coverage scan (a caller narrowing what it asks to see must never manufacture a gap). The existing history test caught neither; the new fixtures invert its direction and kill both.
  • R1-14 dropping ...handleParts at any of five replacement sites left tool-produced or withheld media with no recall handle. Each site now fails exactly one case.
  • R1-10 / R1-11 / R1-9 / R1-8 the four seams where memory reaches the pipeline, covered with real services on tmp stores rather than mocks: orchestrator commit + cache-hit commit + memoryBinding threading (including a two-stage chain where stage two must be EXECUTED_ON stage one's version, not the root); the reactive-degradation ladder (an unknown hash must record no execution rather than invent provenance on someone else's lineage); the client injection seam (moving it after the systemReminders splice now fails); and the D10 exposure gate at registry-construction level.
  • R1-32 / R1-33 the manifest's 200-char cap was never binding (longest fixture: 184 chars), and validation against the capped manifest let an entry past maxCandidateEntries be materialized though the selector was never shown it.
  • R1-48 registry rebinding now pins first-binding-wins explicitly: updating in place would repoint a handle the model already holds, and minting a second handle for one version would break cross-call correlation.
  • R1-42 pinned the normalizer's real contract — it throws rather than clamps, its bounds are non-strict, and it validates the merged values, so lowering only maxEntries to 6 is startup-fatal against the default maxSelectedEntries: 12.
  • Also pinned: R1-12 basename-only input errors (the old full-path message satisfied the existing assertion too) · R1-15 manifest no-path assertion moved out of the mock, so a leak now names the path instead of failing as "result was null" · R1-17 the 4000-char selector request cap · R1-38 abort/timeout signal composition and promptId attribution · R1-16 recall.active reference isolation · R1-43 explicit mode: 'active' · R1-44 / R1-45 manifest ordering and the handle half of the no-leak claim · R1-49 / R1-50 newest-wins backup retention and the rename-based write (black-box: inode replacement, no orphan .tmp) · R1-58 the registration half of the advisor's callable() gate · R1-60 the surrogate-pair guard at the maxTextChars boundary · R1-65 multi-output executions (every call site in the suite committed exactly one output, so truncating the loop was invisible) · R1-66 role: 'clip'partial coverage.

Declined, with evidence

R1-40 — display-name localization. No change needed: toolDisplayName.RecallMediaMemory is present in en, zh, and zh-TW — byte-for-byte the same coverage as every sibling omni tool (TranscribeAudio, ExtractKeyframes, …). ca/de/fr/ja/pt/ru carry no omni tool entries at all, so adding one only for this tool would make it the outlier.

R1-72 — one selection judged against two snapshots. Keeping it. The second read is the atomicity boundary that makes validation meaningful; the alternative (trusting a manifest the caller captured earlier) would validate against a snapshot that no longer exists. If the store genuinely changed in between, the entry moved, and a whole-selection rejection degrading to an empty recall is the correct outcome — not a bug to engineer around.

R1-46 / R1-70 — expectedChannels demands channels no flow covers (acoustic for audio, visual for image). Working as intended: a gap describes what memory has persisted, not what the model saw in the delivered part. The advisor emits no action for those rows, so nothing loops — the payload simply reports, accurately, that no persisted evidence exists for that channel.

…o ACP

`Check serve fast-path bundle closure` went red: the ACP agent's static
import closure had acquired iconv-lite's encoding tables (~553 KB).

The mechanism is worth writing down, because the obvious readings are all
wrong. Nothing imported iconv-lite. What S5 did was add five re-exports to
the ROOT barrel, which is statically imported by ~150 modules in the ACP
closure. esbuild assigns modules to chunks by which entry points reach
them, so every module added to the barrel's graph regroups the split — and
that regrouping moved `sync-file-encoding` (and through it `iconvHelper`,
whose top-level `import 'iconv-lite'` has side effects and cannot be shaken
out) into a chunk the ACP chunk statically imports.

So the fix is not "move the export somewhere else": my first two attempts
relocated it to the `omni` barrel, which is itself statically imported by
the root barrel and by tool-result-media, and stayed red. The barrel
surface itself has to come back to baseline.

None of the five needed to be there. Four had no consumer outside their own
module and tests; the rest are reached by dynamic import, which does not
care where the export lives:

- ACP's model-call collection gets a dedicated `./omniPolicyCollection`
  subpath, the pattern `./goalWire` and `./transcriptRecords` already
  establish for "the CLI needs one deep function, not a barrel".
- `reanchorRememberedMedia` moves to the `omni` door the `@`-reference
  funnel already loads for every other omni call it makes.
- `createMediaMemoryRecallService`, `buildMediaMemoryRecallAdvisor`,
  `extractRequestResourceIds`, `runOmniMemorySideQuery`,
  `formatOmniMemorySideQueryReminder`, `OmniRecallMediaMemoryTool` and
  `formatResourceHandleText` simply leave the root barrel.

Located by bisecting the 28 commits with the check itself, then diffing the
ACP closure module sets between a green and a red metafile: the delta was
exactly three modules, which is what named the mechanism.
@LaZzyMan

Copy link
Copy Markdown
Collaborator Author

One more red, and it was a real one

Check serve fast-path bundle closure was failing on this branch — hidden for a while behind three consecutive runner-side actionlint download failures that killed the job before the check ran. Now fixed (e60efd81fc); the Test job is green.

What it was: the ACP agent's static import closure had acquired iconv-lite's encoding tables (~553 KB).

Why, which is the interesting part: nothing imported iconv-lite. S5 had added five re-exports to the root barrel, which ~150 modules in the ACP closure import statically. esbuild assigns modules to chunks by which entry points reach them, so each module added to the barrel's graph regroups the split — and that regrouping moved sync-file-encoding, and through it iconvHelper (whose top-level import 'iconv-lite' has side effects and cannot be shaken out), into a chunk the ACP chunk statically imports.

So "move the export elsewhere" does not fix it: relocating it to the omni barrel left it in the same static graph (that barrel is itself statically imported by the root barrel and by tool-result-media), and stayed red twice. The barrel's export surface has to return to baseline.

None of the five needed to be on it. Four had no consumer outside their own module and tests; the rest are reached by dynamic import, which does not care where the export lives:

  • ACP's model-call collection gets a dedicated ./omniPolicyCollection subpath — the pattern ./goalWire and ./transcriptRecords already establish for "the CLI needs one deep function, not a barrel".
  • reanchorRememberedMedia moves to the omni door that the @-reference funnel already loads for every other omni call it makes.
  • The rest simply leave the root barrel.

How it was located, since static reasoning kept pointing at the wrong file: bisected the 28 commits with the check itself (green at 13, red at 14), then diffed the ACP closure module sets between a green and a red metafile. The delta was exactly three modules — model-call-collection, sync-file-encoding, iconvHelper — which is what named the mechanism.

Worth noting for future omni work: this check does not guard "don't import package X". It guards "don't hang new modules off a barrel that half the CLI imports statically."

…s as model calls

Two findings from the re-review, both real:

- The URL funnel hands its staging download to the delivery pipeline with
  no lifetime marker, so memory recorded the `.part` path as the file's
  persistent identity — the same defect C9 fixed for tool-result media,
  missed on this third funnel. The handle already shown to the model
  resolves to ENOENT the moment the funnel's `finally` runs: every later
  policy call on it fails, and cross-session recall reports
  `artifact_unavailable` for bytes the object store still holds. URL media
  now anchors to the content-addressed object path, and the version's
  source records the URL itself (`protocol: 'url'` existed in the schema,
  unused until now) — the durable identity of downloaded media is where it
  came from, not where it briefly landed.
- ACP committed its policy successes with `executionOrigin: 'client'`
  while the modelAccess gate forty screens up pins the very same call as
  `{ kind: 'model' }` ("Every ACP-originated call is a model call").
  Recall provenance contradicted the gate that admitted the call.

The URL-anchor test is mutation-verified: reverting the lifetime marker
fails it.
@LaZzyMan

Copy link
Copy Markdown
Collaborator Author

Both re-review findings confirmed and fixed in f920897430.

P1 — URL media handle pointed at a deleted staging file. Verified: the funnel passed no lifetime marker, so the delivery recorded the .part path as persistent identity and the finally deleted it the same turn — the C9 defect reproduced on the third funnel. Fixed the same way C9 fixed tool-result media, plus one thing C9 couldn't have: the schema's protocol: 'url' (defined, never used until now) records the URL itself as the version's source — the durable identity of downloaded media is where it came from, not where it briefly landed. Regression test added and mutation-verified (reverting the lifetime marker fails it).

P2 — ACP provenance said client, its own gate says model. Verified: line 7234 pins { kind: 'model' } with the comment "Every ACP-originated call is a model call", line 8221 committed client. Now both say model, with a comment anchoring the commit site to the gate so they can't drift silently again.

…ake out GC

Section 6.1 described the recovery scan as drafted; the implementation
learned things the draft could not know, and the doc should carry them:
"delete all of staging/" became a grace window because a second CLI
process's recovery must not delete a live invocation's transcode out from
under it (config validation caps tool timeouts below the window for the
same reason), and corrupt-object deletion cascades into the degradation
cache so a cache hit can never point at bytes that are gone.

Section 6.2 is S6's landing point, sharpened by what S5 settled: the GC
root set has TWO sources in the memory snapshot (artifactRef.managedId
AND managed-protocol source locators — tool/URL media anchor their
identity there), the snapshot read is fail-closed (no roots readable, no
deletion at all), and object deletion reuses the recovery scan's existing
cache-cascade rather than growing a second one.
The bucket loop's budget guard calls remainingTimeoutMs() right before
the ffmpeg call reads it again; on a slow runner a millisecond elapses
between the two reads and the exact-equality assertions on the first
call's timeoutMs turn flaky (observed on ubuntu CI: 599999 != 600000).

Freeze Date.now in the full-duration spread test (ffmpeg is mocked,
nothing there needs real time) and tolerate the guard-to-use drift in
the shared-budget test, which does need the real clock for its 50ms
burn. Restore spies in afterEach so the frozen clock never leaks into
neighbouring tests.
@LaZzyMan
LaZzyMan merged commit b52d005 into omni-experiment Aug 13, 2026
35 of 37 checks passed
@LaZzyMan
LaZzyMan deleted the omni/s5-memory branch August 14, 2026 05:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

omni-experiment Omni multimodal experiment (omni-experiment branch)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants