Skip to content

feat(review): run-session ledger and cross-session agent evidence - #9091

Open
wenshao wants to merge 18 commits into
mainfrom
review-resume/1-session-ledger
Open

feat(review): run-session ledger and cross-session agent evidence#9091
wenshao wants to merge 18 commits into
mainfrom
review-resume/1-session-ledger

Conversation

@wenshao

@wenshao wenshao commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

What this PR does

Lays the groundwork for resuming an interrupted /review run, with zero behavior change for runs that never resume. fetch-pr now records its CLI session id in a small run-sessions ledger beside the prompt records, and stamps the plan with a SHA-256 of the captured diff bytes (diffSha256 — the content identity of what the run reviews). A new readRunTranscripts reads the harness subagent transcripts of every session the ledger names, so the readers that certify agent work — check-coverage, verificationGaps, the reverse-audit retirement scheduler, the layer-audit gate and the cost ledger — can credit work an interrupted earlier attempt demonstrably finished. Coverage counts such agents in a new recoveredAgents field and pushes a bilingual continuity disclosure through the existing disclosures pipeline; the cost ledger folds the earlier sessions' main loop and agents into the run's totals and reports priorSessions, so a resumed review never under-reports what it cost.

Why it's needed

The CI review workflow's retry loop re-runs a dead review from scratch (its own comment says so), spending minutes of the shared time budget re-fetching, re-chunking and re-launching agents whose work is already on disk. The persistent checkpoint largely exists already — prompt records are the obligations, harness transcripts are the evidence, and the plan's mtime is the run epoch every fence keys on. What is missing is only that the readers cannot see an earlier attempt's transcripts, because a resumed run continues under a new QWEN_CODE_SESSION_ID and the transcript directory is keyed on it. This PR closes exactly that gap, as the first of a three-PR series (the --resume flow itself and its wiring follow).

Security shape: the ledger entry is only ever an address, never a verdict. Session ids pass a closed character-set gate on write and on read (no traversal), the directory is assembled from the env's project dir, and a fabricated entry can at most point a reader at a directory inside the harness's own subagents/ tree — where credit still requires the existing content-shaped pairing (verbatim-delivered CLI prompt, opened brief, diff reads) that fabrication cannot satisfy. An unreadable or malformed ledger reads as empty: invisible evidence re-runs work, never the reverse.

Reviewer Test Plan

How to verify

cd packages/cli && npx vitest run src/commands/review — the new suites are lib/run-ledger.test.ts (19 tests: epoch fencing, traversal-shaped id refusal on write and read, corrupt-file-reads-as-empty, the resume-marker bookkeeping) and the new describe blocks in lib/transcripts.test.ts (union reads, prior-dir-missing is silent, current-dir-missing still throws), check-coverage.test.ts (prior-session credit passes the 3D gate with a continuity disclosure; no ledger → prior transcripts are invisible — the orphan-invisibility guard; a compliant relaunch supersedes the prior attempt's failure), lib/retirement.test.ts (dry receipts earned by the interrupted attempt retire a chunk on the continuation), cost-ledger.test.ts (prior main loop + agents fold into totals; priorSessions counting) and fetch-pr.test.ts (diffSha256 is the hash of the captured bytes, null when no diff was captured).

Key property to confirm in review: with no ledger entries every changed reader reduces exactly to its previous single-session read (the union is [current]), so a normal review is untouched.

Evidence (Before & After)

N/A — no user-visible change; all consumers of the new fields land in the follow-up PRs.

Tested on

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

Environment (optional)

Unit tests via vitest; also exercised end-to-end against the real bundle in the series' verification (see PR 2 of the stack).

Risk & Scope

  • Main risk or tradeoff: the ledger and diffSha256 are additive; the one shared-behavior change is that transcript readers now accept records from ledger-named prior sessions — gated on a file only fetch-pr writes, with credit still requiring the existing two-author pairing.
  • Not validated / out of scope: the --resume flow itself (PR 2), the /review/review run/CI wiring (PR 3), local (non-PR) reviews.
  • Breaking changes / migration notes: none; diffSha256 is a new nullable field, old plans simply lack it.

Linked Issues

First of a three-PR series implementing review resume; the follow-ups are stacked on this branch.

中文说明

本 PR 做了什么

为续跑被中断的 /review 打地基,对从不续跑的运行零行为变化。fetch-pr 现在把自己的 CLI session id 记入 prompt 记录目录旁的 run-sessions 台账,并在 plan 里写入所捕获 diff 原始字节的 SHA-256(diffSha256——本次评审对象的内容身份)。新增的 readRunTranscripts 会读取台账所列每个 session 的 harness 子代理 transcript,因此负责认证 agent 工作的读取方——check-coverageverificationGaps、反向审计退休调度器、layer-audit 门与成本台账——能够采信被中断的前一次尝试确实完成的工作。coverage 用新的 recoveredAgents 字段计数此类 agent,并通过现有 disclosures 管道推送双语的续跑披露;成本台账把先前 session 的主循环与 agent 开销并入本次运行的总计并报告 priorSessions,续跑的评审绝不少报成本。

为什么需要

CI 评审 workflow 的重试循环会把挂掉的评审整个从头重跑(它自己的注释就这么写),在共享时间预算里花几分钟重新抓取、重新切块、重新发射那些工作已经在磁盘上的 agent。持久化检查点其实早已存在——prompt 记录是义务面,harness transcript 是证据面,plan 的 mtime 是所有栅栏共用的 run epoch。缺的只是读取方看不到前一次尝试的 transcripts,因为续跑运行在新的 QWEN_CODE_SESSION_ID 下,而 transcript 目录以它为键。本 PR 恰好补上这个缺口,是三个 PR 系列的第一个(--resume 流程本身及其接线在后续 PR)。

安全性形态:台账条目永远只是地址,绝不是判词。session id 在写入与读取两侧都要过封闭字符集门(无法路径穿越),目录由环境变量的 project dir 拼出,伪造的条目至多把读取方指向 harness 自己 subagents/ 树内的某个目录——在那里获得采信仍然需要现有的内容型配对(逐字送达的 CLI prompt、打开过 brief、读过 diff),伪造无法满足。不可读或畸形的台账按空处理:看不见的证据意味着重做工作,绝不反向。

审阅者验证方案

如何验证

cd packages/cli && npx vitest run src/commands/review——新增套件为 lib/run-ledger.test.ts(19 个用例:epoch 栅栏、写入与读取双侧拒绝穿越形 id、损坏文件按空读、resume marker 簿记)以及 lib/transcripts.test.ts(并集读、prior 目录缺失静默、当前目录缺失仍抛)、check-coverage.test.ts(prior session 的采信通过 3D 门并带续跑披露;没有台账则 prior transcripts 不可见——孤儿不可见守卫;合规重发射会取代前一次尝试的失败记录)、lib/retirement.test.ts(中断尝试挣得的 dry 收据在续跑轮退休对应 chunk)、cost-ledger.test.ts(prior 主循环与 agent 并入总计;priorSessions 计数)、fetch-pr.test.tsdiffSha256 是捕获字节的哈希,未捕获 diff 时为 null)的新增 describe 块。

审阅时要确认的关键性质:没有台账条目时,每个被改动的读取方都精确退化为原先的单 session 读取(并集即 [当前]),正常评审不受影响。

证据(前后对比)

N/A——无用户可见变化;新字段的消费方在后续 PR 落地。

已测试平台

OS 状态
🍏 macOS
🪟 Windows ⚠️
🐧 Linux ⚠️

环境(可选)

vitest 单元测试;系列的端到端验证中还针对真实 bundle 做了完整演练(见堆叠中的 PR 2)。

风险与范围

  • 主要风险或取舍:台账与 diffSha256 均为增量;唯一的共享行为变化是 transcript 读取方现在接受台账所列先前 session 的记录——由仅 fetch-pr 写入的文件把关,且采信仍需现有的双作者配对。
  • 未验证 / 范围外:--resume 流程本身(PR 2)、/review/review run/CI 接线(PR 3)、本地(非 PR)评审。
  • 破坏性变更 / 迁移说明:无;diffSha256 是新的可空字段,旧 plan 只是没有它。

关联 Issue

实现评审续跑的三 PR 系列之首;后续 PR 堆叠在本分支上。

@qwen-code-ci-bot

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

Copy link
Copy Markdown
Collaborator

Qwen Triage finished — CI landed green on fd669f4 and the deferred approval was posted. finalize run

Qwen Triage 已完成 —— fd669f4 的 CI 全绿,延迟审批已提交。查看 finalize 运行

@qwen-code-ci-bot

Copy link
Copy Markdown
Collaborator

Thanks for the PR!

Template looks good ✓

Problem: real and observable — the review workflow's retry loop documents it itself (qwen-code-pr-review.yml: "A retry re-runs the whole review from scratch rather than resuming the failed run", re-fetching and re-launching agents whose work is already on disk). Not a theoretical concern.

Direction: aligned. This is the review harness's own checkpoint story — prompt records are the obligations, transcripts the evidence, plan mtime the run epoch — and the PR closes exactly the gap that blocks resume: readers can't see an earlier attempt's transcripts because the transcript dir is keyed on the session id. No CHANGELOG reference (internal tooling), but the area is clearly relevant.

Size: no core paths touched — everything sits under packages/cli/src/commands/review/. For reference: 1278 changed lines split 546 production / 732 test.

Approach: the shape is right — the ledger is written by fetch-pr (harness-side, never model-supplied), entries are only addresses, ids pass a closed charset gate on both write and read, everything is epoch-fenced on the plan mtime, and every failure mode reads as "evidence invisible → re-do the work", never the reverse. Two things worth confirming as the series lands: the resume-marker half (resume.json, recordResume/recordRestart, RESUME_MAX) and diffSha256 have no production consumer yet in this PR — that's fine for the announced stacked series, but PR 2 should follow before this settles as dead code. And runEpochMs/RUN_EPOCH_SLACK_MS is now duplicated verbatim from deadline.ts — small, but it could be shared.

Risk: no elevated risk signals — none of the revert-correlated paths are touched.

Moving on to code review. 🔍

中文说明

感谢贡献!

模板完整 ✓

问题:真实且可观测——评审 workflow 的重试循环自己的注释就写着"A retry re-runs the whole review from scratch rather than resuming the failed run",会重新抓取、重新发射那些工作已经在磁盘上的 agent。不是理论性问题。

方向:对齐。这正是评审 harness 自己的检查点叙事——prompt 记录是义务面、transcript 是证据面、plan mtime 是 run epoch——本 PR 恰好补上阻碍续跑的那个缺口:读取方看不到前一次尝试的 transcripts,因为 transcript 目录以 session id 为键。CHANGELOG 无对应条目(内部工具),但该领域明显相关。

规模:未触及核心路径——全部改动在 packages/cli/src/commands/review/ 下。供参考:1278 行改动 = 546 行生产代码 / 732 行测试。

方案:形态正确——台账由 fetch-pr 写入(harness 侧,绝非模型提供),条目永远只是地址,session id 在写入与读取两侧都过封闭字符集门,一切以 plan mtime 为 epoch 栅栏,所有失败方向都是"证据不可见 → 重做工作",绝不反向。系列推进时有两点值得确认:resume marker 那一半(resume.jsonrecordResume/recordRestartRESUME_MAX)和 diffSha256 在本 PR 里还没有生产消费方——对已声明的堆叠系列来说可以接受,但 PR 2 应及时跟上,避免变成死代码。另外 runEpochMs/RUN_EPOCH_SLACK_MSdeadline.ts 逐字重复——很小,但可以共享。

风险:无升级风险信号——未触及任何与 revert 相关的高风险路径。

进入代码审查 🔍

Qwen Code · qwen3.8-max

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

@qwen-code-ci-bot

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

Copy link
Copy Markdown
Collaborator

Code review

My independent take before reading the diff: a resumed run needs a persistent run→sessions mapping that the orchestrator cannot tamper with, fenced so a fresh run of the same PR starts clean, with transcript readers unioning the session dirs asymmetrically — a missing current dir is an infrastructure fact (throw), a missing prior dir is just missing evidence (skip). The PR lands exactly this shape: fetch-pr (harness-side, never model-supplied) appends its own session id to a ledger beside the prompt records, ids pass a closed charset gate on write and read, everything is epoch-fenced on the plan mtime with the same 2s slack deadline.ts uses, and credit still requires the existing content-shaped pairing — a fabricated entry can point a reader at a directory, but cannot mint coverage. The traversal gate checks out: SESSION_ID_RE requires a leading alphanumeric and admits no separator, so neither .. as a segment nor any path separator can pass. The one property that matters most — no ledger entries ⇒ every reader degenerates exactly to its prior single-session read — is explicitly tested (orphan-invisibility, zero priorSessions, no continuity disclosure).

The cost-ledger reordering is correct: the empty-current-chat throw now precedes the main fold, so prior-session events can never vouch for a broken current chat, and the old main = null guard was unreachable anyway.

Non-blocking, both raised in the gate comment: runEpochMs/RUN_EPOCH_SLACK_MS is copied verbatim from deadline.ts (small enough to share later), and the resume-marker half plus diffSha256 and currentDirOptional have no production caller until PR 2 — fine for the announced stack, but that's the part to watch so nothing settles as dead code.

Nothing blocking found. Static review only — per this gate's rules no PR code is executed here; test evidence below is the PR's own CI.

sequenceDiagram
    participant P1 as fetch-pr command
    participant P2 as run-sessions.json ledger
    participant P3 as prior session transcripts (S0)
    participant P4 as current session transcripts (S1)
    participant P5 as certifying readers
    P1->>P1: capture diff bytes, hash diffSha256
    P1->>P2: append session id (charset-gated, epoch-fenced)
    P5->>P2: ask for prior session ids
    P2-->>P5: S0, validated, current excluded
    P5->>P4: read current transcripts (missing dir throws)
    P5->>P3: read prior transcripts (missing dir skipped)
    P3-->>P5: records marked fromPriorSession
    P5->>P5: certify only via content-shaped pairing
Loading

Test evidence — the PR's own CI (unattended run, PR code never executed here)

At the time of this pass the Qwen Code CI run on the reviewed commit is still in progress — the ubuntu unit suite is running, and the macOS/Windows unit legs report skipped. Desktop Shell builds passed on both ubuntu and windows. The remaining checks are bot orchestration (this triage run and the review job). The table below reflects the state at review time and is updated in place once CI settles; not verified beyond what the table shows.

This PR has no user-visible surface — the ledger is dormant until PR 2 wires in --resume — so the unit suite (which pins exactly the load-bearing properties: epoch fencing, traversal refusal on write and read, corrupt-reads-as-empty, union reads, no-ledger degeneration) is the oracle here; there is no live behavior to drive yet.

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

Check Conclusion
Classify PR ✅ success
Desktop Shell (ubuntu-22.04) ✅ success
Desktop Shell (windows-2022) ✅ success
Post Coverage Comment (ubuntu-latest, 22.x) ✅ success
Test (ubuntu-latest, Node 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,失败项排在最前。

中文说明

代码审查

读 diff 之前我的独立思路:续跑需要一个"运行 → sessions"的持久映射,且编排器无法篡改;要有栅栏保证同一 PR 的全新运行从零开始;transcript 读取方对各 session 目录做不对称并集——当前目录缺失是基础设施事实(抛错),先前目录缺失只是证据缺失(跳过)。PR 落地的正是这个形态:fetch-pr(harness 侧,绝非模型提供)把自己的 session id 追加到 prompt 记录旁的台账,id 在写入与读取两侧都过封闭字符集门,一切以 plan mtime 为 epoch 栅栏(与 deadline.ts 相同的 2 秒 slack),且采信仍需现有的内容型配对——伪造条目可以把读取方指向某个目录,但换不来 coverage。穿越门经得起检查:SESSION_ID_RE 要求首字符为字母数字且不含任何分隔符,.. 作为路径段或路径分隔符都过不了。最关键的性质——没有台账条目时每个读取方精确退化为原先的单 session 读取——有显式测试(孤儿不可见、priorSessions 为零、无续跑披露)。

成本台账的重排是正确的:当前 chat 为空即抛的检查现在先于 main 折叠,先前 session 的事件永远无法为损坏的当前 chat 背书,旧的 main = null 分支本来就不可达。

非阻塞项(与门评一致):runEpochMs/RUN_EPOCH_SLACK_MSdeadline.ts 逐字重复(小到可以后续共享);resume marker 那一半、diffSha256currentDirOptional 在 PR 2 之前没有生产调用方——对已声明的堆叠系列没问题,但这是要盯住的部分,避免沉淀为死代码。

未发现阻塞项。此处仅静态审查——按本门规则不执行任何 PR 代码;下方测试证据来自 PR 自己的 CI。

(时序图见上文英文部分,流程相同:fetch-pr 写入台账 → 读取方验证后取先前 session id → 当前目录必读、先前目录缺则跳过 → 仅凭内容型配对采信。)

测试证据

本次为无人值守 CI 运行,审查时不执行 PR 代码。截至本条评论,Qwen Code CI 仍在进行中:ubuntu 单元测试运行中,macOS/Windows 测试腿为 skipped,Desktop Shell 构建在 ubuntu 与 windows 上均通过,其余为 bot 编排任务。表格会由 finalize 任务在 CI 落定后就地更新;表格之外未做验证。

本 PR 无用户可见面——台账在 PR 2 接入 --resume 之前是休眠的——因此单元测试(恰好钉住关键性质:epoch 栅栏、写入/读取双侧拒绝穿越、损坏按空读、并集读、无台账退化)就是 oracle,现阶段没有可驱动的实机行为。

Qwen Code · qwen3.8-max

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

@qwen-code-ci-bot

Copy link
Copy Markdown
Collaborator

Confidence: 4/5 — clean, tightly-tested groundwork whose only reservations are non-blocking: a small future-facing surface waiting on PR 2, and a duplicated epoch helper.

Stepping back: my independent proposal for "let a resumed review see its interrupted attempt's evidence" was exactly what this PR does — a harness-written, epoch-fenced, charset-gated ledger of session ids, with readers unioning the session dirs asymmetrically (missing current dir throws, missing prior dir skips). The alternatives are worse: copying transcripts duplicates evidence and smudges provenance, and passing prior session ids through the orchestrator makes the model the supplier of its own credit path. So the approach earns its shape rather than over-engineering it.

The property that makes a groundwork PR safe is the degeneration property — with no ledger, every changed reader is exactly the reader it was before — and this one tests it from the adversarial side rather than just the happy path: fabricated entries, traversal-shaped ids on both write and read, corrupt files, stale epochs, orphaned transcripts with no ledger entry. That is the coverage I would have asked for, and it's why the two non-blocking nits (the resume-marker/diffSha256 surface with no caller until PR 2, the verbatim copy of the deadline fence helper) don't hold this back: both are small, both are tested, and the series is announced and stacked.

The one honest caveat: the ledger stays dormant until the follow-ups land, so if PR 2 stalls this becomes the dead code the gate worries about. The stack should keep moving.

CI on the reviewed commit is still in flight (the ubuntu unit suite was running at review time), so approval is deferred until CI lands green on fd669f4204943cd5de6b26a05020203e8052ad4f — the finalize step will post the commit-pinned approval when it does.

中文说明

置信度:4/5 —— 干净、测试扎实的地基型 PR,唯一的保留是非阻塞项:一小块等待 PR 2 的前瞻接口面,以及一个重复的 epoch 辅助函数。

退一步看:我对"让续跑评审看到中断尝试的证据"的独立方案,正是本 PR 所做的——harness 写入、以 epoch 为栅栏、封闭字符集把关的 session id 台账,读取方对各 session 目录做不对称并集(当前目录缺失则抛错,先前目录缺失则跳过)。替代方案都更差:复制 transcript 会让证据重复并模糊出处;让编排器传递先前 session id 则让模型成了自己采信路径的供给方。所以这个方案对得起它的形态,而非过度设计。

让地基型 PR 安全的性质是退化性质——没有台账时,每个被改动的读取方与改动前完全一致——而本 PR 是从对抗面而非仅从 happy path 去测它:伪造条目、写入与读取两侧的穿越形 id、损坏文件、过期 epoch、无台账条目的孤儿 transcript。这正是我会要求的覆盖度,也因此两个非阻塞项(PR 2 之前没有调用方的 resume marker/diffSha256 面、逐字复制的 deadline 栅栏辅助函数)不构成阻碍:都很小、都有测试、系列已声明且堆叠。

一个诚实的提醒:台账在后续 PR 落地前是休眠的,如果 PR 2 停滞,这就会变成门所担心的死代码。系列应继续推进。

被审 commit 上的 CI 仍在进行(审查时 ubuntu 单元测试运行中),因此批准推迟到 CI 在该 commit 上转绿——届时 finalize 步骤会发布钉住该 commit 的批准。

Qwen Code · qwen3.8-max

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

@github-actions

github-actions Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Code Coverage Summary

Package Lines Statements Functions Branches
CLI 84.2% 84.2% 90.07% 83.43%
Core 87.97% 87.97% 89.53% 86.51%
CLI Package - Full Text Report
-------------------|---------|----------|---------|---------|-------------------
File               | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s 
-------------------|---------|----------|---------|---------|-------------------
All files          |    84.2 |    83.43 |   90.07 |    84.2 |                   
 src               |   85.71 |    81.87 |   87.93 |   85.71 |                   
  cli.ts           |   95.68 |    84.11 |     100 |   95.68 | ...60-561,565-566 
  gemini.tsx       |   73.75 |    79.33 |   80.76 |   73.75 | ...1319-1323,1450 
  ...ractiveCli.ts |   87.92 |    82.11 |    88.7 |   87.92 | ...3097,3103,3168 
  ...liCommands.ts |   88.64 |    82.96 |      80 |   88.64 | ...77-579,593,692 
  ...ActiveAuth.ts |     100 |     87.5 |     100 |     100 | 66-80             
 ...cp-integration |   71.75 |    74.15 |   91.49 |   71.75 |                   
  acpAgent.ts      |   71.13 |    73.96 |   91.03 |   71.13 | ...31,12636-12638 
  ...k-reporter.ts |     100 |       80 |     100 |     100 | 81,84,119,141     
  authMethods.ts   |      92 |       60 |     100 |      92 | 33-34             
  errorCodes.ts    |     100 |      100 |     100 |     100 |                   
  ...ion-skills.ts |     100 |    88.23 |     100 |     100 | 17,32             
  generation.ts    |    97.1 |    81.25 |     100 |    97.1 | 109,112           
  ...figuration.ts |     100 |      100 |     100 |     100 |                   
  ...DirContext.ts |     100 |      100 |     100 |     100 |                   
 ...ration/service |    97.1 |    95.83 |   93.33 |    97.1 |                   
  filesystem.ts    |    97.1 |    95.83 |   93.33 |    97.1 | ...22-123,246-247 
 ...ration/session |   91.02 |    86.58 |   96.25 |   91.02 |                   
  Session.ts       |   90.31 |    84.97 |   95.81 |   90.31 | ...94,11421-11425 
  ...entTracker.ts |    96.8 |    89.36 |      90 |    96.8 | 137-143,221       
  ...projection.ts |   98.85 |    91.59 |     100 |   98.85 | 234,250,262       
  ...stop-guard.ts |     100 |    98.07 |     100 |     100 | 37,127            
  ...eplay-page.ts |   94.46 |    90.62 |     100 |   94.46 | ...05-108,135-145 
  ...y-replayer.ts |   83.17 |    92.98 |   94.11 |   83.17 | ...24-142,260-262 
  index.ts         |       0 |        0 |       0 |       0 | 1-40              
  ...ssionUtils.ts |   89.76 |    87.32 |     100 |   89.76 | ...54-270,326-328 
  ...oal-update.ts |   98.61 |    97.29 |     100 |   98.61 | 64                
  ...lure-guard.ts |   98.32 |    97.75 |     100 |   98.32 | 294-295,340-341   
  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.7 |    93.37 |   96.87 |    95.7 |                   
  ...ageEmitter.ts |   95.25 |    93.54 |     100 |   95.25 | ...08-115,128-129 
  PlanEmitter.ts   |     100 |       90 |     100 |     100 | 66                
  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.18 |    96.47 |     100 |   99.18 | 355-356           
 ...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/agent-view    |   89.03 |    81.28 |   89.09 |   89.03 |                   
  ...t-cli-argv.ts |     100 |      100 |     100 |     100 |                   
  protocol.ts      |     100 |      100 |     100 |     100 |                   
  ...sor-client.ts |   80.38 |    72.27 |   76.66 |   80.38 | ...22-626,652-656 
  ...or-process.ts |   96.61 |    88.88 |   84.61 |   96.61 | 129-130,150-151   
  ...sor-runner.ts |    84.9 |     75.6 |      85 |    84.9 | ...44,468,471-481 
  ...sor-server.ts |   85.71 |    83.06 |   95.45 |   85.71 | ...67-468,471-488 
  ...isor-store.ts |   97.73 |    81.16 |     100 |   97.73 | ...92,594,607,643 
  ...nal-bridge.ts |   93.98 |     91.3 |   83.33 |   93.98 | 228-238           
 src/commands      |   90.96 |    80.09 |   66.66 |   90.96 |                   
  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.66 |      100 |      50 |   98.66 | 86                
  serve.ts         |   90.08 |    77.96 |     100 |   90.08 | ...81,884-887,899 
  sessions.ts      |     100 |      100 |      50 |     100 |                   
  update.ts        |   98.13 |    94.44 |   66.66 |   98.13 | 82-83             
 ...mmands/channel |   88.95 |    88.55 |   90.59 |   88.95 |                   
  channel-cwd.ts   |     100 |      100 |     100 |     100 |                   
  ...l-registry.ts |   94.11 |    95.45 |   88.88 |   94.11 | ...54-257,302-305 
  ...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.91 |    85.55 |   94.33 |   93.91 | ...1264,1271-1272 
  loop-runtime.ts  |   91.66 |      100 |      50 |   91.66 | 15,22             
  ...classifier.ts |   98.53 |    96.66 |     100 |   98.53 | 115-116,161       
  ...tact-store.ts |   93.51 |    87.65 |     100 |   93.51 | ...71,288-289,337 
  pairing.ts       |      75 |      100 |      50 |      75 | 22-28,59-70       
  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       |   82.43 |    86.44 |     100 |   82.43 | ...87-191,251-253 
  set.ts           |   75.72 |    85.71 |      50 |   75.72 | 65-83,111-116     
  start.ts         |    85.8 |    82.17 |      88 |    85.8 | ...85,591-594,606 
  ...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.85 |    87.91 |   87.09 |   88.85 |                   
  consent.ts       |   72.53 |    90.32 |   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.63 |    57.14 |     100 |   75.63 | ...30-134,136-140 
 ...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.31 |    84.61 |   83.33 |   90.31 |                   
  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          |   93.15 |    84.84 |      80 |   93.15 | ...78-180,198-199 
  reconnect.ts     |   78.85 |    66.66 |   85.71 |   78.85 | 42-55,169-191     
  remove.ts        |     100 |       80 |     100 |     100 | 21-25             
 ...ommands/review |    88.3 |    88.25 |   89.15 |    88.3 |                   
  agent-prompt.ts  |   93.75 |     92.3 |   97.22 |   93.75 | ...2542,2667-2747 
  base-tree.ts     |   76.16 |    80.76 |   77.77 |   76.16 | ...50-371,373-386 
  capture-local.ts |   68.57 |     90.9 |      75 |   68.57 | 107-111,158-189   
  ...k-coverage.ts |   50.71 |       35 |   66.66 |   50.71 | ...40-245,279-289 
  cleanup.ts       |   89.12 |    82.22 |   83.33 |   89.12 | ...99-504,506-507 
  ...ent-status.ts |   93.03 |    83.87 |   83.33 |   93.03 | 291,531-551       
  ...ose-review.ts |   97.05 |     93.3 |   96.55 |   97.05 | ...2254,2282-2304 
  cost-ledger.ts   |   94.58 |     94.4 |   81.25 |   94.58 | ...53-654,694-704 
  drive.ts         |   76.07 |    85.71 |   81.81 |   76.07 | ...90-492,497-499 
  extract-step.ts  |   91.36 |    90.62 |   88.88 |   91.36 | ...90-707,714-729 
  fetch-pr.ts      |   82.67 |    69.64 |   72.72 |   82.67 | ...09,431,469-474 
  findings.ts      |   89.89 |    89.56 |   95.65 |   89.89 | ...77-980,989-990 
  load-rules.ts    |   26.41 |      100 |   16.66 |   26.41 | ...41-153,155-156 
  match-remote.ts  |   85.54 |     92.3 |   66.66 |   85.54 | 67-72,131-136     
  mock-provider.ts |   95.44 |    90.25 |   89.47 |   95.44 | 145,690-709       
  parse-args.ts    |    99.7 |    96.99 |     100 |    99.7 | 458               
  plan-diff.ts     |   64.04 |      100 |   66.66 |   64.04 | 127-163           
  pr-context.ts    |   81.77 |    81.32 |   92.85 |   81.77 | ...1043,1072-1074 
  presubmit.ts     |   87.93 |       88 |   88.88 |   87.93 | ...98-599,676-706 
  ...ish-assets.ts |   80.72 |    82.35 |   85.71 |   80.72 | ...58-462,489-535 
  repo-context.ts  |   93.52 |    89.56 |     100 |   93.52 | ...43-444,467-472 
  ...ve-anchors.ts |   77.77 |    88.88 |      75 |   77.77 | ...77-182,194-211 
  run.ts           |   84.07 |    88.88 |   94.11 |   84.07 | ...77,593-641,654 
  save-artifact.ts |    89.9 |    81.81 |   94.11 |    89.9 | ...08-311,404-407 
  script-lint.ts   |   83.67 |    78.41 |   88.88 |   83.67 | ...59-773,775-797 
  submit.ts        |   85.01 |    86.36 |      90 |   85.01 | ...99,588,615-651 
  test-delta.ts    |   87.13 |    91.46 |      75 |   87.13 | 206-237,477-485   
  test-efficacy.ts |   88.04 |    84.12 |   95.45 |   88.04 | ...2602,2610-2630 
  test-plan.ts     |   91.44 |    91.39 |   89.47 |   91.44 | ...38-839,903-920 
 ...w/__fixtures__ |     100 |      100 |     100 |     100 |                   
  ...r-default.mjs |     100 |      100 |     100 |     100 |                   
  ...der-empty.mjs |     100 |      100 |     100 |     100 |                   
  ...der-named.mjs |     100 |      100 |     100 |     100 |                   
 ...nds/review/lib |   97.48 |     94.9 |    98.5 |   97.48 |                   
  agent-briefs.ts  |      99 |      100 |      50 |      99 | 747-748           
  ...t-identity.ts |     100 |      100 |     100 |     100 |                   
  anchors.ts       |     100 |    94.79 |     100 |     100 | ...33,169,178,225 
  assets.ts        |     100 |      100 |     100 |     100 |                   
  audit-layers.ts  |   98.67 |    96.15 |     100 |   98.67 | 277-279           
  authorization.ts |   93.02 |    94.11 |     100 |   93.02 | 152-158           
  budget.ts        |     100 |    97.14 |     100 |     100 | 544,584           
  coverage.ts      |    96.9 |    94.21 |     100 |    96.9 | ...4,628-640,1091 
  deadline.ts      |   98.97 |    94.56 |     100 |   98.97 | 206,598,630       
  diff-flags.ts    |     100 |        0 |     100 |     100 | 63                
  diff-plan.ts     |   98.73 |    93.01 |     100 |   98.73 | ...41,264,290-291 
  disk.ts          |     100 |      100 |     100 |     100 |                   
  effort.ts        |     100 |      100 |     100 |     100 |                   
  gh.ts            |   87.07 |    92.45 |   76.47 |   87.07 | ...72,309-310,337 
  git.ts           |   97.64 |    95.65 |     100 |   97.64 | 180-181           
  heavy.ts         |     100 |      100 |     100 |     100 |                   
  inline-counts.ts |     100 |      100 |     100 |     100 |                   
  ...audit-gate.ts |     100 |    94.11 |     100 |     100 | 125,149           
  ledger.ts        |     100 |      100 |     100 |     100 |                   
  local-diff.ts    |   84.86 |    90.38 |     100 |   84.86 | ...63-473,475-483 
  ...ry-context.ts |   96.61 |    95.48 |     100 |   96.61 | ...47-450,496-499 
  merge-base.ts    |     100 |      100 |     100 |     100 |                   
  npm-toolchain.ts |   97.36 |    95.37 |     100 |   97.36 | ...86,409,770,787 
  path-rules.ts    |     100 |      100 |     100 |     100 |                   
  paths.ts         |     100 |     87.5 |     100 |     100 | 92                
  prompt-record.ts |   96.66 |    92.15 |     100 |   96.66 | 64-65,288-289,295 
  receipt.ts       |     100 |      100 |     100 |     100 |                   
  remote-match.ts  |   97.26 |    91.42 |     100 |   97.26 | 49-50             
  report.ts        |   94.68 |    93.75 |     100 |   94.68 | 189-193           
  ...ry-context.ts |     100 |    98.66 |     100 |     100 | 187               
  retirement.ts    |     100 |    92.85 |     100 |     100 | ...28,319-320,470 
  review-footer.ts |     100 |      100 |     100 |     100 |                   
  ...w-settings.ts |     100 |      100 |     100 |     100 |                   
  roster.ts        |     100 |    95.71 |     100 |     100 | 145,163,208       
  run-ledger.ts    |   95.89 |    90.62 |     100 |   95.89 | ...98-599,627-628 
  shell-quote.ts   |     100 |      100 |     100 |     100 |                   
  stale-bundle.ts  |   98.11 |    94.11 |     100 |   98.11 | 416,457,497-498   
  test-utils.ts    |     100 |      100 |     100 |     100 |                   
  toolchain.ts     |     100 |      100 |     100 |     100 |                   
  transcripts.ts   |   97.18 |    94.44 |     100 |   97.18 | ...44,382,624-625 
  ...pace-scope.ts |     100 |    96.96 |     100 |     100 | 172               
  workspaces.ts    |     100 |    96.77 |     100 |     100 | 222,452,499,512   
  worktree.ts      |     100 |      100 |     100 |     100 |                   
 ...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.93 |    89.87 |   96.28 |   94.93 |                   
  ...l-fallback.ts |     100 |      100 |     100 |     100 |                   
  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        |   89.12 |    88.69 |   83.78 |   89.12 | ...2497,2499-2507 
  ...cy-monitor.ts |   88.75 |    76.19 |     100 |   88.75 | ...3,90-92,98,101 
  ...ust-policy.ts |   83.02 |    88.88 |     100 |   83.02 | ...02-209,232-240 
  ...heme-names.ts |     100 |      100 |     100 |     100 |                   
  environment.ts   |    96.5 |    93.58 |      95 |    96.5 | ...85-586,640-641 
  ...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.4 |       50 |     100 |    97.4 | 240-243           
  ...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 |   93.33 |    93.33 |     100 |   93.33 | ...42-147,216-217 
  session-id.ts    |     100 |      100 |     100 |     100 |                   
  ...ings-cache.ts |   96.52 |    93.93 |     100 |   96.52 | 90-91,201-202     
  settings.ts      |   91.27 |    92.64 |      90 |   91.27 | ...1030,1032-1033 
  ...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 
  ...precedence.ts |   98.79 |     92.3 |     100 |   98.79 | 62                
  ...tedFolders.ts |   92.53 |    93.47 |     100 |   92.53 | ...36-337,373-384 
 ...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    |   75.08 |    67.64 |   71.42 |   75.08 |                   
  ...tputBridge.ts |   75.33 |    68.18 |   73.68 |   75.33 | ...09-410,418-421 
  ...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/hooks         |     100 |      100 |     100 |     100 |                   
  ...elete-hook.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.98 |    77.27 |   84.12 |   80.98 |                   
  session.ts       |   84.97 |    76.31 |   96.07 |   84.97 | ...1048,1057-1067 
  types.ts         |    42.5 |      100 |   33.33 |    42.5 | ...31-632,635-636 
 ...active/control |   75.54 |    89.83 |      80 |   75.54 |                   
  ...rolContext.ts |    6.06 |        0 |       0 |    6.06 | 57-99             
  ...Dispatcher.ts |   91.95 |    92.98 |   88.88 |   91.95 | ...54-372,392,395 
  ...rolService.ts |    6.89 |        0 |       0 |    6.89 | 46-188            
 ...ol/controllers |   45.95 |    69.03 |   55.26 |   45.95 |                   
  ...Controller.ts |    42.4 |      100 |   83.33 |    42.4 | 101-105,140-223   
  ...Controller.ts |       0 |        0 |       0 |       0 | 1-56              
  ...Controller.ts |   55.01 |    67.14 |   58.33 |   55.01 | ...15-624,639-644 
  ...Controller.ts |   49.23 |       60 |      50 |   49.23 | ...07-108,111-121 
  ...Controller.ts |   40.64 |    68.11 |   46.66 |   40.64 | ...72-684,693-722 
 .../control/types |       0 |        0 |       0 |       0 |                   
  serviceAPIs.ts   |       0 |        0 |       0 |       0 | 1                 
 ...Interactive/io |   98.12 |    94.18 |   95.29 |   98.12 |                   
  ...putAdapter.ts |   97.98 |    93.23 |   98.07 |   97.98 | ...1416,1432-1433 
  ...putAdapter.ts |      96 |    91.66 |   85.71 |      96 | 51-52             
  ...nputReader.ts |     100 |    94.73 |     100 |     100 | 67                
  ...putAdapter.ts |   98.49 |      100 |   90.47 |   98.49 | 85-86,126-127     
  ...projection.ts |     100 |      100 |     100 |     100 |                   
  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/runtime       |   99.61 |    95.04 |     100 |   99.61 |                   
  ...livery-ipc.ts |     100 |     90.9 |     100 |     100 | 94,106,134        
  ...l-delivery.ts |     100 |      100 |     100 |     100 |                   
  cpu-percent.ts   |     100 |      100 |     100 |     100 |                   
  ...erver-name.ts |     100 |      100 |     100 |     100 |                   
  ...-constants.ts |     100 |      100 |     100 |     100 |                   
  ...-summaries.ts |   86.66 |       50 |     100 |   86.66 | 11,19             
  ...ber-errors.ts |     100 |    95.32 |     100 |     100 | 53,93-94,172,192  
  ...ls-mapping.ts |     100 |      100 |     100 |     100 |                   
 src/serve         |   87.67 |    83.96 |   90.55 |   87.67 |                   
  ...tp-enabled.ts |     100 |      100 |     100 |     100 |                   
  ...ion-bridge.ts |     100 |      100 |     100 |     100 |                   
  auth.ts          |   93.43 |    92.95 |     100 |   93.43 | ...20-321,324-326 
  ...em-adapter.ts |     100 |      100 |     100 |     100 |                   
  capabilities.ts  |     100 |    98.07 |     100 |     100 | 685               
  ...cp-command.ts |     100 |      100 |     100 |     100 |                   
  ...horization.ts |   92.79 |    93.33 |    87.5 |   92.79 | 75-80,135-136     
  ...op-mcp-ipc.ts |   81.06 |    73.68 |   94.11 |   81.06 | ...37-242,267,289 
  ...nt-service.ts |    94.1 |    86.89 |     100 |    94.1 | ...75-477,484,486 
  ...-selection.ts |     100 |      100 |     100 |     100 |                   
  ...ings-store.ts |   88.59 |    93.65 |   96.29 |   88.59 | ...95-207,451-454 
  ...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 
  ...horization.ts |     100 |      100 |     100 |     100 |                   
  ...tartup-ipc.ts |   97.72 |    96.66 |     100 |   97.72 | 88-89             
  ...supervisor.ts |   92.54 |    84.53 |   97.14 |   92.54 | ...1489,1543-1547 
  ...e-grouping.ts |     100 |    94.28 |     100 |     100 | 71,137            
  core-runtime.ts  |     100 |      100 |     100 |     100 |                   
  ...ub-session.ts |    90.1 |    77.83 |   94.73 |    90.1 | ...1014,1021-1026 
  daemon-logger.ts |   82.82 |    78.68 |   92.04 |   82.82 | ...1775,1802-1808 
  ...y-pressure.ts |     100 |    96.96 |     100 |     100 | 135               
  ...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.58 |    90.88 |     100 |   98.58 | ...1438,1440-1441 
  debug-mode.ts    |     100 |      100 |     100 |     100 |                   
  env-snapshot.ts  |   93.37 |    85.18 |     100 |   93.37 | 114-117,195-202   
  ...-scheduler.ts |   87.34 |    83.87 |     100 |   87.34 | 33-36,48-50,79-81 
  ...d-provider.ts |   92.06 |    86.95 |     100 |   92.06 | ...72,287-293,316 
  ...-path-argv.ts |     100 |      100 |     100 |     100 |                   
  ...h-settings.ts |   94.94 |    90.41 |     100 |   94.94 | ...30,708,724,734 
  fast-path.ts     |   90.99 |    81.38 |   95.45 |   90.99 | ...33-542,608-609 
  ...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-144             
  ...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 | ...30-131,142-143 
  ...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.68 |    88.29 |     100 |   92.68 | ...89-291,303-305 
  ...qwen-serve.ts |   84.27 |    80.34 |    75.6 |   84.27 | ...7571,7577-7578 
  ...tup-errors.ts |     100 |      100 |     100 |     100 |                   
  ...-keepalive.ts |   94.25 |    88.99 |     100 |   94.25 | ...28,532-533,572 
  ...-lifecycle.ts |     100 |      100 |     100 |     100 |                   
  server.ts        |   90.96 |    91.34 |   72.32 |   90.96 | ...2731,2745-2749 
  ...-admission.ts |   98.24 |     94.8 |     100 |   98.24 | 79-80,303-304     
  ...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 |                   
  ...ion-limits.ts |     100 |      100 |     100 |     100 |                   
  ...t-sessions.ts |   93.72 |    77.93 |     100 |   93.72 | ...51,854,867-869 
  ...l-resolver.ts |   90.32 |    66.66 |     100 |   90.32 | 16,45-46          
  ...ell-static.ts |   92.18 |    88.37 |     100 |   92.18 | ...21-224,267-270 
  ...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 |                   
  ...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 | ...18-519,525-526 
  ...e-remember.ts |   98.23 |    92.56 |     100 |   98.23 | ...36,340-345,386 
  ...te-runtime.ts |   83.98 |    90.29 |     100 |   83.98 | ...48-156,216-237 
  ...me-storage.ts |     100 |      100 |     100 |     100 |                   
  ...management.ts |   72.63 |    72.72 |      96 |   72.63 | ...88-889,896-900 
  ...lls-status.ts |     100 |    95.45 |     100 |     100 | 152               
  ...reconciler.ts |   91.63 |    84.09 |     100 |   91.63 | ...71-273,306-307 
 ...serve/acp-http |   78.26 |    80.02 |    93.1 |   78.26 |                   
  ...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.55 |     100 |    98.2 | 1015,1041-1052    
  dispatch.ts      |   73.87 |    77.71 |   94.23 |   73.87 | ...5240,5288-5294 
  index.ts         |   82.23 |    80.11 |   91.07 |   82.23 | ...2341,2425-2426 
  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 |   87.73 |    76.21 |    97.5 |   87.73 |                   
  ...r-emulator.ts |   93.27 |    77.77 |     100 |   93.27 | ...53-256,282-283 
  ...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 |    6.12 |    57.89 |   46.15 |    6.12 |                   
  ...helpers.d.mts |       0 |        0 |       0 |       0 | 1                 
  ...e-helpers.mjs |   97.64 |    70.96 |     100 |   97.64 | 22-23             
  ...mcp-smoke.mjs |       0 |        0 |       0 |       0 | 1-124             
  ...cceptance.mjs |       0 |        0 |       0 |       0 | 1-473             
  ...re-server.mjs |       0 |        0 |       0 |       0 | 1-59              
  ...ols-smoke.mjs |       0 |        0 |       0 |       0 | 1-268             
  real-tab.mjs     |       0 |        0 |       0 |       0 | 1-218             
  ...al-chrome.mjs |       0 |        0 |       0 |       0 | 1-223             
 .../conversations |   92.81 |    90.51 |     100 |   92.81 |                   
  ...me-manager.ts |     100 |      100 |     100 |     100 |                   
  ...-workspace.ts |   88.26 |    82.53 |     100 |   88.26 | ...33-234,246-247 
  ...ion-source.ts |     100 |      100 |     100 |     100 |                   
 src/serve/fs      |   87.27 |    82.01 |     100 |   87.27 |                   
  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 |    74.01 |     100 |   77.64 | ...65,594-598,611 
  policy.ts        |   90.52 |    89.18 |     100 |   90.52 | 172-180           
  text-cursor.ts   |   88.23 |       90 |     100 |   88.23 | 74-77,92-95       
  ...ile-system.ts |   87.37 |    81.39 |     100 |   87.37 | ...2811,2821-2822 
 src/serve/live    |   77.56 |    68.68 |   90.08 |   77.56 |                   
  ...en-context.ts |   95.74 |    81.25 |     100 |   95.74 | ...0,66-67,99-100 
  discovery.ts     |   85.77 |    76.92 |      90 |   85.77 | ...49-250,255-256 
  ...structions.ts |     100 |      100 |     100 |     100 |                   
  ...oordinator.ts |   82.67 |    76.75 |   97.01 |   82.67 | ...1319,1351-1353 
  ...-installer.ts |    64.3 |    82.35 |   80.76 |    64.3 | ...45-446,460-472 
  ...oordinator.ts |   75.99 |    65.18 |   85.71 |   75.99 | ...1883,1974-1975 
  ...controller.ts |   67.82 |    79.31 |   72.72 |   67.82 | ...66-278,287-295 
  ...ak-to-user.ts |   96.66 |      100 |   83.33 |   96.66 | 37-38             
  ...sk-service.ts |    86.3 |    59.78 |   93.33 |    86.3 | ...1160,1184-1191 
  ...task-tools.ts |      99 |      100 |   85.71 |      99 | 205-206           
  ...redentials.ts |   96.26 |    93.47 |     100 |   96.26 | 91-94             
  ...me-session.ts |   65.63 |    57.24 |   88.88 |   65.63 | ...2270,2275-2282 
  ...up-context.ts |   94.83 |    77.58 |     100 |   94.83 | ...18,327-330,350 
  types.ts         |     100 |      100 |     100 |     100 |                   
 src/serve/routes  |   85.79 |    80.37 |   94.91 |   85.79 |                   
  a2ui-action.ts   |   96.84 |     88.5 |    87.5 |   96.84 | ...70-272,309-311 
  capabilities.ts  |   98.63 |    95.65 |     100 |   98.63 | 76                
  ...nel-notify.ts |   86.45 |       88 |     100 |   86.45 | ...,83-87,103-104 
  ...l-webhooks.ts |   93.56 |    84.09 |     100 |   93.56 | ...42,292,332,334 
  daemon-status.ts |   85.71 |    83.33 |     100 |   85.71 | 101-108           
  goals.ts         |   98.92 |     90.9 |     100 |   98.92 | 143               
  health.ts        |   99.09 |    91.17 |     100 |   99.09 | 147               
  live-setup.ts    |   33.33 |     37.5 |      50 |   33.33 | ...18-123,130-135 
  live.ts          |    82.4 |    71.42 |     100 |    82.4 | ...-94,96-101,121 
  permission.ts    |     100 |     92.3 |     100 |     100 | 50,98             
  ...uled-tasks.ts |   87.29 |    82.94 |   92.59 |   87.29 | ...1275,1318-1319 
  ...on-runtime.ts |     100 |    90.47 |     100 |     100 | 58,94             
  session.ts       |   85.85 |    82.33 |   91.66 |   85.85 | ...4957,4959-4960 
  sse-events.ts    |   86.82 |    85.71 |   94.11 |   86.82 | ...16-927,930,937 
  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.92 |    79.69 |     100 |   90.92 | ...81-482,501-502 
  ...d-contacts.ts |     100 |      100 |     100 |     100 |                   
  ...controller.ts |   83.11 |    79.31 |      90 |   83.11 | ...1033,1039,1042 
  ...extensions.ts |   88.15 |    74.95 |   92.98 |   88.15 | ...2027,2072-2073 
  ...-file-read.ts |      91 |    80.91 |     100 |      91 | ...20-621,624-625 
  ...file-write.ts |   89.58 |    79.16 |     100 |   89.58 | ...84,698-705,786 
  ...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 |   87.44 |    84.23 |     100 |   87.44 | ...1667,1687-1692 
  ...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 |   75.04 |    72.99 |     100 |   75.04 | ...79-690,696-697 
  ...tup-github.ts |   77.97 |    70.58 |   84.21 |   77.97 | ...46-352,397-398 
  ...ace-skills.ts |    76.9 |    87.15 |     100 |    76.9 | ...29-354,360-394 
  ...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.92 |    66.21 |      80 |   78.92 | ...38-343,351-352 
  ...pace-voice.ts |   91.33 |    80.92 |     100 |   91.33 | ...70-673,676-678 
 src/serve/server  |   91.76 |    89.39 |   96.95 |   91.76 |                   
  access-log.ts    |    98.7 |    97.14 |     100 |    98.7 | 118,189           
  ...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 |   86.54 |    72.48 |     100 |   86.54 | ...49,766,829-838 
  fs-factory.ts    |     100 |    94.54 |     100 |     100 | 42,103,159        
  ...branch-ops.ts |     100 |      100 |     100 |     100 |                   
  ...list-cache.ts |   99.01 |    95.52 |     100 |   99.01 | 184-185           
  ...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.13 |    95.09 |     100 |   95.13 | ...66-168,423-428 
  self-origin.ts   |   76.19 |       80 |     100 |   76.19 | 45-54             
  ...e-features.ts |      95 |     87.5 |     100 |      95 | 182-188           
  ...on-archive.ts |   89.55 |    87.83 |   97.14 |   89.55 | ...32-836,888-889 
  ...ion-export.ts |     100 |    94.44 |     100 |     100 | 64                
  session-list.ts  |   95.86 |    93.37 |     100 |   95.86 | ...-848,1026-1030 
  telemetry.ts     |   99.04 |    97.44 |     100 |   99.04 | ...37,652,794-796 
 src/serve/voice   |    92.7 |    91.48 |   97.67 |    92.7 |                   
  ...ice-config.ts |   84.81 |       30 |     100 |   84.81 | 91-100,104-105    
  voice-ws.ts      |   91.58 |    93.44 |      96 |   91.58 | ...68,483,521-523 
  ...oordinator.ts |     100 |    98.21 |     100 |     100 | 176               
 ...kspace-service |   90.65 |    87.73 |   91.11 |   90.65 |                   
  index.ts         |   90.13 |    87.04 |   89.74 |   90.13 | ...1464-1468,1471 
  types.ts         |     100 |      100 |     100 |     100 |                   
 src/services      |   92.49 |    89.25 |      98 |   92.49 |                   
  ...mandLoader.ts |     100 |    88.88 |     100 |     100 | 105-118           
  ...killLoader.ts |   97.19 |    85.29 |     100 |   97.19 | 142,153-154       
  ...andService.ts |   98.73 |      100 |     100 |   98.73 | 107               
  ...mandLoader.ts |   87.09 |    83.07 |     100 |   87.09 | ...35-340,345-350 
  ...omptLoader.ts |   79.55 |    88.29 |   83.33 |   79.55 | ...48,178,245-246 
  ...mandLoader.ts |   97.77 |    92.15 |     100 |   97.77 | 176,183-184       
  ...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.23 |    86.48 |     100 |   88.23 | ...94-199,232-233 
  ...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.93 |    91.66 |    87.5 |   93.93 | 208-210,224-230   
  types.ts         |     100 |      100 |     100 |     100 |                   
  ...e-keyterms.ts |   98.64 |    95.77 |     100 |   98.64 | 116,142-143       
  voice-model.ts   |     100 |      100 |     100 |     100 |                   
  voice-service.ts |    90.4 |    87.87 |     100 |    90.4 | ...81,288,353-358 
  ...e-settings.ts |     100 |    95.23 |     100 |     100 | 19                
  ...ranscriber.ts |   91.77 |    87.11 |   97.22 |   91.77 | ...99-901,904-906 
 ...rvices/insight |     100 |      100 |     100 |     100 |                   
  dates.ts         |     100 |      100 |     100 |     100 |                   
 ...ght/generators |   88.91 |     86.8 |   96.15 |   88.91 |                   
  DataProcessor.ts |   88.28 |    86.77 |   94.73 |   88.28 | ...1362,1366-1373 
  ...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 | 96-99             
  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    |   94.09 |    79.16 |   77.77 |   94.09 |                   
  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 
  ...mised-lock.ts |     100 |      100 |   66.66 |     100 |                   
  ...andContext.ts |     100 |      100 |     100 |     100 |                   
  render.tsx       |     100 |      100 |     100 |     100 |                   
 src/ui            |   73.24 |    75.55 |   67.03 |   73.24 |                   
  App.tsx          |   33.33 |       75 |   33.33 |   33.33 | 32-86             
  AppContainer.tsx |   74.45 |    72.09 |   68.57 |   74.45 | ...4188,4304-4310 
  ...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 |   70.51 |       74 |    62.5 |   70.51 | ...12,339,392-397 
  ...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.76 |    66.66 |   51.06 |   58.76 |                   
  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.83 |       75 |     100 |   94.83 | ...33-234,253-259 
  ...rSetupFlow.ts |   43.18 |    33.33 |      50 |   43.18 | ...78-399,416-459 
 src/ui/commands   |   83.35 |    83.55 |   89.88 |   83.35 |                   
  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.3 |    82.75 |     100 |    92.3 | ...,94-99,178,187 
  clearCommand.ts  |    80.9 |    70.83 |     100 |    80.9 | ...28-129,137-146 
  ...essCommand.ts |   68.06 |    54.05 |      75 |   68.06 | ...96-197,211-214 
  ...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 |   69.07 |     72.6 |   84.61 |   69.07 | ...78-611,622-623 
  copyCommand.ts   |    98.7 |    96.29 |     100 |    98.7 | 66-67,172,272,323 
  ...or-command.ts |   85.95 |    80.55 |   88.88 |   85.95 | ...68-274,298-309 
  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 |   70.16 |    84.61 |      95 |   70.16 | ...29-679,682-816 
  dreamCommand.ts  |   85.45 |    88.88 |     100 |   85.45 | 58-65             
  editorCommand.ts |     100 |      100 |     100 |     100 |                   
  ...rt-command.ts |   80.48 |       75 |     100 |   80.48 | 49-54,69-72,93-98 
  effort-utils.ts  |     100 |      100 |     100 |     100 |                   
  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   |     100 |    96.49 |     100 |     100 | 139,192           
  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 |   94.44 |    90.14 |     100 |   94.44 | ...13-214,241-251 
  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  |   85.02 |    82.53 |     100 |   85.02 | ...1089,1123-1128 
  ...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.6 |       90 |     100 |    89.6 | ...72-176,212-219 
  ...oreCommand.ts |   90.96 |    86.04 |     100 |   90.96 | ...41-146,177-178 
  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 |   73.04 |     82.3 |      90 |   73.04 | ...20-547,561-565 
  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 |   92.92 |       85 |   66.66 |   92.92 | ...72-177,276-281 
 src/ui/components |   71.96 |    79.54 |   79.56 |   71.96 |                   
  AboutBox.tsx     |     100 |      100 |     100 |     100 |                   
  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 | ...-76,88,143,157 
  ...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-598             
  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       |   81.27 |    69.23 |      50 |   81.27 | ...06,245,267-272 
  ...ngSpinner.tsx |   68.42 |    85.71 |      50 |   68.42 | 35-52,73,80-81    
  GoalPill.tsx     |   93.51 |    81.81 |     100 |   93.51 | 37-38,106-109,123 
  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 |   79.28 |    66.99 |     100 |   79.28 | ...08,511,514-520 
  ...ngeDialog.tsx |     100 |      100 |     100 |     100 |                   
  InputPrompt.tsx  |   84.26 |    82.94 |      80 |   84.26 | ...2215,2236,2332 
  ...Shortcuts.tsx |     100 |       88 |     100 |     100 | 98,119            
  ...Indicator.tsx |   98.18 |    97.82 |     100 |   98.18 | 161-162           
  ...firmation.tsx |   91.42 |      100 |      50 |   91.42 | 26-31             
  MainContent.tsx  |   95.58 |    95.06 |   46.15 |   95.58 | ...79,482-486,489 
  MemoryDialog.tsx |   86.59 |    80.15 |     100 |   86.59 | ...34-435,485,553 
  ...geDisplay.tsx |       0 |        0 |       0 |       0 | 1-41              
  ModelDialog.tsx  |   85.22 |    74.08 |     100 |   85.22 | ...1041,1097,1099 
  ...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 |   92.06 |    86.36 |   83.33 |   92.06 | ...,70-72,120-123 
  ...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.9 |    86.88 |     100 |    93.9 | ...20,282,302-304 
  ...yTodoList.tsx |   96.36 |    88.23 |     100 |   96.36 | 138-141           
  ...nsDisplay.tsx |   95.62 |    87.09 |     100 |   95.62 | ...24-125,273-275 
  ...inalImage.tsx |     100 |    93.93 |     100 |     100 | 75,129            
  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             
  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 |   55.05 |    69.09 |      50 |   55.05 |                   
  ...atContent.tsx |    9.09 |      100 |       0 |    9.09 | 54-275,281-283    
  ...tChatView.tsx |   21.05 |      100 |       0 |   21.05 | 21-39             
  ...tComposer.tsx |   69.48 |    33.33 |   66.66 |   69.48 | ...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 |   85.34 |    84.91 |   92.98 |   85.34 |                   
  ...sksDialog.tsx |   81.87 |    82.77 |   85.71 |   81.87 | ...1853,1965-1971 
  ...TasksPill.tsx |   78.84 |    94.28 |     100 |   78.84 | 64,109-129        
  ...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.21 |   70.83 |   71.92 |                   
  DiscoverTab.tsx  |   68.22 |    67.66 |   55.55 |   68.22 | ...93,656-660,664 
  InstalledTab.tsx |   75.49 |    67.44 |   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.7 |    52.38 |   20.83 |    50.7 |                   
  ...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.24 |      100 |       0 |    9.24 | 40-67,70-163      
 ...mponents/hooks |   87.11 |    81.37 |   91.89 |   87.11 |                   
  ...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.91 |    63.44 |   70.58 |   40.91 |                   
  ...ealthPill.tsx |     100 |      100 |     100 |     100 |                   
  ...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 |   90.26 |    86.89 |   85.57 |   90.26 |                   
  ...ionDialog.tsx |   89.23 |     84.9 |   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 |   94.11 |    95.91 |   76.92 |   94.11 | ...47-349,352-355 
  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 |   81.73 |     65.9 |      75 |   81.73 | ...10-214,222,245 
  ...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 |   91.87 |    82.63 |     100 |   91.87 | ...49-651,658-660 
  ...upMessage.tsx |   98.38 |    95.38 |     100 |   98.38 | 188-191,422       
  ToolMessage.tsx  |   93.06 |    86.32 |   93.75 |   93.06 | ...1037,1082-1084 
 ...ponents/shared |   86.29 |     82.4 |   94.17 |   86.29 |                   
  ...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 |     100 |      100 |     100 |     100 |                   
  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 |   91.49 |    86.66 |   83.33 |   91.49 | ...18-846,859,959 
  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 |    70.1 |    72.89 |   61.11 |    70.1 |                   
  ContextUsage.tsx |   71.49 |    64.86 |      80 |   71.49 | ...30-436,473-567 
  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.16 |    81.76 |   85.13 |   84.16 |                   
  ...ewContext.tsx |   64.83 |    88.88 |      50 |   64.83 | ...16-219,225-235 
  AppContext.tsx   |      80 |       50 |     100 |      80 | 19-20             
  ...ewContext.tsx |   93.83 |    68.51 |   42.85 |   93.83 | ...44,281-285,317 
  ...igContext.tsx |   81.81 |       50 |     100 |   81.81 | 15-16             
  ...ssContext.tsx |   85.65 |    84.85 |     100 |   85.65 | ...1612-1614,1620 
  ...owContext.tsx |   91.07 |    81.81 |     100 |   91.07 | 47-48,60-62       
  ...deContext.tsx |     100 |      100 |      50 |     100 |                   
  ...onContext.tsx |   80.77 |    79.56 |    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 | 156-157           
  ...teContext.tsx |   86.66 |       50 |     100 |   86.66 | 235-236           
  ...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      |   85.61 |    83.46 |   87.39 |   85.61 |                   
  ...dProcessor.ts |   85.53 |    85.13 |     100 |   85.53 | ...-970,1017-1018 
  ...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 | ...87-288,293-294 
  ...dProcessor.ts |   86.86 |    71.67 |   83.33 |   86.86 | ...1540,1562-1566 
  ...rt-command.ts |     100 |      100 |     100 |     100 |                   
  ...sced-flush.ts |     100 |      100 |     100 |     100 |                   
  ...ng-enabled.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 |      42 |       75 |     100 |      42 | 42-44,53-59,62-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.57 |     100 |   88.28 | ...66,175,179-187 
  ...waySummary.ts |   96.26 |       75 |     100 |   96.26 | 126-128,170       
  ...ndTaskView.ts |   94.89 |    77.55 |     100 |   94.89 | 164-168,257,263   
  ...chedScroll.ts |     100 |      100 |     100 |     100 |                   
  ...ketedPaste.ts |    23.8 |      100 |       0 |    23.8 | 19-37             
  ...nchCommand.ts |   95.53 |    83.01 |     100 |   95.53 | ...64-165,289-292 
  ...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 |   89.52 |    90.69 |     100 |   89.52 | ...98-106,114-115 
  ...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 |   86.07 |    82.29 |    73.8 |   86.07 | ...5362-5364,5366 
  ...BranchName.ts |     100 |    94.44 |     100 |     100 | 54                
  ...oryManager.ts |   98.38 |    98.85 |     100 |   98.38 | 141-144           
  ...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 |   22.58 |      100 |      50 |   22.58 | 11-32,44-85       
  ...gIndicator.ts |     100 |    96.66 |     100 |     100 | 109               
  useLogger.ts     |      16 |      100 |       0 |      16 | 15-45             
  useMCPHealth.ts  |   10.52 |      100 |       0 |   10.52 | 36-75             
  ...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.4 |     100 |     100 | 175,262           
  ...delCommand.ts |     100 |       96 |     100 |     100 | 61                
  ...ouseEvents.ts |   94.89 |       95 |   83.33 |   94.89 | 78-82             
  ...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 |   85.29 |    80.28 |    92.3 |   85.29 | ...36,351-361,441 
  useQwenAuth.ts   |     100 |      100 |     100 |     100 |                   
  ...lScheduler.ts |   89.48 |    88.88 |     100 |   89.48 | ...54-456,489-499 
  ...oryCommand.ts |       0 |        0 |       0 |       0 | 1-7               
  ...umeCommand.ts |   95.34 |    77.14 |     100 |   95.34 | 124-125,227-232   
  ...ompletion.tsx |   90.67 |    83.33 |     100 |   90.67 | ...02,105,138-141 
  ...ectionList.ts |   97.12 |    96.19 |     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.32 |    93.93 |     100 |   97.32 | ...18-422,518-525 
  ...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 |    79.2 |    35.29 |     100 |    79.2 | ...15-116,120-121 
  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.25 |    89.47 |     100 |   91.25 |                   
  ...AppLayout.tsx |   90.99 |     87.5 |     100 |   90.99 | 61-63,111-116,152 
  ...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  |   93.56 |    86.13 |     100 |   93.56 |                   
  screen-buffer.ts |   94.73 |    64.28 |     100 |   94.73 | 51-52             
  ...ion-coords.ts |     100 |      100 |     100 |     100 |                   
  ...ction-span.ts |   93.81 |     92.1 |     100 |   93.81 | ...1,45-46,99-100 
  ...tion-state.ts |     100 |      100 |     100 |     100 |                   
  ...ction-text.ts |   93.85 |    93.44 |     100 |   93.85 | 30-34,130-131     
  ...selection.tsx |   91.88 |    78.57 |     100 |   91.88 | ...16-417,446-447 
 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      |   87.57 |    85.62 |   95.76 |   87.57 |                   
  ...Colorizer.tsx |   80.31 |    85.41 |     100 |   80.31 | ...00-201,313-339 
  ...nRenderer.tsx |   80.07 |     75.6 |     100 |   80.07 | ...70,274,332-333 
  ...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 |   93.63 |    81.77 |   95.23 |   93.63 | ...47-750,803-808 
  ...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.9 |    74.15 |    92.3 |    52.9 | ...29,632-641,644 
  commandUtils.ts  |   98.38 |    92.38 |     100 |   98.38 | 108,136-137,343   
  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    |   94.87 |    98.21 |     100 |   94.87 | 116-119           
  goal-runtime.ts  |   91.42 |       95 |     100 |   91.42 | 32-34             
  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.03 |     97.1 |     100 |   96.03 | 103-106           
  ...mage-parts.ts |   97.75 |    94.59 |     100 |   97.75 | 82-83             
  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 |   68.81 |       75 |   66.66 |   68.81 | ...27-132,160-161 
  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.51 |    70.16 |   95.12 |   86.51 | ...1286,1326-1332 
  ...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          |   91.33 |    79.03 |     100 |   91.33 | ...73,273,277-278 
  ...red-height.ts |   98.38 |    97.14 |     100 |   98.38 | 195-197           
  ...mConstants.ts |     100 |      100 |     100 |     100 |                   
  restoreGoal.ts   |     100 |      100 |     100 |     100 |                   
  ...storyUtils.ts |   82.86 |    79.48 |     100 |   82.86 | ...88-610,741-742 
  ...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 |   95.19 |      100 |   88.88 |   95.19 | 121-126           
  ...nal-buffer.ts |     100 |      100 |     100 |     100 |                   
  ...e-renderer.ts |   90.61 |    83.44 |     100 |   90.61 | ...80,482-484,607 
  ...ize-reflow.ts |     100 |     92.3 |     100 |     100 | 57,62,209,217,347 
  ...wOptimizer.ts |     100 |    94.11 |     100 |     100 | 33,76             
  terminalSetup.ts |    4.37 |      100 |       0 |    4.37 | 44-393            
  textUtils.ts     |   97.94 |    95.49 |   94.11 |   97.94 | ...82-283,443-444 
  ...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 |     60.3 |   94.59 |   75.03 |                   
  collect.ts       |   71.27 |    66.38 |      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      |   81.27 |    79.92 |   81.94 |   81.27 |                   
  ...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 |   91.09 |     92.1 |     100 |   91.09 | ...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 |       70 |     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.62 |    87.29 |   92.75 |   81.62 |                   
  ...p-profiler.ts |   98.39 |    92.59 |     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 |      100 |     100 |     100 |                   
  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.38 |    71.83 |   88.88 |   70.38 | ...27,430-431,438 
  deepMerge.ts     |     100 |    89.65 |     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.31 |     100 |   90.65 | ...73,371,373-374 
  ...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 | ...64,381-382,427 
  ...projection.ts |   95.27 |    95.58 |     100 |   95.27 | 140-145           
  jsonc-editor.ts  |   93.18 |    92.66 |     100 |   93.18 | ...80-381,384-385 
  languageUtils.ts |   98.88 |    97.01 |     100 |   98.88 | 184-185           
  load-undici.ts   |     100 |      100 |     100 |     100 |                   
  ...npm-update.ts |   86.64 |    77.02 |     100 |   86.64 | ...03-304,335-345 
  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 |   84.29 |    70.83 |     100 |   84.29 | 70-76,92-103      
  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.52 |    57.35 |   76.92 |   45.52 | ...1040,1052-1075 
  ...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 |       90 |     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       
  ...on-handler.ts |    73.8 |       75 |     100 |    73.8 | 17-18,25-26,67-73 
  ...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   |   96.55 |    94.73 |     100 |   96.55 | 56-57             
  ...WithBackup.ts |   65.04 |    77.77 |     100 |   65.04 | 97,112,133-172    
 ...s/housekeeping |   93.51 |    90.95 |   96.96 |   93.51 |                   
  cleanup.ts       |   92.59 |    93.75 |     100 |   92.59 | ...02-205,209-211 
  ...eractionAt.ts |     100 |      100 |     100 |     100 |                   
  scheduler.ts     |      93 |    88.34 |      95 |      93 | ...57-359,411-415 
  throttledOnce.ts |   95.95 |    93.93 |     100 |   95.95 | 77-78,153-154     
-------------------|---------|----------|---------|---------|-------------------
Core Package - Full Text Report
-------------------|---------|----------|---------|---------|-------------------
File               | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s 
-------------------|---------|----------|---------|---------|-------------------
All files          |   87.97 |    86.51 |   89.53 |   87.97 |                   
 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        |   90.45 |    84.65 |   94.88 |   90.45 |                   
  ...transcript.ts |   88.49 |    84.09 |     100 |   88.49 | ...32,640,646-650 
  ...ent-resume.ts |   85.59 |    77.75 |   83.33 |   85.59 | ...1794-1798,1801 
  ...ound-tasks.ts |   94.63 |    90.13 |   96.38 |   94.63 | ...1773,1793-1796 
  index.ts         |     100 |      100 |     100 |     100 |                   
  ...ent-result.ts |    96.8 |    92.68 |     100 |    96.8 | 106,129-131       
  ...n-registry.ts |   94.79 |     87.7 |     100 |   94.79 | ...1067,1081-1083 
  ...w-snapshot.ts |   92.12 |    77.14 |     100 |   92.12 | ...65,189,196-198 
 src/agents/arena  |   76.94 |    68.22 |   78.94 |   76.94 |                   
  ...gentClient.ts |   79.47 |    88.88 |   81.81 |   79.47 | ...68-183,189-204 
  ArenaManager.ts  |   75.89 |     65.2 |   78.57 |   75.89 | ...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 |   91.22 |    86.83 |   89.31 |   91.22 |                   
  agent-context.ts |     100 |      100 |     100 |     100 |                   
  agent-core.ts    |   85.07 |     76.8 |   77.77 |   85.07 | ...2291,2337-2339 
  agent-events.ts  |     100 |      100 |     100 |     100 |                   
  ...t-headless.ts |   93.49 |    89.41 |   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.55 |     100 |   98.29 | 141,165,206,239   
  agent-types.ts   |     100 |      100 |     100 |     100 |                   
  index.ts         |     100 |      100 |     100 |     100 |                   
  ...ool-policy.ts |   98.38 |      100 |    92.3 |   98.38 | 85-86             
  ...low-budget.ts |     100 |      100 |     100 |     100 |                   
  ...-scheduler.ts |   97.43 |    96.36 |     100 |   97.43 | 128-130           
  ...ow-journal.ts |   91.76 |    75.86 |     100 |   91.76 | ...38-139,179-181 
  ...chestrator.ts |   92.92 |    90.57 |   84.61 |   92.92 | ...2012,2061-2064 
  ...ow-prompts.ts |     100 |      100 |     100 |     100 |                   
  ...low-runner.ts |   94.85 |     87.5 |   92.85 |   94.85 | ...93,260,280-283 
  ...ow-sandbox.ts |   96.85 |    91.28 |     100 |   96.85 | ...1705,1711-1712 
  ...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   |   82.72 |     84.6 |   89.05 |   82.72 |                   
  TeamManager.ts   |    73.6 |    80.64 |   79.62 |    73.6 | ...1706,1729-1730 
  identity.ts      |     100 |      100 |     100 |     100 |                   
  index.ts         |     100 |      100 |     100 |     100 |                   
  ...sionBridge.ts |     100 |      100 |     100 |     100 |                   
  mailbox.ts       |   96.02 |    87.23 |     100 |   96.02 | 352-358           
  ...ptAddendum.ts |     100 |      100 |     100 |     100 |                   
  tasks.ts         |   89.24 |    82.82 |     100 |   89.24 | ...-994,1038-1039 
  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.35 |   98.21 |   94.39 |                   
  ...on-harness.ts |   96.49 |       85 |     100 |   96.49 | 128-129,141-142   
  fake-agent.ts    |   98.49 |    95.16 |     100 |   98.49 | 201-203           
  fake-backend.ts  |   86.46 |    97.61 |   95.83 |   86.46 | 124-146           
 src/config        |   84.07 |    86.63 |    75.1 |   84.07 |                   
  approval-mode.ts |     100 |      100 |     100 |     100 |                   
  ...xtDefaults.ts |     100 |      100 |     100 |     100 |                   
  config.ts        |   83.36 |    86.33 |   73.53 |   83.36 | ...8719,8723-8724 
  constants.ts     |     100 |      100 |     100 |     100 |                   
  models.ts        |     100 |      100 |     100 |     100 |                   
  storage.ts       |   94.39 |    91.57 |   88.23 |   94.39 | ...45-446,449-450 
 ...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          |   92.41 |    88.11 |    93.3 |   92.41 |                   
  baseLlmClient.ts |    88.4 |     83.8 |   81.81 |    88.4 | ...59,672,678-680 
  client.ts        |   92.27 |    87.55 |   91.76 |   92.27 | ...4101,4199-4200 
  ...tGenerator.ts |   86.34 |    87.34 |   84.61 |   86.34 | ...96-497,542-548 
  ...lScheduler.ts |   90.04 |    84.67 |   96.15 |   90.04 | ...6217,6245-6261 
  geminiChat.ts    |    94.7 |    90.12 |   95.53 |    94.7 | ...5052,5100-5101 
  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 | 49-50             
  ...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 |   94.89 |    88.54 |     100 |   94.89 | ...51-252,297-298 
  prompts.ts       |   93.64 |    91.42 |   83.33 |   93.64 | ...1209,1412-1413 
  ...ing-effort.ts |     100 |      100 |     100 |     100 |                   
  ...n-recovery.ts |   95.13 |       80 |     100 |   95.13 | ...06-107,142-144 
  ...t-profiler.ts |    97.9 |    81.15 |   88.23 |    97.9 | 117,124-125,130   
  ...port-retry.ts |     100 |      100 |     100 |     100 |                   
  tokenLimits.ts   |     100 |    91.89 |     100 |     100 | 87,122-139        
  ...reparation.ts |     100 |      100 |     100 |     100 |                   
  ...tion-guard.ts |   90.38 |    94.73 |     100 |   90.38 | 68-72             
  ...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.67 |    93.07 |     100 |   98.67 | ...79,707-708,755 
  ...l-fallback.ts |     100 |      100 |     100 |     100 |                   
 ...ntentGenerator |   96.33 |    88.12 |   96.15 |   96.33 |                   
  ...tGenerator.ts |   97.24 |    86.72 |   94.87 |   97.24 | ...1436,1465,1476 
  converter.ts     |   96.19 |    89.25 |     100 |   96.19 | ...1329,1550-1552 
  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.99 |    90.61 |   90.69 |   95.99 |                   
  index.ts         |     100 |      100 |     100 |     100 |                   
  ...tGenerator.ts |   95.92 |    89.96 |   90.24 |   95.92 | ...1272-1273,1301 
  ...tDetection.ts |     100 |      100 |     100 |     100 |                   
 ...ntentGenerator |   91.86 |    90.62 |   95.61 |   91.86 |                   
  constants.ts     |     100 |      100 |     100 |     100 |                   
  converter.ts     |    91.3 |    89.49 |   96.87 |    91.3 | ...1942,2111-2126 
  errorHandler.ts  |     100 |      100 |     100 |     100 |                   
  index.ts         |   68.25 |    82.35 |      50 |   68.25 | 44-53,74-78,90-94 
  ...tGenerator.ts |    66.4 |    70.58 |   88.88 |    66.4 | ...51-157,168-169 
  pipeline.ts      |   95.48 |    91.27 |     100 |   95.48 | ...1309,1317,1416 
  ...ix-caching.ts |   95.23 |    92.85 |     100 |   95.23 | 45-46,69-70       
  ...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 |   97.39 |    92.28 |    98.5 |   97.39 |                   
  dashscope.ts     |   98.36 |    95.08 |   96.42 |   98.36 | ...08-709,851-852 
  deepseek.ts      |   94.91 |    89.36 |     100 |   94.91 | ...31-132,145-146 
  default.ts       |   99.18 |    97.05 |     100 |   99.18 | 208               
  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     |   87.71 |    84.62 |   92.57 |   87.71 |                   
  ...ive-safety.ts |     100 |      100 |     100 |     100 |                   
  ...-converter.ts |   80.55 |    73.66 |     100 |   80.55 | ...1133,1179-1180 
  corruptFile.ts   |     100 |       50 |     100 |     100 | 40-45             
  ...-converter.ts |     100 |      100 |     100 |     100 |                   
  ...me-refresh.ts |     100 |      100 |     100 |     100 |                   
  ...sion-store.ts |   90.94 |    86.26 |   97.91 |   90.94 | ...1230-1236,1280 
  ...ionManager.ts |   83.89 |    82.86 |   81.72 |   83.89 | ...2832,2861-2862 
  ...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 |    85.71 |   85.71 |    75.9 | ...98,202,214-248 
  github.ts        |   90.48 |    82.71 |     100 |   90.48 | ...4,994-995,1005 
  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 |       90 |     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       
  ...-converter.ts |   94.89 |    90.41 |     100 |   94.89 | ...50-151,222-224 
  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 |    84.21 |     100 |   88.95 | ...32-235,238-241 
  ...extraction.ts |   85.77 |       81 |   89.47 |   85.77 | ...02-205,260-261 
 ...ent-plugins-v1 |   84.94 |    79.51 |     100 |   84.94 |                   
  index.ts         |     100 |      100 |     100 |     100 |                   
  manifest.ts      |   81.87 |    84.48 |     100 |   81.87 | ...55-156,161-174 
  mcp.ts           |   84.98 |    79.56 |     100 |   84.98 | ...88-389,419-420 
  paths.ts         |     100 |    94.44 |     100 |     100 | 59                
  skills.ts        |   82.31 |    63.88 |     100 |   82.31 | ...38-141,150-151 
 src/followup      |    79.9 |    78.92 |    90.9 |    79.9 |                   
  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   |   71.76 |    64.76 |   71.42 |   71.76 | ...53-654,661-662 
  ...onToolGate.ts |   97.97 |     87.5 |     100 |   97.97 | 105,110           
  ...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         |   93.08 |    88.52 |   94.66 |   93.08 |                   
  ...eGoalStore.ts |   87.61 |    88.88 |   86.66 |   87.61 | ...85-188,196-204 
  ...t-verifier.ts |   96.27 |     90.9 |     100 |   96.27 | ...20,143-146,163 
  ...checkpoint.ts |   81.48 |    76.19 |     100 |   81.48 | ...02-105,115-118 
  goal-evidence.ts |   89.32 |     85.9 |     100 |   89.32 | ...1162,1185-1188 
  ...projection.ts |   66.66 |    72.97 |   33.33 |   66.66 | ...87,190,194-196 
  ...ersistence.ts |   87.29 |    85.71 |    87.5 |   87.29 | ...53-154,185-190 
  goal-protocol.ts |      96 |    93.75 |     100 |      96 | 167-168           
  goal-reducer.ts  |   94.91 |    92.06 |   96.96 |   94.91 | ...27,501,519-520 
  goal-runtime.ts  |   96.86 |    89.86 |   95.74 |   96.86 | ...1295-1296,1417 
  goal-tools.ts    |   98.22 |    93.02 |      95 |   98.22 | ...46-147,248-249 
  ...rn-context.ts |     100 |      100 |     100 |     100 |                   
  goal-verifier.ts |   92.46 |    92.85 |     100 |   92.46 | ...69-172,185-187 
  goal-wire.ts     |       0 |        0 |       0 |       0 | 1-28              
  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         |   88.07 |    86.25 |   88.54 |   88.07 |                   
  ...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.57 |    84.76 |   94.73 |   95.57 | ...1040-1041,1051 
  hookPlanner.ts   |   87.55 |    85.54 |   86.66 |   87.55 | ...22-226,233-244 
  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.64 |     98.5 |   70.83 |   87.64 | ...58-759,765-766 
  ...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 |    87.91 |     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.25 |    96.09 |   88.88 |   94.25 | ...46-547,632-636 
  urlValidator.ts  |     100 |      100 |     100 |     100 |                   
  ...it-context.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.83 |    83.81 |   90.47 |   87.83 |                   
  ...y-document.ts |   89.52 |    84.61 |     100 |   89.52 | ...24-325,329-330 
  ...nel-memory.ts |   97.36 |    96.63 |   96.42 |   97.36 | ...91-293,367-368 
  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 |    83.33 |     100 |     100 | 136,146           
  entries.ts       |   75.59 |    84.84 |   83.33 |   75.59 | ...56-157,172-180 
  extract.ts       |   92.41 |    79.41 |     100 |   92.41 | 56-61,100,119-122 
  ...entPlanner.ts |   91.59 |    76.74 |     100 |   91.59 | ...05,114-117,293 
  ...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 |   86.99 |    82.69 |   86.36 |   86.99 | ...69,389,396-402 
  memoryAge.ts     |   90.47 |       80 |     100 |   90.47 | 50-51             
  paths.ts         |     100 |      100 |     100 |     100 |                   
  ...ing-skills.ts |     100 |       72 |     100 |     100 | 31-35,73-78,97    
  prompt.ts        |   97.26 |    86.79 |     100 |   97.26 | ...10-218,222,225 
  recall.ts        |   82.06 |       75 |    90.9 |   82.06 | ...59-364,395-406 
  refresh.ts       |   93.58 |    89.58 |     100 |   93.58 | ...75-176,183-184 
  ...ceSelector.ts |    93.1 |    81.81 |     100 |    93.1 | ...25,127-128,136 
  remember.ts      |   98.89 |    90.19 |     100 |   98.89 | 50,70             
  scan.ts          |   93.12 |    77.41 |     100 |   93.12 | ...08-109,154,157 
  scopes.ts        |     100 |      100 |     100 |     100 |                   
  ...et-scanner.ts |     100 |      100 |     100 |     100 |                   
  ...entPlanner.ts |   77.24 |    74.07 |   72.22 |   77.24 | ...52-456,459,465 
  status.ts        |   10.52 |      100 |       0 |   10.52 | 41-98             
  store.ts         |   92.92 |    81.81 |     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 |     79.1 |   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.55 |    88.97 |   91.13 |   92.55 |                   
  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.11 |     100 |     100 | 177,261           
  modelsConfig.ts  |   89.36 |    86.93 |   88.09 |   89.36 | ...1404,1433-1434 
  types.ts         |     100 |      100 |     100 |     100 |                   
 src/output        |     100 |      100 |     100 |     100 |                   
  ...-formatter.ts |     100 |      100 |     100 |     100 |                   
  types.ts         |     100 |      100 |     100 |     100 |                   
 src/permissions   |   83.79 |    91.16 |   71.07 |   83.79 |                   
  autoMode.ts      |   97.66 |    93.13 |     100 |   97.66 | ...82-589,635,712 
  ...transcript.ts |      98 |       84 |     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.63 |    88.88 |      80 |   86.63 | ...1111,1217-1221 
  rule-parser.ts   |   94.49 |    92.72 |     100 |   94.49 | ...1447,1481-1483 
  ...-semantics.ts |   70.44 |    91.09 |   46.66 |   70.44 | ...2237,2311-2314 
  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.6 |   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 |    74.04 |   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 | 81-83,86-88,90-93 
  ...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.76 |   95.89 |   85.41 |                   
  ...tGenerator.ts |   98.64 |    98.18 |     100 |   98.64 | 105-106           
  qwenOAuth2.ts    |   82.79 |    73.75 |   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      |   90.06 |    85.47 |   96.91 |   90.06 |                   
  ...ionTrailer.ts |     100 |      100 |     100 |     100 |                   
  ...llRegistry.ts |   98.48 |    87.28 |     100 |   98.48 | 81-82,105,474-475 
  ...ionService.ts |   97.51 |    96.15 |     100 |   97.51 | ...,929,1072-1080 
  ...ingService.ts |   91.75 |    85.48 |   95.83 |   91.75 | ...2197,2224-2225 
  ...ttribution.ts |   91.73 |    87.71 |      90 |   91.73 | ...80-685,826-827 
  ...utSlimming.ts |    97.2 |    94.17 |     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 |    97.5 |    96.07 |     100 |    97.5 | 349-350,363-364   
  ...temService.ts |    92.8 |    84.68 |   94.11 |    92.8 | ...53,479-486,531 
  ...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.88 |     100 |   98.39 | 154-155,215-216   
  ...ionService.ts |   98.26 |    97.35 |     100 |   98.26 | ...13-714,761-762 
  ...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.22 |    90.99 |     100 |   97.22 | ...55-456,609-610 
  ...ttachments.ts |   97.74 |     90.9 |     100 |   97.74 | 298-308,646       
  ...pi-history.ts |   98.94 |    88.88 |     100 |   98.94 | 43                
  ...ersistence.ts |   91.66 |    80.75 |     100 |   91.66 | ...1060-1061,1089 
  ...tory-state.ts |     100 |       95 |     100 |     100 | 31                
  ...on-service.ts |   94.49 |    92.26 |   97.14 |   94.49 | ...98-600,656-664 
  ...ce-service.ts |    98.5 |    94.11 |    90.9 |    98.5 | 64-65             
  ...ken-counts.ts |     100 |       96 |     100 |     100 | 58                
  ...ipt-reader.ts |   93.59 |    91.41 |    97.7 |   93.59 | ...2643-2644,2712 
  ...turn-state.ts |   94.11 |     90.9 |   91.66 |   94.11 | 108-112,129-130   
  ...est-helper.ts |       0 |        0 |       0 |       0 | 1-65              
  ...iter-lease.ts |   83.14 |    74.47 |   97.61 |   83.14 | ...2433,2445-2448 
  sessionRecap.ts  |   67.56 |    43.47 |     100 |   67.56 | ...60,178,180-183 
  ...ionService.ts |   88.31 |    85.37 |   95.58 |   88.31 | ...2342,2356-2376 
  sessionTitle.ts  |   95.75 |    77.41 |     100 |   95.75 | ...53-256,287-288 
  ...ionService.ts |   84.43 |    78.45 |   97.18 |   84.43 | ...2496,2502-2507 
  ...pInhibitor.ts |   97.42 |    92.77 |     100 |   97.42 | ...30,169,369-370 
  ...Estimation.ts |     100 |    94.11 |     100 |     100 | 118               
  ...ageService.ts |   97.76 |    91.59 |   93.75 |   97.76 | ...61-262,366,567 
  ...ite-origin.ts |     100 |    93.33 |     100 |     100 | 32                
  ...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 |   88.36 |     87.8 |     100 |   88.36 | ...48-449,465-466 
 ...icrocompaction |    98.9 |    95.08 |     100 |    98.9 |                   
  microcompact.ts  |    98.9 |    95.08 |     100 |    98.9 | ...40,749,758-759 
 ...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        |   89.29 |    85.92 |   93.61 |   89.29 |                   
  index.ts         |     100 |      100 |     100 |     100 |                   
  ...activation.ts |     100 |    93.33 |     100 |     100 | 93,112            
  skill-curator.ts |   89.71 |    81.54 |     100 |   89.71 | ...01-902,904-907 
  skill-load.ts    |   94.84 |    87.69 |     100 |   94.84 | ...03,223,235-237 
  skill-manager.ts |   84.82 |    85.29 |   83.33 |   84.82 | ...1243,1250-1254 
  skill-paths.ts   |   90.42 |     87.5 |     100 |   90.42 | ...19-120,125-126 
  symlinkScope.ts  |     100 |      100 |     100 |     100 |                   
  types.ts         |   97.91 |    98.03 |     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.72 |    89.01 |   96.55 |   87.72 |                   
  ...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.48 |    85.91 |   94.87 |   84.48 | ...1582,1659-1660 
  types.ts         |     100 |      100 |     100 |     100 |                   
  validation.ts    |   92.46 |    95.18 |     100 |   92.46 | 47-52,63-68,71-76 
 src/telemetry     |    82.4 |    84.26 |   85.74 |    82.4 |                   
  ...ty-tracker.ts |     100 |      100 |     100 |     100 |                   
  config.ts        |     100 |      100 |     100 |     100 |                   
  constants.ts     |     100 |      100 |     100 |     100 |                   
  ...on-metrics.ts |   99.08 |    80.95 |     100 |   99.08 | 185,199           
  ...on-tracing.ts |   76.92 |    75.71 |   73.68 |   76.92 | ...88,395-397,413 
  ...attributes.ts |   96.98 |    91.37 |     100 |   96.98 | ...47-348,366-367 
  ...ag-metrics.ts |     100 |    77.77 |     100 |     100 | 21,40             
  ...t-loop-lag.ts |   96.85 |    85.71 |     100 |   96.85 | 170-173           
  ...-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.12 |    96.03 |      95 |   99.12 | 150,379-380       
  ...t.circular.ts |       0 |        0 |       0 |       0 | 1-128             
  loggers.ts       |   60.73 |    78.01 |   66.66 |   60.73 | ...1507,1524-1544 
  metrics.ts       |   80.37 |    82.35 |   80.95 |   80.37 | ...1150,1153-1164 
  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      |   93.89 |    86.32 |      75 |   93.89 | ...39,489-490,506 
  sdk.ts           |    82.7 |     90.9 |   66.66 |    82.7 | ...00-204,242-264 
  ...on-context.ts |     100 |      100 |     100 |     100 |                   
  ...ion-events.ts |     100 |      100 |     100 |     100 |                   
  ...on-tracing.ts |   91.13 |    88.64 |    97.5 |   91.13 | ...1914,1943-1946 
  ...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         |   83.09 |    88.31 |   86.36 |   83.09 | ...1467,1471-1478 
  uiTelemetry.ts   |   97.18 |    93.93 |      88 |   97.18 | ...70,314,461-462 
 ...ry/qwen-logger |   74.23 |    80.35 |      70 |   74.23 |                   
  event-types.ts   |       0 |        0 |       0 |       0 |                   
  qwen-logger.ts   |   74.23 |    80.18 |   69.49 |   74.23 | ...1122,1160-1161 
 src/test-utils    |   96.38 |    98.61 |   83.33 |   96.38 |                   
  config.ts        |     100 |      100 |     100 |     100 |                   
  ...st-helpers.ts |   94.11 |       90 |     100 |   94.11 | 69-70             
  index.ts         |     100 |      100 |     100 |     100 |                   
  ...mised-lock.ts |     100 |      100 |     100 |     100 |                   
  mock-tool.ts     |   94.85 |      100 |   78.78 |   94.85 | ...53,227-228,241 
  ...aceContext.ts |     100 |      100 |     100 |     100 |                   
 src/tools         |   86.28 |    85.09 |   88.72 |   86.28 |                   
  ...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 |                   
  display-image.ts |   87.42 |    84.84 |   88.88 |   87.42 | ...29-134,194-195 
  edit.ts          |   82.76 |    86.77 |   81.25 |   82.76 | ...45-746,865-915 
  ...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 |   82.13 |    80.47 |   85.71 |   82.13 | ...3234,3236-3237 
  mcp-client.ts    |   80.03 |    86.58 |   89.47 |   80.03 | ...2272,2276-2279 
  ...ry-timeout.ts |     100 |      100 |     100 |     100 |                   
  mcp-errors.ts    |     100 |      100 |     100 |     100 |                   
  ...pool-entry.ts |   79.21 |    85.71 |   81.57 |   79.21 | ...1341,1349-1350 
  ...ool-events.ts |       8 |      100 |       0 |       8 | 132-158           
  mcp-pool-key.ts  |   97.46 |    93.93 |     100 |   97.46 | 176-177           
  ...ce-content.ts |   96.55 |    91.17 |     100 |   96.55 | 80-82             
  mcp-retry.ts     |   97.67 |    95.65 |     100 |   97.67 | 131-132           
  ...ion-config.ts |     100 |      100 |     100 |     100 |                   
  mcp-status.ts    |     100 |      100 |     100 |     100 |                   
  mcp-tool.ts      |   98.35 |    93.71 |     100 |   98.35 | ...-990,1045-1046 
  ...sport-pool.ts |   83.98 |     80.3 |   88.46 |   83.98 | ...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.82 |    83.09 |   88.46 |   91.82 | ...99,612,810-815 
  notebook-edit.ts |   85.71 |    77.08 |   81.25 |   85.71 | ...96-912,958-959 
  ...escendants.ts |   36.17 |    64.51 |   55.55 |   36.17 | ...46-310,385-390 
  ...nforcement.ts |   83.21 |    90.69 |     100 |   83.21 | 147-158,207-220   
  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 |   94.07 |    91.89 |    90.9 |   94.07 | 131-139           
  shell.ts         |   78.85 |    84.22 |   91.91 |   78.85 | ...5040,5103-5104 
  skill-utils.ts   |     100 |      100 |     100 |     100 |                   
  skill.ts         |   91.39 |    92.55 |      90 |   91.39 | ...84,488,534-556 
  ...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     |   78.22 |    84.21 |   83.33 |   78.22 | ...66,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     |   95.13 |    87.85 |   93.33 |   95.13 | ...23-527,540-545 
  tool-error.ts    |     100 |      100 |     100 |     100 |                   
  tool-names.ts    |     100 |      100 |     100 |     100 |                   
  tool-registry.ts |   78.57 |    79.59 |    82.6 |   78.57 | ...89-990,998-999 
  tool-search.ts   |   96.19 |    89.72 |   93.33 |   96.19 | ...09,259-264,426 
  tools.ts         |   93.11 |    92.53 |   91.66 |   93.11 | ...69-570,586-592 
  ...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.58 |    83.57 |      80 |   90.58 | ...1025,1083-1086 
  write-file.ts    |   86.72 |    84.92 |   88.88 |   86.72 | ...25-828,865-900 
  zoom-image.ts    |   95.76 |    93.75 |      90 |   95.76 | 54-59,203-204     
 src/tools/agent   |   86.92 |    87.48 |   88.59 |   86.92 |                   
  agent.ts         |   85.51 |    86.38 |   86.17 |   85.51 | ...4333,4367-4377 
  fork-profile.ts  |   93.65 |       90 |     100 |   93.65 | ...33-134,171-174 
  fork-subagent.ts |   98.73 |       95 |     100 |   98.73 | 101-102,173       
 ...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 |   86.51 |    84.81 |      75 |   86.51 |                   
  workflow.ts      |   86.51 |    84.81 |      75 |   86.51 | ...67,512,514-515 
 src/utils         |   92.92 |    89.66 |    96.9 |   92.92 |                   
  LruCache.ts      |     100 |      100 |     100 |     100 |                   
  ...Controller.ts |     100 |      100 |     100 |     100 |                   
  ...ssageQueue.ts |     100 |      100 |     100 |     100 |                   
  ...cFileWrite.ts |   94.94 |    92.47 |     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 |                   
  ...igResolver.ts |     100 |      100 |     100 |     100 |                   
  ...engthError.ts |   91.06 |    89.47 |     100 |   91.06 | ...46-147,154-155 
  ...n-branches.ts |   95.88 |    94.11 |      95 |   95.88 | ...98-499,511-524 
  ...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        |   83.39 |    95.17 |    61.9 |   83.39 | ...81-397,401-407 
  fetch.ts         |   90.68 |    82.51 |     100 |   90.68 | ...72,483-484,503 
  file-identity.ts |     100 |      100 |     100 |     100 |                   
  fileUtils.ts     |   94.87 |    92.97 |   96.15 |   94.87 | ...1907,1915-1916 
  forkedAgent.ts   |   92.45 |    82.35 |   93.75 |   92.45 | ...34,642,647-654 
  formatters.ts    |     100 |      100 |     100 |     100 |                   
  ...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 
  ...fig-safety.ts |   97.01 |       80 |     100 |   97.01 | 53-54             
  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.83 |    82.35 |    87.5 |   78.83 | ...22-123,164-215 
  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.08 |    93.33 |     100 |   95.08 | ...62-166,234-238 
  ...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.41 |    93.47 |     100 |   95.41 | ...27-328,370-373 
  ...-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.61 |    92.42 |     100 |   93.61 | ...62-563,565-567 
  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 |   96.98 |    87.15 |     100 |   96.98 | ...87-688,763-764 
  readManyFiles.ts |   95.75 |    80.86 |     100 |   95.75 | ...05,558,568-572 
  retry.ts         |   96.09 |    92.52 |     100 |   96.09 | ...67,558-559,577 
  retryContext.ts  |     100 |      100 |     100 |     100 |                   
  ...sification.ts |   97.63 |    97.08 |     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 |   84.87 |    86.71 |   96.29 |   84.87 | ...71,696,725-734 
  ...odelPrefix.ts |     100 |      100 |     100 |     100 |                   
  runtimeStatus.ts |   97.77 |    91.48 |     100 |   97.77 | 172-173           
  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 |   96.21 |    85.08 |     100 |   96.21 | ...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.36 |     100 |   86.07 | ...2269,2276-2280 
  ...lAstParser.ts |   98.27 |    91.38 |     100 |   98.27 | ...1321-1323,1333 
  ...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.9 |     100 |   97.66 | 165-166,168-172   
  ...-retention.ts |     100 |    95.83 |     100 |     100 | 116               
  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.13 |    96.42 |     100 |   96.13 | ...34-339,341-346 
  ...pt-records.ts |   87.52 |    86.13 |     100 |   87.52 | ...77-481,511-526 
  truncation.ts    |   90.61 |    90.59 |     100 |   90.61 | ...53-461,498-504 
  windowsPath.ts   |   89.47 |    79.31 |     100 |   89.47 | ...57-58,62,90-91 
  ...aceContext.ts |   95.39 |    89.47 |     100 |   95.39 | ...16-317,321-322 
  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.94 |    80.72 |   94.73 |   83.94 |                   
  crawlCache.ts    |     100 |      100 |     100 |     100 |                   
  crawler.ts       |    82.9 |    76.81 |   95.08 |    82.9 | ...1563,1597-1598 
  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 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.

LGTM, looks ready to ship — CI landed green after the review. ✅

@doudouOUC doudouOUC 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.

Reviewed. Suggestions are inline. 3 Suggestion-level finding(s) could not be anchored to a changed line and were dropped; nothing further to act on here.

Not explored to full depth (tool budget reached): This PR lays the groundwork for resuming an interrupted ...: none — the full scope was examined within the soft ceiling.; This PR lays the groundwork for resuming an interrupted ...: none (all reads within ceiling).; This PR lays the groundwork for resuming an interrupted ...: None. I stayed within the ~49-call soft ceiling, using 28 tool calls across reads, greps, and source file inspections.`.

中文说明

已审查。 建议见行内评论。 3 条建议级发现无法锚定到改动行,已丢弃;此处无需进一步处理。

未探索到全部深度(达到工具调用预算):This PR lays the groundwork for resuming an interrupted ...:none — the full scope was examined within the soft ceiling.;This PR lays the groundwork for resuming an interrupted ...:none (all reads within ceiling).;This PR lays the groundwork for resuming an interrupted ...:None. I stayed within the ~49-call soft ceiling, using 28 tool calls across reads, greps, and source file inspections.`。

— deepseek-v4-flash via Qwen Code /review (v0.21.10)

Comment thread packages/cli/src/commands/review/cost-ledger.ts Outdated
Comment thread packages/cli/src/commands/review/fetch-pr.ts
Comment thread packages/cli/src/commands/review/lib/layer-audit-gate.ts Outdated
Comment thread packages/cli/src/commands/review/lib/run-ledger.ts Outdated
Comment thread packages/cli/src/commands/review/lib/coverage.ts Outdated
Comment thread packages/cli/src/commands/review/lib/coverage.ts Outdated
Comment thread packages/cli/src/commands/review/cost-ledger.ts Outdated
Comment thread packages/cli/src/commands/review/lib/coverage.ts
Comment thread packages/cli/src/commands/review/cost-ledger.ts
Comment thread packages/cli/src/commands/review/lib/transcripts.ts Outdated
Comment thread packages/cli/src/commands/review/lib/run-ledger.ts
Comment thread packages/cli/src/commands/review/lib/run-ledger.ts Outdated
Comment thread packages/cli/src/commands/review/lib/transcripts.ts Outdated
* missing ENVIRONMENT (no session id, no project dir) still throws: that is
* an infrastructure fact whichever session it is.
*/
export function readRunTranscripts(

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

One compose-review invocation reads the run's transcripts two to three times (layerAuditGate, coverageFromTranscripts, verificationGaps each call readRunTranscripts), and each call re-reads run-sessions.json, re-stats the plan, resolves transcriptPaths three times, and fully re-parses every prior-session transcript — read once per command and pass the records, or memoize on planPath + plan mtime.

composeReviewBody calls layerAuditGate (compose-review.ts:721), coverageFromTranscripts (:767) and verificationGaps (:928) in one process; each readRunTranscripts call re-resolves transcriptPaths(env) three times (transcripts.ts:452, via readTranscripts:375, via transcriptDirsForRun:413) and re-runs priorSessionIds -> readSessions -> runEpochMs (a second statSync of a plan whose mtime the caller already holds). On a resumed run with dozens of large prior transcripts the whole prior-attempt evidence tree is read and JSON-parsed repeatedly; bounded per review, but a single up-front read pays it once.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

(Late reply — this thread was opened under my own account by the automated review and my triage filter skipped self-authored comments; a GraphQL sweep surfaced the batch.) Declining the memoization, deliberately, and saying why: a cache keyed on planPath+mtime would be stale in exactly the read-after-write shape this pipeline uses (records appear DURING a run while the plan mtime is deliberately frozen), so it would trade a real correctness property for a constant-factor read. The honest fix is threading one read through compose-review's three call sites, which is a separate change with its own review surface. What this round did take from the observation: the per-directory pipeline is now shared (recordsIn), so the duplicated work is at least one implementation.

@wenshao wenshao left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

⚠️ Downgraded from Request changes to Comment: self-PR; PR head advanced during review: reviewed fd669f4, PR is now at ebc3c11 (+1 unreviewed commit(s) touching 5 file(s)). Partially reviewed — gaps disclosed.

Not reviewed: reverse audit — did not converge within the reverse-audit round cap of 5.

Test Plan (not a blocker): lib/run-ledger.test.tsno such file or directory; lib/transcripts.test.tsno such file or directory; lib/retirement.test.tsno such file or directory.

中文说明

⚠️ 已从请求修改降级为评论:self-PR; PR head advanced during review: reviewed fd669f4, PR is now at ebc3c11 (+1 unreviewed commit(s) touching 5 file(s))。 仅完成部分审查,审查缺口已披露。

未审查:反向审计——在 5 轮的反审轮数上限内未收敛。

Test Plan(非阻断):lib/run-ledger.test.tsno such file or directory; lib/transcripts.test.tsno such file or directory; lib/retirement.test.tsno such file or directory

— gpt-5.6-sol via Qwen Code /review (v0.21.11)

Comment thread packages/cli/src/commands/review/cost-ledger.ts
Comment thread packages/cli/src/commands/review/cost-ledger.ts
Comment thread packages/cli/src/commands/review/lib/coverage.ts Outdated
Comment thread packages/cli/src/commands/review/lib/coverage.ts
Comment thread packages/cli/src/commands/review/lib/coverage.ts
Comment thread packages/cli/src/commands/review/lib/retirement.ts Outdated
Comment thread packages/cli/src/commands/review/lib/transcripts.ts
Comment thread packages/cli/src/commands/review/lib/run-ledger.ts Outdated
Comment thread packages/cli/src/commands/review/lib/run-ledger.ts Outdated
Comment thread packages/cli/src/commands/review/lib/transcripts.ts

@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.

Partially reviewed — gaps disclosed.

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 agent…": none — all checks above completed within budget.; "You are review agent reverse-audit — Reverse audit agent…": none — all checks above completed within budget.; "You are review agent reverse-audit — Reverse audit agent…": none — all checks above completed within budget.; "You are review agent reverse-audit — Reverse audit agent…": none — all checks I opened were completed within budget.; "You are review agent reverse-audit — Reverse audit agent…": none — all checks I opened were completed within budget., and 7 more.

Not reviewed: reverse audit — did not converge within the reverse-audit round cap of 5.

Test Plan (not a blocker): lib/run-ledger.test.tsno such file or directory; lib/transcripts.test.tsno such file or directory; lib/retirement.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 agent…"none — all checks above completed within budget."You are review agent reverse-audit — Reverse audit agent…"none — all checks above completed within budget."You are review agent reverse-audit — Reverse audit agent…"none — all checks above completed within budget."You are review agent reverse-audit — Reverse audit agent…"none — all checks I opened were completed within budget."You are review agent reverse-audit — Reverse audit agent…"none — all checks I opened were completed within budget.,另有 7 条。

未审查:反向审计——在 5 轮的反审轮数上限内未收敛。

Test Plan(非阻断):lib/run-ledger.test.tsno such file or directory; lib/transcripts.test.tsno such file or directory; lib/retirement.test.tsno such file or directory

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

Comment thread packages/cli/src/commands/review/cost-ledger.ts
Comment thread packages/cli/src/commands/review/lib/coverage.ts Outdated
Comment thread packages/cli/src/commands/review/lib/transcripts.ts Outdated
Comment thread packages/cli/src/commands/review/cost-ledger.ts
Comment thread packages/cli/src/commands/review/cost-ledger.ts
Comment thread packages/cli/src/commands/review/lib/run-ledger.test.ts
Comment thread packages/cli/src/commands/review/lib/run-ledger.test.ts
Comment thread packages/cli/src/commands/review/lib/run-ledger.test.ts
Comment thread packages/cli/src/commands/review/check-coverage.test.ts Outdated
Comment thread packages/cli/src/commands/review/lib/transcripts.ts

@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.

Partially reviewed — gaps disclosed.

Not reviewed: reverse audit — did not converge within the reverse-audit round cap of 5.

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 agent…": none — all checks I opened were completed within budget (~10 of ~46 calls).; "You are review agent reverse-audit — Reverse audit agent…": none — the walk finished within budget.; "Context: this PR lays groundwork for resuming interrupted…": none — all checks above completed within budget.; "You are review agent reverse-audit — Reverse audit agent…": none — all checks above completed within budget.; "You are review agent reverse-audit — Reverse audit agent…": none — all checks above completed within budget., and 4 more.

Test Plan (not a blocker): lib/run-ledger.test.tsno such file or directory; lib/transcripts.test.tsno such file or directory; lib/retirement.test.tsno such file or directory.

中文说明

仅完成部分审查,审查缺口已披露。

未审查:reverse audit — did not converge within the reverse-audit round cap of 5。

未审查: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 agent…"none — all checks I opened were completed within budget (~10 of ~46 calls)."You are review agent reverse-audit — Reverse audit agent…"none — the walk finished within budget."Context: this PR lays groundwork for resuming interrupted…"none — all checks above completed within budget."You are review agent reverse-audit — Reverse audit agent…"none — all checks above completed within budget."You are review agent reverse-audit — Reverse audit agent…"none — all checks above completed within budget.,另有 4 条。

Test Plan(非阻断):lib/run-ledger.test.tsno such file or directory; lib/transcripts.test.tsno such file or directory; lib/retirement.test.tsno such file or directory

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

Comment thread packages/cli/src/commands/review/lib/coverage.ts Outdated
Comment thread packages/cli/src/commands/review/lib/transcripts.ts Outdated
Comment thread packages/cli/src/commands/review/cost-ledger.ts Outdated
Comment thread packages/cli/src/commands/review/cost-ledger.ts Outdated
Comment thread packages/cli/src/commands/review/lib/transcripts.ts
Comment thread packages/cli/src/commands/review/compose-review.ts
Comment thread packages/cli/src/commands/review/lib/layer-audit-gate.ts Outdated
Comment thread packages/cli/src/commands/review/compose-review.ts
Comment thread packages/cli/src/commands/review/cost-ledger.ts Outdated
Comment thread packages/cli/src/commands/review/lib/coverage.ts

@doudouOUC doudouOUC 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.

Reviewed. 1 Suggestion-level finding(s) could not be anchored to a changed line and were dropped; nothing further to act on here.

Not explored to full depth (tool budget reached): chunk 6: none — all checks completed within the budget.; This PR (review-resume/1-session-ledger) lays the groundw...: none — all deletions were examined from the available diff..

Not reviewed: reverse audit — no auditor was launched with a prompt this skill builds — the pass that hunts what the rest of the review missed ran, if at all, without the method its brief carries.

Test Plan (not a blocker): lib/run-ledger.test.tsno such file or directory; lib/transcripts.test.tsno such file or directory; lib/retirement.test.tsno such file or directory.

中文说明

已审查。 1 条建议级发现无法锚定到改动行,已丢弃;此处无需进一步处理。

未探索到全部深度(达到工具调用预算):chunk 6:none — all checks completed within the budget.;This PR (review-resume/1-session-ledger) lays the groundw...:none — all deletions were examined from the available diff.

未审查:反向审计——没有审计 agent 是用本 skill 构建的 prompt 启动的——负责搜寻评审其余部分遗漏问题的这道工序,即便运行过,也缺失了 brief 承载的方法。

Test Plan(非阻断):lib/run-ledger.test.tsno such file or directory; lib/transcripts.test.tsno such file or directory; lib/retirement.test.tsno such file or directory

— deepseek-v4-flash via Qwen Code /review (v0.21.10)

@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.

Partially reviewed — gaps disclosed.

Not reviewed: reverse audit — did not converge within the reverse-audit round cap of 5.

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

Not reviewed: build-and-test — Test (macos-latest, Node 22.x) and Test (windows-latest, Node 22.x) were skipped in CI (merge-queue-only jobs); the Windows run is where the new chmod tests will fail (see the inline Critical).

Not explored to full depth (tool budget reached): chunk 6: running run-ledger.test.ts under vitest — the review worktree has no node_modules (parent checkout has none either); a full install + build was not attempte…; "You are review agent reverse-audit — Reverse audit agent…": none — all planned checks completed (~9 of ~45 calls).; "You are review agent reverse-audit — Reverse audit agent…": none — all checks I started were completed within budget.; "You are review agent reverse-audit — Reverse audit agent…": none — all checks above completed within budget.; "You are review agent reverse-audit — Reverse audit agent…": none — all planned checks completed within budget., and 2 more.

Test Plan (not a blocker): lib/run-ledger.test.tsno such file or directory; lib/transcripts.test.tsno such file or directory; lib/retirement.test.tsno such file or directory.

中文说明

仅完成部分审查,审查缺口已披露。

未审查:reverse audit — did not converge within the reverse-audit round cap of 5。

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

未审查:build-and-test — Test (macos-latest, Node 22.x) and Test (windows-latest, Node 22.x) were skipped in CI (merge-queue-only jobs); the Windows run is where the new chmod tests will fail (see the inline Critical)。

未探索到全部深度(达到工具调用预算):chunk 6:running run-ledger.test.ts under vitest — the review worktree has no node_modules (parent checkout has none either); a full install + build was not attempte…"You are review agent reverse-audit — Reverse audit agent…"none — all planned checks completed (~9 of ~45 calls)."You are review agent reverse-audit — Reverse audit agent…"none — all checks I started were completed within budget."You are review agent reverse-audit — Reverse audit agent…"none — all checks above completed within budget."You are review agent reverse-audit — Reverse audit agent…"none — all planned checks completed within budget.,另有 2 条。

Test Plan(非阻断):lib/run-ledger.test.tsno such file or directory; lib/transcripts.test.tsno such file or directory; lib/retirement.test.tsno such file or directory

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

Comment thread packages/cli/src/commands/review/cost-ledger.ts Outdated
Comment thread packages/cli/src/commands/review/cost-ledger.ts
Comment thread packages/cli/src/commands/review/lib/transcripts.test.ts Outdated
Comment thread packages/cli/src/commands/review/cost-ledger.test.ts Outdated
Comment thread packages/cli/src/commands/review/lib/run-ledger.ts Outdated
Comment thread packages/cli/src/commands/review/check-coverage.test.ts Outdated
Comment thread packages/cli/src/commands/review/lib/retirement.test.ts
Comment thread packages/cli/src/commands/review/lib/layer-audit-gate.test.ts
Comment thread packages/cli/src/commands/review/fetch-pr.test.ts Outdated
Comment thread packages/cli/src/commands/review/cost-ledger.test.ts
Groundwork for resuming an interrupted review run. fetch-pr now records
its session id in a run ledger beside the prompt records and stamps the
plan with a sha256 of the captured diff bytes; a new readRunTranscripts
reads the harness transcripts of every session the ledger names (the
current session's contract is unchanged), so coverage, retirement, the
layer-audit gate and the cost ledger can credit an earlier attempt's
certified work. Coverage counts such agents as recoveredAgents and
discloses the continuity; the cost ledger folds the earlier sessions'
main loop and agents into the run's totals and reports priorSessions.

A run that never resumes sees no behavior change: with no ledger entries
every reader reduces to its previous single-session read. Fabricated
ledger entries grant nothing — they only name directories under the
harness's own subagents tree, and credit still requires the existing
content-shaped pairing (verbatim-delivered prompt, opened brief, diff
reads).
Ledger.main drops its stale | null (computeLedger throws before folding
when the current chat holds no above-floor record, so the renderLedger
guard was dead code); recordResume/recordRestart gain dedup guards so a
caller-side retry cannot double-count toward the resume cap or fake a
second restart; fetch-pr's ledger append is now wired-tested (called
with the plan path, after the plan write); and the layer-audit gate's
real reader gets its own prior-session tests, including the
discriminating partial-walk shape that separates invisible from
credited.
…pping

Two Criticals from the automatic review. repo-context's enrichment
rewrite advanced the plan's mtime — the run epoch every fence keys on —
which orphaned the session-ledger entry fetch-pr had appended an
orchestrator turn earlier: on a resume the prior attempt's transcripts
were invisible and the feature silently re-ran everything in the
primary medium/high flow. The rewrite now restores the plan's mtime
(enrichment is not a re-capture), pinned by a test that backdates the
plan and asserts the mtime survives the command.

The continuity disclosure also moved off the capping disclose()
channel: compose-review folds every disclosure into the
unreviewed-dimension cap and the "Not reviewed:" rendering, so any
resumed run that recovered work was permanently downgraded to COMMENT
and its reused work called not-reviewed — unrepairably, since the prior
records never leave the ledger. Coverage now only counts
recoveredAgents, and compose-review renders its own continuity block
beside the other disclosed-but-not-capping notes (deferred lint,
test-plan rulings), on every verdict including Approve. A new compose
test pins the clean resumed run at APPROVE with the note and without
the partial-review opener.
Round-2 blockers on the ledger PR. The currentDirOptional escape is now
narrow on both axes — only ENOENT (the error's cause travels with it) and
only when the run ledger actually names prior sessions — and it is
passed at every reader that runs before the resumed session launches
anything: coverageFromTranscripts, verificationGaps, the retirement
scheduler and the layer-audit gate, which without it failed OPEN on the
layers a prior attempt never walked.

Prior-session directories now come from one guarded accessor that skips
a symlinked subagents/<id>, so a planted link cannot feed foreign
transcripts to the transcript union or to the cost ledger, which reads
file content with no certification step. The ledger also clamps each
prior chat to the moment the next attempt began (an interrupted CLI
session that kept serving unrelated turns was billed as review cost),
discloses an unreadable prior agent dir instead of silently flooring it,
and sums each session's own span for wall time rather than the envelope
across the dead gap.

Coverage's Uncoverable declaration takes the supersession guard its
sibling flags already had: a stale declaration deleted live coverage
post-loop and order-independently, so no relaunch could ever clear the
cap; a record that declared a chunk unreachable is also no longer
counted as recovered. The ledger read path deduplicates and applies the
session-id charset gate to the resume marker too.
It is a strict subset of the live credit bars, not "the same bar": no
drift rescues, because the count reports reuse and caps nothing, so it
should under-claim rather than vouch for a delivery the pairing could
not fully confirm.
…xactly

Linux CI caught what macOS hid. Restoring the plan's mtime through
`utimesSync` costs a unit in the last place on ext4 — 1786717283911.999 goes
back as 1786717283911.998 — because `mtimeMs` is a double over a nanosecond
clock and `utimesSync` takes seconds as a double. Restoring from float seconds
rather than a `Date` narrowed the drift from whole milliseconds to a fraction
of a microsecond, but the ledger compared EXACTLY, so the run's own plan still
read as a different one and every session entry was still dropped. The resume
ledger emptied itself on the filesystem the CI runs on.

The fence now allows a millisecond. That is orders of magnitude above the
representation noise and orders of magnitude below the thing it must still
separate: a fresh capture of the same PR rewrites the plan seconds or minutes
later, never inside the same millisecond.

The two epoch tests compared exactly for the same reason and are now on the
same tolerance — and the sub-millisecond one no longer infers the property
from a timestamp at all: it writes the ledger entry `fetch-pr` would have
written, runs the enrichment, and asserts the entry is still visible to the
continuation. That is the consequence the timestamp was standing in for, and
it cannot pass on a filesystem whose round trip loses the fraction.
// below (`for (const id of uncoverable) covered.delete(id)` is
// post-loop and order-independent), so no compliant relaunch can ever
// clear it and the verdict caps on lines this run demonstrably read.
if (!superseded(rec, chunk)) uncoverable.add(chunk);

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Mutual supersession erases a genuine Uncoverable: declaration (and this fires on non-resumed runs too, so it is not the "zero behavior change" the description claims).

superseded() here only asks whether another record for the same chunk was launched verbatim and read the diff — it does not ask whether that other record itself declared the chunk uncoverable. Concrete scenario: chunk 5 really is unreachable (a huge generated hunk), agent A is launched verbatim, reads the diff, and returns Uncoverable: chunk 5; the skill's relaunch guidance produces agent B for chunk 5, also verbatim, also diffToolCalls > 0, which returns the same Uncoverable: chunk 5.

  • superseded(A, 5) → B qualifies → true → not added.
  • superseded(B, 5) → A qualifies → true → not added.

uncoverable ends up empty. Both records then continue, so neither contributes coverage, and chunk 5 falls into missingChunks — the honest disclosure is replaced by a "no agent covered this chunk, launch one" remediation. Worse, if any whole-diff agent's merged ranges span chunk 5, covered.add(5) runs and the body reports as reviewed a chunk two agents said they could not reach — exactly the self-contradiction the for (const id of uncoverable) covered.delete(id) comment below says this file exists to prevent.

The sibling gapsSuperseded already solves this exact class by requiring the superseding record to be gap-free itself; the same narrowing is needed here (a superseding record must not itself declare the chunk uncoverable).

// DIFFERENT plan and drops every session entry, silently emptying the
// resume ledger on a filesystem that keeps finer time than a `Date` can
// hold. Passing `mtimeMs / 1000` preserves the fraction.
utimesSync(planPath, planStat.atimeMs / 1000, planStat.mtimeMs / 1000);

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Unguarded utimesSync turns a best-effort restore into a hard command failure.

The next four lines make the intent explicit: a restore that does not land is a warning, not a failure. But a utimesSync that throws never reaches that warning — it propagates straight out of runRepoContext, and by then both outPath and the enriched planPath have already been written successfully. utimes can fail with EPERM when the process does not own the file (a plan written by another uid, e.g. a container/runner uid switch), on some network/CI mounts, and on Windows when the file is briefly held open by an indexer/AV — none of which are reasons to abort Step 1b after the enrichment already succeeded.

Wrap it and fall through to the existing warning:

Suggested change
utimesSync(planPath, planStat.atimeMs / 1000, planStat.mtimeMs / 1000);
try {
utimesSync(planPath, planStat.atimeMs / 1000, planStat.mtimeMs / 1000);
} catch {
// A restore we could not perform is the same fact as one that did not
// land: warned below, never fatal — the enrichment already succeeded.
}

// and opened the brief it points at. Territory alone let a compliant
// sibling satisfy the floor while a hand-written auditor supplied the
// receipt — the launch is exactly what the built record proves.
const built = readRecordedPrompts(planPath);

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

The new delivered() requirement makes the gate hard-cap all six layers whenever the prompt-record dir is gone but the transcripts survive.

readRecordedPrompts returns an empty Map on any readdir failure (catch { return out; }), so built.size === 0 makes delivered() return false for every auditor, corroborated is [], and control falls to if (identityMatched > 0) return { unreviewed: owedLayerDimensions([]) }every layer dimension owed, capping the verdict.

Those two trees are independent: the prompt records live in promptRecordDir(planPath) under the review tmp dir (which cleanup.ts sweeps, and which the workflow sweeps at start-of-run), while the transcripts live under <projectDir>/subagents/. So a re-compose after Step 9 cleanup, or a compose against a plan whose tmp record dir was swept, now produces a fully-capped modeled-system review where before the transcript + territory reads alone corroborated. That is the same class of "could not MEASURE" the catch below deliberately fails open on, but it slips past it because nothing throws.

Suggest treating an empty built as "cannot measure delivery" and keeping the old corroboration bar in that case, rather than owing all six layers.

Minor, same block: readRecordedPrompts(planPath) is called without since, while every other site that pairs records against transcripts (e.g. scheduleReverseAuditRound) passes the plan mtime; the no-arg form is documented as the obligations reader.

// A review that starts inside an EXISTING session must not bill that
// session's earlier turns; its ledger entry says when it became an attempt.
const own = currentSessionEntry(planPath, env);
const floorMs = own === null ? planMs : Math.max(planMs, own.atMs);

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

A ledger entry's atMs can silently disable the whole cost ledger.

readSessions only bounds atMs above by runCeilingMs() = Date.now() + 2000, and currentSessionEntry deliberately applies no authorization gate (unlike priorSessionEntries, which goes through resumeAuthorized). So an entry for the current session stamped up to ~2s in the future — a hand-written one in promptRecordDir, which run-ledger.ts's own comment concedes is "a directory the orchestrator can reach" — pushes floorMs past every timestamp in the chat file. readUsage then drops all of them, mainEvents.length === 0 fires the throw below, and runCostLedger catches it and prints cost-ledger unavailable — …: the review's accounting vanishes with no indication that it was suppressed rather than broken.

The old code used only the plan's mtime, which the orchestrator cannot move. Consider clamping the raised floor, e.g. Math.min(own.atMs, Date.now()) or refusing an entry stamped after planMs + RUN_EPOCH_SLACK_MS for this purpose — the legitimate case (fetch-pr appends milliseconds after writing the plan; fetch-pr --resume appends at resume time) is unaffected either way.

endsAtMs: number | null;
}> = [];
for (const { sessionId, endsAtMs } of priorSessionEntries(planPath, env)) {
const dir = join(projectDir, 'subagents', sessionId);

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Path built from the raw ledger id, but the harness writes the directory under a sanitized name.

The harness's own accessor is getSubagentSessionDir(projectDir, sessionId) = join(projectDir, 'subagents', sanitizeFilenameComponent(sessionId)), and sanitizeFilenameComponent is value.replace(/[^a-zA-Z0-9_-]/g, '_') — it maps . to _. SESSION_ID_RE in run-ledger.ts explicitly admits . ("room for prefixed variants"), so a session id like resume.1 is written by the harness to subagents/resume_1 while this lookup goes to subagents/resume.1. lstatSync throws, the continue fires, and every prior directory is dropped — the entire resume-evidence path silently reads nothing and the cost ledger silently omits that session.

Fail-safe in direction, but it makes the feature a no-op for any id outside [A-Za-z0-9_-]. Building the path with the exported sanitizeFilenameComponent (or narrowing SESSION_ID_RE to the sanitizer's own charset) removes the divergence. Note transcriptPaths above has the same gap for the current session — worth fixing in one place.

const entries = readSessions(planPath);
if (entries.some((e) => e.sessionId === id)) return;
const mtime = planMtimeMs(planPath);
entries.push({

@wenshao wenshao Aug 14, 2026

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

When planMtimeMs() returns null this writes an entry that can never be read back.

readSessions hard-requires the field — typeof (e as SessionEntry).planMtimeMs === 'number' && planMtime !== null && … — with no fallback (the doc block above planMtimeMs says so explicitly, and that "entries without the field never exist in the wild"). But this spread produces exactly such an entry whenever statSync(planPath) failed. The write is guaranteed dead: on the next read the entry is dropped, and worse, the next appendRunSession rewrites the file from the filtered list, so the id is silently lost rather than retried.

If the plan cannot be stat'ed the append has nothing useful to record, so an early if (mtime === null) return; before the push is both honest and equivalent in effect — and lets the ...(mtime === null ? {} : …) spread collapse to a plain planMtimeMs: mtime.

@wenshao wenshao left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

⚠️ Downgraded from Request changes to Comment: self-PR; CI failing: review-pr, Test (ubuntu-latest, Node 22.x); PR head advanced during review: reviewed b0bee29, PR is now at ca7c4ae (+1 unreviewed commit(s) touching 3 file(s)); drafted anchors are not at risk. Partially reviewed — gaps disclosed.

Not reviewed: reverse audit — did not converge within the reverse-audit round cap of 5.

Test Plan (not a blocker): lib/run-ledger.test.tsno such file or directory; lib/transcripts.test.tsno such file or directory; lib/retirement.test.tsno such file or directory.

中文说明

⚠️ 已从请求修改降级为评论:self-PR; CI failing: review-pr, Test (ubuntu-latest, Node 22.x); PR head advanced during review: reviewed b0bee29, PR is now at ca7c4ae (+1 unreviewed commit(s) touching 3 file(s)); drafted anchors are not at risk。 仅完成部分审查,审查缺口已披露。

未审查:反向审计——在 5 轮的反审轮数上限内未收敛。

Test Plan(非阻断):lib/run-ledger.test.tsno such file or directory; lib/transcripts.test.tsno such file or directory; lib/retirement.test.tsno such file or directory

— qwen-code via Qwen Code /review (v0.21.11)

Comment thread packages/cli/src/commands/review/lib/coverage.ts Outdated
Comment thread packages/cli/src/commands/review/lib/layer-audit-gate.ts Outdated
Comment thread packages/cli/src/commands/review/lib/retirement.ts
Comment thread packages/cli/src/commands/review/lib/transcripts.ts
Comment thread packages/cli/src/commands/review/repo-context.ts

@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.

Partially reviewed — gaps disclosed.

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

Not reviewed: build-and-test — Test (macos-latest, Node 22.x) and Test (windows-latest, Node 22.x) were skipped in CI (merge-queue-only jobs).

Not explored to full depth (tool budget reached): chunk 9: executed run of run-ledger.test.ts via vitest — node_modules is absent in the worktree and the parent checkout, and a monorepo npm install exceeds the chu…; "agent reverse-audit (round 1)": none — all checks I started were completed (~13 tool calls)..

Not reviewed: reverse audit — did not converge within the reverse-audit round cap of 5.

Test Plan (not a blocker): lib/run-ledger.test.tsno such file or directory; lib/transcripts.test.tsno such file or directory; lib/retirement.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。

未审查:build-and-test — Test (macos-latest, Node 22.x) and Test (windows-latest, Node 22.x) were skipped in CI (merge-queue-only jobs)。

未探索到全部深度(达到工具调用预算):chunk 9:executed run of run-ledger.test.ts via vitest — node_modules is absent in the worktree and the parent checkout, and a monorepo npm install exceeds the chu…"agent reverse-audit (round 1)"none — all checks I started were completed (~13 tool calls).

未审查:反向审计——在 5 轮的反审轮数上限内未收敛。

Test Plan(非阻断):lib/run-ledger.test.tsno such file or directory; lib/transcripts.test.tsno such file or directory; lib/retirement.test.tsno such file or directory

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

Comment thread packages/cli/src/commands/review/lib/layer-audit-gate.ts Outdated
Comment thread packages/cli/src/commands/review/lib/coverage.ts
Comment thread packages/cli/src/commands/review/cost-ledger.ts
Comment thread packages/cli/src/commands/review/lib/run-ledger.ts Outdated
Comment thread packages/cli/src/commands/review/repo-context.ts Outdated
Comment thread packages/cli/src/commands/review/lib/coverage.ts Outdated
Comment thread packages/cli/src/commands/review/repo-context.ts Outdated
Comment thread packages/cli/src/commands/review/lib/run-ledger.test.ts Outdated
Comment thread packages/cli/src/commands/review/lib/run-ledger.ts Outdated
Comment thread packages/cli/src/commands/review/lib/transcripts.test.ts Outdated

@wenshao wenshao left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Reviewed. Suggestions are inline.

Not explored to full depth (tool budget reached): "agent reverse-audit (round 4)": none — the chunk was read in full, no check was cut short.; chunk 8: executed test run of run-ledger.test.ts (blocked by broken worktree node_modules, not by findings).

Test Plan (not a blocker): lib/run-ledger.test.tsno such file or directory; lib/transcripts.test.tsno such file or directory; lib/retirement.test.tsno such file or directory.

中文说明

已审查。 建议见行内评论。

未探索到全部深度(达到工具调用预算):"agent reverse-audit (round 4)"none — the chunk was read in full, no check was cut short.;chunk 8:executed test run of run-ledger.test.ts (blocked by broken worktree node_modules, not by findings)

Test Plan(非阻断):lib/run-ledger.test.tsno such file or directory; lib/transcripts.test.tsno such file or directory; lib/retirement.test.tsno such file or directory

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

Comment thread packages/cli/src/commands/review/check-coverage.test.ts Outdated
Comment thread packages/cli/src/commands/review/cost-ledger.test.ts
Comment thread packages/cli/src/commands/review/cost-ledger.test.ts
Comment thread packages/cli/src/commands/review/cost-ledger.test.ts
Comment thread packages/cli/src/commands/review/cost-ledger.ts
Comment thread packages/cli/src/commands/review/cost-ledger.ts
Comment thread packages/cli/src/commands/review/lib/run-ledger.test.ts
Comment thread packages/cli/src/commands/review/lib/run-ledger.ts
Comment thread packages/cli/src/commands/review/lib/run-ledger.ts Outdated
…gate

The resume cap reads two counters so that deleting one cannot reset it. The
second counter never worked: it came from `priorSessionIds`, which is gated on
the calling session already appearing in the resume marker, and that entry is
written only after a ruling passes — so at ruling time the ledger term was
structurally zero, and deleting `resume.json` reset the cap the ledger was
supposed to backstop.

The gate protects EVIDENCE — it stops a session that was never granted a
resume from reading another attempt's transcripts. A count is not evidence: it
says how many times this review has been picked up and nothing about what any
attempt did. So the count gets its own ungated accessor, running through the
same `readSessions` fences as everything else, and the cap can be wired to it.

@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.

Partially reviewed — gaps disclosed.

Unresolved, please confirm:

  • [Critical] R2-2 descriptor-discipline family (comments 3782037614, 3782037617, 3782037623, 3782037612, 3782037608): the full no-follow descriptor handling asked for is deliberately staged to stacked PR #9163 per the author's replies; this diff hardens only the two ledger files (readLedgerFile), so the fuller mechanism cannot be verified from this commit
  • [Critical] R1-5 verification-digest matching (comment 3777311839): author declined as pre-existing (verify keys are per-findings-digest and the record dir was never fenced); whether a stale digest's verifier can satisfy the floor is not fully traceable from this diff alone

Not reviewed: reverse audit — stopped after round 2 without two consecutive dry rounds: round 2 surfaced one new Suggestion (R6-11 — verified, then demoted to low-confidence and kept terminal-only); both rounds' remaining returns re-derived claims already carried by the PR's open threads.

Not explored to full depth (tool budget reached): "agent reverse-audit (round 1)": none — but note two adjacent checks outside my chunk I deliberately left to their owners: the symlink/FIFO/ noFollow write-path tests and the lstatSync → read….

Test Plan (not a blocker): lib/run-ledger.test.tsno such file or directory; lib/transcripts.test.tsno such file or directory; lib/retirement.test.tsno such file or directory.

中文说明

仅完成部分审查,审查缺口已披露。

未决,请确认:共 2 条(原文未翻译,列表见上方英文部分)。

未审查:reverse audit — stopped after round 2 without two consecutive dry rounds: round 2 surfaced one new Suggestion (R6-11 — verified, then demoted to low-confidence and kept terminal-only); both rounds' remaining returns re-derived claims already carried by the PR's open threads。

未探索到全部深度(达到工具调用预算):"agent reverse-audit (round 1)"none — but note two adjacent checks outside my chunk I deliberately left to their owners: the symlink/FIFO/ noFollow write-path tests and the lstatSync → read…

Test Plan(非阻断):lib/run-ledger.test.tsno such file or directory; lib/transcripts.test.tsno such file or directory; lib/retirement.test.tsno such file or directory

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

Comment thread packages/cli/src/commands/review/lib/coverage.ts
Comment thread packages/cli/src/commands/review/lib/run-ledger.ts Outdated
Comment thread packages/cli/src/commands/review/lib/transcripts.ts Outdated
Comment thread packages/cli/src/commands/review/lib/transcripts.ts Outdated
Comment thread packages/cli/src/commands/review/lib/coverage.ts
Comment thread packages/cli/src/commands/review/lib/run-ledger.test.ts Outdated
Comment thread packages/cli/src/commands/review/lib/run-ledger.ts Outdated
Comment thread packages/cli/src/commands/review/repo-context.test.ts
Comment thread packages/cli/src/commands/review/repo-context.ts Outdated
Comment thread packages/cli/src/commands/review/repo-context.ts
…e owed pins

R1-5, deferred two rounds ago and now closed: `verificationGaps` took the best
delivery across every `verify--<digest>` key ever recorded, so a verifier that
succeeded against an EARLIER findings list satisfied the floor for a list it
never opened. The behaviour predates the resume work, but widening the record
set to prior sessions is what made it reachable in practice, so it lands here
rather than as the follow-up it was parked as. The keys are narrowed to the
newest digest before ranking, dated by the digest's own findings file — shard
keys of one digest land within a moment of each other, a previous list's are a
round older — and keys with no findings file stay in, because they cannot be
dated and also cannot reach `ok`, so they only ever make the verdict stricter.

Two invariants acknowledged in earlier threads now have their probes. The
empty-current-chat refusal deliberately precedes the prior-session fold —
prior events must not vouch for a broken current recorder — and every refusal
test predated the ledger, so the faithful mutation (prior sessions excuse the
emptiness) shipped green; it now reddens a probe with a healthy prior chat and
an empty current one. The rendered "totals include N earlier session(s)" line
is asserted on the rendered text, where it can be deleted or crash at print
time with every return-value test still green.

And the fixture drift named in review is repaired at both call sites: the
`runLedger` helper with a dead first parameter, and the layer-audit fixture
hardcoding the derived `plan-prompts` name instead of asking
`promptRecordDir`.
Nine Criticals, missed for two rounds because the triage sweep read the first
GraphQL page of review threads and this PR crossed one hundred — the finding
list below is what a paginated read surfaced.

A RETURN is now a fact, not an inference from non-empty text. `finalText`
keeps the last non-empty assistant message, which includes progress narrated
between tool calls — an agent that said "reading the diff now…" and died
carried plausible text that certified coverage and the Step 4/5 floor.
`parseTranscript` marks text with tool traffic after it as progress, and
every certification consumer (liveRecords, certifies, all four supersession
predicates) requires the record to have returned. That last group also closes
the probe-proven fail-open where an unreturned verbatim relaunch suppressed an
honest `Uncoverable:` declaration and earned the chunk off the told-range
presumption, let two honest declarations annihilate into `missingChunks`, and
silenced a prior attempt's `Budget gap:` disclosure as a "genuine repair".

The layer-audit gate no longer treats NAMING the brief as reading it — a grep
whose args contain the path cleared `delivered()` while the auditor never
opened its instructions — and its record read now takes the run-epoch fence
`readRecordedPrompts` documents as mandatory for history readers: without it,
a dead attempt's records beside the stable plan path let a hand-launched stale
prompt corroborate a run whose builder never emitted an auditor, a fail-open
on the gate's own withhold-only invariant.

Retirement receipts classify only from auditors that READ the cumulative
findings list their prompt points at: the comparison against known findings is
the audit's method, and two skipping receipts retired a chunk on a comparison
nobody made.

Transcript ownership is now checked for the current session, not only prior
ones — a foreign-stamped file planted under the current directory was trusted
as current evidence, `since` blind to it (a copy gets a fresh mtime) and the
prompt pairing deterministic. And the session-directory lookup applies the
harness's own filename sanitizer: the harness writes `subagents/<sanitized>`
while the ledger's charset admits dots, so a dotted id read a path that does
not exist and every reader silently saw nothing.

`appendRunSession` refuses to write an entry when the plan cannot be stat'ed —
`readSessions` hard-requires the field, so the entry was a guaranteed-dead
write that silently lost the id on the next append's rewrite. `repo-context`
captures the plan's identity before the providers run and refuses to write if
it moved — a concurrent capture otherwise had this run's stale contents
restored under the other run's epoch, whose ledger then passed an exact fence
against a plan it never described.

Every fix is pinned, and each pin was mutation-verified against the exact
regression the finding names.
@wenshao

wenshao commented Aug 15, 2026

Copy link
Copy Markdown
Collaborator Author

@qwen-code /review

@github-actions

github-actions Bot commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

Qwen Code review request accepted. Review is queued in workflow run.

@wenshao wenshao left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

⚠️ Downgraded from Request changes to Comment: self-PR. ⚠️ This run could not certify that any of this diff was reviewed.

Not reviewed: the entire diff — no agent reported covering it; nobody read it.

Not reviewed: reverse audit — the original run completed both adversarial rounds only for chunks 7, 12, and 13; the full 15-chunk convergence pair was not run, and the HEAD-drift restart re-reviewed only the 12-file increment rather than repeating the full reverse-audit fan-out.

Not reviewed: build-and-test — the full packages/cli suite timed out after 300 seconds in the original run; on the final HEAD, six targeted review test files passed (263 tests), but the full CLI suite and skipped Integration Tests (CLI, No Sandbox), macOS Node 22, and Windows Node 22 CI dimensions were not rerun locally.

Not reviewed: the executable-script lint — the report is stale or its diff could not be verified; re-run qwen review script-lint.

Not reviewed: every dimension — none of the 21 required agents is on record as launched with a prompt this skill built, so this diff was reviewed, if at all, from prompts the run wrote for itself: no record shows the severity bar, the finding format or this project's own rules reaching an agent.

Not reviewed: verification and reverse audit — neither the verifier nor the reverse auditor was launched with a prompt this skill builds — the posted findings were ruled on, and the misses the rest of the review left were hunted, if at all, without the briefs this skill certifies against.

中文说明

⚠️ 已从请求修改降级为评论:self-PR。 ⚠️ 本次运行无法证明这个 diff 的任何部分经过了审查。

未审查:整个 diff——没有 agent 报告覆盖过这部分,也没有人读过它。

未审查:reverse audit — the original run completed both adversarial rounds only for chunks 7, 12, and 13; the full 15-chunk convergence pair was not run, and the HEAD-drift restart re-reviewed only the 12-file increment rather than repeating the full reverse-audit fan-out。

未审查:build-and-test — the full packages/cli suite timed out after 300 seconds in the original run; on the final HEAD, six targeted review test files passed (263 tests), but the full CLI suite and skipped Integration Tests (CLI, No Sandbox), macOS Node 22, and Windows Node 22 CI dimensions were not rerun locally。

未审查:the executable-script lint — the report is stale or its diff could not be verified; re-run qwen review script-lint

未审查:所有维度——21 个必需 agent 中没有任何一个有记录表明是用本 skill 构建的 prompt 启动的,这个 diff 即便被审查过,也是基于这次 run 自行编写的 prompt:没有记录表明严重级别标准、发现格式或本项目自己的规则到达过任何 agent。

未审查:验证与反向审计——验证 agent 与反向审计 agent 都没有用本 skill 构建的 prompt 启动——发布的发现即便被裁定过、评审其余部分遗漏的问题即便被搜寻过,也都缺失了本 skill 用以认证的 brief。

— gpt-5.6-sol via Qwen Code /review (v0.21.11)

Comment thread packages/cli/src/commands/review/lib/run-ledger.ts Outdated
R5-1: all three bounded reads sliced the untrusted array BEFORE validating it,
so sixty-four malformed entries at the front consumed the whole cap and hid
every real entry behind them — `sessionEntryCount` read zero and the resume
cap reset, which is precisely the attack the count exists to survive; the
marker's resumes and restarts had the same shape, resetting the once-per-review
restart bound the same way.

Filter first, cap the survivors. The validation cost the original order was
avoiding is bounded by MAX_LEDGER_BYTES — the file cannot hold enough entries
for the cheap field checks to matter — while the cap's actual job, bounding
the per-entry directory reads consumers pay, is done by capping what is
RETURNED, and that stands either way. Pinned from both sides: seventy junk
entries ahead of one valid entry count as one, and seventy valid entries
still cap at sixty-four.
The behavioural fixes. Session identity now folds on the PATH the id becomes
— sanitized and lowercased — everywhere at once: dedup, the current-session
exclusion, the marker's dedup, and both write-side duplicate checks. Folding
on the raw id left every alias the filesystem or the harness sanitizer
collapses (case variants, trailing dots, sanitized '.') open as a second
session wearing the first one's evidence. Read-time dedup keeps the EARLIEST
duplicate rather than the first in file order, which handed an out-of-order
hand-written duplicate the session's identity and erased the window between
the real start and itself from billing.

The resume marker takes the same exact plan fence as the session ledger — the
window alone is inexact by its own slack, and a previous run's resumes
surviving a rewrite arrive with the cap already spent — and restarts dedupe
for the same reason resumes always did. Marker writes stamp the plan mtime
and refuse when the plan cannot be stat'ed, like the ledger's own dead-write
refusal. Appends refuse to rewrite over a ledger that EXISTS as a regular
file but could not be read: rewriting from the empty fallback on a transient
fault erased every previously recorded entry, and the guard is keyed on the
file's type so the pinned self-healing over planted symlinks stands.

The layer-audit gate's record fence is the STRICT plan mtime, not the slacked
epoch — record mtimes and the plan's come off the same clock, and the slack
would re-admit a dead attempt's records written in the two seconds before a
re-capture. The epoch JSDoc now says which artifacts key on which fence
instead of claiming one definition covers all. The cost refusal message names
the boundary that actually filtered (this attempt's start, on a resumed run).
repo-context's three stale comments now match the shipped tolerance fence,
and the run-ledger module header claims containment only for the certifying
readers — cost is accounting, and the honest claim stops there.

Twenty-odd guarantees that could be deleted with the suite green are now
pinned, each mutation-verified: the byte and entry caps, the per-session
authorization property, currentSessionEntry at all, the charset gate at read
WITH a valid fence, both write-side guards observed through the raw file, the
marker's schemaVersion/case-dedup/noFollow/swallow properties, the symmetric
plan fence, the earliest-duplicate rule, the prior-side ownership and window
clamps, the byte-vs-string diff hash (an invalid-UTF-8 buffer, which no
string fixture can express), the whole-diff recovery branch (exact count),
the key-shaped recovery count, the Step 4/5 refusal by name, the
`contributed > 0` guard, two-prior-session folding, the handoff boundary
operators, the gate's territory clause and identity filter on fixtures that
pass every OTHER clause, and repo-context's write-skip through the real
serializer.
@QwenLM QwenLM deleted a comment from danialzivehdadr Aug 15, 2026
@danialzivehdadr

This comment has been minimized.

@wenshao

wenshao commented Aug 15, 2026

Copy link
Copy Markdown
Collaborator Author

@qwen-code /review

qwen-code-dev-bot added a commit that referenced this pull request Aug 15, 2026
A bot-directed review_requested run joined the shared PR group on the
requested reviewer's identity, but whether it reviews anything is decided
later by authorize on the requester's write permission. A requester without
write produces a guaranteed all-skipped run that can still supersede a
lifecycle run sitting PENDING behind a still-terminating review — the same
lost-review race as #9091, through the bot-request door. Gate the shared
group on the action alone so no review_requested run can supersede a
pending lifecycle run; an authorized bot request still reviews immediately,
at the cost of an occasional duplicate review of the same head.

@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.

Partially reviewed — gaps disclosed.

Unresolved, please confirm:

  • [Critical] R2-2 descriptor-discipline family (5 threads: 3782037614, 3782037617, 3782037623, 3782037612, 3782037608) — the full single-descriptor containment fix is staged to stacked PR #9163 (still OPEN at this review; author states merge order #9091#9092#9153#9163, 'nothing ships without it'); the fuller mechanism cannot be verified from this commit

Not reviewed: reverse audit — stopped at the 5-round cap without two consecutive dry rounds; every round reported new findings.

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

Not reviewed: build-and-test — Test (macos-latest, Node 22.x) was skipped in CI; unit suites ran locally on Linux only.

Not reviewed: build-and-test — Test (windows-latest, Node 22.x) was skipped in CI; unit suites ran locally on Linux only.

Not explored to full depth (tool budget reached): "agent reverse-audit (round 2)": none — the currentDigestKeys function that consumes DIGEST_WINDOW_MS (coverage.ts:1615–1636) sits in the next chunk; I read it only far enough to confirm th….

Test Plan (not a blocker): lib/run-ledger.test.tsno such file or directory; lib/transcripts.test.tsno such file or directory; lib/retirement.test.tsno such file or directory.

中文说明

仅完成部分审查,审查缺口已披露。

未决,请确认:共 1 条(原文未翻译,列表见上方英文部分)。

未审查:reverse audit — stopped at the 5-round cap without two consecutive dry rounds; every round reported new findings。

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

未审查:build-and-test — Test (macos-latest, Node 22.x) was skipped in CI; unit suites ran locally on Linux only。

未审查:build-and-test — Test (windows-latest, Node 22.x) was skipped in CI; unit suites ran locally on Linux only。

未探索到全部深度(达到工具调用预算):"agent reverse-audit (round 2)"none — the currentDigestKeys function that consumes DIGEST_WINDOW_MS (coverage.ts:1615–1636) sits in the next chunk; I read it only far enough to confirm th…

Test Plan(非阻断):lib/run-ledger.test.tsno such file or directory; lib/transcripts.test.tsno such file or directory; lib/retirement.test.tsno such file or directory

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

Comment thread packages/cli/src/commands/review/lib/coverage.ts Outdated
Comment thread packages/cli/src/commands/review/lib/run-ledger.ts Outdated
Comment thread packages/cli/src/commands/review/lib/run-ledger.ts Outdated
Comment on lines +1832 to +1833
const old = new Date(Date.now() - 600_000);
utimesSync(findingsFilePath(p, 'verify--old11111111'), old, old);

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] R7-20: The digest-dating guards are under-pinned in two directions: (1) the only two-digest fixture makes the current digest non-compliant — the ACCEPTANCE direction (a compliant current-digest verifier clears the floor while an older digest's records sit beside it) is pinned nowhere; (2) nothing pins that the window is anchored to the NEWEST list's mtime rather than to wall clock.

Failure scenario: Mutant A — keep only the newest-dated key, or refuse multi-generation key sets — ships green and, in the ordinary multi-round flow, demotes actually-verified findings (unverifiedFindings flips true). Mutant B — d.mtimeMs >= Date.now() - DIGEST_WINDOW_MS — ships green and breaks the zero-launch continuation this PR exists for: a resumed attempt reading its own list >5s after it was written filters out every datable verify key → bestDelivery([]) → spurious re-verification owed.

Witness:

Mutant A: companion probe FAILED while the shipped OLDER test stayed green. Mutant B (from-now window): 579/579 green across all 8 review suites; the companion fails under the mutant and passes on clean code.

Suggested fix: Add an acceptance companion: two compliant verify digests, backdate the older one's findings file (the same -600_000 utimesSync), assert ok === true — pins both the acceptance direction and the newest-mtime anchor against both mutants.

中文说明

[Suggestion] R7-20:digest 定年栅栏在两个方向上都欠钉扎:(1) 唯一的双 digest fixture 让当前 digest 不合规——接纳方向(合规的当前 digest 验证者通过门槛,而旧 digest 的记录并存)没有任何测试覆盖;(2) 没有任何测试钉住窗口是以最新列表的 mtime 为锚,而非墙上时钟。

故障场景: 变异 A——只保留最新的可定期键,或拒绝多代键集合——绿色通过,并在普通多轮流程中把实际已验证的发现降级(unverifiedFindings 翻转为 true)。变异 B——d.mtimeMs >= Date.now() - DIGEST_WINDOW_MS——绿色通过,且破坏本 PR 为之而生的零发射续跑:续跑尝试在列表写入 5 秒后读取自己的列表,会把每个可定期的 verify 键过滤掉 → bestDelivery([]) → 欠下一笔莫须有的重新验证。

证据: 变异 A:伴随探针失败,而已交付的 OLDER 测试保持绿色。变异 B(from-now 窗口):全部 8 个 review 套件 579/579 绿;伴随测试在该变异下失败、在干净代码上通过。

建议修复: 新增接纳方向的伴随测试:两个合规的 verify digest,把较旧者的 findings 文件回溯(同样的 -600_000 utimesSync),断言 ok === true——同时钉住接纳方向与“最新 mtime 为锚”,可杀死两种变异。

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

Comment on lines +2380 to +2383
const ids = [
step45(p, 'verify', { returned: false }),
step45(p, 'reverse-audit', { returned: false }),
];

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] R7-28: Both prior-session verificationGaps fixtures are symmetric (all agents returned, or all died), so the PER-RECORD granularity of the liveRecords refusal is pinned only by construction; a session-granular refactor (drop a prior session's evidence wholesale when ANY of its agents died) ships green.

Failure scenario: An interrupted attempt whose reverse-audit returned cleanly but whose verifier died mid-flight: per-record behavior owes only verification (gaps subject ['verification']); a session-granular mutant drops the returned reverse-audit record too, both steps read not-launched, and verificationGaps emits the combined 'verification and reverse audit' gap — the resumed run re-spends a completed whole-diff reverse audit on the strength of a sibling's death, and the gap text names the wrong role.

Witness:

Session-granular mutant of liveRecords: Tests 579 passed (579); mixed probe under the mutant gives subjects ['verification and reverse audit'] where per-record behavior returns ['verification']; probe passes on clean code.

Suggested fix: Add a mixed fixture: step45(p, 'verify', { returned: false }) + step45(p, 'reverse-audit') (returned), both moved to S0 with a ledger; assert gaps.map(g => g.subject) toEqual(['verification']) and unverifiedFindings true.

中文说明

[Suggestion] R7-28:两个先前会话 verificationGaps fixture 都是对称的(要么全部返回、要么全部死亡),因此 liveRecords 拒绝的逐记录粒度只在构造上成立;会话粒度的重构(任一会话有任何 agent 死亡就整体丢弃该会话的证据)绿色通过。

故障场景: 被中断的尝试中 reverse-audit 干净返回、验证者却中途死亡:逐记录行为只欠验证(gaps subject 为 ['verification']);会话粒度的变异体会把已返回的 reverse-audit 记录也丢弃,两步都读作 not-launched,verificationGaps 输出合并的 'verification and reverse audit' gap——续跑运行仅因兄弟的死亡就重新花费一次已完成的 whole-diff 反向审计,且 gap 文本点名了错误的角色。

证据: liveRecords 的会话粒度变异体:Tests 579 passed (579);混合探针在该变异体下 subjects 为 ['verification and reverse audit'],而逐记录行为返回 ['verification'];探针在干净代码上通过。

建议修复: 新增混合 fixture:step45(p, 'verify', { returned: false }) + step45(p, 'reverse-audit')(已返回),两者连同 ledger 移入 S0;断言 gaps.map(g => g.subject) toEqual(['verification']) 且 unverifiedFindings 为 true。

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

Comment on lines +288 to +293
// Prior attempts first, the current one stamped slightly later: each
// attempt's window closes when the next one opened, and a fixture that
// stamped them together would fence out transcripts written "now".
const now = Date.now();
sessionIds.forEach((id, i) => {
appendRunSession(

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] R7-27-3: Fixture-stall flake family (this file): planWithLedger captures now and closes the prior session's window at now+1500, but the prior-session transcript files are written at wall clock AFTERWARD — a >1.5s stall fences the prior records out via recordsIn's until clamp. Same pattern confirmed in layer-audit-gate.test.ts and retirement.test.ts.

Failure scenario: Under CI load, 'unions prior-session transcripts, marked fromPriorSession' and 'absorbs a missing CURRENT dir when asked' fail intermittently with the prior record missing; during the same stall, 'refuses a foreign-stamped transcript in a PRIOR directory' is dropped by the WINDOW instead of the ownership guard, so it passes without discriminating the guard it exists to pin.

Suggested fix: Write the prior-session transcript files BEFORE capturing now (or utimesSync them back into the window), as the sibling fixtures that avoid this already do.

中文说明

[Suggestion] R7-27-3:Fixture 停顿 flake 家族(本文件):planWithLedger 捕获 now 并把先前会话窗口关闭在 now+1500,但先前会话的 transcript 文件是之后才以墙上时钟写入——超过 1.5 秒的停顿会使先前记录被 recordsIn 的 until 钳制挡掉。同样的模式已在 layer-audit-gate.test.ts 与 retirement.test.ts 确认。

故障场景: 在 CI 负载下,“unions prior-session transcripts, marked fromPriorSession”与“absorbs a missing CURRENT dir when asked”会因先前记录缺失而间歇性失败;同一次停顿中,“refuses a foreign-stamped transcript in a PRIOR directory”被窗口而非所有权关卡挡掉,于是它通过了,却没有区分它本要钉住的关卡。

建议修复: 在捕获 now 之前写入先前会话的 transcript 文件(或用 utimesSync 把它们回拨进窗口),仿照已经避开此问题的同类 fixture。

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

Comment on lines +535 to +539
const dir = join(
projectDir,
'subagents',
sanitizeFilenameComponent(sessionId),
);

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] R7-25: The prior-session sanitized-dir lookup (sanitizeFilenameComponent in priorSessionDirs) is pinned by no test: every fixture uses dot-free ids where the sanitizer is identity — deleting the call ships green. The ledger charset explicitly admits dots, and the current-session side of the identical lookup IS tested ('S.dot').

Failure scenario: A dotted prior session id under a raw-join regression hits lstatSync ENOENT one underscore away from the real records; the catch-continue skips that attempt silently — recovered evidence is lost (work re-owed) and the cost ledger omits the attempt's agent cost without even its non-ENOENT WARNING (which fires only on readdir faults of an EXISTING dir).

Witness:

Mutation run (sanitizer removed from priorSessionDirs): full review suite green, Tests 2645 passed | 4 skipped. Dotted-prior-id probe (ledger id 'S0.1', harness dir 'S0_1') goes red under the mutation: expected [ 'a1' ] to deeply equal [ 'a0', 'a1' ].

Suggested fix: Add a prior-session analogue of the 'S.dot' test: ledger a dotted prior id, create subagents/ with its transcripts, and assert priorSessionDirs/readRunTranscripts find it.

中文说明

[Suggestion] R7-25:先前会话的带消毒目录查找(priorSessionDirs 中的 sanitizeFilenameComponent)没有任何测试钉住:所有 fixture 都使用无点 id(此时消毒是恒等映射)——删除该调用绿色通过。账台字符集明确允许点号,而同一查找的当前会话侧测试('S.dot')。

故障场景: 在 raw-join 回归下,带点的先前会话 id 会在距离真实记录一个下划线处命中 lstatSync ENOENT;catch-continue 静默跳过该尝试——恢复的证据丢失(工作被欠下重做),成本台账遗漏该尝试的 agent 成本,甚至连非 ENOENT WARNING 都没有(它只对存在目录的 readdir 故障触发)。

证据: 变异运行(从 priorSessionDirs 移除消毒):整个 review 套件绿,Tests 2645 passed | 4 skipped。带点先前 id 探针(账台 id 'S0.1',harness 目录 'S0_1')在该变异下变红:expected [ 'a1' ] to deeply equal [ 'a0', 'a1' ]

建议修复: 新增 'S.dot' 测试的先前会话版本:把一个带点的先前 id 记入账台,创建 subagents/<消毒后> 及其 transcripts,断言 priorSessionDirs/readRunTranscripts 能找到它。

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

Comment on lines +1057 to +1059
// The rewrite itself still happened: the plan carries no context here,
// but the write path ran (content is re-serialized).
expect(() => JSON.parse(readFileSync(planPath, 'utf8'))).not.toThrow();

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] R7-14: The mtime-preservation test's comment claims 'The rewrite itself still happened … the write path ran', but the test never asserts the rewrite actually ran — a regression that skips the write when content changed passes both mtime tests.

Failure scenario: Measured mitigation: the feared regression (enrichment silently never persisted) does NOT ship green — five pre-existing persistence tests assert readJson(planPath)).toHaveProperty('repositoryContext', …) and fail under both never-write and inverted-condition mutations (5 failed | 32 passed). The residual is a comment-vs-assertion gap, not an unprotected suite.

Witness:

Surgical never-write mutation (if (false)): 5 failed | 32 passed — all five failures pre-existing persistence tests; both new mtime tests stay green, proving they do not pin the rewrite.

Suggested fix: Assert the re-serialized content in test 1, e.g. expect(readFileSync(planPath, 'utf8')).toBe(stringifyPlanReport({ files: [{ path: 'src/a.ts' }] })) — one line removes the gap.

中文说明

[Suggestion] R7-14:mtime 保持测试的注释声称“重写确实发生了……写入路径执行了”,但测试从未断言重写真的执行过——一个在内容变化时跳过写入的回归可以通过两个 mtime 测试。

故障场景: 实测的缓解:所担心的回归(enrichment 静默地从未持久化)并不会绿色通过——五个既有持久化测试断言 readJson(planPath)).toHaveProperty('repositoryContext', …),在“从不写入”与“条件取反”两种变异下均失败(5 failed | 32 passed)。残留的是注释与断言之间的落差,而非套件失去保护。

证据: 精准的“从不写入”变异(if (false)):5 failed | 32 passed——五个失败全部是既有持久化测试;两个新 mtime 测试保持绿色,证明它们并未钉住重写。

建议修复: 在 test 1 中断言重新序列化后的内容,例如 expect(readFileSync(planPath, 'utf8')).toBe(stringifyPlanReport({ files: [{ path: 'src/a.ts' }] }))——一行即可消除落差。

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

Comment on lines +424 to +427
if (
Math.abs(planStat.mtimeMs - planStatBefore.mtimeMs) > 1 ||
planStat.ino !== planStatBefore.ino
) {

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] R7-13: The compare-and-refuse check's inode disjunct is exercised by no test: the abort test's racer does an in-place writeFileSync (same inode) plus a 60s mtime move, firing only the mtime disjunct.

Failure scenario: Mutation — delete planStat.ino !== planStatBefore.ino — ships the whole repo-context suite green (37/37). The shape the disjunct exists for — rename-replacement with restored mtime, which this diff's own enrichment write produces on every content change (atomic rename = new inode, float utimesSync restore within ~µs) — reopens with no red signal.

Witness:

Mutation run (inode disjunct deleted): Test Files 1 passed (1) / Tests 37 passed (37); baseline on unmodified code also 37/37.

Suggested fix: Add a racer test that swaps the plan with mtime held: write a sibling file, utimesSync it to the captured original mtime, renameSync it over the plan (inode changes, mtime unchanged), and expect the 'changed while repository context was being computed' throw.

中文说明

[Suggestion] R7-13:compare-and-refuse 检查的 inode 分支没有被任何测试演练:abort 测试的竞争者做的是就地 writeFileSync(同 inode)+ 60 秒 mtime 移动,只触发 mtime 分支。

故障场景: 变异——删除 planStat.ino !== planStatBefore.ino——repo-context 全套件绿色通过(37/37)。该分支存在的目标形态——mtime 已恢复的 rename 替换(本 diff 自己的 enrichment 写入在每次内容变更时都会产生:原子 rename = 新 inode,float utimesSync 在 ~µs 内恢复)——将无任何红色信号地重新打开。

证据: 变异运行(删除 inode 分支):Test Files 1 passed (1) / Tests 37 passed (37);未改动代码的基线同样 37/37。

建议修复: 新增一个保持 mtime 的替换竞争测试:写一个兄弟文件,utimesSync 到捕获的原始 mtime,renameSync 覆盖 plan(inode 变、mtime 不变),断言抛出 'changed while repository context was being computed'。

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

Comment on lines +466 to +468
if (Math.abs(statSync(planPath).mtimeMs - planStat.mtimeMs) > 1) {
writeStderrLine(
`WARNING: could not restore the plan's timestamp at ${planPath}; ` +

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] R7-26: The post-utimesSync restore-verification and its WARNING — the only disclosure for a moved run epoch — is pinned by no positive test; the suite's only reference is a not.toContain assertion, which passes harder when the block is deleted.

Failure scenario: Mutation — delete or invert the if-block — ships repo-context.test.ts green (37/37). If a future restore regression drifts the epoch past the 1ms fence, the run's pre-enrichment evidence (fetch-pr's session entry, prompt records, transcripts) is fenced out and the one diagnostic designed for exactly that outcome never prints — recreating the silent-orphaning failure this PR was written to fix, silently.

Witness:

Mutation run (verification block deleted): Tests 37 passed (37); restored → green again. The warning string appears only at the emission site and the single negative assertion.

Suggested fix: Add a positive test that forces a restore drift (e.g. stub utimesSync to a timestamp >1ms off) and asserts the WARNING is emitted; keep the existing negative assertion as the other half of the boundary.

中文说明

[Suggestion] R7-26:utimesSync 之后的恢复校验及其 WARNING——运行 epoch 移动时的唯一披露——没有任何正向测试钉住;套件中唯一的引用是一个 not.toContain 断言,删除该块后它反而更容易通过。

故障场景: 变异——删除或取反该 if 块——repo-context.test.ts 绿色通过(37/37)。若未来恢复逻辑回归、使 epoch 漂移超过 1ms 栅栏,该运行 enrichment 之前的证据(fetch-pr 的会话条目、prompt 记录、transcripts)会被栅栏挡在外面,而为这一结果专门设计的唯一诊断永远不会输出——静默地重现本 PR 要修复的静默孤儿化故障。

证据: 变异运行(删除校验块):Tests 37 passed (37);恢复后再次全绿。警告字符串只出现在发射点与唯一的负向断言处。

建议修复: 新增正向测试,强制恢复漂移(如把 utimesSync 打桩为偏差 >1ms 的时间戳)并断言 WARNING 被输出;保留既有负向断言作为边界的另一半。

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

…igest keys

Three probe-proven blockers, all in code earlier rounds added.

The bounded read capped in FILE order before sorting and deduplicating, so 64
valid hand-written duplicates at the front evicted every genuine entry — and
the next append rewrote the file from the filtered survivors, laundering the
plant permanently; with 64 distinct entries the just-appended current entry
(always file-last) was the one dropped, nulling the cost floor. The pipeline
is now sort → dedup → cap, each step defeating the payload the next one
cannot.

`priorSessionEntries` classified every non-current entry as prior, so a
twice-resumed run read as the MIDDLE attempt received its own successor as a
"prior session" with an unbounded window — its later unrelated activity
folded into this attempt's bill, its records entered the evidence pool with
no ceiling. Prior now means the PREFIX strictly before this session's own
entry, and the last prior's window closes at this session's start.

`currentDigestKeys` kept undatable verify keys on the premise that they
cannot reach ok — false for the write-failure fallback, whose inlined list
leaves no findings file and no pointer, making the findings-read floor
vacuously true. A stale pointerless verifier could vouch for a newer dated
list no verifier opened. Undatable keys are now dropped once any dated key
exists; with no dated key at all they are the only evidence and stay.

`sessionEntryCount` gains an exclude-current option for the cap's ledger term
(consumed by the stack's fetch-pr): counting the session's own entry in
either term refuses a same-session retry of the last permitted resume, whose
fresh fall-through then destroys the very state being resumed.
pchaganti pushed a commit to pchaganti/qx-qwen-code that referenced this pull request Aug 15, 2026
…group (QwenLM#9210)

* fix(ci): keep no-op review requests out of the PR review concurrency group

Co-authored-by: Qwen-Coder <[email protected]>

* test(ci): pin precheck-pr bot login to the review constants

* test(ci): share one bot-login extraction across review-workflow suites

* fix(ci): route every review request to a per-run concurrency group

A bot-directed review_requested run joined the shared PR group on the
requested reviewer's identity, but whether it reviews anything is decided
later by authorize on the requester's write permission. A requester without
write produces a guaranteed all-skipped run that can still supersede a
lifecycle run sitting PENDING behind a still-terminating review — the same
lost-review race as QwenLM#9091, through the bot-request door. Gate the shared
group on the action alone so no review_requested run can supersede a
pending lifecycle run; an authorized bot request still reviews immediately,
at the cost of an occasional duplicate review of the same head.

---------

Co-authored-by: Qwen-Coder <[email protected]>
Co-authored-by: qwen-code-dev-bot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants