Skip to content

ci: run Windows merge queue tests on ECS - #8386

Merged
yiliang114 merged 36 commits into
mainfrom
codex/use-windows-ecs-runner
Aug 5, 2026
Merged

ci: run Windows merge queue tests on ECS#8386
yiliang114 merged 36 commits into
mainfrom
codex/use-windows-ecs-runner

Conversation

@yiliang114

Copy link
Copy Markdown
Collaborator

What this PR does

Routes the merge-queue Windows test to the validated self-hosted ecs-win runner by default while preserving the existing MAINTAINER_ECS_RUNNER_DISABLED=true fallback to windows-2022. It keeps the required check name unchanged and aligns the job with the PowerShell, locale, temporary-directory, line-ending, memory, and workspace-test configuration already proven by the Windows runner validation workflow.

Why it's needed

The Windows ECS runner has completed its onboarding smoke and workspace compatibility validation. Assigning the existing merge-queue Windows test is the first production CI workload, reducing reliance on the hosted Windows pool without widening the workflow trigger or permissions.

Reviewer Test Plan

How to verify

Confirm workflow lint passes. When the PR enters the merge queue, verify Test (windows-latest, Node 22.x) is assigned to ecs-qwen-runner-win-hk-1, retains its existing check name, and completes the workspace test suites. Setting MAINTAINER_ECS_RUNNER_DISABLED=true should route subsequent runs back to windows-2022.

Evidence (Before & After)

Before: the merge-queue Windows test always selected windows-2022.

After: the workflow selects the self-hosted, Windows, X64, and ecs-win labels unless the existing ECS kill switch is enabled. The same environment and workspace test command passed on the ECS runner in https://github.com/QwenLM/qwen-code/actions/runs/30631136482.

Tested on

OS Status
🍏 macOS actionlint and yamllint
🪟 Windows ✅ Existing ECS validation run; migrated merge-queue job pending
🐧 Linux N/A

Environment (optional)

macOS local workflow validation; Windows ECS runner ecs-qwen-runner-win-hk-1.

Risk & Scope

  • Main risk or tradeoff: merge-queue code now executes on a persistent Windows self-hosted runner, extending the repository's existing Linux ECS trust model. Keep this runner dedicated and free of release or signing secrets; use the shared kill switch for immediate hosted fallback.
  • Not validated / out of scope: the migrated job only runs for merge_group, so its final routing is verified when this PR enters the merge queue. Additional Windows build and release jobs remain hosted.
  • Breaking changes / migration notes: none.

Linked Issues

N/A - follow-up to the Windows runner onboarding in #8008 and compatibility validation in #8050.

中文说明

本 PR 做了什么

默认将合并队列中的 Windows 测试调度到已经验证通过的自托管 ecs-win runner,同时保留现有的 MAINTAINER_ECS_RUNNER_DISABLED=true 开关,以便回退到 windows-2022。必需检查的名称保持不变,并将正式 job 对齐到 Windows runner 验证 workflow 已经跑通的 PowerShell、区域设置、临时目录、换行符、内存和 workspace 测试配置。

为什么需要

Windows ECS runner 已经完成上线冒烟和 workspace 兼容性验证。让它承接现有的合并队列 Windows 测试,是第一项正式 CI 负载,可以减少对 GitHub 托管 Windows 池的依赖,同时不扩大 workflow 的触发范围或权限。

Reviewer 测试计划

如何验证

确认 workflow lint 通过。当 PR 进入合并队列时,确认 Test (windows-latest, Node 22.x) 被调度到 ecs-qwen-runner-win-hk-1,检查名称保持不变,并完成 workspace 测试套件。设置 MAINTAINER_ECS_RUNNER_DISABLED=true 后,后续运行应回退到 windows-2022

前后对比证据

之前:合并队列 Windows 测试始终选择 windows-2022

之后:除非开启现有 ECS kill switch,否则 workflow 会选择 self-hostedWindowsX64ecs-win 标签。同样的环境和 workspace 测试命令已经在 ECS runner 上通过:https://github.com/QwenLM/qwen-code/actions/runs/30631136482。

已测试平台

OS 状态
🍏 macOS actionlintyamllint
🪟 Windows ✅ 已有 ECS 验证通过;迁移后的合并队列 job 待运行
🐧 Linux N/A

环境

macOS 本地 workflow 验证;Windows ECS runner ecs-qwen-runner-win-hk-1

风险与范围

  • 主要风险或权衡:合并队列代码现在会在持久化 Windows 自托管 runner 上执行,这是仓库现有 Linux ECS 信任模型的扩展。该 runner 应保持专用且不保存发布或签名密钥;需要立即回退时使用共享 kill switch。
  • 未验证或范围外:迁移后的 job 只在 merge_group 事件运行,因此最终调度要等本 PR 进入合并队列后验证。其他 Windows 构建和发布任务继续使用托管 runner。
  • 破坏性变更或迁移说明:无。

关联 Issue

不适用;这是 #8008 Windows runner 上线和 #8050 兼容性验证的后续步骤。

@qwen-code-ci-bot

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

Copy link
Copy Markdown
Collaborator

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

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

@qwen-code-ci-bot

Copy link
Copy Markdown
Collaborator

Thanks for the PR!

Template looks good ✓

Problem: this is a CI infrastructure improvement, not a bug fix — the Windows ECS runner has completed onboarding validation (#8008, #8050, and the linked Actions run), and this assigns it its first production workload. The motivation is clear and evidenced.

Direction: aligned. This follows the exact same pattern already established for the Linux ECS runners in this workflow — conditional runs-on with the MAINTAINER_ECS_RUNNER_DISABLED kill switch. Natural next step after the Windows runner validation.

Size: not applicable — .github/workflows/ci.yml is not a core path. +20/−5 in a single file.

Approach: the scope is tight. Every edit serves the stated goal: runner selection, self-hosted environment config, shell/encoding alignment, and the Windows-specific test command that skips bash-only test:scripts. Nothing to cut.

Risk: no elevated risk signals. The job only triggers on merge_group events, so the blast radius is limited to the merge queue. The kill switch provides immediate fallback.

Moving on to code review. 🔍

中文说明

感谢贡献!

模板完整 ✓

问题:这是一个 CI 基础设施改进,不是 bug 修复——Windows ECS runner 已完成上线验证(#8008#8050 及关联的 Actions 运行),本 PR 为其分配第一项正式负载。动机清晰且有证据支撑。

方向:对齐。与本 workflow 中 Linux ECS runner 已建立的模式完全一致——条件式 runs-onMAINTAINER_ECS_RUNNER_DISABLED 开关。是 Windows runner 验证后的自然下一步。

规模:不适用——.github/workflows/ci.yml 不是核心路径。单文件 +20/−5。

方案:范围紧凑。每处编辑都服务于既定目标:runner 选择、自托管环境配置、shell/编码对齐、以及跳过 bash-only test:scripts 的 Windows 专用测试命令。没有可砍的部分。

风险:无升级风险信号。该 job 仅在 merge_group 事件触发,影响范围限于合并队列。开关提供即时回退。

进入代码审查 🔍

Qwen Code · qwen3.8-max-preview

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

@qwen-code-ci-bot

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

Copy link
Copy Markdown
Collaborator

Code Review

Independent proposal: for "route the Windows merge-queue test to the validated ECS runner with fallback", I would change runs-on to a conditional expression using the existing MAINTAINER_ECS_RUNNER_DISABLED kill switch, add a self-hosted environment setup step (autocrlf, temp dirs), pin the shell to PowerShell, skip the bash-only test:scripts, set NODE_OPTIONS explicitly, and add a timeout. That is exactly what this PR does — no simpler path missed.

Findings: no blockers. A few observations, all positive:

  • The runs-on expression omits the fork-PR guard that the Linux job carries (head.repo.full_name == github.repository). This is correct — the job's if already restricts it to merge_group events, where fork code never executes. Adding the guard would be dead logic.
  • The Configure self-hosted Windows test environment step is properly gated on runner.environment == 'self-hosted', so the windows-2022 fallback path is unaffected.
  • Switching from npm run test:ci (root orchestrator) to npm run test:ci --workspaces --if-present --parallel correctly bypasses test:scripts (bash-only) while still running all workspace test suites. The NODE_OPTIONS env var replaces what cross-env would have set in the root script.
  • Label casing ("Windows", "X64" vs Linux's "linux", "x64") matches the runner's registered labels per the validation workflow.

Testing

This is a CI-only change with no user-visible behavior — real-scenario testing is N/A.

CI signal for 118f43f0:

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

Check Conclusion
Classify PR ✅ success
Desktop Shell (ubuntu-22.04) ✅ 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,失败项排在最前。

The Windows test is skipped as expected — it only runs on merge_group events, so its routing will be verified when this PR enters the merge queue. The Ubuntu suite is still running; no failures so far.

中文说明

代码审查

独立方案: 对于"将 Windows 合并队列测试路由到已验证的 ECS runner 并保留回退",我会:用现有 MAINTAINER_ECS_RUNNER_DISABLED 开关改写 runs-on 条件表达式、添加自托管环境配置步骤(autocrlf、临时目录)、固定 shell 为 PowerShell、跳过 bash-only 的 test:scripts、显式设置 NODE_OPTIONS、并加超时。PR 的做法与此完全一致——没有更简路径被遗漏。

发现: 无阻塞项。几点观察,均为正面:

  • runs-on 表达式省略了 Linux job 中的 fork PR 守卫(head.repo.full_name == github.repository)。这是正确的——job 的 if 已限制为 merge_group 事件,fork 代码不会执行。加守卫是死逻辑。
  • 自托管环境配置步骤正确地以 runner.environment == 'self-hosted' 为条件,windows-2022 回退路径不受影响。
  • npm run test:ci(根编排器)切换到 npm run test:ci --workspaces --if-present --parallel,正确绕过了 bash-only 的 test:scripts,同时仍运行所有 workspace 测试套件。NODE_OPTIONS 环境变量替代了根脚本中 cross-env 的设置。
  • 标签大小写("Windows", "X64" vs Linux 的 "linux", "x64")与验证 workflow 中 runner 注册的标签一致。

测试

这是纯 CI 变更,无用户可见行为——真实场景测试不适用。

118f43f0 的 CI 信号:Ubuntu 套件仍在运行中,目前无失败。Windows 测试按预期跳过(仅 merge_group 触发),其路由将在本 PR 进入合并队列时验证。

Qwen Code · qwen3.8-max-preview

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

@qwen-code-ci-bot

Copy link
Copy Markdown
Collaborator

Confidence: 5/5 — clean, minimal CI change by a maintainer that follows the established Linux ECS pattern exactly; would merge without hesitation.

This is the natural next step after the Windows runner validation work. The diff does one thing — routes the merge-queue Windows test to the ECS runner — and does it with the same kill-switch safety net the Linux jobs already have. The environment configuration is properly gated, the test command adaptation for Windows is well-reasoned (skipping bash-only test:scripts while keeping full workspace coverage), and the check name stays unchanged so required-status-check contexts are unaffected.

Nothing to second-guess here. Approval deferred until CI lands green on 118f43f0ba3578b4dc197e297eab719cf0093f93.

中文说明

置信度:5/5 — 维护者提交的干净、最小化 CI 变更,完全遵循已建立的 Linux ECS 模式;毫不犹豫地合并。

这是 Windows runner 验证工作后的自然下一步。diff 只做一件事——将合并队列 Windows 测试路由到 ECS runner——并使用与 Linux job 相同的开关安全网。环境配置正确地加了条件守卫,Windows 测试命令的适配合理(跳过 bash-only 的 test:scripts 同时保留完整 workspace 覆盖),检查名称保持不变所以必需状态检查上下文不受影响。

无需犹豫。批准延迟至 CI 在 118f43f0ba3578b4dc197e297eab719cf0093f93 上全绿后执行。

Qwen Code · qwen3.8-max-preview

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

@wenshao

wenshao commented Aug 2, 2026

Copy link
Copy Markdown
Collaborator

Review: ci: run Windows merge queue tests on ECS

Overview

Routes test_windows (merge-queue-only) to the self-hosted ecs-win runner by default, with the existing MAINTAINER_ECS_RUNNER_DISABLED repo var as a kill switch back to windows-2022. Reuses the runs-on ternary pattern already established by classify_pr (ci.yml:63), keeps the required check name Test (windows-latest, Node 22.x) unchanged, and ports the environment tuning proven by windows-runner-smoke.yml.

The routing mechanics are right: the check context is preserved, permissions are untouched, the trigger surface is not widened, timeout-minutes: 60 is a sensible bound against a stuck persistent runner (the validation run finished in ~13.3 min, so there's a healthy margin), and the ECS validation run is real evidence rather than a claim.

My concerns are not with the routing — they're with the other changes that rode along and that apply to both routing paths.


1. Windows loses the whole scripts/tests suite — including 9 Windows-only tests

-          npm run test:ci
+          # Root test:scripts exercises bash-only workflow scripts; Linux CI covers it.
+          npm run test:ci --workspaces --if-present --parallel

Root test:ci is ... npm run test:ci --workspaces --if-present --parallel && npm run test:scripts. Dropping the second half removes scripts/tests/** from Windows CI entirely, and test_windows is the only place it ever ran on Windows (test:release in release.yml / desktop-release.yml doesn't cover this on a Windows gate).

The justification in the comment doesn't hold up:

  • It's not bash-only. Only ~10 of ~40 files in scripts/tests/ touch bash at all; the remaining ~30 (cli-entry, package-assets, clean-package-build-artifacts, get-release-version, check-i18n, …) are plain Node/vitest and exercise exactly the path/quoting/tar logic that breaks on Windows and nowhere else.
  • install-script.test.js has 9 tests that only ever run on Windowsconst itOnWindows = process.platform === 'win32' ? it : it.skip; (line 47), covering rejects a tampered local archive, rejects unsafe environment-derived install paths, preserves context when npm fallback also fails, and others. Linux CI cannot cover these by construction; after this PR they run nowhere.
  • Someone already tuned this suite for Windows CI. scripts/tests/vitest.config.ts carries: "Several tests in install-script.test.js shell out to node … which on Windows runs a full tar+gzip pass under antivirus inspection. Real runtimes observed on Windows CI: 4780ms / 1666ms / 1079ms … Bump the suite timeout." That comment only exists because this suite runs on the Windows gate today.

If the real blocker is that bash isn't available on ecs-win, the narrower fix is to guard the ~10 bash-dependent files on bash availability (or run them only where bash exists) rather than deleting the suite from the platform. At minimum, keep npm run test:ci on the hosted fallback path so flipping the kill switch restores known-good coverage.

2. The whole job switches from bash to powershell, including the windows-2022 fallback

ci.yml:41-43 sets a workflow-level defaults: run: shell: 'bash', so every run step in test_windows currently executes under bash --noprofile --norc -eo pipefail. The new job-level defaults.run.shell: 'powershell' overrides that for all steps unconditionally — not just when running on ECS.

The concrete consequence is lost failure propagation. With powershell, GitHub sets $ErrorActionPreference = 'stop' (cmdlets only) and exits with $LASTEXITCODE of the last command; a native command failing mid-script does not abort. So in:

node -e "const fs = require('node:fs'); for (const key of ['HOME', 'USERPROFILE']) { ... }"
npm run test:ci --workspaces --if-present --parallel

if the node -e HOME/USERPROFILE bootstrap fails, the step silently continues and the suite runs against a nonexistent HOME — under bash -e that used to fail the step immediately. Same for the four npm config set lines in Configure npm for rate limiting: only the last one's status counts now.

Suggestion: keep shell: 'powershell' scoped to the new self-hosted setup step (which genuinely needs it — the smoke workflow notes pwsh may be absent on the runner) and let the rest inherit the workflow's bash. Git for Windows is installed on ecs-win (the smoke workflow asserts git --version), so Git Bash should be present. If you'd rather keep PowerShell for the whole job, add an explicit if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } after the node -e line, or split it into its own step.

3. The kill switch no longer restores the previous hosted configuration

The PR describes MAINTAINER_ECS_RUNNER_DISABLED=true as "preserving the existing fallback to windows-2022", but the fallback path is now materially different from what runs today: different shell (§2), different test command (§1), plus new NODE_OPTIONS, LC_ALL, and timeout-minutes. If ECS misbehaves and a maintainer flips the switch, they land on an untested configuration rather than the known-good one.

If the ECS-specific tuning is genuinely ECS-specific, gate it on runner.environment == 'self-hosted' the way the new setup step already is, and leave the hosted path byte-for-byte as it is today. That also makes the diff much easier to reason about in an incident.

4. Diverges from the Linux ECS convention documented in the same file

The Linux ECS jobs in this workflow deliberately split Node setup (ci.yml:251-271, 520-540):

# Self-hosted can't reach nodejs.org reliably; reuse the machine's Node.
- name: 'Set up Node.js 22.x (hosted)'
  if: "${{ ... runner.environment == 'github-hosted' }}"
- name: 'Use pre-installed Node.js (self-hosted)'
  if: "${{ ... runner.environment == 'self-hosted' }}"
  # emits an actionable ::error:: naming MAINTAINER_ECS_RUNNER_DISABLED

test_windows runs actions/setup-node with cache: 'npm' unconditionally on the self-hosted runner. The smoke run proves this works today, so it's not a blocker — but it's the exact pattern the Linux jobs exist to avoid, and a cold tool cache plus flaky nodejs.org reachability turns a required merge-queue check red with no actionable error message. Worth either following the split (plus the NPM_CONFIG_CACHE persistent-cache step) or adding a comment explaining why Windows deliberately differs.

5. Minor

  • Missing skip_ci guard. Every other step carries if: "${{ needs.classify_pr.outputs.skip_ci != 'true' }}"; the new Configure self-hosted Windows test environment step only checks runner.environment. On a skip-CI merge-queue entry it still runs, mutating global git config and writing GITHUB_ENV for no reason. Suggest if: "${{ needs.classify_pr.outputs.skip_ci != 'true' && runner.environment == 'self-hosted' }}".
  • Dropped comment. windows-runner-smoke.yml explains that --parallel is a pnpm/lerna flag npm ignores, kept only for parity with the root script. That's the non-obvious half; the version copied here kept the test:scripts line and dropped this one. Worth carrying both over (or neither).
  • $ErrorActionPreference = 'Stop' is present in the smoke workflow's equivalent step but omitted here. It's redundant (the runner sets it) — just noting the delta in case the omission wasn't intentional.

Security & operational notes

  • Running merge-queue code on a persistent self-hosted Windows runner extends the repo's existing Linux ECS trust model, and the PR calls this out honestly. Worth restating: merge_group code is post-approval, but test suites execute arbitrary code, and the runner is not ephemeral. The workspace-hygiene guarantee here rests entirely on actions/checkout's clean and on the runner recreating RUNNER_TEMP per job. Keeping the runner free of release/signing secrets, as stated, is the right call.
  • git config --global core.autocrlf false persists on the machine across jobs — intentional and matching the smoke workflow, but it does mean the runner carries CI-specific global git state.
  • Availability of a required check. ecs-win appears to be backed by a single runner (ecs-qwen-runner-win-hk-1). If it goes offline, the job queues rather than failing over — the merge queue stalls until a maintainer notices and flips a repo var, and timeout-minutes doesn't help because it starts counting after a runner is assigned. Consider a second runner with the same labels, or an alert on queue wait time, before this becomes the only path for a required check.

Summary

Routing, check-name preservation, kill switch, and the validation evidence are solid — §1 is the one I'd consider blocking, since it silently deletes the only Windows execution of scripts/tests (9 Windows-only tests among them) under a rationale that doesn't match the suite's contents. §2 and §3 are about scope: the shell change and the narrowed test command shouldn't apply to the hosted fallback, or the kill switch stops being a safe rollback. §4 and §5 are consistency cleanups.

@github-actions

github-actions Bot commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Code Coverage Summary

Package Lines Statements Functions Branches
CLI 83.45% 83.45% 89.39% 82.83%
Core 87.67% 87.67% 89.27% 86.22%
CLI Package - Full Text Report
-------------------|---------|----------|---------|---------|-------------------
File               | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s 
-------------------|---------|----------|---------|---------|-------------------
All files          |   83.45 |    82.83 |   89.39 |   83.45 |                   
 src               |   84.77 |    80.78 |   88.39 |   84.77 |                   
  cli.ts           |   95.68 |    84.11 |     100 |   95.68 | ...60-561,565-566 
  gemini.tsx       |   72.66 |    76.99 |   80.76 |   72.66 | ...1280-1284,1405 
  ...ractiveCli.ts |   86.49 |    80.46 |   87.93 |   86.49 | ...2926,2932,2994 
  ...liCommands.ts |   89.11 |    85.15 |      90 |   89.11 | ...90,507,541,663 
  ...ActiveAuth.ts |     100 |     87.5 |     100 |     100 | 66-80             
 ...cp-integration |   70.23 |    73.14 |   89.92 |   70.23 |                   
  acpAgent.ts      |   69.91 |    73.01 |   89.96 |   69.91 | ...23,11528-11530 
  authMethods.ts   |      92 |       60 |     100 |      92 | 33-34             
  errorCodes.ts    |       0 |        0 |       0 |       0 | 1-22              
  ...ion-skills.ts |     100 |    88.23 |     100 |     100 | 17,32             
  generation.ts    |    97.1 |    81.25 |     100 |    97.1 | 109,112           
  ...DirContext.ts |     100 |      100 |     100 |     100 |                   
 ...ration/service |   97.04 |    95.71 |   93.33 |   97.04 |                   
  filesystem.ts    |   97.04 |    95.71 |   93.33 |   97.04 | ...21-122,238-239 
 ...ration/session |   90.73 |    86.28 |   95.94 |   90.73 |                   
  Session.ts       |   90.07 |    85.16 |   95.26 |   90.07 | ...9943,9970-9974 
  ...entTracker.ts |    96.8 |    89.36 |      90 |    96.8 | 137-143,221       
  ...stop-guard.ts |     100 |    98.07 |     100 |     100 | 37,127            
  ...eplay-page.ts |    93.1 |    90.72 |     100 |    93.1 | 71,82-85,111-121  
  ...y-replayer.ts |   98.53 |    95.52 |     100 |   98.53 | 238-240           
  index.ts         |       0 |        0 |       0 |       0 | 1-40              
  ...ssionUtils.ts |   89.76 |    87.32 |     100 |   89.76 | ...54-270,326-328 
  tasksSnapshot.ts |    94.3 |     87.5 |     100 |    94.3 | 65-71             
  ...on-tracker.ts |     100 |      100 |     100 |     100 |                   
  types.ts         |     100 |      100 |     100 |     100 |                   
 ...ssion/emitters |   95.79 |    93.52 |   96.66 |   95.79 |                   
  ...ageEmitter.ts |   95.34 |    94.28 |     100 |   95.34 | 52-59             
  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.37 |   89.09 |   89.03 |                   
  ...t-cli-argv.ts |     100 |      100 |     100 |     100 |                   
  protocol.ts      |     100 |      100 |     100 |     100 |                   
  ...sor-client.ts |   80.38 |    72.54 |   76.66 |   80.38 | ...22-626,652-656 
  ...or-process.ts |   96.61 |    89.47 |   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      |   89.43 |    72.18 |   64.51 |   89.43 |                   
  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.59 |      100 |      50 |   98.59 | 82                
  serve.ts         |   87.35 |    66.66 |     100 |   87.35 | ...97,709,725-729 
  sessions.ts      |     100 |      100 |      50 |     100 |                   
  update.ts        |   98.13 |    94.44 |   66.66 |   98.13 | 82-83             
 ...mmands/channel |    88.3 |    87.64 |    90.3 |    88.3 |                   
  channel-cwd.ts   |     100 |      100 |     100 |     100 |                   
  ...l-registry.ts |      80 |    84.61 |      80 |      80 | 37-40,49-52,63-66 
  ...entry-path.ts |      75 |       50 |     100 |      75 | 8-9               
  config-utils.ts  |   95.87 |    96.35 |     100 |   95.87 | ...08-213,271-274 
  configure.ts     |    14.7 |      100 |       0 |    14.7 | 18-21,23-84       
  daemon-worker.ts |    93.9 |    85.33 |   94.11 |    93.9 | ...1211,1218-1219 
  loop-runtime.ts  |   91.66 |      100 |      50 |   91.66 | 15,22             
  ...classifier.ts |   98.49 |    96.51 |     100 |   98.49 | 115-116,161       
  ...tact-store.ts |   93.51 |    87.65 |     100 |   93.51 | ...71,288-289,337 
  pairing.ts       |   72.85 |      100 |      50 |   72.85 | 22-28,57-68       
  pidfile.ts       |   95.55 |       90 |     100 |   95.55 | ...50-251,315-316 
  proxy.ts         |     100 |      100 |     100 |     100 |                   
  reload.ts        |    77.5 |    86.95 |      75 |    77.5 | 72-84,93-97       
  runtime.ts       |   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.82 |    87.82 |   87.09 |   88.82 |                   
  consent.ts       |   72.53 |       90 |   42.85 |   72.53 | ...86-142,157-163 
  disable.ts       |     100 |       90 |     100 |     100 | 30                
  enable.ts        |     100 |    91.66 |     100 |     100 | 38                
  install.ts       |   82.95 |    81.57 |      75 |   82.95 | ...96-199,202-211 
  link.ts          |     100 |      100 |     100 |     100 |                   
  list.ts          |     100 |     90.9 |     100 |     100 | 18                
  new.ts           |     100 |      100 |     100 |     100 |                   
  settings.ts      |   99.15 |      100 |   83.33 |   99.15 | 151               
  sources.ts       |   93.42 |    87.09 |   92.85 |   93.42 | ...4-66,96-98,167 
  uninstall.ts     |   74.57 |       40 |   66.66 |   74.57 | 45-47,60-67,70-73 
  update.ts        |   96.71 |    97.05 |     100 |   96.71 | 114-118           
  utils.ts         |      75 |    55.55 |     100 |      75 | ...27-131,133-137 
 ...les/mcp-server |       0 |        0 |       0 |       0 |                   
  example.ts       |       0 |        0 |       0 |       0 | 1-60              
 ...amples/starter |       0 |        0 |       0 |       0 |                   
  example.ts       |       0 |        0 |       0 |       0 | 1-64              
 src/commands/mcp  |   90.17 |    84.39 |   83.33 |   90.17 |                   
  add.ts           |    99.3 |    96.07 |     100 |    99.3 | 154-155           
  approve.ts       |   76.19 |     87.5 |   66.66 |   76.19 | ...,89-99,114-124 
  list.ts          |   92.59 |    83.87 |      80 |   92.59 | ...62-164,180-181 
  reconnect.ts     |   78.85 |    66.66 |   85.71 |   78.85 | 42-55,169-191     
  remove.ts        |     100 |       80 |     100 |     100 | 21-25             
 ...ommands/review |   86.19 |    87.64 |   87.13 |   86.19 |                   
  agent-prompt.ts  |   91.16 |    92.72 |   96.15 |   91.16 | ...1318,1865-1934 
  base-tree.ts     |   74.87 |    79.16 |   77.77 |   74.87 | ...29-350,352-365 
  capture-local.ts |   68.57 |     90.9 |      75 |   68.57 | 107-111,158-189   
  ...k-coverage.ts |   46.92 |    13.33 |   66.66 |   46.92 | ...35-240,253-263 
  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 |    95.9 |    91.49 |   95.83 |    95.9 | ...1685,1713-1735 
  cost-ledger.ts   |   94.67 |    95.86 |   78.57 |   94.67 | ...00-501,541-551 
  drive.ts         |   72.22 |    88.88 |   72.72 |   72.22 | ...34-469,473-487 
  extract-step.ts  |   91.36 |    90.62 |   88.88 |   91.36 | ...90-707,714-729 
  fetch-pr.ts      |    76.7 |    68.75 |   63.63 |    76.7 | ...95,417,450-455 
  findings.ts      |   89.35 |    89.13 |   95.45 |   89.35 | ...15-918,927-928 
  load-rules.ts    |   26.41 |      100 |   16.66 |   26.41 | ...41-153,155-156 
  mock-provider.ts |   95.44 |    90.25 |   89.47 |   95.44 | 145,690-709       
  parse-args.ts    |   99.32 |    96.42 |     100 |   99.32 | 400,473           
  plan-diff.ts     |   64.04 |      100 |   66.66 |   64.04 | 127-163           
  pr-context.ts    |   81.77 |    80.86 |   92.85 |   81.77 | ...1043,1072-1074 
  presubmit.ts     |   83.75 |    92.72 |   88.88 |   83.75 | ...77-578,655-685 
  ...ish-assets.ts |   77.24 |    82.75 |   71.42 |   77.24 | ...89-535,537-548 
  ...ve-anchors.ts |   77.77 |    88.88 |      75 |   77.77 | ...77-182,194-211 
  run.ts           |   82.16 |    87.12 |   91.66 |   82.16 | ...52,468-516,529 
  save-artifact.ts |   79.13 |    79.68 |   88.23 |   79.13 | ...50-381,383-386 
  script-lint.ts   |   81.14 |    79.23 |   88.88 |   81.14 | ...59-773,775-797 
  submit.ts        |   83.88 |    83.11 |    90.9 |   83.88 | ...66-470,570-606 
  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     |    90.9 |       92 |   89.47 |    90.9 | ...88-789,853-870 
 ...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 |   96.37 |    94.32 |   96.77 |   96.37 |                   
  agent-briefs.ts  |    98.8 |      100 |       0 |    98.8 | 653-654           
  anchors.ts       |     100 |    94.79 |     100 |     100 | ...33,169,178,225 
  assets.ts        |     100 |      100 |     100 |     100 |                   
  authorization.ts |    92.4 |    92.59 |     100 |    92.4 | 127-133           
  budget.ts        |     100 |      100 |     100 |     100 |                   
  coverage.ts      |   95.73 |    95.21 |   95.45 |   95.73 | ...13,350,459-476 
  deadline.ts      |   97.61 |    91.07 |     100 |   97.61 | 124-125,174,326   
  diff-flags.ts    |     100 |        0 |     100 |     100 | 63                
  diff-plan.ts     |   98.73 |    93.01 |     100 |   98.73 | ...41,264,290-291 
  effort.ts        |     100 |      100 |     100 |     100 |                   
  gh.ts            |   85.92 |    91.11 |   73.33 |   85.92 | ...32,269-270,297 
  git.ts           |   97.64 |    95.65 |     100 |   97.64 | 180-181           
  heavy.ts         |     100 |      100 |     100 |     100 |                   
  inline-counts.ts |     100 |      100 |     100 |     100 |                   
  ledger.ts        |     100 |      100 |     100 |     100 |                   
  local-diff.ts    |    84.4 |    88.46 |     100 |    84.4 | ...63-473,475-483 
  merge-base.ts    |     100 |      100 |     100 |     100 |                   
  path-rules.ts    |     100 |      100 |     100 |     100 |                   
  paths.ts         |     100 |     87.5 |     100 |     100 | 92                
  prompt-record.ts |   94.73 |    88.23 |     100 |   94.73 | ...28,151-152,156 
  receipt.ts       |     100 |      100 |     100 |     100 |                   
  report.ts        |   94.68 |    93.75 |     100 |   94.68 | 187-191           
  review-footer.ts |     100 |      100 |     100 |     100 |                   
  roster.ts        |     100 |    94.23 |     100 |     100 | 143,161,206       
  shell-quote.ts   |     100 |      100 |     100 |     100 |                   
  test-utils.ts    |     100 |      100 |     100 |     100 |                   
  transcripts.ts   |   96.49 |    94.44 |     100 |   96.49 | ...98,284-285,309 
  workspaces.ts    |   98.88 |    92.39 |     100 |   98.88 | 212-213           
  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.38 |     88.9 |   95.65 |   94.38 |                   
  auth.ts          |   89.35 |    83.56 |     100 |   89.35 | ...97-298,314-315 
  ...eMcpImport.ts |   87.91 |    81.52 |     100 |   87.91 | ...63-371,453-454 
  compile-cache.ts |     100 |      100 |     100 |     100 |                   
  config.ts        |   88.93 |    88.61 |   83.78 |   88.93 | ...2456,2458-2466 
  ...cy-monitor.ts |   88.75 |    76.19 |     100 |   88.75 | ...3,90-92,98,101 
  ...ust-policy.ts |   83.04 |    88.28 |     100 |   83.04 | ...39,253,352-353 
  ...heme-names.ts |     100 |      100 |     100 |     100 |                   
  environment.ts   |   94.33 |    89.61 |   94.73 |   94.33 | ...35-639,655-656 
  ...le-watcher.ts |   90.86 |    83.65 |   95.83 |   90.86 | ...23-325,370,418 
  ...resh-state.ts |   90.57 |    97.29 |   93.75 |   90.57 | 137-142,146-152   
  ...ime-reload.ts |     100 |    69.69 |     100 |     100 | ...12-113,122-123 
  hot-reload.ts    |     100 |    89.13 |     100 |     100 | 47,172-178,238    
  keyBindings.ts   |   97.43 |       50 |     100 |   97.43 | 236-239           
  ...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.87 |     100 |   98.97 | 85                
  mcpApprovals.ts  |   96.55 |    95.55 |     100 |   96.55 | 223-224,229-231   
  mcpJson.ts       |     100 |      100 |     100 |     100 |                   
  mcpServers.ts    |   92.85 |     87.5 |     100 |   92.85 | 46-47             
  ...idersScope.ts |      95 |    94.73 |     100 |      95 | 11-12             
  ...abledTools.ts |     100 |      100 |     100 |     100 |                   
  ...comparison.ts |     100 |      100 |     100 |     100 |                   
  ...n-settings.ts |   99.15 |    93.75 |     100 |   99.15 | 63                
  sandboxConfig.ts |   61.64 |    71.87 |   66.66 |   61.64 | ...54-68,73,77-89 
  ...ings-cache.ts |   98.26 |    97.14 |     100 |   98.26 | 201-202           
  settings.ts      |   90.99 |     92.3 |      90 |   90.99 | ...1006,1008-1009 
  ...ingsSchema.ts |     100 |      100 |     100 |     100 |                   
  ...ngsWatcher.ts |   95.54 |    88.34 |     100 |   95.54 | ...28,277-278,293 
  ...d-env-keys.ts |     100 |      100 |     100 |     100 |                   
  ...l-settings.ts |     100 |      100 |     100 |     100 |                   
  ...paths-lite.ts |   89.47 |       88 |     100 |   89.47 | 43-44,53-54,56-57 
  ...tedFolders.ts |   93.42 |    94.21 |     100 |   93.42 | ...96-397,433-444 
 ...nfig/migration |   95.23 |    77.77 |   83.33 |   95.23 |                   
  index.ts         |   95.65 |     87.5 |     100 |   95.65 | 117-118           
  scheduler.ts     |   96.55 |    77.77 |     100 |   96.55 | 19-20             
  types.ts         |       0 |        0 |       0 |       0 | 1                 
 ...ation/versions |   94.91 |      100 |     100 |   94.91 |                   
  ...-v2-shared.ts |     100 |      100 |     100 |     100 |                   
  v1-to-v2.ts      |   81.75 |      100 |     100 |   81.75 | ...28-229,231-247 
  v2-to-v3.ts      |     100 |      100 |     100 |     100 |                   
  v3-to-v4.ts      |     100 |      100 |     100 |     100 |                   
  v5-to-v4.ts      |      96 |      100 |     100 |      96 | 94-95,99          
 src/core          |     100 |      100 |     100 |     100 |                   
  auth.ts          |     100 |      100 |     100 |     100 |                   
  initializer.ts   |     100 |      100 |     100 |     100 |                   
  theme.ts         |     100 |      100 |     100 |     100 |                   
 src/dualOutput    |    71.8 |    70.31 |   66.66 |    71.8 |                   
  ...tputBridge.ts |   71.95 |    70.96 |   68.42 |   71.95 | ...08-409,417-420 
  ...utContext.tsx |     100 |      100 |     100 |     100 |                   
  index.ts         |       0 |        0 |       0 |       0 | 1-8               
 src/export        |       0 |        0 |       0 |       0 |                   
  index.ts         |       0 |        0 |       0 |       0 | 1-7               
 src/generated     |     100 |      100 |     100 |     100 |                   
  git-commit.ts    |     100 |      100 |     100 |     100 |                   
 src/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 |    76.31 |   81.35 |      80 |                   
  session.ts       |   84.08 |    75.27 |   93.61 |   84.08 | ...1007,1016-1026 
  types.ts         |    42.5 |      100 |   33.33 |    42.5 | ...31-632,635-636 
 ...active/control |   75.63 |    89.09 |      80 |   75.63 |                   
  ...rolContext.ts |    6.45 |        0 |       0 |    6.45 | 56-95             
  ...Dispatcher.ts |   91.79 |    92.45 |   88.88 |   91.79 | ...49-367,387,390 
  ...rolService.ts |    6.89 |        0 |       0 |    6.89 | 46-188            
 ...ol/controllers |   42.27 |    64.66 |   48.64 |   42.27 |                   
  ...Controller.ts |   39.49 |      100 |      80 |   39.49 | 88-92,127-210     
  ...Controller.ts |       0 |        0 |       0 |       0 | 1-56              
  ...Controller.ts |   53.96 |    65.71 |   58.33 |   53.96 | ...37-642,644-649 
  ...Controller.ts |   14.06 |      100 |       0 |   14.06 | ...82-117,130-133 
  ...Controller.ts |   37.92 |    60.71 |   46.66 |   37.92 | ...41-653,662-691 
 .../control/types |       0 |        0 |       0 |       0 |                   
  serviceAPIs.ts   |       0 |        0 |       0 |       0 | 1                 
 ...Interactive/io |    98.1 |    94.13 |   95.23 |    98.1 |                   
  ...putAdapter.ts |   97.98 |     93.2 |   98.07 |   97.98 | ...1415,1431-1432 
  ...putAdapter.ts |      96 |    91.66 |   85.71 |      96 | 51-52             
  ...nputReader.ts |     100 |    94.73 |     100 |     100 | 67                
  ...putAdapter.ts |   98.49 |      100 |   90.47 |   98.49 | 85-86,126-127     
  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.16 |    83.37 |   90.93 |   87.16 |                   
  ...tp-enabled.ts |     100 |      100 |     100 |     100 |                   
  ...ion-bridge.ts |     100 |      100 |     100 |     100 |                   
  auth.ts          |    93.4 |    92.95 |     100 |    93.4 | ...19-320,323-325 
  ...em-adapter.ts |     100 |      100 |     100 |     100 |                   
  capabilities.ts  |     100 |       98 |     100 |     100 | 659               
  ...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 |   93.89 |    86.61 |     100 |   93.89 | ...66-468,475,477 
  ...-selection.ts |     100 |      100 |     100 |     100 |                   
  ...ings-store.ts |   86.06 |     92.2 |   95.83 |   86.06 | ...94-206,372-375 
  ...ebhook-ipc.ts |    98.5 |    86.66 |     100 |    98.5 | 47                
  ...iagnostics.ts |     100 |      100 |     100 |     100 |                   
  ...worker-env.ts |     100 |      100 |     100 |     100 |                   
  ...rker-group.ts |   87.27 |     85.2 |     100 |   87.27 | ...10,816-820,838 
  ...er-manager.ts |   89.39 |    83.88 |   93.33 |   89.39 | ...98,711,722-724 
  ...tartup-ipc.ts |   97.72 |    96.66 |     100 |   97.72 | 88-89             
  ...supervisor.ts |   92.42 |    84.44 |    97.1 |   92.42 | ...1462,1516-1520 
  ...e-grouping.ts |     100 |    94.11 |     100 |     100 | 69,132            
  core-runtime.ts  |     100 |      100 |     100 |     100 |                   
  ...ub-session.ts |   92.19 |    78.31 |     100 |   92.19 | ...60-469,494,532 
  daemon-logger.ts |    82.2 |    77.26 |   91.76 |    82.2 | ...1720,1747-1753 
  ...trics-ring.ts |     100 |      100 |     100 |     100 |                   
  ...s-provider.ts |   68.04 |    52.77 |     100 |   68.04 | ...44-249,282-290 
  daemon-status.ts |   98.47 |    90.59 |     100 |   98.47 | ...1197,1199-1200 
  debug-mode.ts    |     100 |      100 |     100 |     100 |                   
  demo.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.41 |    88.75 |     100 |   94.41 | ...24,702,718,728 
  fast-path.ts     |   90.61 |    81.25 |   95.45 |   90.61 | ...02-511,577-578 
  ...ration-sse.ts |   42.55 |    33.33 |     100 |   42.55 | 23-24,30,33-56    
  health-query.ts  |     100 |      100 |     100 |     100 |                   
  index.ts         |       0 |        0 |       0 |       0 | 1-143             
  ...e-observer.ts |   89.89 |    83.24 |      96 |   89.89 | ...11-512,541-543 
  ...back-binds.ts |     100 |    88.88 |     100 |     100 | 32                
  ...-workspace.ts |    90.9 |    85.71 |     100 |    90.9 | ...27-128,139-140 
  ...iders-edit.ts |     100 |    82.14 |     100 |     100 | 58-60,65,81       
  ...ory-picker.ts |     100 |    86.95 |     100 |     100 | 36,66,92          
  ...sion-audit.ts |     100 |      100 |   93.33 |     100 |                   
  rate-limit.ts    |   92.77 |    88.42 |     100 |   92.77 | ...93-295,307-309 
  ...qwen-serve.ts |   82.74 |    79.27 |   74.25 |   82.74 | ...6878,6883-6884 
  ...tup-errors.ts |     100 |      100 |     100 |     100 |                   
  ...-keepalive.ts |   94.19 |    88.57 |     100 |   94.19 | ...26,530-531,571 
  ...-lifecycle.ts |     100 |      100 |     100 |     100 |                   
  server.ts        |   93.57 |    93.29 |   74.02 |   93.57 | ...2148,2169-2173 
  ...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.3 |    76.83 |     100 |    93.3 | ...13,816,829-831 
  ...l-resolver.ts |   90.32 |    66.66 |     100 |   90.32 | 16,45-46          
  ...ell-static.ts |   91.07 |    86.66 |     100 |   91.07 | ...79-182,216-219 
  ...ace-agents.ts |   66.13 |    70.57 |   92.68 |   66.13 | ...2246,2256-2266 
  ...generation.ts |    95.4 |    82.35 |   66.66 |    95.4 | 55-56,78,92       
  ...-git-state.ts |     100 |    91.93 |    90.9 |     100 | 161,172,202,265   
  ...ace-inputs.ts |     100 |      100 |     100 |     100 |                   
  ...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.51 |     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.6 |     83.9 |     100 |    91.6 | ...70-272,305-306 
 ...serve/acp-http |   77.04 |    78.33 |   93.26 |   77.04 |                   
  ...r-registry.ts |   96.92 |    94.87 |     100 |   96.92 | 184-187           
  client-mcp-ws.ts |   54.85 |    58.62 |   72.72 |   54.85 | ...99-300,304-305 
  ...n-registry.ts |    98.2 |    88.62 |     100 |    98.2 | 1015,1041-1052    
  dispatch.ts      |   71.44 |    73.89 |   95.34 |   71.44 | ...4733,4781-4787 
  index.ts         |   81.93 |    79.92 |    90.9 |   81.93 | ...2291,2375-2376 
  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             
 src/serve/fs      |   86.39 |    80.74 |     100 |   86.39 |                   
  audit.ts         |     100 |    96.15 |     100 |     100 | 204               
  errors.ts        |     100 |      100 |     100 |     100 |                   
  index.ts         |     100 |      100 |     100 |     100 |                   
  ...x-registry.ts |     100 |      100 |     100 |     100 |                   
  paths.ts         |   77.64 |     73.8 |     100 |   77.64 | ...65,594-598,611 
  policy.ts        |   90.42 |    89.18 |     100 |   90.42 | 161-169           
  text-cursor.ts   |   88.23 |       90 |     100 |   88.23 | 74-77,92-95       
  ...ile-system.ts |   86.16 |    79.55 |     100 |   86.16 | ...2510,2520-2521 
 src/serve/routes  |   85.54 |    79.53 |   95.47 |   85.54 |                   
  a2ui-action.ts   |   96.84 |     88.5 |    87.5 |   96.84 | ...70-272,309-311 
  capabilities.ts  |     100 |      100 |     100 |     100 |                   
  ...nel-notify.ts |   85.22 |       88 |     100 |   85.22 | ...,83-87,103-104 
  ...l-webhooks.ts |   93.56 |    84.09 |     100 |   93.56 | ...42,292,332,334 
  daemon-status.ts |   85.45 |    83.33 |     100 |   85.45 | 98-105            
  goals.ts         |   98.92 |     90.9 |     100 |   98.92 | 146               
  health-demo.ts   |   94.73 |     86.2 |     100 |   94.73 | 62-66,154         
  permission.ts    |     100 |     92.3 |     100 |     100 | 50,98             
  ...uled-tasks.ts |   87.12 |    82.73 |   92.59 |   87.12 | ...1263,1306-1307 
  ...on-runtime.ts |     100 |    90.47 |     100 |     100 | 58,94             
  session.ts       |   85.17 |     81.7 |   95.16 |   85.17 | ...4633,4635-4636 
  sse-events.ts    |   84.45 |     87.5 |   77.77 |   84.45 | ...36,453-456,485 
  usage-stats.ts   |     100 |    95.45 |     100 |     100 | 118               
  ...space-auth.ts |   85.55 |    75.64 |     100 |   85.55 | ...21-326,331,345 
  ...el-control.ts |   86.26 |    78.94 |     100 |   86.26 | ...17-318,339-347 
  ...management.ts |   90.19 |    77.68 |     100 |   90.19 | ...47-448,467-468 
  ...d-contacts.ts |     100 |      100 |     100 |     100 |                   
  ...controller.ts |   83.09 |       79 |      90 |   83.09 | ...1032,1038,1041 
  ...extensions.ts |   87.23 |    72.76 |   94.11 |   87.23 | ...1826,1871-1872 
  ...-file-read.ts |      91 |    80.91 |     100 |      91 | ...20-621,624-625 
  ...file-write.ts |   84.44 |    64.51 |     100 |   84.44 | ...73-275,355-357 
  ...t-branches.ts |   75.43 |    66.66 |     100 |   75.43 | ...13-618,627-634 
  ...e-git-diff.ts |   97.32 |    90.56 |     100 |   97.32 | 161-162,189-191   
  ...ce-git-log.ts |     100 |    93.18 |     100 |     100 | 52,77,188         
  workspace-git.ts |   77.08 |    89.65 |     100 |   77.08 | 97-118            
  ...github-prs.ts |   88.26 |    63.46 |     100 |   88.26 | ...38-239,264-265 
  ...-lifecycle.ts |   95.23 |    75.75 |     100 |   95.23 | ...50-151,186-187 
  ...management.ts |   88.22 |    85.29 |     100 |   88.22 | ...1546,1566-1571 
  ...cp-control.ts |    73.2 |    67.54 |   85.71 |    73.2 | ...27-633,644-645 
  ...ace-models.ts |   95.53 |    89.74 |     100 |   95.53 | ...52-157,296-297 
  ...ermissions.ts |    77.9 |    72.41 |     100 |    77.9 | ...69-277,298-316 
  ...e-settings.ts |    74.9 |    70.31 |     100 |    74.9 | ...49-660,666-667 
  ...tup-github.ts |   77.97 |    70.58 |   84.21 |   77.97 | ...46-352,397-398 
  ...ace-skills.ts |   69.87 |    78.12 |     100 |   69.87 | ...59-284,290-324 
  ...ace-status.ts |   82.94 |     74.5 |     100 |   82.94 | ...84-486,490-491 
  ...pace-tools.ts |   75.94 |    69.69 |   66.66 |   75.94 | ...59-164,193-194 
  ...pace-trust.ts |   78.42 |    64.78 |      80 |   78.42 | ...31-336,344-345 
  ...pace-voice.ts |   91.33 |    80.92 |     100 |   91.33 | ...70-673,676-678 
 src/serve/server  |   90.71 |    89.17 |   96.55 |   90.71 |                   
  access-log.ts    |   98.68 |     97.1 |     100 |   98.68 | 115,186           
  ...er-helpers.ts |   63.82 |    77.96 |   81.81 |   63.82 | ...16,330,332-347 
  ...w-registry.ts |    98.8 |    81.81 |     100 |    98.8 | 107               
  ...r-handlers.ts |   97.29 |       75 |     100 |   97.29 | 17                
  ...r-response.ts |   85.66 |    76.83 |     100 |   85.66 | ...02,719,782-791 
  fs-factory.ts    |     100 |    92.59 |     100 |     100 | 34,42,103,159     
  ...branch-ops.ts |     100 |      100 |     100 |     100 |                   
  ...t-deadline.ts |     100 |      100 |     100 |     100 |                   
  ...iter-setup.ts |      65 |    73.33 |   33.33 |      65 | 30-35,38-43,47-48 
  ...st-helpers.ts |   95.11 |    95.19 |     100 |   95.11 | ...65-167,422-427 
  self-origin.ts   |   76.19 |       80 |     100 |   76.19 | 45-54             
  ...e-features.ts |   94.81 |    90.32 |     100 |   94.81 | 175-181           
  ...on-archive.ts |   89.55 |    87.78 |   97.14 |   89.55 | ...32-836,888-889 
  ...ion-export.ts |     100 |    94.44 |     100 |     100 | 64                
  session-list.ts  |   93.55 |    91.01 |     100 |   93.55 | ...79,681-687,827 
  telemetry.ts     |   99.02 |    97.44 |     100 |   99.02 | ...25,639,781-783 
 src/serve/voice   |   83.35 |    92.22 |   90.47 |   83.35 |                   
  ...ice-config.ts |   84.61 |       30 |     100 |   84.61 | 90-99,103-104     
  voice-ws.ts      |   77.16 |    94.73 |   83.33 |   77.16 | ...68,483,521-523 
  ...oordinator.ts |     100 |    98.21 |     100 |     100 | 176               
 ...kspace-service |   89.11 |    86.15 |   90.69 |   89.11 |                   
  index.ts         |   88.66 |    85.77 |   89.47 |   88.66 | ...1286-1290,1293 
  types.ts         |     100 |      100 |     100 |     100 |                   
 src/services      |   92.31 |    88.44 |   97.84 |   92.31 |                   
  ...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 |   86.83 |    83.87 |     100 |   86.83 | ...30-335,340-345 
  ...omptLoader.ts |   79.55 |    88.29 |   83.33 |   79.55 | ...48,178,245-246 
  ...mandLoader.ts |   97.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.71 |     100 |   98.64 | 116,142-143       
  voice-model.ts   |     100 |      100 |     100 |     100 |                   
  voice-service.ts |   90.37 |    87.87 |     100 |   90.37 | ...80,287,352-357 
  ...e-settings.ts |     100 |    95.23 |     100 |     100 | 19                
  ...ranscriber.ts |   90.46 |    82.19 |      96 |   90.46 | ...66-668,671-673 
 ...rvices/insight |     100 |      100 |     100 |     100 |                   
  dates.ts         |     100 |      100 |     100 |     100 |                   
 ...ght/generators |   88.91 |    86.29 |   96.15 |   88.91 |                   
  DataProcessor.ts |   88.28 |    86.24 |   94.73 |   88.28 | ...1352,1356-1363 
  ...tGenerator.ts |   98.24 |    85.71 |     100 |   98.24 | 47                
  ...teRenderer.ts |     100 |      100 |     100 |     100 |                   
 .../insight/types |       0 |       50 |      50 |       0 |                   
  ...sightTypes.ts |       0 |        0 |       0 |       0 |                   
  ...sightTypes.ts |       0 |        0 |       0 |       0 | 1                 
 ...mpt-processors |   97.27 |    94.04 |     100 |   97.27 |                   
  ...tProcessor.ts |     100 |      100 |     100 |     100 |                   
  ...eProcessor.ts |   94.52 |    84.21 |     100 |   94.52 | 46-47,93-94       
  ...tionParser.ts |     100 |      100 |     100 |     100 |                   
  ...lProcessor.ts |   97.41 |    95.65 |     100 |   97.41 | 95-98             
  types.ts         |     100 |      100 |     100 |     100 |                   
 src/services/tips |   97.27 |    84.61 |     100 |   97.27 |                   
  index.ts         |     100 |      100 |     100 |     100 |                   
  tipHistory.ts    |   92.59 |       70 |     100 |   92.59 | ...24,146,153,162 
  tipRegistry.ts   |     100 |      100 |     100 |     100 |                   
  tipScheduler.ts  |     100 |    91.66 |     100 |     100 | 55                
 src/startup       |   88.99 |    83.47 |    90.9 |   88.99 |                   
  ...p-prefetch.ts |   98.09 |    94.23 |    87.5 |   98.09 | 50,209,225-226    
  ...reeStartup.ts |   80.53 |     74.6 |     100 |   80.53 | ...94,403,409-412 
 src/test-utils    |   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            |    72.7 |     75.2 |    65.9 |    72.7 |                   
  App.tsx          |   33.33 |       75 |   33.33 |   33.33 | 32-86             
  AppContainer.tsx |   73.91 |    72.08 |   70.58 |   73.91 | ...4096,4212-4218 
  ...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 |   68.12 |    64.86 |   33.33 |   68.12 | ...98,321,341-346 
  ...inePresets.ts |   96.27 |    83.87 |     100 |   96.27 | ...97,402,410-412 
  textConstants.ts |     100 |      100 |     100 |     100 |                   
  types.ts         |     100 |      100 |     100 |     100 |                   
 src/ui/auth       |   58.53 |    66.18 |   51.06 |   58.53 |                   
  AuthDialog.tsx   |   59.01 |     42.1 |   16.66 |   59.01 | ...25,332-354,358 
  ...nProgress.tsx |       0 |        0 |       0 |       0 | 1-64              
  ...etupSteps.tsx |   60.21 |    70.73 |   57.69 |   60.21 | ...90,794,803,806 
  useAuth.ts       |    94.6 |    73.52 |     100 |    94.6 | ...21-222,241-247 
  ...rSetupFlow.ts |   43.18 |    33.33 |      50 |   43.18 | ...78-399,416-459 
 src/ui/commands   |    82.5 |    82.83 |   89.12 |    82.5 |                   
  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 | ...24-125,133-142 
  ...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 |   68.28 |    70.14 |   84.61 |   68.28 | ...66-599,610-611 
  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 |   65.37 |    81.88 |   94.11 |   65.37 | ...85-535,538-672 
  dreamCommand.ts  |   85.45 |    88.88 |     100 |   85.45 | 58-65             
  editorCommand.ts |     100 |      100 |     100 |     100 |                   
  ...rt-command.ts |   82.97 |    78.57 |     100 |   82.97 | 47-52,67-70,91-96 
  exportCommand.ts |   98.25 |    91.02 |     100 |   98.25 | ...81,198-199,364 
  ...onsCommand.ts |   52.31 |    56.25 |   69.23 |   52.31 | ...09,277-329,390 
  forgetCommand.ts |     100 |       90 |     100 |     100 | 59                
  forkCommand.ts   |     100 |    94.11 |     100 |     100 | 96,147            
  goalCommand.ts   |   72.81 |    86.84 |   66.66 |   72.81 | ...63-168,277-280 
  helpCommand.ts   |     100 |      100 |     100 |     100 |                   
  ...oryCommand.ts |     100 |      100 |     100 |     100 |                   
  hooksCommand.ts  |   81.13 |    65.71 |   85.71 |   81.13 | ...,86-93,131-132 
  ideCommand.ts    |   60.75 |    64.28 |   41.17 |   60.75 | ...05-306,310-324 
  ...figCommand.ts |   52.83 |    81.25 |      70 |   52.83 | ...74-319,321-330 
  initCommand.ts   |   91.86 |       80 |     100 |   91.86 | 48,83-88          
  ...ghtCommand.ts |   77.87 |    71.42 |     100 |   77.87 | ...44-245,250-272 
  ...ageCommand.ts |   93.45 |    89.06 |     100 |   93.45 | ...68-169,196-206 
  learn-command.ts |     100 |      100 |     100 |     100 |                   
  lspCommand.ts    |     100 |    86.95 |     100 |     100 | 31,101-102        
  mcpCommand.ts    |     100 |      100 |     100 |     100 |                   
  memoryCommand.ts |     100 |      100 |     100 |     100 |                   
  modelCommand.ts  |   84.78 |    82.47 |     100 |   84.78 | ...1071,1105-1110 
  ...onsCommand.ts |     100 |      100 |     100 |     100 |                   
  planCommand.ts   |   78.82 |    76.92 |     100 |   78.82 | 30-35,51-56,68-73 
  quitCommand.ts   |     100 |      100 |     100 |     100 |                   
  recapCommand.ts  |   21.81 |      100 |      50 |   21.81 | 24-73             
  ...ns-command.ts |   98.83 |    81.81 |     100 |   98.83 | 100               
  ...berCommand.ts |     100 |     87.5 |     100 |     100 | 46                
  renameCommand.ts |   89.06 |    88.37 |     100 |   89.06 | ...72-176,202-209 
  ...oreCommand.ts |    90.9 |    86.04 |     100 |    90.9 | ...41-146,176-177 
  resumeCommand.ts |     100 |      100 |     100 |     100 |                   
  rewindCommand.ts |   81.25 |      100 |      50 |   81.25 | 20-22             
  ...ngsCommand.ts |     100 |      100 |     100 |     100 |                   
  ...hubCommand.ts |   89.47 |       75 |      80 |   89.47 | 54-59             
  skillsCommand.ts |   78.82 |    81.81 |     100 |   78.82 | 37-52,78,97       
  statsCommand.ts  |   90.65 |    76.73 |     100 |   90.65 | ...30-733,825-832 
  ...ineCommand.ts |     100 |      100 |     100 |     100 |                   
  ...aryCommand.ts |   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 |   91.86 |    78.87 |   66.66 |   91.86 | ...60-161,170-175 
 src/ui/components |   71.28 |    78.65 |   79.62 |   71.28 |                   
  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 | ...-72,84,139,153 
  ...entPrompt.tsx |     100 |      100 |     100 |     100 |                   
  ...ryDisplay.tsx |   75.89 |    62.06 |     100 |   75.89 | ...,88,93-108,113 
  ...geDisplay.tsx |   68.42 |    57.14 |     100 |   68.42 | 16-17,31-32,42-50 
  CronPill.tsx     |     100 |    93.75 |     100 |     100 | 19                
  ...ification.tsx |      84 |       60 |     100 |      84 | 23-24,40-42       
  ...gProfiler.tsx |       0 |        0 |       0 |       0 | 1-36              
  ...ogManager.tsx |       0 |        0 |       0 |       0 | 1-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       |   74.09 |     61.4 |      50 |   74.09 | ...55-260,278-282 
  ...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.06 |    66.33 |     100 |   79.06 | ...04,507,510-516 
  ...ngeDialog.tsx |     100 |      100 |     100 |     100 |                   
  InputPrompt.tsx  |    83.1 |    81.95 |      80 |    83.1 | ...2199,2225,2299 
  ...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.9 |    92.53 |      50 |    95.9 | ...99,445-449,452 
  MemoryDialog.tsx |   86.59 |    80.15 |     100 |   86.59 | ...34-435,485,553 
  ...geDisplay.tsx |       0 |        0 |       0 |       0 | 1-41              
  ModelDialog.tsx  |   81.95 |    71.27 |     100 |   81.95 | ...1045,1050-1066 
  ...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.5 |    85.18 |     100 |    93.5 | ...05,267,287-289 
  ...yTodoList.tsx |   96.36 |    88.23 |     100 |   96.36 | 138-141           
  ...nsDisplay.tsx |   92.97 |    83.87 |     100 |   92.97 | ...45,248,275-277 
  ...inalImage.tsx |     100 |     90.9 |     100 |     100 | 75,93             
  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 |   82.95 |    81.71 |   92.72 |   82.95 |                   
  ...sksDialog.tsx |   78.73 |    77.65 |   84.61 |   78.73 | ...1809,1833-1839 
  ...TasksPill.tsx |   67.74 |    86.66 |     100 |   67.74 | ...04-124,132-140 
  ...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.97 |    52.38 |   20.83 |   50.97 |                   
  ...tionsView.tsx |   73.75 |    56.36 |   66.66 |   73.75 | ...30,353,369-374 
  ...tionsView.tsx |   43.45 |    44.82 |    6.66 |   43.45 | ...98-405,408-420 
  ...etailView.tsx |    9.56 |      100 |       0 |    9.56 | 40-67,70-158      
 ...mponents/hooks |   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.04 |    61.53 |   70.58 |   40.04 |                   
  ...ealthPill.tsx |   68.42 |    85.71 |     100 |   68.42 | 40-46             
  ...entDialog.tsx |   32.09 |    26.19 |      40 |   32.09 | ...12,914,927-933 
  ...valDialog.tsx |   15.06 |      100 |       0 |   15.06 | 40-109            
  constants.ts     |     100 |      100 |     100 |     100 |                   
  index.ts         |       0 |        0 |       0 |       0 | 1-35              
  types.ts         |     100 |      100 |     100 |     100 |                   
  utils.ts         |      97 |       95 |     100 |      97 | 24,113-114        
 ...ents/mcp/steps |   53.94 |    73.51 |   57.14 |   53.94 |                   
  ...icateStep.tsx |    5.65 |      100 |       0 |    5.65 | 40-66,69-308      
  ...electStep.tsx |   10.95 |      100 |       0 |   10.95 | 16-88             
  ...etailStep.tsx |     100 |      100 |     100 |     100 |                   
  ...eListStep.tsx |   99.09 |    97.36 |     100 |   99.09 | 71                
  ...etailStep.tsx |   62.83 |       60 |   33.33 |   62.83 | ...87-296,307-332 
  ...rListStep.tsx |   88.53 |    81.25 |     100 |   88.53 | ...64,170,175-180 
  ...etailStep.tsx |    10.3 |      100 |       0 |    10.3 | ...1,67-79,82-140 
  ToolListStep.tsx |   69.29 |       50 |     100 |   69.29 | ...23,126,135-144 
 ...nents/messages |   89.93 |    86.42 |   85.29 |   89.93 |                   
  ...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 |   93.46 |      100 |   76.92 |   93.46 | ...90-292,295-298 
  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.38 |    81.02 |     100 |   91.38 | ...33-635,642-644 
  ...upMessage.tsx |   98.32 |    95.16 |     100 |   98.32 | 184-187,414       
  ToolMessage.tsx  |   92.62 |    85.29 |   93.33 |   92.62 | ...-982,1009-1011 
 ...ponents/shared |   85.79 |    81.95 |   94.11 |   85.79 |                   
  ...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.95 |      90 |   84.71 | ...67-568,685-686 
  MultiSelect.tsx  |   93.58 |       75 |     100 |   93.58 | ...43,199-201,211 
  ...tonSelect.tsx |     100 |      100 |     100 |     100 |                   
  ...ontroller.tsx |     100 |    83.33 |     100 |     100 | 73,93-95          
  ...eSelector.tsx |     100 |       60 |     100 |     100 | 40-45             
  ...lableList.tsx |   81.48 |    84.84 |     100 |   81.48 | 46-66,73-76       
  StaticRender.tsx |   72.72 |      100 |     100 |   72.72 | 31-33             
  TextInput.tsx    |    80.8 |    67.24 |      80 |    80.8 | ...36-240,252-258 
  ...ontroller.tsx |     100 |    81.81 |     100 |     100 | 59-62             
  ...apsedTime.tsx |     100 |      100 |     100 |     100 |                   
  ...Indicator.tsx |     100 |      100 |     100 |     100 |                   
  ...lizedList.tsx |   88.51 |    83.75 |   81.81 |   88.51 | ...51-779,792,887 
  text-buffer.ts   |   85.98 |    81.81 |   97.91 |   85.98 | ...2664,2762-2763 
  ...er-actions.ts |   73.93 |    67.22 |     100 |   73.93 | ...32-733,934-936 
 ...ponents/skills |       0 |        0 |       0 |       0 |                   
  ...gerDialog.tsx |       0 |        0 |       0 |       0 | 1-681             
 ...ents/subagents |       0 |        0 |       0 |       0 |                   
  constants.ts     |       0 |        0 |       0 |       0 | 1-71              
  index.ts         |       0 |        0 |       0 |       0 | 1-11              
  reducers.tsx     |       0 |        0 |       0 |       0 | 1-190             
  types.ts         |       0 |        0 |       0 |       0 | 1-125             
  utils.ts         |       0 |        0 |       0 |       0 | 1-102             
 ...bagents/create |       0 |        0 |       0 |       0 |                   
  ...ionWizard.tsx |       0 |        0 |       0 |       0 | 1-299             
  ...rSelector.tsx |       0 |        0 |       0 |       0 | 1-85              
  ...onSummary.tsx |       0 |        0 |       0 |       0 | 1-331             
  ...tionInput.tsx |       0 |        0 |       0 |       0 | 1-177             
  ...dSelector.tsx |       0 |        0 |       0 |       0 | 1-63              
  ...nSelector.tsx |       0 |        0 |       0 |       0 | 1-58              
  ...EntryStep.tsx |       0 |        0 |       0 |       0 | 1-78              
  ToolSelector.tsx |       0 |        0 |       0 |       0 | 1-253             
 ...bagents/manage |   14.14 |    53.19 |    37.5 |   14.14 |                   
  ...ctionStep.tsx |       0 |        0 |       0 |       0 | 1-103             
  ...eleteStep.tsx |       0 |        0 |       0 |       0 | 1-62              
  ...tEditStep.tsx |       0 |        0 |       0 |       0 | 1-124             
  ...ctionStep.tsx |   35.61 |    59.52 |     100 |   35.61 | ...21-433,438-440 
  ...iewerStep.tsx |       0 |        0 |       0 |       0 | 1-73              
  ...gerDialog.tsx |       0 |        0 |       0 |       0 | 1-341             
 ...mponents/views |   69.81 |    72.64 |   61.11 |   69.81 |                   
  ContextUsage.tsx |   70.88 |    63.88 |      80 |   70.88 | ...20-426,463-557 
  DoctorReport.tsx |     9.8 |      100 |       0 |     9.8 | 25-54,57-131      
  ...sionsList.tsx |   88.05 |       75 |     100 |   88.05 | 70-77             
  McpStatus.tsx    |   92.01 |     73.8 |     100 |   92.01 | ...36,175-177,262 
  SkillsList.tsx   |   20.51 |      100 |       0 |   20.51 | 17-20,27-57       
  ToolsList.tsx    |     100 |      100 |     100 |     100 |                   
 src/ui/contexts   |   83.96 |    81.62 |    86.3 |   83.96 |                   
  ...ewContext.tsx |   64.83 |    88.88 |      50 |   64.83 | ...16-219,225-235 
  AppContext.tsx   |      80 |       50 |     100 |      80 | 19-20             
  ...ewContext.tsx |   92.45 |    62.79 |      50 |   92.45 | ...69-270,272-276 
  ...igContext.tsx |   81.81 |       50 |     100 |   81.81 | 15-16             
  ...ssContext.tsx |   85.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 |       80 |    92.3 |   80.77 | ...31-434,443-446 
  ...gsContext.tsx |     100 |      100 |     100 |     100 |                   
  ...usContext.tsx |     100 |      100 |     100 |     100 |                   
  ...ngContext.tsx |   71.42 |       50 |     100 |   71.42 | 17-20             
  ...utContext.tsx |   85.71 |      100 |   66.66 |   85.71 | 13-14             
  ...edContext.tsx |     100 |      100 |      50 |     100 |                   
  ...nsContext.tsx |   88.88 |       50 |     100 |   88.88 | 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      |   84.86 |     82.6 |   87.75 |   84.86 |                   
  ...dProcessor.ts |   85.53 |     85.2 |     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 | ...86-287,292-293 
  ...dProcessor.ts |   85.63 |    68.16 |   81.81 |   85.63 | ...1452,1473-1477 
  ...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 |      52 |    63.63 |     100 |      52 | ...59,67-70,76-87 
  ...odeCommand.ts |   58.82 |      100 |     100 |   58.82 | 28,33-48          
  ...enaCommand.ts |      85 |      100 |     100 |      85 | 23-24,29          
  ...aInProcess.ts |   27.92 |       80 |      25 |   27.92 | ...69-170,173-175 
  ...Completion.ts |   86.44 |    88.48 |     100 |   86.44 | ...14-515,525-541 
  ...ifications.ts |   87.82 |    96.77 |     100 |   87.82 | 138-152           
  ...tIndicator.ts |   88.28 |    81.57 |     100 |   88.28 | ...66,175,179-187 
  ...waySummary.ts |   96.26 |       75 |     100 |   96.26 | 126-128,170       
  ...ndTaskView.ts |   94.81 |    76.59 |     100 |   94.81 | 162-166,255,261   
  ...chedScroll.ts |     100 |      100 |     100 |     100 |                   
  ...ketedPaste.ts |    23.8 |      100 |       0 |    23.8 | 19-37             
  ...nchCommand.ts |   95.23 |    82.69 |     100 |   95.23 | ...53-154,277-280 
  ...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 |   83.07 |    80.25 |   74.35 |   83.07 | ...4909-4911,4913 
  ...BranchName.ts |     100 |    94.44 |     100 |     100 | 54                
  ...oryManager.ts |   98.01 |    98.36 |     100 |   98.01 | 139-142           
  ...ooksDialog.ts |    87.5 |      100 |     100 |    87.5 | 19,23             
  ...stListener.ts |     100 |      100 |     100 |     100 |                   
  ...nAuthError.ts |   76.19 |       50 |     100 |   76.19 | 39-40,43-45       
  ...putHistory.ts |   92.59 |    85.71 |     100 |   92.59 | 63-64,72,94-96    
  ...storyStore.ts |     100 |    94.11 |     100 |     100 | 69                
  useKeypress.ts   |     100 |      100 |     100 |     100 |                   
  ...rdProtocol.ts |   36.36 |      100 |       0 |   36.36 | 24-31             
  ...unchEditor.ts |   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  |   63.15 |       80 |      50 |   63.15 | 42-52,64-67       
  ...cpApproval.ts |   93.12 |    86.11 |     100 |   93.12 | ...24-127,139-140 
  useMcpDialog.ts  |    87.5 |      100 |     100 |    87.5 | 19,23             
  ...moryDialog.ts |    87.5 |      100 |     100 |    87.5 | 19,23             
  ...oryMonitor.ts |   83.14 |    78.57 |     100 |   83.14 | 54-63,74-79       
  ...ssageQueue.ts |     100 |     97.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 |    87.4 |    78.78 |     100 |    87.4 | ...71,321-333,381 
  useQwenAuth.ts   |     100 |      100 |     100 |     100 |                   
  ...lScheduler.ts |   89.11 |    87.32 |     100 |   89.11 | ...42-444,476-486 
  ...oryCommand.ts |       0 |        0 |       0 |       0 | 1-7               
  ...umeCommand.ts |   95.18 |    76.47 |     100 |   95.18 | 118-119,220-225   
  ...ompletion.tsx |   90.67 |    83.33 |     100 |   90.67 | ...02,105,138-141 
  ...ectionList.ts |   97.12 |    96.22 |     100 |   97.12 | ...92-193,247-250 
  ...sionPicker.ts |   92.87 |    90.35 |     100 |   92.87 | ...99-501,503-505 
  ...earchInput.ts |     100 |    97.29 |     100 |     100 | 82                
  ...ngsCommand.ts |   18.75 |      100 |       0 |   18.75 | 10-25             
  ...ellHistory.ts |   93.28 |    80.95 |     100 |   93.28 | ...96,153-154,164 
  ...oryCommand.ts |   85.48 |    58.33 |     100 |   85.48 | 22-28,40,71       
  ...agerDialog.ts |   88.23 |      100 |     100 |   88.23 | 20,24             
  ...Completion.ts |   82.85 |    85.13 |   94.73 |   82.85 | ...78-680,688-724 
  ...tateAndRef.ts |     100 |      100 |     100 |     100 |                   
  ...tatsDialog.ts |     100 |      100 |     100 |     100 |                   
  useStatusLine.ts |   97.13 |    93.33 |     100 |   97.13 | ...78-382,478-485 
  ...eateDialog.ts |   88.23 |      100 |     100 |   88.23 | 14,18             
  ...mInProcess.ts |   27.35 |       80 |      25 |   27.35 | ...82-183,186-188 
  ...tification.ts |     100 |     87.5 |     100 |     100 | 50                
  ...alProgress.ts |   67.34 |    58.82 |   66.66 |   67.34 | 52-53,61-68,79-85 
  ...rminalSize.ts |     100 |      100 |     100 |     100 |                   
  ...emeCommand.ts |   67.01 |    29.41 |     100 |   67.01 | ...10-111,115-116 
  useTimer.ts      |   97.59 |    94.73 |     100 |   97.59 | 17-18             
  ...lMigration.ts |       0 |        0 |       0 |       0 |                   
  ...rustModify.ts |     100 |    90.47 |     100 |     100 | 112,134           
  useTurnDiffs.ts  |   95.12 |    78.57 |     100 |   95.12 | 133-134,156-157   
  ...elcomeBack.ts |   87.36 |     90.9 |     100 |   87.36 | ...,94-96,114-115 
  ...reeSession.ts |   93.75 |       70 |     100 |   93.75 | 47-48,72          
  vim.ts           |      74 |    67.56 |   69.23 |      74 | ...1854-1861,1869 
 src/ui/layouts    |    91.2 |    89.47 |     100 |    91.2 |                   
  ...AppLayout.tsx |    90.9 |     87.5 |     100 |    90.9 | 60-62,110-115,151 
  ...AppLayout.tsx |   91.66 |    92.85 |     100 |   91.66 | 75-80             
 src/ui/models     |   80.72 |       80 |   71.42 |   80.72 |                   
  ...ableModels.ts |   80.72 |       80 |   71.42 |   80.72 | ...,61-71,125-127 
 ...noninteractive |     100 |      100 |    6.66 |     100 |                   
  ...eractiveUi.ts |     100 |      100 |    6.66 |     100 |                   
 src/ui/selection  |   86.47 |    79.88 |   96.66 |   86.47 |                   
  screen-buffer.ts |   94.73 |    64.28 |     100 |   94.73 | 51-52             
  ...ion-coords.ts |     100 |      100 |     100 |     100 |                   
  ...ction-span.ts |   92.72 |       90 |     100 |   92.72 | 37-38,67-68       
  ...tion-state.ts |   85.71 |      100 |   88.88 |   85.71 | 51-58             
  ...ction-text.ts |   92.85 |    92.45 |     100 |   92.85 | 30-34,114-115     
  ...selection.tsx |   80.31 |    59.64 |     100 |   80.31 | ...13-314,330-331 
 src/ui/state      |      95 |    81.81 |     100 |      95 |                   
  extensions.ts    |      95 |    81.81 |     100 |      95 | 69-70,89          
 src/ui/themes     |    98.5 |    73.17 |     100 |    98.5 |                   
  ansi-light.ts    |     100 |      100 |     100 |     100 |                   
  ansi.ts          |     100 |      100 |     100 |     100 |                   
  atom-one-dark.ts |     100 |      100 |     100 |     100 |                   
  ayu-light.ts     |     100 |      100 |     100 |     100 |                   
  ayu.ts           |     100 |      100 |     100 |     100 |                   
  color-utils.ts   |   99.23 |    97.05 |     100 |   99.23 | 277-278           
  default-light.ts |     100 |      100 |     100 |     100 |                   
  default.ts       |     100 |      100 |     100 |     100 |                   
  ...inal-theme.ts |   88.59 |    85.96 |     100 |   88.59 | ...57-261,266-270 
  dracula.ts       |     100 |      100 |     100 |     100 |                   
  github-dark.ts   |     100 |      100 |     100 |     100 |                   
  github-light.ts  |     100 |      100 |     100 |     100 |                   
  googlecode.ts    |     100 |      100 |     100 |     100 |                   
  no-color.ts      |     100 |      100 |     100 |     100 |                   
  qwen-dark.ts     |     100 |      100 |     100 |     100 |                   
  qwen-light.ts    |     100 |      100 |     100 |     100 |                   
  ...tic-tokens.ts |     100 |      100 |     100 |     100 |                   
  ...-of-purple.ts |     100 |      100 |     100 |     100 |                   
  theme-manager.ts |   88.68 |    84.52 |     100 |   88.68 | ...83-392,397-398 
  theme.ts         |     100 |    38.02 |     100 |     100 | ...34-449,457-461 
  xcode.ts         |     100 |      100 |     100 |     100 |                   
 src/ui/utils      |   86.74 |    84.95 |   95.48 |   86.74 |                   
  ...Colorizer.tsx |   80.31 |    85.41 |     100 |   80.31 | ...00-201,313-339 
  ...nRenderer.tsx |   79.84 |     75.6 |     100 |   79.84 | ...66,270,328-329 
  ...wnDisplay.tsx |   92.87 |    93.46 |     100 |   92.87 | ...,955,1002-1020 
  ...idDiagram.tsx |   87.79 |    95.34 |     100 |   87.79 | 156-179           
  ...eRenderer.tsx |   92.38 |    81.91 |   95.23 |   92.38 | ...43-746,799-804 
  ...odeDisplay.ts |   94.28 |    85.71 |     100 |   94.28 | 23,40             
  asciiCharts.ts   |    96.7 |     87.5 |     100 |    96.7 | 170-177,278       
  ...dWorkUtils.ts |     100 |      100 |     100 |     100 |                   
  ...boardUtils.ts |   52.52 |    73.25 |   91.66 |   52.52 | ...23,626-635,638 
  commandUtils.ts  |   96.17 |    88.88 |     100 |   96.17 | ...77,179-180,323 
  computeStats.ts  |     100 |      100 |     100 |     100 |                   
  customBanner.ts  |   90.68 |    91.22 |     100 |   90.68 | ...13,324-327,334 
  displayUtils.ts  |   73.84 |    73.91 |     100 |   73.84 | ...34,36-40,42-46 
  formatters.ts    |   94.87 |    98.18 |     100 |   94.87 | 116-119           
  goal-runtime.ts  |   91.17 |    94.73 |     100 |   91.17 | 31-33             
  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           
  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          |   90.43 |    78.33 |     100 |   90.43 | ...59,244,248-249 
  ...red-height.ts |   98.38 |     97.1 |     100 |   98.38 | 195-197           
  ...mConstants.ts |     100 |      100 |     100 |     100 |                   
  restoreGoal.ts   |     100 |      100 |     100 |     100 |                   
  ...storyUtils.ts |   79.42 |    78.08 |     100 |   79.42 | ...50-572,703-704 
  ...ickerUtils.ts |     100 |      100 |     100 |     100 |                   
  ...evel-label.ts |   77.77 |    66.66 |     100 |   77.77 | 18,22-24          
  ...are-cursor.ts |   89.47 |    85.71 |     100 |   89.47 | 39-44             
  ...ataService.ts |   93.17 |     79.1 |     100 |   93.17 | ...14,227,254-256 
  suggestions.ts   |     100 |      100 |     100 |     100 |                   
  ...izedOutput.ts |   94.94 |      100 |   88.88 |   94.94 | 112-117           
  ...nal-buffer.ts |     100 |      100 |     100 |     100 |                   
  ...e-renderer.ts |   89.19 |    79.54 |     100 |   89.19 | ...14,316-318,434 
  ...wOptimizer.ts |     100 |    96.77 |     100 |     100 | 69                
  terminalSetup.ts |    4.37 |      100 |       0 |    4.37 | 44-393            
  textUtils.ts     |   97.94 |    95.45 |   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 |    59.89 |   94.59 |   75.03 |                   
  collect.ts       |   71.27 |    65.81 |      96 |   71.27 | ...90-633,655-656 
  index.ts         |     100 |      100 |     100 |     100 |                   
  normalize.ts     |   80.42 |    50.68 |     100 |   80.42 | ...59-364,376-378 
  types.ts         |       0 |        0 |       0 |       0 | 1                 
  utils.ts         |     100 |      100 |     100 |     100 |                   
 ...ort/formatters |   52.92 |    47.22 |   71.42 |   52.92 |                   
  html.ts          |   84.61 |       50 |     100 |   84.61 | ...53,57-58,62-63 
  json.ts          |     100 |      100 |     100 |     100 |                   
  jsonl.ts         |   82.45 |     37.5 |     100 |   82.45 | ...48,50-51,65-66 
  markdown.ts      |   36.32 |    47.05 |      50 |   36.32 | ...16-219,233-295 
 src/ui/voice      |   80.94 |    72.69 |   80.55 |   80.94 |                   
  ...d-recorder.ts |     6.2 |      100 |       0 |     6.2 | ...33-159,162-163 
  ...o-recorder.ts |   84.61 |    93.33 |   57.14 |   84.61 | ...16-117,131-136 
  ...me-session.ts |   89.72 |    65.33 |   93.75 |   89.72 | ...99,305,316-319 
  sox-recorder.ts  |    92.7 |    71.87 |     100 |    92.7 | ...34-135,153-154 
  ...ailability.ts |     100 |      100 |     100 |     100 |                   
  ...e-keyterms.ts |     100 |      100 |     100 |     100 |                   
  voice-model.ts   |     100 |      100 |     100 |     100 |                   
  ...e-recorder.ts |   88.29 |    67.74 |   81.81 |   88.29 | ...,98-99,112,115 
  voice-refine.ts  |     100 |    93.33 |     100 |     100 | 92                
  ...ream-retry.ts |   86.79 |    68.42 |     100 |   86.79 | 16-18,48-49,59-60 
  ...am-session.ts |   88.02 |    66.66 |   84.61 |   88.02 | ...26,343-345,363 
  ...ranscriber.ts |     100 |      100 |     100 |     100 |                   
 src/utils         |    81.4 |       87 |   92.57 |    81.4 |                   
  ...p-profiler.ts |   98.39 |    90.56 |     100 |   98.39 | 141,185,235       
  acpModelUtils.ts |   97.36 |    95.19 |     100 |   97.36 | ...09-210,214-215 
  apiPreconnect.ts |   96.74 |    94.59 |     100 |   96.74 | 167-170           
  ...ol-call-id.ts |   84.61 |       60 |     100 |   84.61 | 26-27,37-38       
  ...ng-failure.ts |     100 |       95 |     100 |     100 | 72                
  checks.ts        |   33.33 |      100 |       0 |   33.33 | 23-28             
  ...-api-error.ts |     100 |    96.42 |     100 |     100 | 14                
  cleanup.ts       |   84.05 |    94.11 |      80 |   84.05 | 80,111-121        
  commands.ts      |   97.45 |    96.66 |     100 |   97.45 | 153-155           
  ...Calculator.ts |     100 |      100 |     100 |     100 |                   
  cpuProfiler.ts   |   70.73 |    73.23 |   88.88 |   70.73 | ...27,430-431,438 
  deepMerge.ts     |     100 |       90 |     100 |     100 | 41-43,49          
  ...re-runtime.ts |     100 |      100 |     100 |     100 |                   
  ...ScopeUtils.ts |   97.56 |    88.88 |     100 |   97.56 | 67                
  doctorChecks.ts  |   70.31 |    74.57 |     100 |   70.31 | ...95-301,325-341 
  ...putCapture.ts |   90.65 |    86.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 
  jsonc-editor.ts  |   93.18 |    92.72 |     100 |   93.18 | ...80-381,384-385 
  languageUtils.ts |   98.88 |    97.05 |     100 |   98.88 | 184-185           
  load-undici.ts   |     100 |      100 |     100 |     100 |                   
  ...npm-update.ts |   86.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.67 |    56.93 |   76.92 |   45.67 | ...1034,1046-1069 
  ...xImageName.ts |     100 |    77.77 |     100 |     100 | 10,18             
  sandboxMounts.ts |     100 |      100 |     100 |     100 |                   
  sessionPaths.ts  |   90.84 |    90.56 |     100 |   90.84 | ...81-182,185-186 
  settingsUtils.ts |   82.35 |    89.57 |      90 |   82.35 | ...25-743,750-758 
  spawnWrapper.ts  |     100 |      100 |     100 |     100 |                   
  ...ate-verify.ts |     100 |      100 |     100 |     100 |                   
  ...one-update.ts |   39.81 |    77.44 |   62.16 |   39.81 | ...1193,1196-1215 
  ...upProfiler.ts |   98.47 |    94.66 |     100 |   98.47 | 132-133,308       
  ...upWarnings.ts |     100 |      100 |     100 |     100 |                   
  stdioHelpers.ts  |     100 |       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   |   95.45 |    93.33 |     100 |   95.45 | 54-55             
  ...WithBackup.ts |   65.04 |    77.77 |     100 |   65.04 | 97,112,133-172    
 ...s/housekeeping |   91.63 |    91.02 |      95 |   91.63 |                   
  cleanup.ts       |   95.77 |    95.83 |     100 |   95.77 | 70-72             
  ...eractionAt.ts |     100 |      100 |     100 |     100 |                   
  scheduler.ts     |   91.91 |    90.47 |    87.5 |   91.91 | 58-62,73,131-135  
  throttledOnce.ts |   86.66 |     86.2 |     100 |   86.66 | ...99,105,137-138 
-------------------|---------|----------|---------|---------|-------------------
Core Package - Full Text Report
-------------------|---------|----------|---------|---------|-------------------
File               | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s 
-------------------|---------|----------|---------|---------|-------------------
All files          |   87.67 |    86.22 |   89.27 |   87.67 |                   
 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.46 |    84.13 |   95.65 |   90.46 |                   
  ...transcript.ts |   87.63 |    83.52 |     100 |   87.63 | ...80,588,594-598 
  ...ent-resume.ts |   85.59 |    77.55 |   83.33 |   85.59 | ...1793-1797,1800 
  ...ound-tasks.ts |   96.15 |    90.13 |   98.76 |   96.15 | ...1732,1752-1755 
  index.ts         |     100 |      100 |     100 |     100 |                   
  ...ent-result.ts |    96.8 |    92.68 |     100 |    96.8 | 106,129-131       
  ...n-registry.ts |    93.3 |    86.11 |     100 |    93.3 | ...85-991,996-998 
  ...w-snapshot.ts |   91.86 |    75.75 |     100 |   91.86 | ...54,178,185-187 
 src/agents/arena  |   76.32 |    67.71 |   78.94 |   76.32 |                   
  ...gentClient.ts |   79.47 |    88.88 |   81.81 |   79.47 | ...68-183,189-204 
  ArenaManager.ts  |   75.11 |    64.51 |   78.57 |   75.11 | ...1887,1893-1894 
  arena-events.ts  |   64.44 |      100 |      50 |   64.44 | ...71-175,178-183 
  diff-summary.ts  |    87.5 |    72.34 |     100 |    87.5 | ...32-133,137-138 
  index.ts         |     100 |      100 |     100 |     100 |                   
  types.ts         |     100 |      100 |     100 |     100 |                   
 ...gents/backends |   78.09 |    85.23 |   76.28 |   78.09 |                   
  ITermBackend.ts  |   97.97 |    93.93 |     100 |   97.97 | ...78-180,255,307 
  ...essBackend.ts |    90.9 |    85.36 |   93.33 |    90.9 | ...70,672,674-675 
  TmuxBackend.ts   |    90.7 |    76.55 |   97.36 |    90.7 | ...87,697,743-747 
  detect.ts        |   31.25 |      100 |       0 |   31.25 | 34-88             
  index.ts         |     100 |      100 |     100 |     100 |                   
  iterm-it2.ts     |     100 |     92.1 |     100 |     100 | 37-38,106         
  tmux-commands.ts |    6.64 |      100 |    3.03 |    6.64 | ...93-363,386-503 
  types.ts         |     100 |      100 |     100 |     100 |                   
 ...agents/runtime |   90.55 |    86.14 |   87.64 |   90.55 |                   
  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.34 |      100 |    92.3 |   98.34 | 81-82             
  ...low-budget.ts |     100 |      100 |     100 |     100 |                   
  ...ow-journal.ts |   91.76 |    75.86 |     100 |   91.76 | ...38-139,179-181 
  ...chestrator.ts |   91.86 |    88.71 |   82.35 |   91.86 | ...1782,1831-1834 
  ...ow-prompts.ts |     100 |      100 |     100 |     100 |                   
  ...low-runner.ts |    94.3 |    87.17 |   91.66 |    94.3 | ...74,222,242-245 
  ...ow-sandbox.ts |   96.87 |    94.64 |     100 |   96.87 | ...24-325,330-331 
  ...flow-saved.ts |   96.51 |    94.36 |     100 |   96.51 | 134-135,234-237   
  ...flow-stall.ts |    97.9 |    83.33 |     100 |    97.9 | 138-139,236       
 src/agents/tasks  |     100 |      100 |     100 |     100 |                   
  types.ts         |     100 |      100 |     100 |     100 |                   
 src/agents/team   |   82.04 |    84.17 |   88.97 |   82.04 |                   
  TeamManager.ts   |   72.02 |    79.41 |   79.24 |   72.02 | ...1632,1655-1656 
  identity.ts      |     100 |      100 |     100 |     100 |                   
  index.ts         |     100 |      100 |     100 |     100 |                   
  ...sionBridge.ts |     100 |      100 |     100 |     100 |                   
  mailbox.ts       |   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.26 |   98.21 |   94.39 |                   
  ...on-harness.ts |   96.49 |    84.21 |     100 |   96.49 | 128-129,141-142   
  fake-agent.ts    |   98.49 |    95.08 |     100 |   98.49 | 201-203           
  fake-backend.ts  |   86.46 |    97.61 |   95.83 |   86.46 | 124-146           
 src/config        |   84.99 |     87.1 |   75.53 |   84.99 |                   
  approval-mode.ts |     100 |      100 |     100 |     100 |                   
  ...xtDefaults.ts |     100 |      100 |     100 |     100 |                   
  config.ts        |    84.3 |    86.82 |   73.97 |    84.3 | ...8338,8342-8343 
  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          |   91.95 |    87.94 |   93.23 |   91.95 |                   
  baseLlmClient.ts |   88.37 |    83.68 |   81.81 |   88.37 | ...51,664,670-672 
  client.ts        |   91.91 |    87.15 |   91.56 |   91.91 | ...3922,4016-4017 
  ...tGenerator.ts |   86.34 |    87.34 |   84.61 |   86.34 | ...81-482,527-533 
  ...lScheduler.ts |   90.05 |    84.69 |   96.19 |   90.05 | ...6225,6253-6269 
  geminiChat.ts    |   92.97 |    89.89 |   95.41 |   92.97 | ...4938,4984-4985 
  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 |   95.19 |    89.47 |     100 |   95.19 | ...44-245,290-291 
  prompts.ts       |   93.64 |    91.42 |   83.33 |   93.64 | ...1208,1411-1412 
  ...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 |     92.1 |     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.53 |    91.74 |     100 |   98.53 | ...25,653-654,701 
  ...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 | ...1429,1458,1469 
  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.6 |    88.74 |    92.3 |    95.6 |                   
  index.ts         |     100 |      100 |     100 |     100 |                   
  ...tGenerator.ts |   95.52 |    87.88 |   91.89 |   95.52 | ...1195-1196,1224 
  ...tDetection.ts |     100 |      100 |     100 |     100 |                   
 ...ntentGenerator |   91.71 |    90.27 |   95.28 |   91.71 |                   
  constants.ts     |     100 |      100 |     100 |     100 |                   
  converter.ts     |   91.15 |    89.32 |   96.87 |   91.15 | ...1914,2083-2098 
  errorHandler.ts  |     100 |      100 |     100 |     100 |                   
  index.ts         |   60.31 |       75 |      50 |   60.31 | ...71,74-78,90-94 
  ...tGenerator.ts |    66.4 |    70.58 |   88.88 |    66.4 | ...51-157,168-169 
  pipeline.ts      |   96.69 |    91.07 |     100 |   96.69 | ...1125,1133,1232 
  ...ix-caching.ts |     100 |      100 |     100 |     100 |                   
  ...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.19 |    90.47 |   98.36 |   97.19 |                   
  dashscope.ts     |   98.36 |    93.03 |   95.65 |   98.36 | ...93-494,636-637 
  deepseek.ts      |   94.91 |    89.36 |     100 |   94.91 | ...31-132,145-146 
  default.ts       |   99.16 |    96.96 |     100 |   99.16 | 198               
  index.ts         |     100 |      100 |     100 |     100 |                   
  mimo.ts          |   94.11 |    66.66 |     100 |   94.11 | 29,52-53          
  minimax.ts       |     100 |      100 |     100 |     100 |                   
  mistral.ts       |   96.07 |    73.33 |     100 |   96.07 | 32-33             
  modelscope.ts    |     100 |      100 |     100 |     100 |                   
  types.ts         |       0 |        0 |       0 |       0 |                   
  utils.ts         |     100 |      100 |     100 |     100 |                   
  zai.ts           |   92.13 |    82.14 |     100 |   92.13 | ...,39-40,135-137 
 src/extension     |   86.21 |    83.25 |   92.35 |   86.21 |                   
  ...ive-safety.ts |     100 |      100 |     100 |     100 |                   
  ...-converter.ts |   78.32 |    71.83 |     100 |   78.32 | ...1122,1168-1169 
  corruptFile.ts   |     100 |       50 |     100 |     100 | 40-45             
  ...-converter.ts |   80.39 |     87.5 |     100 |   80.39 | 50-59             
  ...me-refresh.ts |     100 |      100 |     100 |     100 |                   
  ...sion-store.ts |   90.85 |    86.38 |   97.87 |   90.85 | ...1218-1224,1268 
  ...ionManager.ts |   81.06 |    78.78 |   81.52 |   81.06 | ...2705,2727-2728 
  ...references.ts |     100 |     90.9 |     100 |     100 | ...05,129,197,200 
  ...onSettings.ts |    92.3 |     94.4 |     100 |    92.3 | ...98-501,570-571 
  ...-converter.ts |    75.9 |    84.61 |   85.71 |    75.9 | ...98,202,214-248 
  github.ts        |   88.58 |    82.13 |     100 |   88.58 | ...62,952-953,963 
  http-client.ts   |   84.61 |       80 |     100 |   84.61 | 20-21             
  i18n.ts          |   78.26 |       96 |      50 |   78.26 | 104-110,116-123   
  index.ts         |     100 |      100 |     100 |     100 |                   
  marketplace.ts   |   88.39 |    83.11 |     100 |   88.39 | ...08,494,507-508 
  ...ork-policy.ts |   89.72 |       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       
  redaction.ts     |     100 |      100 |     100 |     100 |                   
  settings.ts      |   66.26 |      100 |      50 |   66.26 | 81-107,141-146    
  ...ceRegistry.ts |   94.01 |    83.14 |     100 |   94.01 | ...38-344,365-366 
  storage.ts       |     100 |      100 |     100 |     100 |                   
  ...ableSchema.ts |     100 |      100 |     100 |     100 |                   
  variables.ts     |   88.95 |    83.78 |     100 |   88.95 | ...32-235,238-241 
  ...extraction.ts |   85.77 |    80.61 |   89.47 |   85.77 | ...02-205,260-261 
 src/followup      |   79.92 |    80.07 |    90.9 |   79.92 |                   
  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.64 |    65.38 |   71.42 |   71.64 | ...52-653,660-661 
  ...onToolGate.ts |     100 |    96.55 |     100 |     100 | 97                
  ...nGenerator.ts |   72.03 |    81.15 |   83.33 |   72.03 | ...68-219,331-333 
 src/generated     |       0 |        0 |       0 |       0 |                   
  git-commit.ts    |       0 |        0 |       0 |       0 | 1-10              
 src/goals         |   94.22 |    88.93 |    95.9 |   94.22 |                   
  ...eGoalStore.ts |   87.61 |    88.88 |   86.66 |   87.61 | ...85-188,196-204 
  goal-evidence.ts |   87.61 |    85.02 |   95.65 |   87.61 | ...13-614,637-640 
  ...projection.ts |   89.41 |    72.22 |   66.66 |   89.41 | ...28,131,135-137 
  ...ersistence.ts |   87.73 |    84.84 |      80 |   87.73 | ...-94,97,101-106 
  goal-protocol.ts |      92 |       90 |     100 |      92 | 109-110           
  goal-reducer.ts  |   92.45 |    85.93 |     100 |   92.45 | ...84-385,398,453 
  goal-runtime.ts  |   99.05 |    93.64 |     100 |   99.05 | ...20-721,744-745 
  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-27              
  goalHook.ts      |   96.91 |    92.42 |     100 |   96.91 | 115-120,221-222   
  goalJudge.ts     |   95.84 |    87.09 |     100 |   95.84 | ...55-356,448-449 
  index.ts         |     100 |      100 |     100 |     100 |                   
 src/hooks         |   88.11 |    86.38 |   88.62 |   88.11 |                   
  ...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 |    89.13 |     100 |   86.45 | ...85,289-295,301 
  stopHookCap.ts   |     100 |      100 |     100 |     100 |                   
  trustedHooks.ts  |      90 |    52.63 |     100 |      90 | ...53,66-67,97-98 
  types.ts         |   94.25 |    96.12 |   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.61 |    83.62 |   90.53 |   87.61 |                   
  ...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       |   91.48 |    75.75 |     100 |   91.48 | ...99,118-121,189 
  ...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.95 |    82.52 |   86.36 |   86.95 | ...68,388,395-401 
  memoryAge.ts     |   90.47 |       80 |     100 |   90.47 | 50-51             
  paths.ts         |   95.29 |    96.59 |     100 |   95.29 | ...80-381,402-403 
  ...ing-skills.ts |     100 |       72 |     100 |     100 | 31-35,73-78,97    
  prompt.ts        |   97.26 |    87.03 |     100 |   97.26 | ...10-218,222,225 
  recall.ts        |   82.06 |       75 |    90.9 |   82.06 | ...59-364,395-406 
  refresh.ts       |   89.85 |    82.92 |     100 |   89.85 | ...54-155,162-163 
  ...ceSelector.ts |    93.1 |    81.81 |     100 |    93.1 | ...25,127-128,136 
  remember.ts      |   98.89 |    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 |     82.6 |     100 |   92.92 | ...16-117,147-148 
  ...git-status.ts |     100 |     87.5 |     100 |     100 | 30                
  ...cret-guard.ts |     100 |      100 |     100 |     100 |                   
  ...emory-sync.ts |   94.24 |    82.85 |     100 |   94.24 | ...34-236,246-247 
  types.ts         |     100 |      100 |     100 |     100 |                   
  ...ontextFile.ts |   81.21 |    81.53 |   81.81 |   81.21 | ...63-277,291-296 
 src/mocks         |       0 |        0 |       0 |       0 |                   
  msw.ts           |       0 |        0 |       0 |       0 | 1-9               
 src/models        |   92.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.77 |    91.26 |   71.07 |   83.77 |                   
  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.54 |    89.63 |      80 |   86.54 | ...1096,1202-1206 
  rule-parser.ts   |   94.49 |     92.7 |     100 |   94.49 | ...1447,1481-1483 
  ...-semantics.ts |   70.44 |    91.07 |   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.5 |   81.25 |   83.71 |                   
  all-providers.ts |     100 |      100 |     100 |     100 |                   
  index.ts         |     100 |      100 |     100 |     100 |                   
  install.ts       |   93.11 |     84.5 |     100 |   93.11 | ...56-257,330-331 
  ...der-config.ts |   75.85 |    73.84 |   78.26 |   75.85 | ...73-474,502-503 
  types.ts         |       0 |        0 |       0 |       0 | 1                 
 ...viders/presets |   97.82 |    91.66 |   63.63 |   97.82 |                   
  ...oding-plan.ts |   87.34 |      100 |       0 |   87.34 | 82-84,87-89,91-94 
  ...a-standard.ts |     100 |      100 |     100 |     100 |                   
  ...token-plan.ts |     100 |      100 |     100 |     100 |                   
  ...m-provider.ts |   97.05 |    81.25 |      75 |   97.05 | 118-119           
  deepseek.ts      |     100 |      100 |     100 |     100 |                   
  grok.ts          |     100 |      100 |     100 |     100 |                   
  idealab.ts       |     100 |      100 |     100 |     100 |                   
  minimax.ts       |     100 |      100 |     100 |     100 |                   
  modelscope.ts    |     100 |      100 |     100 |     100 |                   
  openrouter.ts    |     100 |      100 |     100 |     100 |                   
  requesty.ts      |     100 |      100 |     100 |     100 |                   
  zai.ts           |     100 |      100 |     100 |     100 |                   
 src/qwen          |   85.41 |    78.52 |   95.89 |   85.41 |                   
  ...tGenerator.ts |   98.64 |    98.18 |     100 |   98.64 | 105-106           
  qwenOAuth2.ts    |   82.79 |    73.29 |   90.62 |   82.79 | ...1205-1221,1251 
  ...kenManager.ts |   85.36 |    76.61 |     100 |   85.36 | ...52-757,778-783 
 src/resources     |     100 |      100 |     100 |     100 |                   
  ...e-registry.ts |     100 |      100 |     100 |     100 |                   
 src/services      |   89.59 |    84.39 |   96.84 |   89.59 |                   
  ...ionTrailer.ts |     100 |      100 |     100 |     100 |                   
  ...llRegistry.ts |   97.68 |    85.71 |     100 |   97.68 | ...96,119,490-491 
  ...ionService.ts |   97.45 |    95.45 |     100 |   97.45 | ...,905,1048-1056 
  ...ingService.ts |   90.91 |    84.17 |   95.45 |   90.91 | ...2058,2085-2086 
  ...ttribution.ts |   91.73 |    87.71 |      90 |   91.73 | ...80-685,826-827 
  ...utSlimming.ts |    97.2 |    93.93 |     100 |    97.2 | ...39-340,378-381 
  cronScheduler.ts |   94.17 |    90.45 |      98 |   94.17 | ...1333,1736-1737 
  cronTasksFile.ts |   95.49 |    90.82 |     100 |   95.49 | ...37,346-347,483 
  cronTasksLock.ts |   94.44 |    89.47 |     100 |   94.44 | ...02-103,132-133 
  ...eryService.ts |   96.22 |    93.54 |      90 |   96.22 | 121,155-156,161   
  ...oryService.ts |   88.17 |    79.02 |    92.3 |   88.17 | ...1303,1344-1347 
  fileReadCache.ts |     100 |      100 |     100 |     100 |                   
  ...temService.ts |    92.8 |    84.68 |   94.11 |    92.8 | ...41,467-474,519 
  ...ratedFiles.ts |      96 |    88.23 |     100 |      96 | 119-120,146-147   
  gitInit.ts       |     100 |      100 |     100 |     100 |                   
  ...reeService.ts |    73.7 |    68.49 |   95.83 |    73.7 | ...2196,2225-2226 
  ...on-service.ts |   87.38 |       72 |     100 |   87.38 | ...01-305,343-344 
  ...references.ts |   98.39 |    88.76 |     100 |   98.39 | 154-155,215-216   
  ...ionService.ts |   98.22 |    97.34 |     100 |   98.22 | ...75-676,723-724 
  ...ticsDumper.ts |   98.37 |    95.23 |     100 |   98.37 | 185-186           
  ...ureMonitor.ts |   95.82 |    90.52 |   97.05 |   95.82 | ...60,861,875-877 
  ...orRegistry.ts |    97.3 |    91.22 |     100 |    97.3 | ...53-454,611-612 
  ...ttachments.ts |   97.74 |    90.85 |     100 |   97.74 | 298-308,646       
  ...ersistence.ts |   90.95 |    78.75 |     100 |   90.95 | ...78,963-964,992 
  ...on-service.ts |   94.49 |    92.26 |   97.14 |   94.49 | ...98-600,656-664 
  ...ce-service.ts |   98.38 |    93.75 |   88.88 |   98.38 | 63-64             
  ...ipt-reader.ts |   93.69 |    89.22 |   96.07 |   93.69 | ...1094-1095,1158 
  ...est-helper.ts |       0 |        0 |       0 |       0 | 1-65              
  ...iter-lease.ts |   82.81 |    74.08 |    97.5 |   82.81 | ...2364,2376-2379 
  sessionRecap.ts  |   67.56 |    43.47 |     100 |   67.56 | ...60,178,180-183 
  ...ionService.ts |   88.94 |    83.69 |   97.14 |   88.94 | ...2450,2520-2540 
  sessionTitle.ts  |   94.19 |    73.21 |     100 |   94.19 | ...43-246,277-278 
  ...ionService.ts |   84.35 |    78.37 |   97.14 |   84.35 | ...2472,2478-2483 
  ...pInhibitor.ts |   97.42 |    92.77 |     100 |   97.42 | ...30,169,369-370 
  ...Estimation.ts |     100 |    88.23 |     100 |     100 | 118-119           
  ...ageService.ts |   97.76 |    91.59 |   93.75 |   97.76 | ...61-262,366,567 
  ...UseSummary.ts |   94.63 |    88.46 |     100 |   94.63 | ...62-164,214-215 
  ...rd-service.ts |     100 |    88.37 |     100 |     100 | ...29,145-146,241 
  ...oryService.ts |   90.72 |    84.07 |     100 |   90.72 | ...06-509,561-562 
  ...reeCleanup.ts |   14.42 |      100 |   33.33 |   14.42 | 58-186            
  ...ionService.ts |   87.98 |    86.84 |     100 |   87.98 | ...38-439,455-456 
 ...icrocompaction |    98.9 |    95.06 |     100 |    98.9 |                   
  microcompact.ts  |    98.9 |    95.06 |     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.87 |   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.5 |     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 |     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     |   81.39 |    83.87 |   84.66 |   81.39 |                   
  ...ty-tracker.ts |     100 |      100 |     100 |     100 |                   
  config.ts        |     100 |      100 |     100 |     100 |                   
  constants.ts     |     100 |      100 |     100 |     100 |                   
  ...on-metrics.ts |   99.07 |    80.95 |     100 |   99.07 | 183,197           
  ...on-tracing.ts |   76.31 |    74.62 |   73.68 |   76.31 | ...80,387-389,405 
  ...attributes.ts |   95.15 |    87.27 |     100 |   95.15 | ...97-198,216-217 
  ...ag-metrics.ts |     100 |    77.77 |     100 |     100 | 21,40             
  ...t-loop-lag.ts |   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.1 |    95.72 |      95 |    99.1 | 145,369-370       
  ...t.circular.ts |       0 |        0 |       0 |       0 | 1-128             
  loggers.ts       |   57.84 |    74.16 |   65.45 |   57.84 | ...1438,1455-1475 
  metrics.ts       |   80.04 |    82.75 |   80.32 |   80.04 | ...1105,1108-1119 
  otlp-urls.ts     |     100 |      100 |     100 |     100 |                   
  ...attributes.ts |     100 |      100 |     100 |     100 |                   
  ...ime-config.ts |       0 |        0 |       0 |       0 | 1                 
  sanitize.ts      |      80 |    83.33 |     100 |      80 | 35-36,41-42       
  ...rters-grpc.ts |     100 |      100 |     100 |     100 |                   
  ...rters-http.ts |     100 |      100 |     100 |     100 |                   
  sdk-impl.ts      |   91.06 |    87.15 |   68.75 |   91.06 | ...32,478-479,495 
  sdk.ts           |   79.22 |    89.18 |   63.63 |   79.22 | ...57-161,199-221 
  ...on-context.ts |     100 |      100 |     100 |     100 |                   
  ...on-tracing.ts |    91.1 |    88.68 |   96.77 |    91.1 | ...1737,1768-1771 
  ...etry-utils.ts |     100 |      100 |     100 |     100 |                   
  ...l-decision.ts |     100 |      100 |     100 |     100 |                   
  trace-context.ts |     100 |      100 |     100 |     100 |                   
  ...e-id-utils.ts |     100 |      100 |     100 |     100 |                   
  tracer.ts        |   98.56 |    88.63 |     100 |   98.56 | 52,101            
  types.ts         |   82.51 |    94.77 |   86.04 |   82.51 | ...1374,1378-1385 
  uiTelemetry.ts   |   97.18 |    93.93 |      88 |   97.18 | ...70,314,461-462 
 ...ry/qwen-logger |   74.23 |     80.7 |      70 |   74.23 |                   
  event-types.ts   |       0 |        0 |       0 |       0 |                   
  qwen-logger.ts   |   74.23 |    80.53 |   69.49 |   74.23 | ...1122,1160-1161 
 src/test-utils    |   96.02 |    98.41 |   82.92 |   96.02 |                   
  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.1 |    84.89 |   88.42 |    86.1 |                   
  ...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.7 |    86.77 |   81.25 |    82.7 | ...43-744,863-913 
  ...r-worktree.ts |   83.14 |    67.56 |    87.5 |   83.14 | ...84-187,278-279 
  enterPlanMode.ts |      85 |     82.6 |    87.5 |      85 | ...28-133,161-175 
  exit-worktree.ts |   83.29 |    83.65 |   94.44 |   83.29 | ...14-515,537-538 
  exitPlanMode.ts  |      95 |    85.29 |     100 |      95 | ...21-325,344,378 
  ...permission.ts |     100 |      100 |     100 |     100 |                   
  glob.ts          |   96.33 |     88.5 |     100 |   96.33 | ...24-225,373,376 
  grep.ts          |   90.73 |    86.61 |   85.71 |   90.73 | ...76-677,727-728 
  ...adTracking.ts |     100 |      100 |     100 |     100 |                   
  image-gen.ts     |   91.66 |    77.41 |    90.9 |   91.66 | ...13-214,221-222 
  list-agents.ts   |   94.02 |    82.35 |   83.33 |   94.02 | 31-32,47-48       
  loop-wakeup.ts   |   99.27 |    92.85 |     100 |   99.27 | 45                
  ls.ts            |   96.74 |    90.27 |     100 |   96.74 | 176-181,212,216   
  lsp.ts           |   72.71 |     59.5 |   90.32 |   72.71 | ...1212,1214-1215 
  ...nt-manager.ts |   81.49 |     80.1 |   85.71 |   81.49 | ...3217,3219-3220 
  mcp-client.ts    |   79.87 |    85.58 |   89.47 |   79.87 | ...2259,2263-2266 
  ...ry-timeout.ts |     100 |      100 |     100 |     100 |                   
  mcp-errors.ts    |     100 |      100 |     100 |     100 |                   
  ...pool-entry.ts |   77.56 |    84.11 |   77.14 |   77.56 | ...1291,1299-1300 
  ...ool-events.ts |       8 |        0 |       0 |       8 | 132-158           
  mcp-pool-key.ts  |   97.46 |    93.93 |     100 |   97.46 | 175-176           
  ...ce-content.ts |   96.55 |    91.17 |     100 |   96.55 | 80-82             
  mcp-retry.ts     |   97.67 |    95.65 |     100 |   97.67 | 131-132           
  mcp-status.ts    |     100 |      100 |     100 |     100 |                   
  mcp-tool.ts      |   98.34 |    93.65 |     100 |   98.34 | ...-982,1037-1038 
  ...sport-pool.ts |   83.49 |    80.15 |   84.61 |   83.49 | ...1409,1416-1420 
  ...ace-budget.ts |   87.27 |     82.6 |     100 |   87.27 | ...00-305,340-345 
  memory-config.ts |     100 |      100 |     100 |     100 |                   
  ...iable-tool.ts |     100 |    84.61 |     100 |     100 | 101,108           
  monitor.ts       |   91.74 |    84.28 |   88.46 |   91.74 | ...93,606,804-809 
  notebook-edit.ts |   85.55 |    77.39 |   81.25 |   85.55 | ...86-902,948-949 
  ...escendants.ts |   36.17 |    64.51 |   55.55 |   36.17 | ...46-310,385-390 
  ...nforcement.ts |   81.45 |    89.74 |     100 |   81.45 | 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 |   93.57 |     92.3 |      90 |   93.57 | 122-130           
  shell.ts         |   78.67 |    84.04 |   91.91 |   78.67 | ...5019,5082-5083 
  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     |   73.38 |    77.77 |   83.33 |   73.38 | ...02,105,109-116 
  task-stop.ts     |   93.14 |    96.15 |   85.71 |   93.14 | 39-40,54-64       
  task-update.ts   |   82.89 |    83.92 |    92.3 |   82.89 | ...14-422,454-465 
  team-create.ts   |   97.22 |    85.71 |   83.33 |   97.22 | 48-49,129-130     
  team-delete.ts   |   86.74 |    83.33 |   83.33 |   86.74 | 37-38,42-48,72-73 
  ...n-approval.ts |   92.14 |    96.77 |   77.77 |   92.14 | 38-39,42-43,93-99 
  todoWrite.ts     |   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.53 |    83.57 |      80 |   90.53 | ...1007,1065-1068 
  write-file.ts    |    86.7 |    84.92 |   88.88 |    86.7 | ...24-827,864-899 
  zoom-image.ts    |   95.76 |    93.75 |      90 |   95.76 | 54-59,203-204     
 src/tools/agent   |   87.22 |    87.68 |   88.69 |   87.22 |                   
  agent.ts         |   85.84 |    86.59 |   86.31 |   85.84 | ...4315,4337-4347 
  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.24 |    84.81 |      75 |   86.24 |                   
  workflow.ts      |   86.24 |    84.81 |      75 |   86.24 | ...61,506,508-509 
 src/utils         |   92.84 |     89.6 |   96.85 |   92.84 |                   
  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 |                   
  ...ncyLimiter.ts |   94.64 |    95.23 |     100 |   94.64 | 64-66             
  ...igResolver.ts |     100 |      100 |     100 |     100 |                   
  ...engthError.ts |   91.06 |    89.47 |     100 |   91.06 | ...46-147,154-155 
  ...n-branches.ts |   95.81 |    93.95 |      95 |   95.81 | ...91-492,504-517 
  ...tion-chain.ts |     100 |      100 |     100 |     100 |                   
  cronDisplay.ts   |     100 |    97.61 |     100 |     100 | 46                
  cronParser.ts    |   95.34 |    93.33 |     100 |   95.34 | 41-42,47-48,70-71 
  debugLogger.ts   |   96.66 |    96.66 |   88.88 |   96.66 | 192-196           
  editHelper.ts    |   93.63 |     83.9 |     100 |   93.63 | ...27-428,462-463 
  editor.ts        |   97.65 |    95.45 |     100 |   97.65 | ...35-336,338-339 
  encoding.ts      |     100 |      100 |     100 |     100 |                   
  env.ts           |     100 |      100 |     100 |     100 |                   
  ...arResolver.ts |   94.28 |    88.88 |     100 |   94.28 | 28-29,125-126     
  ...entContext.ts |   96.63 |    90.13 |   96.66 |   96.63 | ...42,444-445,512 
  errorParsing.ts  |     100 |      100 |     100 |     100 |                   
  ...rReporting.ts |   95.65 |    93.33 |     100 |   95.65 | 37-38             
  errors.ts        |   82.62 |    94.32 |    61.9 |   82.62 | ...62-378,382-388 
  fetch.ts         |   90.68 |    82.51 |     100 |   90.68 | ...72,483-484,503 
  fileUtils.ts     |   94.87 |    92.95 |   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 
  gitDiff.ts       |   95.19 |    81.36 |     100 |   95.19 | ...1073,1419-1420 
  gitDirect.ts     |   98.84 |    94.28 |     100 |   98.84 | 234,318           
  ...noreParser.ts |   94.48 |    93.22 |     100 |   94.48 | ...23-124,158-159 
  gitUtils.ts      |   78.02 |    81.25 |   85.71 |   78.02 | ...22-123,147-198 
  github-prs.ts    |   95.74 |    82.27 |     100 |   95.74 | 216,314-322       
  iconvHelper.ts   |     100 |      100 |     100 |     100 |                   
  ...rePatterns.ts |     100 |      100 |     100 |     100 |                   
  image-view.ts    |   95.12 |    93.33 |     100 |   95.12 | ...68-172,240-244 
  ...ionManager.ts |     100 |     90.9 |     100 |     100 | 27                
  ...lPromptIds.ts |     100 |      100 |     100 |     100 |                   
  ...on-context.ts |     100 |      100 |     100 |     100 |                   
  jsonl-utils.ts   |   95.27 |     93.1 |     100 |   95.27 | ...16-317,359-362 
  ...-detection.ts |     100 |      100 |     100 |     100 |                   
  ...iconv-lite.ts |     100 |      100 |     100 |     100 |                   
  ...simple-git.ts |   96.77 |    91.66 |     100 |   96.77 | 38                
  ...m-headless.ts |      96 |    88.88 |     100 |      96 | 34                
  ...iagnostics.ts |    96.4 |     94.2 |     100 |    96.4 | ...66,293-294,376 
  ...yDiscovery.ts |    92.4 |    89.13 |     100 |    92.4 | ...28,331,522-525 
  ...tProcessor.ts |   94.01 |       90 |     100 |   94.01 | ...47-353,445-446 
  ...Inspectors.ts |     100 |      100 |     100 |     100 |                   
  modelId.ts       |   98.96 |    98.21 |     100 |   98.96 | 153               
  ...kerChecker.ts |    90.9 |    91.66 |     100 |    90.9 | 73-79             
  notebook.ts      |   94.57 |    89.91 |   95.83 |   94.57 | ...21,333,385-387 
  openaiLogger.ts  |   91.66 |    89.74 |     100 |   91.66 | ...26-228,251-256 
  osc8.ts          |   54.26 |    64.86 |   83.33 |   54.26 | ...72-195,197-257 
  partUtils.ts     |     100 |    98.64 |     100 |     100 | 211               
  pathReader.ts    |     100 |      100 |     100 |     100 |                   
  paths.ts         |   93.99 |    92.85 |     100 |   93.99 | ...88-489,491-493 
  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.02 |     100 |   97.63 | ...17,251-252,278 
  retryPolicy.ts   |   97.72 |    90.56 |     100 |   97.72 | 130-131           
  ripgrepUtils.ts  |   90.04 |    93.43 |   95.45 |   90.04 | ...55-565,598-599 
  ...sDiscovery.ts |   97.46 |    93.05 |     100 |   97.46 | ...04,182-183,202 
  ...iagnostics.ts |   83.08 |     67.5 |   92.59 |   83.08 | ...23,543-544,550 
  ...tchOptions.ts |   84.87 |    86.61 |   96.29 |   84.87 | ...71,696,725-734 
  ...odelPrefix.ts |     100 |      100 |     100 |     100 |                   
  runtimeStatus.ts |    97.5 |    89.74 |     100 |    97.5 | 162-163           
  safe-mode.ts     |     100 |      100 |     100 |     100 |                   
  safeJsonParse.ts |     100 |      100 |     100 |     100 |                   
  ...nStringify.ts |     100 |      100 |     100 |     100 |                   
  ...-child-env.ts |     100 |      100 |     100 |     100 |                   
  ...aConverter.ts |   98.03 |    97.75 |     100 |   98.03 | 100,102-103       
  ...aValidator.ts |   92.09 |    83.65 |   90.47 |   92.09 | ...60,882-883,896 
  ...r-launcher.ts |   96.35 |    93.97 |   85.71 |   96.35 | ...35-336,347-348 
  sedEditParser.ts |   91.78 |    92.18 |     100 |   91.78 | ...66-569,645-646 
  ...nIdContext.ts |     100 |      100 |     100 |     100 |                   
  ...orageUtils.ts |   95.98 |    83.96 |     100 |   95.98 | ...70,386,466,485 
  ...-pager-env.ts |     100 |      100 |     100 |     100 |                   
  ...fety-rules.ts |     100 |     89.7 |     100 |     100 | ...01,304,309-311 
  shell-utils.ts   |   86.07 |    88.34 |     100 |   86.07 | ...2269,2276-2280 
  ...lAstParser.ts |   98.16 |    91.91 |     100 |   98.16 | ...1244-1246,1256 
  ...ContextEnv.ts |     100 |       92 |     100 |     100 | 50-52             
  ...nlyChecker.ts |   96.33 |    96.57 |     100 |   96.33 | ...83-284,292-293 
  sideQuery.ts     |   86.82 |    86.66 |     100 |   86.82 | ...79-185,187-193 
  ...pEventSink.ts |     100 |       80 |     100 |     100 | 61                
  ...tGenerator.ts |     100 |      100 |     100 |     100 |                   
  ...ameContext.ts |     100 |      100 |     100 |     100 |                   
  symlink.ts       |   77.77 |       50 |     100 |   77.77 | 44,54-59          
  ...e-encoding.ts |   85.96 |    76.47 |     100 |   85.96 | 58-61,64-65,78-79 
  ...emEncoding.ts |   96.36 |    91.17 |     100 |   96.36 | 59-60,124-125     
  terminalSafe.ts  |     100 |      100 |     100 |     100 |                   
  ...Serializer.ts |   98.72 |       90 |     100 |   98.72 | 42-43,134,201-203 
  testUtils.ts     |   53.33 |      100 |   33.33 |   53.33 | ...53,59-64,70-72 
  ...-constants.ts |     100 |      100 |     100 |     100 |                   
  textUtils.ts     |      65 |      100 |      75 |      65 | 56-75             
  thoughtUtils.ts  |     100 |    95.65 |     100 |     100 | 99                
  ...-converter.ts |   95.23 |    85.71 |     100 |   95.23 | 36-37             
  ...name-utils.ts |     100 |      100 |     100 |     100 |                   
  ...-finalizer.ts |   97.66 |     90.9 |     100 |   97.66 | 165-166,168-172   
  tool-utils.ts    |    95.2 |    93.61 |     100 |    95.2 | ...58-159,162-163 
  ...ultCleanup.ts |   54.62 |    30.76 |      75 |   54.62 | ...03-105,108-134 
  ...Compaction.ts |   96.13 |    96.42 |     100 |   96.13 | ...34-339,341-346 
  ...pt-records.ts |   85.85 |    83.63 |     100 |   85.85 | ...90-394,424-439 
  truncation.ts    |   90.56 |    90.43 |     100 |   90.56 | ...35-443,480-486 
  windowsPath.ts   |   89.47 |    79.31 |     100 |   89.47 | ...57-58,62,90-91 
  ...aceContext.ts |   95.81 |    89.39 |     100 |   95.81 | ...74-275,299-301 
  xml.ts           |    97.8 |    87.69 |     100 |    97.8 | 98-99             
  yaml-parser.ts   |   83.87 |    77.27 |     100 |   83.87 | ...31-234,239-240 
 ...ils/filesearch |   83.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. ✅

@yiliang114
yiliang114 enabled auto-merge August 2, 2026 16:42
@yiliang114

Copy link
Copy Markdown
Collaborator Author

Windows ECS runner validation report

Status: the ECS routing and runner setup are working, but the Windows test job is not green yet.

I dispatched the merge-queue-only Windows job from temporary validation refs that enabled workflow_dispatch. Fixes discovered during the runs were folded back into the PR and included in the final ECS run.

Run Runner Duration Result
Initial ECS run ecs-qwen-runner-win-hk-1 14m 23s Failed: 13 Windows-specific assertions
ECS run 2 ecs-qwen-runner-win-hk-1 13m 21s Failed: 13 assertions, including one transient file-lock failure
ECS run 3 ecs-qwen-runner-win-hk-1 13m 27s Failed: 12 assertions
Final PR-version ECS run ecs-qwen-runner-win-hk-1 13m 30s Failed: 11 assertions (CLI 4, Core 7)
GitHub-hosted Windows baseline windows-2022 45m 40s Failed: 42 assertions (CLI 25, Core 17)

Runner setup, checkout, Node setup, npm configuration, and dependency installation succeeded in every completed ECS run. No ECS run was lost to runner disconnects, timeouts, or resource exhaustion. The three post-fix ECS runs averaged 13m 26s; the hosted baseline took 45m 40s (about 3.4x longer).

Validation found and fixed two concrete Windows gaps in this PR:

  • the GitHub channel test no longer checks POSIX file permission bits on Windows;
  • the self-hosted setup exposes the already-installed Git Bash to subsequent test processes.

The final ECS run still fails on hard-coded POSIX path/executable-bit expectations and Windows filesystem semantics. The same-code hosted baseline is also red, with a larger overlapping failure set, so these are current Windows-suite compatibility issues rather than an ECS scheduling failure.

Conclusion: the Windows ECS runner is viable and materially faster, but this check should not yet be treated as healthy/green. The remaining Windows test expectations need a separate compatibility pass before this becomes a reliable merge-queue gate.

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

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Not reviewed: build-and-test — the changed job Test (windows-latest, Node 22.x) was skipped in CI (merge_group-only) and its Windows runtime behavior was not exercised locally (review host is Linux).

Not linted (tool limitation, not a blocker): the executable-script lint — .github/workflows/ci.yml: actionlint embedded-shell source mapping is not yet supported — not linted.

中文说明

未审查:build-and-test — the changed job Test (windows-latest, Node 22.x) was skipped in CI (merge_group-only) and its Windows runtime behavior was not exercised locally (review host is Linux)。

未检查(工具限制,非阻断):the executable-script lint — .github/workflows/ci.yml: actionlint embedded-shell source mapping is not yet supported — not linted。

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

Comment thread .github/workflows/ci.yml Outdated

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

[Critical] ci.yml:721 — Dropping test:scripts removes the only CI execution of 9 Windows-only tests in scripts/tests/install-script.test.js (re-checked existing blocker: still stands)

— qwen3.7-max via Qwen Code /review

@wenshao

wenshao commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

@qwen-code /takeover

@qwen-code-dev-bot qwen-code-dev-bot added the autofix/takeover Summon the autofix loop to manage this PR (remove to release; needs triage+) label Aug 3, 2026
@qwen-code-dev-bot

Copy link
Copy Markdown
Collaborator

🤝 Takeover engaged: the autofix loop now manages this PR — it will address new review feedback and resolve base conflicts until the label is removed or the round cap is reached. Remove the autofix/takeover label (or comment @qwen-code /takeover stop) to release.

中文说明

🤝 已接管:autofix 循环现在管理此 PR —— 将持续处理新的评审反馈与 base 冲突,直到移除标签或达到轮次上限。移除 autofix/takeover 标签(或评论 @qwen-code /takeover stop)即可释放。

@qwen-code-dev-bot

qwen-code-dev-bot commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

AutoFix round 10 finishedview run. See this round's report below.

中文说明

AutoFix 第 10 轮已完成 —— 查看运行。本轮报告见下方。

@wenshao

wenshao commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

Review: ci: run Windows merge queue tests on ECS

Overview

Routes test_windows to the self-hosted ecs-win pool by default, keeping MAINTAINER_ECS_RUNNER_DISABLED=true as a fallback to windows-2022, and adds a self-hosted-only env setup step. Also guards one POSIX-mode assertion in GithubAdapter.test.ts so the suite is Windows-clean.

The routing expression, the check-name preservation, and the --workspaces command shape are all sound. actionlint passes on the resulting ci.yml (verified locally). NODE_OPTIONS: --max-old-space-size=3072 correctly replicates the cross-env in the root test:ci script, and --workspaces --if-present --parallel is a faithful copy of it. Validation run 30631136482 really did run all 19 workspaces green on ecs-qwen-runner-win-hk-1 — good evidence.

Below are the things I think need attention before this lands.


1. Dropping npm run test:scripts is a real Windows coverage regression, and the justifying comment is inaccurate

# Root test:scripts exercises bash-only workflow scripts; Linux CI covers it.
npm run test:ci --workspaces --if-present --parallel

Root test:ci is ... --workspaces --if-present --parallel && npm run test:scripts, so this removes test:scripts from Windows entirely. But scripts/tests/ has 42 test files and only 11 mention bash — the rest are not bash-only. More directly, scripts/tests/vitest.config.ts (unchanged by this PR) still says:

Several tests in install-script.test.js shell out to node to run create-standalone-package.js, which on Windows runs a full tar+gzip pass under antivirus inspection. Real runtimes observed on Windows CI: 4780ms / 1666ms / 1079ms

That timeout was tuned specifically because this suite runs on Windows. install-script.test.js, package-assets.test.js, cli-entry.test.js, check-i18n.test.ts etc. are exactly the platform-sensitive ones you'd want Windows signal on.

Suggestion: keep npm run test:ci as-is, or scope the exclusion to the bash-dependent files only. If dropping it is intentional, please delete/rewrite that now-stale comment in vitest.config.ts in the same PR so the next reader isn't misled in the opposite direction.

2. defaults.run.shell: powershell silently changes shell semantics — including on the fallback runner

The workflow-level default is shell: bash, and today this job really does run under Git bash (C:\Program Files\Git\bin\bash.EXE --noprofile --norc -e -o pipefail {0} in the last merge-queue log). The job-level override drops -e -o pipefail.

Windows PowerShell 5.1's $ErrorActionPreference = 'Stop' (which the runner prepends) does not apply to native command exit codes, and only the last statement's $LASTEXITCODE propagates. So:

  • Configure npm for rate limiting: a failure in any of the first three npm config set calls is now silently ignored.
  • Run tests and generate reports: if the node -e "…mkdirSync…" line fails, the step continues and the suite runs with an uncreated HOME/USERPROFILE.

Either add explicit if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } checks, or scope shell: 'powershell' to the one step that needs it and leave the rest on bash (present on both runner types).

3. The kill switch no longer restores the previously-proven configuration

MAINTAINER_ECS_RUNNER_DISABLED=true only swaps the label. shell: powershell, LC_ALL: C.UTF-8, timeout-minutes: 60, and the new test command all still apply on windows-2022 — and none of that combination has ever run on a hosted Windows runner. If an ECS-motivated env change is what breaks, flipping the switch won't recover.

Consider gating the shell/env/test-command changes on runner.environment == 'self-hosted' so the fallback is byte-for-byte the configuration that used to run, or state explicitly in the comment that the fallback is a new configuration too.

4. The GITHUB_PATH line is outside the validated configuration and is self-contradictory as written

git config --global core.autocrlf false
…
'C:\Program Files\Git\bin' | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append

I diffed the configure step against windows-runner-smoke.yml at the validation run's SHA (5498bd3b): that step is $ErrorActionPreference = 'Stop' + git config + TEMP + TMP. This PR drops the $ErrorActionPreference line and adds the GITHUB_PATH line. So the PR body's "aligns the job with … configuration already proven by the Windows runner validation workflow" isn't quite true for this line — run 30631136482 never exercised it, and it passed all 19 workspaces without it.

It's also inconsistent with itself: if the intent is "git isn't on PATH", git config --global on the line above would already have failed, and GITHUB_PATH only affects subsequent steps. My guess is the real intent is bash.exe/sh.exe (Git for Windows normally only puts …\Git\cmd on PATH, which has git.exe but not bash.exe). If so, please say that in a comment; if it's speculative, drop it.

5. The new step is missing the skip_ci guard the other five steps have

- name: 'Configure self-hosted Windows test environment'
  if: "${{ runner.environment == 'self-hosted' }}"

Every sibling step also carries needs.classify_pr.outputs.skip_ci != 'true'. As written, a docs-only PR still claims the self-hosted runner and mutates --global git config on a persistent machine for a job that does nothing else. Suggest ${{ needs.classify_pr.outputs.skip_ci != 'true' && runner.environment == 'self-hosted' }}.

6. Fork guard is absent from the runs-on expression

The Linux gate encodes the trust boundary in the expression itself:

runs-on: '${{ (vars.MAINTAINER_ECS_RUNNER_DISABLED != ''true'' && (github.event.pull_request.head.repo.full_name == github.repository || github.event_name == ''merge_group'')) && fromJSON(...) || fromJSON(''["ubuntu-latest"]'') }}'

The Windows one omits the fork conjunct, so safety rests entirely on the distant job-level if: github.event_name == 'merge_group'. That's correct today, but it means a future one-line relaxation of the if: immediately routes fork-authored code onto a persistent Windows runner with a shared --global git config and a persistent npm cache. Adding the same conjunct costs nothing and keeps the invariant local.

7. Smaller notes / questions

  • --parallel lost its explanation. The smoke workflow carried a comment noting that npm has no --parallel (it's a pnpm/lerna flag), it's ignored, and workspaces run serially — kept only for parity with the root script. That comment didn't come along; without it the flag reads as a real concurrency knob and will confuse someone debugging Windows CI duration.
  • Node/cache strategy diverges from the Linux ECS jobs. Those deliberately refuse actions/setup-node on self-hosted and use a persistent npm cache dir with an explicit "provision Node 22.x or flip the kill switch" error. Here actions/setup-node@v6 + cache: npm runs on both paths. It's validated, so not a blocker — a one-line comment on why Windows differs would help.
  • Availability of a required check. This looks like a single runner (ecs-qwen-runner-win-hk-1). Merge-queue batches can be concurrent, so Windows jobs will serialize on it; and if the runner goes offline the job queues rather than fails, blocking the queue until a maintainer notices and flips the repo var. Is the ecs-win pool >1? Worth a line in the runbook either way.
  • No recent green baseline. There has been no merge_group run since 2026-07-02, and Test (windows-latest, Node 22.x) failed in all 25 of that day's runs. The validation run is the only positive signal and it was against a tree 147 commits behind current main — and #8087 already landed a new unguarded POSIX-mode assertion after #8050 fixed the suite, which is exactly the drift this PR is patching. Re-running windows-runner-smoke.yml against this PR's head before merge would de-risk it cheaply.

8. The test change looks right

GithubAdapter.test.ts — good fix, and it matches existing precedent in the same package family: packages/channels/base/src/SessionRouter.test.ts:1247 uses the identical inline if (process.platform !== 'win32'), and ChannelLoopStore.test.ts:181 uses it.skipIf. The inline guard is the right choice here since the rest of the test is platform-agnostic. Only nit: a short trailing comment (// Windows has no POSIX mode bits; stat reports 0o666) would stop it reading like a flake workaround.

Worth noting why this only surfaced now: in the last hosted merge-queue run the workspace loop never reached channel-github (the log stops after channel-dingtalk), so that assertion had never actually executed on Windows. The ECS validation run did reach all 19 workspaces and was green, which is reassuring — but it's also the reason a fresh smoke run against this head is worth doing.


Summary: routing, expression, and check-name handling are correct and well evidenced. My one blocking concern is #1 (silent loss of test:scripts Windows coverage on an inaccurate rationale). #2#5 are worth fixing before merge; #6#7 are hardening and docs.

Review feedback on the Windows ECS routing: dropping test:scripts removed the only Windows execution of 9 Windows-only install-script tests, and the job-wide PowerShell default plus narrowed test command changed the kill-switch fallback away from the known-good hosted configuration.

Restore the full npm run test:ci on both paths (bash is available: pre-installed on hosted runners, exposed via the Git Bash PATH entry on ECS) and gate every ECS-specific adjustment on runner.environment: the PowerShell setup step (now also skip_ci-guarded), TEMP/TMP/LC_ALL env writes, and the Linux-style Node setup split that fails with an actionable error naming MAINTAINER_ECS_RUNNER_DISABLED. The windows-2022 fallback is byte-for-byte the pre-ECS job again.
@qwen-code-dev-bot

Copy link
Copy Markdown
Collaborator

🤖 Addressed the latest review feedback (round 1/100). What changed, and what I pushed back on: · 已处理最新评审反馈(第 1/100 轮)。改动内容与我反驳保留之处如下:

Autofix review round summary — PR #8386

One commit on the PR branch: fd822ea88ci: scope Windows ECS tuning to self-hosted and restore full test:ci (.github/workflows/ci.yml only, +24/−12). No conflict resolution was needed (--conflict false; origin/main was not merged).

Feedback points and decisions

[Critical] Inline rc:3699888288 (@qwen-code-ci-bot) and the matching CHANGES_REQUESTED review by @doudouOUC — dropping test:scripts removes the only Windows execution of the 9 Windows-only tests in scripts/tests/install-script.test.js. — RESOLVED. Verified against the code: itOnWindows is defined at install-script.test.js:47 with 9 Windows-only tests (lines 3870–4153), root test:ci is npm run test:ci --workspaces ... && npm run test:scripts, and only the Windows job ever ran it on Windows (Linux ci.yml:409 / macOS ci.yml:650 run the full suite but skip those tests by construction). Fix: restore the full npm run test:ci on both routing paths instead of the narrowed --workspaces --if-present --parallel form. This goes beyond the "at minimum keep it on the hosted fallback" suggestion: coverage is restored on ECS too. The bash-dependent files under scripts/tests/ can run on both runners — bash is pre-installed on windows-2022, and on ECS the existing setup step already puts C:\Program Files\Git\bin on GITHUB_PATH (commit dd5c351ad), which also supplies the bash the workflow-level default shell resolves to. The in-file contract at ci.yml:378 ("macOS/Windows merge-queue jobs run npm run test:ci only") is now accurate again.

@wenshao §1 (blocking) — RESOLVED. Same defect and same fix as the Critical above.

@wenshao §2 — the job-wide shell: 'powershell' override loses failure propagation (e.g. a failing node -e HOME bootstrap no longer aborts the step) and changed the hosted fallback. — RESOLVED. The job-level defaults: run: shell: 'powershell' is removed. All steps inherit the workflow-level bash again (GitHub wraps it with -eo pipefail, restoring mid-script failure propagation), and shell: 'powershell' is scoped to the one step that genuinely needs it — the self-hosted environment setup (the runner may lack pwsh; Windows PowerShell is guaranteed).

@wenshao §3 — the kill switch no longer restored the known-good hosted configuration. — RESOLVED. Everything ECS-specific is now gated on runner.environment == 'self-hosted':

  • LC_ALL: 'C.UTF-8' moved from job-level env: into the self-hosted setup step's GITHUB_ENV writes.
  • NODE_OPTIONS: '--max-old-space-size=3072' removed from the test step entirely — the root test:ci script already applies it via cross-env, exactly as the Linux/macOS jobs rely on.
  • Shell and test command restored per §1/§2.
    The hosted (windows-2022) fallback is now byte-for-byte the pre-ECS job, with one exception: job-level timeout-minutes: 60. It cannot be gated on runner.environment, and the same review's overview endorses it as "a sensible bound against a stuck persistent runner" (validation finished in ~13.3 min), so it stays.

@wenshao §4 — diverges from the Linux ECS Node-setup convention. — RESOLVED (split implemented). Set up Node.js 22.x is split into Set up Node.js 22.x (hosted) (actions/setup-node, unchanged inputs) and Use pre-installed Node.js (self-hosted), which fails with an actionable ::error:: naming MAINTAINER_ECS_RUNNER_DISABLED, mirroring ci.yml:251-271 / ci.yml:520-540. The self-hosted machine demonstrably has Node ≥ 22 on PATH (the smoke workflow asserts it). The parenthetical NPM_CONFIG_CACHE step was intentionally not added: on a persistent Windows runner npm's default cache (%LOCALAPPDATA%\npm-cache) already persists across jobs, so an override would add untestable path handling for no behavior gain.

@wenshao §5.1 — missing skip_ci guard on the new setup step. — RESOLVED. Its condition is now needs.classify_pr.outputs.skip_ci != 'true' && runner.environment == 'self-hosted'.

@wenshao §5.2 — the --parallel explanation comment was dropped when copying from the smoke workflow. — RESOLVED (moot). The job runs plain npm run test:ci again, so neither comment is needed — the "or neither" option from the suggestion.

@wenshao §5.3 — $ErrorActionPreference = 'Stop' omitted relative to the smoke workflow. — DECLINED (intentional). It is redundant: the runner's powershell wrapper already sets $ErrorActionPreference = 'stop', and it only affects cmdlets, so it would not have guarded the one native command in the step (git config) anyway. Adding it back would be decoration, not protection.

@qwen-code-ci-bot CHANGES_REQUESTED review — "Not reviewed: build-and-test — the changed job was skipped in CI (merge_group-only) and not exercised locally (review host is Linux)". — NOT ACTIONABLE IN CODE. The job is merge-gate-only by design (that is how the required check context Test (windows-latest, Node 22.x) is preserved without widening the trigger surface), so no PR-event CI run can ever exercise it, and this Linux host cannot exercise Windows runtime behavior. Windows execution evidence comes from maintainer-dispatched runs — @yiliang114's report in this thread covers four ECS runs plus a hosted baseline of the prior revision. The revised revision needs one more ECS validation dispatch (or merge-queue entry) the same way; that is a maintainer action, not a code change. The review's second note ("actionlint embedded-shell source mapping not supported — not linted") is explicitly non-blocking; actionlint itself was run locally on the modified file and passed.

@yiliang114 validation report — INFORMATIONAL, no action requested. It confirms the ECS routing works (~3.4× faster than hosted) and that the remaining 11 red assertions are pre-existing Windows-suite compatibility issues tracked for a separate pass (the same-code hosted baseline is also red, with 42). Restoring test:scripts does not change that status; it makes script-suite results visible on Windows instead of silently skipped, which is what the blocking review demanded.

Verification

Commands actually run this round (this change touches .github/workflows/ci.yml only):

  • npm run build — passed
  • npm run typecheck — passed
  • npm run lint (ESLint) — passed
  • actionlint v1.7.12 on .github/workflows/ci.yml (installed via node scripts/lint.js --setup) — passed; it parses the full YAML and validates every expression, including the new if: conditions and the runs-on ternary
  • npx prettier --check .github/workflows/ci.yml — passed
  • Structural parse of the edited job (node yaml package) — confirmed the resulting shape: no job-level env/defaults, powershell scoped to the setup step, hosted/self-hosted Node split, and the test step's env/run byte-identical to the pre-PR job
  • npx vitest run src/GithubAdapter.test.ts in packages/channels/github — 144/144 passed (the other file in this PR's diff, from an earlier commit)
  • yamllint — could not run in this sandbox (no pip/pip3 available); mitigated by actionlint and Prettier both fully parsing the file and by every added line copying an existing pattern in the same file
  • Integration tests after npm run bundle — not run: the change is CI workflow YAML, which is not exercised through the bundled CLI or the integration harness
  • npm run generate:settings-schema — not applicable (no settings source changed)
  • Windows/ECS execution of the modified job — not possible from this Linux review host; the job is merge_group-only. Maintainer ECS validation of the revised revision (as done for the prior revision in this thread) remains the final runtime gate
中文说明

Autofix 评审轮次总结 — PR #8386

在 PR 分支上提交了一个 commit:fd822ea88ci: scope Windows ECS tuning to self-hosted and restore full test:ci(仅改动 .github/workflows/ci.yml,+24/−12)。无需解决冲突(--conflict false;未合并 origin/main)。

反馈点与处理决定

[Critical] 行内评论 rc:3699888288(@qwen-code-ci-bot)以及 @doudouOUC 相同的 CHANGES_REQUESTED 评审 —— 去掉 test:scripts 会移除 scripts/tests/install-script.test.js 中 9 个 Windows 专属测试唯一的 Windows 执行入口。 —— 已解决。已对照代码核实:itOnWindows 定义于 install-script.test.js:47,共 9 个 Windows 专属测试(第 3870–4153 行);根 test:cinpm run test:ci --workspaces ... && npm run test:scripts;且只有 Windows 这个 job 曾在 Windows 上运行过它(Linux ci.yml:409 / macOS ci.yml:650 跑完整套件,但这些测试按其构造在 Linux/macOS 上被跳过)。修复方式:在两条路由路径上都恢复完整的 npm run test:ci,不再使用收窄的 --workspaces --if-present --parallel 形式。这比"至少在托管回退路径上保留"的建议更进一步:ECS 上的覆盖也一并恢复。scripts/tests/ 中依赖 bash 的文件在两种 runner 上都能运行 —— windows-2022 预装 bash;ECS 上现有的 setup 步骤已把 C:\Program Files\Git\bin 写入 GITHUB_PATH(commit dd5c351ad),这也正是 workflow 级默认 shell 解析 bash 所需的来源。ci.yml:378 处的文件内约定("macOS/Windows merge-queue jobs 只运行 npm run test:ci")现在重新成立。

@wenshao §1(阻断项) —— 已解决。与上述 Critical 是同一缺陷,同一修复。

@wenshao §2 —— job 级 shell: 'powershell' 覆盖导致失败不再向上传播(例如 node -e 创建 HOME 的引导步骤失败时不再中止该 step),并且改动了托管回退路径。 —— 已解决。移除了 job 级 defaults: run: shell: 'powershell'。所有步骤重新继承 workflow 级的 bash(GitHub 会附加 -eo pipefail,恢复了脚本中途失败即中止的传播),shell: 'powershell' 只限定在真正需要它的那个步骤 —— 自托管环境配置步骤(runner 上可能没有 pwsh,而 Windows PowerShell 一定存在)。

@wenshao §3 —— kill switch 不再恢复已验证的托管配置。 —— 已解决。所有 ECS 专属调整现在都按 runner.environment == 'self-hosted' 门控:

  • LC_ALL: 'C.UTF-8' 从 job 级 env: 移入自托管 setup 步骤的 GITHUB_ENV 写入。
  • 测试步骤中的 NODE_OPTIONS: '--max-old-space-size=3072' 整体移除 —— 根 test:ci 脚本已通过 cross-env 施加该值,与 Linux/macOS job 的依赖方式完全一致。
  • shell 与测试命令按 §1/§2 恢复。
    托管(windows-2022)回退路径现在与 ECS 引入前的 job 逐字节一致,唯一例外是 job 级 timeout-minutes: 60。它无法按 runner.environment 门控,且同一份评审的概述部分认可它是"针对持久 runner 卡死的合理上限"(验证运行约 13.3 分钟完成),因此保留。

@wenshao §4 —— 与 Linux ECS 的 Node 安装约定不一致。 —— 已解决(实现了拆分)。Set up Node.js 22.x 拆分为 Set up Node.js 22.x (hosted)actions/setup-node,入参不变)和 Use pre-installed Node.js (self-hosted);后者失败时输出可操作的 ::error::,点名 MAINTAINER_ECS_RUNNER_DISABLED,与 ci.yml:251-271 / ci.yml:520-540 保持一致。自托管机器上 PATH 中有 Node ≥ 22 已被 smoke workflow 断言证实。括号中提到的 NPM_CONFIG_CACHE 步骤有意添加:在持久 Windows runner 上,npm 默认缓存(%LOCALAPPDATA%\npm-cache)本就跨 job 持久,额外覆盖只会引入无法在本机验证的路径处理而无行为收益。

@wenshao §5.1 —— 新 setup 步骤缺少 skip_ci 守护。 —— 已解决。其条件现为 needs.classify_pr.outputs.skip_ci != 'true' && runner.environment == 'self-hosted'

@wenshao §5.2 —— 从 smoke workflow 拷贝时丢掉了关于 --parallel 的说明注释。 —— 已解决(不再适用)。job 重新运行纯粹的 npm run test:ci,两条注释都不需要 —— 即建议中"两者都不保留"的选项。

@wenshao §5.3 —— 相对 smoke workflow 少了 $ErrorActionPreference = 'Stop' —— 拒绝(有意省略)。它是冗余的:runner 的 powershell 包装脚本已设置 $ErrorActionPreference = 'stop',且它只作用于 cmdlet,本来也无法守护该步骤中唯一的原生命令(git config)。补回去只是装饰,不是保护。

@qwen-code-ci-bot 的 CHANGES_REQUESTED 评审 —— "Not reviewed: build-and-test —— 被改动的 job 在 CI 中被跳过(仅 merge_group 触发),且未在本地演练(评审宿主是 Linux)"。 —— 代码层面不可处理。该 job 按设计只在 merge gate 运行(这正是保留必需检查上下文 Test (windows-latest, Node 22.x) 而不扩大触发面的方式),因此任何 PR 事件的 CI 运行都不可能演练它,本 Linux 宿主也无法演练 Windows 运行时行为。Windows 执行证据来自 maintainer 手动派发的运行 —— @yiliang114 在本帖中的报告覆盖了上一修订版的 4 次 ECS 运行和 1 次托管基线。修订后的版本需要同样的再一次 ECS 验证派发(或进入 merge queue);那是 maintainer 操作,不是代码改动。该评审的第二条说明("actionlint embedded-shell source mapping 不支持 —— 未检查")明确非阻断;actionlint 本身已在本地对被改文件运行并通过。

@yiliang114 的验证报告 —— 信息性内容,未提出改动要求。报告确认 ECS 路由可用(比托管快约 3.4 倍),剩余 11 个红色断言是既有的 Windows 套件兼容性问题,将另行专项处理(同一代码的托管基线同样为红,且有 42 个失败)。恢复 test:scripts 不改变这一状态;它让 scripts 套件的结果在 Windows上可见,而不是被静默跳过 —— 这正是阻断性评审所要求的。

验证

本轮实际运行的命令(本次改动仅涉及 .github/workflows/ci.yml):

  • npm run build —— 通过
  • npm run typecheck —— 通过
  • npm run lint(ESLint)—— 通过
  • actionlint v1.7.12 检查 .github/workflows/ci.yml(经 node scripts/lint.js --setup 安装)—— 通过;它会完整解析 YAML 并校验所有表达式,包括新增的 if: 条件与 runs-on 三元表达式
  • npx prettier --check .github/workflows/ci.yml —— 通过
  • 对编辑后 job 的结构化解析(node yaml 包)—— 确认最终结构:无 job 级 env/defaultspowershell 限定在 setup 步骤,Node 安装按 hosted/self-hosted 拆分,测试步骤的 env/run 与 PR 前的 job 逐字节一致
  • packages/channels/githubnpx vitest run src/GithubAdapter.test.ts —— 144/144 通过(PR diff 中的另一个文件,来自更早的 commit)
  • yamllint —— 本沙箱无法运行(无 pip/pip3);已通过 actionlint 与 Prettier 均完整解析该文件、且新增每一行都复制自同文件既有模式来降低风险
  • npm run bundle 后的集成测试 —— 未运行:本次改动是 CI workflow YAML,不经由打包后的 CLI 或集成测试框架执行
  • npm run generate:settings-schema —— 不适用(未改动任何 settings 源)
  • 在 Windows/ECS 上执行被改动的 job —— 本 Linux 评审宿主无法执行;该 job 仅在 merge_group 触发。对修订版做一次 maintainer ECS 验证(与本线程中上一修订版的做法相同)仍是最终的运行时关卡

Base-conflict check · 基分支冲突检查: no conflict with main. · 与 main 无冲突。

Re-review when you have a moment. After round 100 this bot stops and leaves the PR for a human. · 有空请复审;第 100 轮后本 bot 停止并将 PR 交给人工。


🧠 Handled by Qwen Code · model/模型 qwen3.8-max-preview

@yiliang114

yiliang114 commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator Author

Final Windows ECS validation

I validated the final PR head 2a67f0f4e3e twice on ecs-qwen-runner-win-hk-1. Both validation runs used the same commit (1453a6a6ad5), whose only difference from the PR head was enabling workflow_dispatch for the existing classifier and Windows test job; the test command remained the production root command, npm run test:ci.

Run Runner Job duration Result
Full validation #1 ecs-qwen-runner-win-hk-1 14m 07s Success
Full validation #2 ecs-qwen-runner-win-hk-1 14m 06s Success

Both runs completed dependency installation, every workspace test suite, and the root script suite without failures. The script-suite summary was identical in both runs: 37/37 test files passed; 545 tests passed, 38 platform skips, 0 failures (583 total). The previously failing package-scripts.test.js fixture passed all runnable cases (15 total, 2 platform skips).

The Windows installer coverage remained enabled and passed in both runs: 9/9 Windows installer/uninstaller end-to-end tests passed. This includes checksum-verified local installation, tampered-archive rejection, unsafe install-path rejection, Aliyun VERSION-pointer resolution, npm fallback behavior and error context, plus PowerShell uninstall help and purge behavior.

The compatibility fixes are test/CI-only: platform-correct paths and POSIX-only skips, deterministic directory-identity replacement, killed-process liveness waiting, removal of unrelated sidecar I/O from a 50,001-session truncation test, and exact Windows CMD fixture output. No production logic was changed. The runner retains the repository kill switch (MAINTAINER_ECS_RUNNER_DISABLED=true) for immediate fallback to windows-2022.

Conclusion: the complete Windows merge-queue test workload is green in two consecutive exact-head ECS runs, with full script and Windows installer coverage preserved.

@qwen-code-dev-bot

Copy link
Copy Markdown
Collaborator

🤖 Addressed the latest review feedback (round 9/100). What changed, and what I pushed back on: · 已处理最新评审反馈(第 9/100 轮)。改动内容与我反驳保留之处如下:

Autofix round summary — PR #8386 (reviews after 2026-08-04T11:41:18Z)

Addressed the two new top-level reviews from @wenshao (12:43 and 14:11 UTC) and the automated review round 6 (COMMENTED with zero findings — nothing to fix; its note that the merge_group-only Windows job cannot be exercised from a Linux review host is expected, and the merge queue remains the verification point). Items already fixed at the previous head fd3a25c54 were re-verified against the code rather than assumed. No base-conflict work (--conflict false).

Fixed in this round (commit 2988ed038)

  1. Shell divergence between gate and smoke (review 1 Blocking Where is the config saved? #2). One premise needs correcting: ci.yml has a pre-existing workflow-level defaults.run.shell: 'bash', so the three test_windows run steps never fell to pwsh — they run under bash, exactly as they did on windows-2022 before this PR (that is also why configure-windows-runner puts Git Bash on PATH). A real divergence still existed: the gate runs those steps under bash while the smoke pinned powershell. Pinning powershell on the gate (the suggested fix) would have changed established gate behavior, so the fix goes the other direction: the smoke's Configure npm for rate limiting, Install dependencies, and Run tests and generate reports steps now pin shell: 'bash', matching the gate, with a pin test asserting the parity. ⚠️ Because the smoke changed, the smoke dispatch needs to be re-run on the new head before its evidence transfers.
  2. Redundant NODE_OPTIONS dropped from the smoke (review 1 Blocking pre-release: fix ci #1 side-note) — the root test:ci supplies it via cross-env, and the gate's equivalent step sets no NODE_OPTIONS, so the smoke now matches the gate byte-for-byte on that step.
  3. New npm-cache step hardened and mirrored into the smoke (extends review 2 Medium Are you interested in AI Terminal? #4). The step added at fd3a25c54 used mkdir -p, but coreutils are not guaranteed on a Git-Bash-only PATH (C:\Program Files\Git\bin does not ship them), and GitHub invokes predefined bash with -e — a missing mkdir could block the merge queue on the first run. Directory creation now goes through the Node that the preflight already verified. The step is also added to the smoke (same position as the gate: after self-hosted-node) so it is exercised before the queue, and both copies are pinned.
  4. Dead fork guard removed from runs-on (review 1 Should-fix TypeError in Authentication Selection Interface #5 / review 2 Low API Key是要设成阿里云的API Key吗? #7). The job's if: is github.event_name == 'merge_group', where github.event.pull_request is null, so the fork comparison was provably dead and the whole expression reduced to the kill switch. Chose removal over a "defensive parity" comment: dead code cemented by a toBe pin is worse than none. The runs-on is now the kill switch alone, the job comment is corrected (it previously claimed parity with the Classify PR gate, which also has an author_association clause this one never had), and the pin test is updated to the simplified line. The whole-line pin is kept deliberately — its documented purpose is catching quoting/escape regressions, and the line is now short.
  5. runner.environment == 'github-hosted'!= 'self-hosted' (review 2 Low 这个怎么调用 Qwen3-Coder,配置界面只有openai #10) on the Windows hosted Node step, so the hosted/self-hosted Node paths are exact complements and an unknown future runner.environment value degrades to setup-node instead of silently setting up no Node at all. Pin test updated. The pre-existing Linux jobs keep their current expressions (out of this PR's scope).
  6. waitForClose flake vector removed (review 1 Should-fix 如何自定义密钥文件 .env可能与其他文件冲突 #3 / review 2 Low Use Enter to Set Auth 之后直接崩溃退出 #11): any process.kill(pid, 0) error now means "gone" (ESRCH = exited; EPERM = PID already recycled by a process this test cannot signal), and the 100×25ms ceiling warns instead of throwing, since on Windows a still-answerable signal 0 after close almost always means a reused PID. Verified: full session-writer-lease.test.ts suite passes (84 passed, 2 platform-skipped).
  7. LC_ALL / autocrlf comment claims softened (review 2 Low API Error: Streaming setup timeout after 45s #9 / review 1 nit): the composite-action description and the gate comment now say the locale env mirrors the Linux gates and is inert on Windows (Node collates through ICU), and the autocrlf step is framed as belt-and-braces alongside .gitattributes' * text=auto eol=lf instead of a hard requirement.
  8. One-line rationale for the readSidecar stub in server.test.ts (review 2 Low Related to #5: Fixed bounds checking in RadioButtonSelect component to ensure active… #12): 50,001 fixture rows would otherwise trigger 50,001 real sidecar reads.
  9. scripts/lint.js JSDoc moved (review 1 nit): the @type annotation left let lintersCache; (which starts undefined); it is now @returns on getLinters().
  10. Design doc Operations (review 1 nits): added that the kill-switch fallback is not a byte-identical environment (the autocrlf step and the configure action are self-hosted-only; the hosted fallback is the pre-migration job), and that a healthy-but-busy single ecs-win serializes merge-queue entries the hosted pool ran in parallel.
  11. test_windows nodejs.org comment aligned with the softened rationale used elsewhere ("may be unreachable through the egress proxy"), completing review 2 Blocking 如何自定义密钥文件 .env可能与其他文件冲突 #3 at the one call site that still carried the strong wording.

Already fixed at fd3a25c54 (re-verified in code)

Declined (with reasons)

  • Split the Windows pins out of no-ak-integration-ci.test.js (review 1 nit / review 2 Low 为什么不能跟cc或者geminicli一样,把密钥放在终端的环境变量里面? #14): reorganizing ~300 lines of pins across a new file is churn with no correctness benefit at this PR stage, the two reviews suggest different target names (a preference, not a defect), the Windows pins share the same ci.yml/composite-action fixtures as the existing ones, and the author already chose not to expand this PR for lower-priority follow-ups.
  • (@echo npm %*)>>… fixture hardening (review 2 Low Qwen-Code still tries to access Google's IP #13): the fixture arguments are fixed by scripts/prepare.js (run generate, run build, ci) and none ends in a digit, so the redirect-handle hazard cannot occur today; cmd.exe syntax changes cannot be verified from this Linux runner (the win32 branch only executes on Windows), and the current form is the one exercised by the cited Windows runs.
  • Semantic pinning instead of the whole-line runs-on toBe (review 1 nit): the whole-line pin is intentional per its own documented rationale (catching nested-''true'' quoting and &&/|| regrouping regressions); after the dead-guard removal the line is short, and pinning "the semantic pieces" would miss exactly the regrouping mutations the pin exists to catch.

Deferred to maintainer

  • PR description scope (review 1 nit): expanding the body to list the composite-action refactor and the Windows test-compat work (or splitting the PR) is an author/maintainer call and cannot be done from this flow; the code scope itself is unchanged this round.

Note for the maintainer

The smoke workflow changed in this round (shell parity + npm-cache step), so the in-flight smoke evidence on fd3a25c54 no longer covers the current head exactly — please dispatch windows-runner-smoke.yml once more on the new head before merging.

Verification

Commands actually run this round, all after the final edit:

  • npm run build — passed (exit 0)
  • npm run typecheck — passed (exit 0)
  • npm run lint — passed (exit 0)
  • npx vitest run --config ./scripts/tests/vitest.config.ts scripts/tests/no-ak-integration-ci.test.js scripts/tests/package-scripts.test.js scripts/tests/lint.test.js — 3 files, 24 passed
  • cd packages/core && npx vitest run src/services/session-writer-lease.test.ts — 84 passed, 2 skipped (platform-gated)
  • cd packages/cli && npx vitest run src/serve/server.test.ts -t "reports organized session truncation in the response" — 1 passed
  • YAML syntax: js-yaml parse of ci.yml, windows-runner-smoke.yml, and the three composite actions — all OK
  • Not run: integration tests (no bundled-CLI behavior touched), settings-schema generation (no settings source touched). The Windows-on-ECS runtime path itself is CI-only; the re-dispatched smoke run is its verification point.
中文说明

Autofix 本轮总结 — PR #8386(2026-08-04T11:41:18Z 之后的评审)

本轮处理了 @wenshao 的两条新顶层评审(UTC 12:43 与 14:11)以及自动评审第 6 轮(COMMENTED、零发现——无需修复;其中"merge_group-only 的 Windows 任务无法在 Linux 评审主机上执行"的说明属于预期情况,合并队列仍是最终验证点)。上一 head fd3a25c54 已修复的条目是逐行核对代码确认的,而非凭记忆认定。无 base 冲突需要处理(--conflict false)。

本轮修复(提交 2988ed038

  1. gate 与 smoke 的 shell 分歧(评审 1 Blocking Where is the config saved? #2)。需要先澄清一个前提:ci.yml 顶层早已存在 defaults.run.shell: 'bash',因此 test_windows 的三个 run 步骤从来不会落到 pwsh——它们一直在 bash 下运行,与 PR 之前在 windows-2022 上的行为完全一致(这也是 configure-windows-runner 要把 Git Bash 加进 PATH 的原因)。真正的分歧确实存在:gate 用 bash 跑这些步骤,而 smoke 固定用 powershell。在 gate 上固定 powershell(评审建议的做法)会改变 gate 的既有行为,因此修复方向相反:把 smoke 的 Configure npm for rate limitingInstall dependenciesRun tests and generate reports 三步固定为 shell: 'bash',与 gate 对齐,并新增 pin 测试保证这一对等关系。⚠️ 由于 smoke 有变更,需要在新的 head 上重新触发一次 smoke dispatch,其证据才能覆盖当前代码。
  2. 删除 smoke 中冗余的 NODE_OPTIONS(评审 1 Blocking pre-release: fix ci #1 附带建议)——根目录 test:ci 已通过 cross-env 提供该变量,且 gate 对应步骤并不设置 NODE_OPTIONS,删除后 smoke 与 gate 该步骤完全一致。
  3. 加固新增的 npm 缓存步骤并同步进 smoke(评审 2 Medium Are you interested in AI Terminal? #4 的延伸)。fd3a25c54 新增的步骤用了 mkdir -p,但仅有 Git Bash 的 PATH 并不保证有 coreutils(C:\Program Files\Git\bin 不包含它们),而 GitHub 会以 -e 调用预定义 bash——mkdir 缺失可能在合并队列首次运行时就阻塞队列。目录创建现在改由 preflight 已验证过的 Node 完成。该步骤也被加入 smoke(与 gate 相同位置:self-hosted-node 之后),确保进队列前已被执行过,两处均有 pin 测试。
  4. 删除 runs-on 中的死分支 fork 守卫(评审 1 Should-fix TypeError in Authentication Selection Interface #5 / 评审 2 Low API Key是要设成阿里云的API Key吗? #7)。该任务的 if:github.event_name == 'merge_group',此事件中 github.event.pull_request 为 null,fork 比较恒为假、整个表达式实际等价于只保留 kill switch,属于可证明的死代码。选择直接删除而非加"防御性对等"注释:被 toBe pin 死的死代码更糟。runs-on 现在只剩 kill switch,任务注释也已更正(原注释声称与 Classify PR gate 对等,但那个 gate 还有本任务从未有过的 author_association 子句),pin 测试同步更新为简化后的整行。整行 pin 是刻意保留的——其文档化的目的就是捕获引号/转义回归,且该行现在已经很短。
  5. runner.environment == 'github-hosted'!= 'self-hosted'(评审 2 Low 这个怎么调用 Qwen3-Coder,配置界面只有openai #10):作用于 Windows 的 hosted Node 步骤,使 hosted/self-hosted 两条 Node 路径互为补集;未来若出现未知的 runner.environment 值,会退化到 setup-node,而不是两条都不执行、Node 完全没装。pin 测试已更新。既有的 Linux 任务保持原表达式不动(超出本 PR 范围)。
  6. 消除 waitForClose 的 flake 隐患(评审 1 Should-fix 如何自定义密钥文件 .env可能与其他文件冲突 #3 / 评审 2 Low Use Enter to Set Auth 之后直接崩溃退出 #11):process.kill(pid, 0) 抛任何错误都视为"进程已不存在"(ESRCH = 已退出;EPERM = PID 已被本测试无法发信号的进程复用),100×25ms 上限改为警告而非抛错——在 Windows 上,close 之后 signal 0 仍有响应几乎总是 PID 被复用。已验证:session-writer-lease.test.ts 全套通过(84 passed、2 个按平台跳过)。
  7. 弱化 LC_ALL / autocrlf 注释中的过度表述(评审 2 Low API Error: Streaming setup timeout after 45s #9 / 评审 1 nit):composite action 的 description 与 gate 注释现改为"locale 环境变量与 Linux gate 保持一致、在 Windows 上无实际效果(Node 走 ICU 排序)";autocrlf 步骤改述为与 .gitattributes* text=auto eol=lf 互为双保险,而非硬性必需。
  8. server.test.tsreadSidecar stub 补一行理由(评审 2 Low Related to #5: Fixed bounds checking in RadioButtonSelect component to ensure active… #12):50,001 条 fixture 否则会触发 50,001 次真实 sidecar 读取。
  9. 移动 scripts/lint.js 的 JSDoc(评审 1 nit):原 @type 注记挂在初始为 undefinedlet lintersCache; 上,现改为 getLinters()@returns
  10. 设计文档 Operations 一节(评审 1 nits):补充两点——kill switch 回退环境并非逐字节等价(autocrlf 步骤与 configure action 仅在 self-hosted 侧生效,hosted 回退即迁移前的任务形态);单台健康但繁忙的 ecs-win 会把原本由 hosted 池并行执行的合并队列条目串行化。
  11. 对齐 test_windows 的 nodejs.org 注释:改用与其他位置一致的弱化表述("may be unreachable through the egress proxy"),补齐评审 2 Blocking 如何自定义密钥文件 .env可能与其他文件冲突 #3 中唯一仍用强表述的位置。

已在 fd3a25c54 修复(本轮重新核对代码确认)

拒绝处理(附理由)

  • 把 Windows pin 拆出 no-ak-integration-ci.test.js(评审 1 nit / 评审 2 Low 为什么不能跟cc或者geminicli一样,把密钥放在终端的环境变量里面? #14):在 PR 现阶段把约 300 行 pin 挪到新文件只有变更量、没有正确性收益;两条评审给出的目标文件名不一致(属于偏好而非缺陷);这些 Windows pin 与既有 pin 共用同一批 ci.yml/composite action fixture;作者也已明确表示不为本 PR 扩大低优先级后续项。
  • (@echo npm %*)>>… fixture 加固(评审 2 Low Qwen-Code still tries to access Google's IP #13):fixture 的参数由 scripts/prepare.js 固定(run generaterun buildci),无一以数字结尾,重定向句柄风险目前不可能发生;cmd.exe 语法变更无法在本 Linux runner 上验证(win32 分支只在 Windows 上执行),且当前写法正是引用的 Windows 运行中实际跑过的写法。
  • 用语义化 pin 取代整行 runs-on toBe(评审 1 nit):整行 pin 有其文档化的明确目的(捕获嵌套 ''true'' 引号与 &&/|| 重组回归);删除死守卫后该行已很短,而"只 pin 语义片段"恰好会漏掉该 pin 要捕获的重组类变更。

留给维护者决定

  • PR 描述的覆盖范围(评审 1 nit):在 PR body 中补充 composite action 重构与 Windows 测试兼容工作(或拆分 PR)属于作者/维护者的决定,本流程无法修改 PR 描述;本轮代码范围本身未因此变化。

给维护者的提示

本轮修改了 smoke workflow(shell 对齐 + npm 缓存步骤),因此 fd3a25c54 上进行中的 smoke 证据不再完全覆盖当前 head——请在合并前对新的 head 再触发一次 windows-runner-smoke.yml

验证

本轮实际执行的命令(均在最终修改之后运行):

  • npm run build — 通过(exit 0)
  • npm run typecheck — 通过(exit 0)
  • npm run lint — 通过(exit 0)
  • npx vitest run --config ./scripts/tests/vitest.config.ts scripts/tests/no-ak-integration-ci.test.js scripts/tests/package-scripts.test.js scripts/tests/lint.test.js — 3 个文件、24 通过
  • cd packages/core && npx vitest run src/services/session-writer-lease.test.ts — 84 通过、2 跳过(按平台跳过)
  • cd packages/cli && npx vitest run src/serve/server.test.ts -t "reports organized session truncation in the response" — 1 通过
  • YAML 语法:js-yaml 解析 ci.ymlwindows-runner-smoke.yml 及三个 composite action — 全部通过
  • 未执行:集成测试(未触及 bundled CLI 行为)、settings schema 生成(未触及 settings 源)。ECS 上的 Windows 运行时路径只能在 CI 中验证,重新触发的 smoke 运行即是其验证点。

Base-conflict check · 基分支冲突检查: no conflict with main. · 与 main 无冲突。

Re-review when you have a moment. After round 100 this bot stops and leaves the PR for a human. · 有空请复审;第 100 轮后本 bot 停止并将 PR 交给人工。


🧠 Handled by Qwen Code · model/模型 qwen3.8-max

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

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Not reviewed: build-and-test — Test (windows-latest, Node 22.x) was skipped in CI (merge_group-only) and the Windows runtime behavior of the changed job (routing, composite actions, cache step) cannot be exercised from this Linux review host; the first merge-queue run remains the verification point.

Not reviewed: build-and-test — Test (macos-latest, Node 22.x) was skipped in CI; macOS execution of the changed test files did not run (Linux suites and all diff-touched script tests are green; the edits are Windows platform guards and path normalizations).

Not linted (tool limitation, not a blocker): the executable-script lint — .github/workflows/ci.yml: actionlint embedded-shell source mapping is not yet supported — not linted; the executable-script lint — .github/workflows/windows-runner-smoke.yml: actionlint embedded-shell source mapping is not yet supported — not linted.

中文说明

未审查:build-and-test — Test (windows-latest, Node 22.x) was skipped in CI (merge_group-only) and the Windows runtime behavior of the changed job (routing, composite actions, cache step) cannot be exercised from this Linux review host; the first merge-queue run remains the verification point。

未审查:build-and-test — Test (macos-latest, Node 22.x) was skipped in CI; macOS execution of the changed test files did not run (Linux suites and all diff-touched script tests are green; the edits are Windows platform guards and path normalizations)。

未检查(工具限制,非阻断):the executable-script lint — .github/workflows/ci.yml: actionlint embedded-shell source mapping is not yet supported — not linted; the executable-script lint — .github/workflows/windows-runner-smoke.yml: actionlint embedded-shell source mapping is not yet supported — not linted。

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

Comment thread .github/workflows/windows-runner-smoke.yml
Comment thread scripts/tests/install-script.test.js Outdated
Comment thread scripts/tests/no-ak-integration-ci.test.js
Comment thread scripts/tests/workflow-helpers.js Outdated
Comment thread scripts/tests/vitest.config.ts
Comment thread .github/workflows/windows-runner-smoke.yml
Comment thread scripts/tests/no-ak-integration-ci.test.js
Comment thread scripts/tests/no-ak-integration-ci.test.js Outdated
Comment thread scripts/tests/no-ak-integration-ci.test.js
…8386)

The CDP acceptance test asserted a POSIX-only SIGKILL escalation, which
fails deterministically on Windows where kill('SIGTERM') terminates the
child directly — blocking the Windows merge-queue gate. Assert the
platform-appropriate signal instead.

Also address review suggestions: probe `unzip` alongside `zip`, pin the
integration_cli guard's missing step-level `if:`, stop getWorkflowStep
at unnamed steps, pin install-script.test.js out of the win32 excludes,
add the stale-checkout guard to windows-runner-smoke.yml, pin the
Node preflight warning branch and the guard reject path contiguously,
and extend the smoke shell-parity loop to the npm cache step.
@qwen-code-dev-bot

Copy link
Copy Markdown
Collaborator

🤖 Addressed the latest review feedback (round 10/100). What changed, and what I pushed back on: · 已处理最新评审反馈(第 10/100 轮)。改动内容与我反驳保留之处如下:

Autofix review round summary — PR #8386

All nine inline findings (1 Critical, 8 Suggestions) were addressed in code in one commit (dcdddb08b). No finding was declined, deferred, or escalated.

Critical

  • [Critical] Smoke re-dispatch cannot go green at HEAD (windows-runner-smoke.yml:112, rc:3716136362) — Fixed. The deterministic Windows failure is acceptance-helpers.test.ts › “forces an adapter to exit when it ignores SIGTERM”: on Windows child.kill('SIGTERM') terminates the child unconditionally (no catchable POSIX signals), so signalCode is 'SIGTERM', never 'SIGKILL' — matching the observed run-log error expected 'SIGTERM' to be 'SIGKILL'. The test now asserts the platform-appropriate signal ('SIGTERM' on win32, 'SIGKILL' elsewhere) instead of being skipped, so Windows still verifies that stopChild terminates an uncooperative child. With this in place the cli workspace suite can pass on the Windows gate, and the win32 exclude list + script-suite coverage this PR adds can actually execute. Note: re-dispatching windows-runner-smoke.yml on the new head remains a maintainer/workflow action after this commit is pushed.

Suggestions

  • zipAvailable probes only zip (rc:3716136372) — Fixed. The probe now requires both zip and unzip (the POSIX branch of extractZipForTest and create-standalone-package.js use both), and the CI guard error names both binaries.
  • integration_cli guard's “no step-level if:” contract unpinned (rc:3716136377) — Fixed. Added expect(guardCalls.integration_cli).not.toContain('if:') next to the other three run-condition pins, so a wrong-event if: copied onto that guard fails the suite.
  • getWorkflowStep absorbs unnamed following steps (rc:3716136402) — Fixed. The end boundary widened from /\n {6}- name: / to /\n {6}- /, cutting off unnamed - uses: neighbours; all existing pins in no-ak-integration-ci.test.js and package-scripts.test.js still pass with the tighter slices.
  • install-script.test.js not protected from the win32 exclude list (rc:3716136413) — Fixed. New test keeps install-script.test.js out of the win32 exclude list pins that the nine Windows installer E2E cases can't be silently excluded, per docs/design/windows-ecs-ci-validation.md.
  • Smoke workflow missing the verify-checkout-head guard (rc:3716136419) — Fixed. The smoke now runs the same stale-checkout guard after its checkout, pinned to github.sha (the dispatched head), mirroring the gate's ordering; the pin suite also gained assertions for the guard's presence, ordering after checkout, and expected_sha wiring.
  • Node preflight pins can't tell the missing/off-major branches apart (rc:3716136424) — Fixed by pinning the warning branch (::warning::Expected Node 22.x but found) and correcting the overclaiming comment (“fail loud … missing or off-major” → fail loud when missing, warn when off-major). Deliberately did NOT change the action to fail on off-major Node: the action's documented contract is warn-and-continue, and hard-failing would change gate behavior on runners provisioned with newer Node majors — that call belongs to a maintainer if it is ever wanted.
  • Guard reject path under-pinned (rc:3716136437) — Fixed. The four disjoint substring pins on verify-checkout-head/action.yml were replaced with one contiguous-block pin of the whole reject path (negated condition → ::error::git logexit 1fi), so ordering is part of the contract; the input-to-env wiring pin is kept. Net two assertions removed.
  • Shell-parity loop misses the cache step (rc:3716136446) — Fixed. Configure persistent npm cache (self-hosted) joined the shell: 'bash' loop, covering all four of the smoke's bash-dependent steps.

Review-level (CHANGES_REQUESTED body)

The review body's “Not reviewed” items (Windows/macOS jobs skipped in CI, actionlint embedded-shell limitation) are verification-environment notes, not code defects — no code change alters them. The actionable content was the Critical above; after push, the smoke re-dispatch and the first merge-queue run remain the authoritative Windows verification point.

Verification

Commands actually run on this Linux runner, in order:

  • npx vitest run --config ./scripts/tests/vitest.config.ts scripts/tests/no-ak-integration-ci.test.js scripts/tests/package-scripts.test.js — first run caught the contiguous pin's indentation mismatch; after fixing, 2 files, 23 tests passed
  • npx vitest run --config ./scripts/tests/vitest.config.ts scripts/tests/install-script.test.js105 passed, 14 skipped (platform-gated cases on Linux)
  • cd packages/cli && npx vitest run src/serve/cdp-tunnel/acceptance/acceptance-helpers.test.ts9 passed (Linux path still asserts SIGKILL)
  • npx prettier --check on the five changed files — clean
  • npm run build — passed (exit 0)
  • npm run typecheck — passed (exit 0)
  • npm run lint — passed (exit 0)

Not run: integration tests after npm run bundle — nothing in this round is behavior exercised only through the bundled CLI (all changes are CI-workflow wiring, workflow pins, and unit tests). Windows execution of the full suite cannot run from this Linux host; the smoke re-dispatch and first merge-queue run after push remain the Windows verification point (same constraint the review itself noted).

中文说明

Autofix 评审轮次总结 — PR #8386

全部九条 inline 发现(1 条 Critical、8 条 Suggestion)已在一个提交(dcdddb08b)中以代码形式全部处理。没有拒绝、推迟或上交任何发现。

Critical

  • [Critical] 当前 HEAD 上 smoke 重新 dispatch 不可能跑绿(windows-runner-smoke.yml:112,rc:3716136362) — 已修复。确定性的 Windows 失败是 acceptance-helpers.test.ts › “forces an adapter to exit when it ignores SIGTERM”:在 Windows 上 child.kill('SIGTERM') 会无条件终止子进程(没有可捕获的 POSIX 信号),因此 signalCode 只会是 'SIGTERM'、永远到不了 'SIGKILL' —— 与 run 日志中观察到的报错 expected 'SIGTERM' to be 'SIGKILL' 一致。测试现在改为断言平台对应的信号(win32 上为 'SIGTERM',其他平台为 'SIGKILL'),而不是直接跳过,这样 Windows 上依然验证了 stopChild 能终止不配合的子进程。修复后 cli workspace 套件可以在 Windows 门禁上通过,本 PR 新增的 win32 排除列表与脚本套件覆盖也才能真正执行。注意:在新 head 上重新 dispatch windows-runner-smoke.yml 仍是本提交推送之后由维护者/工作流执行的动作。

Suggestions

  • zipAvailable 只探测了 zip(rc:3716136372) — 已修复。探测现在同时要求 zipunzipextractZipForTest 的 POSIX 分支和 create-standalone-package.js 两者都会用到),CI 守卫的报错信息也同时点名两个二进制。
  • integration_cli 守卫“没有 step 级 if:”的约定未被 pin(rc:3716136377) — 已修复。在另外三个运行条件 pin 旁新增 expect(guardCalls.integration_cli).not.toContain('if:'),今后若把错误事件的 if: 复制到该守卫上,套件会失败。
  • getWorkflowStep 会吸收紧跟的无名步骤(rc:3716136402) — 已修复。结束边界由 /\n {6}- name: / 放宽为 /\n {6}- /,无名的 - uses: 邻居会被正确切断;收紧切片后 no-ak-integration-ci.test.jspackage-scripts.test.js 中的所有既有 pin 依然通过。
  • install-script.test.js 未被保护、可能被加进 win32 排除列表(rc:3716136413) — 已修复。新增测试 keeps install-script.test.js out of the win32 exclude list,钉死 9 个 Windows 安装器端到端用例不能被静默排除,与 docs/design/windows-ecs-ci-validation.md 的承诺一致。
  • smoke workflow 缺少 verify-checkout-head 守卫(rc:3716136419) — 已修复。smoke 现在在检出之后运行同样的过期检出守卫,钉在 github.sha(被 dispatch 的 head)上,顺序与门禁一致;pin 套件中也新增了守卫存在性、位于检出之后、以及 expected_sha 接线的断言。
  • Node 预检的 pin 无法区分“缺 Node”与“主版本不符”两个分支(rc:3716136424) — 已通过 pin warning 分支(::warning::Expected Node 22.x but found)并更正言过其实的注释(“缺 Node 或主版本不符时响亮失败” → 缺 Node 时响亮失败、主版本不符时仅警告)来修复。刻意没有把 action 改成主版本不符即失败:该 action 文档化的契约就是警告并继续,硬性失败会改变使用更新 Node 主版本的 runner 上门禁的行为——如果将来需要这样做,那个决定应由维护者作出。
  • 守卫的拒绝路径 pin 不足(rc:3716136437) — 已修复。对 verify-checkout-head/action.yml 的四个彼此独立的子串 pin 替换为对整条拒绝路径(取反条件 → ::error::git logexit 1fi)的一整块连续文本 pin,使顺序也成为约定的一部分;输入到环境变量的接线 pin 保留。净减少两条断言。
  • shell 一致性循环漏掉缓存步骤(rc:3716136446) — 已修复。Configure persistent npm cache (self-hosted) 加入 shell: 'bash' 循环,smoke 中四个依赖 bash 的步骤全部被覆盖。

评审主体(CHANGES_REQUESTED 正文)

评审正文中的“未审查”条目(Windows/macOS 作业在 CI 中被跳过、actionlint 内嵌 shell 的工具限制)属于验证环境的说明,不是代码缺陷——没有任何代码改动可以改变它们。其中可执行的内容就是上面的 Critical;推送之后,smoke 重新 dispatch 与第一次合并队列运行仍是 Windows 侧的权威验证点。

验证

在本 Linux runner 上实际执行的命令(按顺序):

  • npx vitest run --config ./scripts/tests/vitest.config.ts scripts/tests/no-ak-integration-ci.test.js scripts/tests/package-scripts.test.js — 第一次运行发现了连续文本 pin 的缩进不匹配;修正后 2 个文件、23 个测试全部通过
  • npx vitest run --config ./scripts/tests/vitest.config.ts scripts/tests/install-script.test.js105 通过、14 跳过(Linux 上的平台门控用例)
  • cd packages/cli && npx vitest run src/serve/cdp-tunnel/acceptance/acceptance-helpers.test.ts9 通过(Linux 路径仍断言 SIGKILL
  • 对五个改动文件运行 npx prettier --check — 干净
  • npm run build — 通过(exit 0)
  • npm run typecheck — 通过(exit 0)
  • npm run lint — 通过(exit 0)

未运行:npm run bundle 之后的集成测试——本轮没有任何只能通过打包后 CLI 验证的行为(所有改动均为 CI workflow 接线、workflow pin 与单元测试)。完整套件的 Windows 执行无法在本 Linux 主机上进行;推送之后的 smoke 重新 dispatch 与第一次合并队列运行仍是 Windows 侧的验证点(这也是评审自身指出的限制)。

Base-conflict check · 基分支冲突检查: no conflict with main. · 与 main 无冲突。

Re-review when you have a moment. After round 100 this bot stops and leaves the PR for a human. · 有空请复审;第 100 轮后本 bot 停止并将 PR 交给人工。


🧠 Handled by Qwen Code · model/模型 qwen3.8-max

@qwen-code-dev-bot

Copy link
Copy Markdown
Collaborator

📊 Takeover milestone — round 10/100, in the current window. Census: 10 pushed fix(es), 5 no-change review(s), 0 timeout(s), 0 rejected attempt(s), 0 other round(s) (crash / model error / gate error / infra), 0 base update(s).

This many rounds deserves a human look. Options: keep going (fine — nothing changes), split or reduce the PR if rounds keep accumulating, or release takeover (remove the autofix/takeover label or comment @qwen-code /takeover stop). Management continues unchanged unless you act.

中文说明

📊 接管里程碑 —— 第 10/100 轮(当前窗口)。统计:推送修复 10 次、审阅无需改动 5 次、超时 0 次、验证拒绝 0 次、其他轮次(崩溃/模型错误/门错误/infra)0 次、base 更新 0 次。

轮次到这个量值得人工看一眼。可选:继续(无需操作);若轮次持续累积,考虑拆分或缩减 PR;或释放接管(移除 autofix/takeover 标签或评论 @qwen-code /takeover stop)。不操作则托管照常继续。

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

Reviewed. Suggestions are inline. Not reviewed: build-and-test — Test (windows-latest, Node 22.x) is merge_group-only and was skipped in CI; the Windows runtime behavior of the changed job (ECS routing, composite actions, cache step) cannot be exercised from this Linux review host; the first merge-queue run remains the verification point. Not reviewed: build-and-test — Test (macos-latest, Node 22.x) was skipped in CI; macOS execution of the changed test files did not run (Linux suites and targeted local reruns of every PR-touched test file are green; the edits are Windows platform guards and path normalizations). Not reviewed: build-and-test — Integration Tests (CLI, No Sandbox) was skipped in CI (merge_group-only); this diff changes no production logic, so the Linux workspace and script suites that ran already cover every changed file. Not linted (tool limitation, not a blocker): the executable-script lint — .github/workflows/ci.yml: actionlint embedded-shell source mapping is not yet supported — not linted; the executable-script lint — .github/workflows/windows-runner-smoke.yml: actionlint embedded-shell source mapping is not yet supported — not linted.

中文说明

已审查。 建议见行内评论。 未审查:build-and-test — Test (windows-latest, Node 22.x) is merge_group-only and was skipped in CI; the Windows runtime behavior of the changed job (ECS routing, composite actions, cache step) cannot be exercised from this Linux review host; the first merge-queue run remains the verification point。 未审查:build-and-test — Test (macos-latest, Node 22.x) was skipped in CI; macOS execution of the changed test files did not run (Linux suites and targeted local reruns of every PR-touched test file are green; the edits are Windows platform guards and path normalizations)。 未审查:build-and-test — Integration Tests (CLI, No Sandbox) was skipped in CI (merge_group-only); this diff changes no production logic, so the Linux workspace and script suites that ran already cover every changed file。 未检查(工具限制,非阻断):the executable-script lint — .github/workflows/ci.yml: actionlint embedded-shell source mapping is not yet supported — not linted; the executable-script lint — .github/workflows/windows-runner-smoke.yml: actionlint embedded-shell source mapping is not yet supported — not linted。

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

Comment thread scripts/tests/vitest.config.ts
Comment thread .github/workflows/ci.yml
Comment thread scripts/tests/no-ak-integration-ci.test.js
Comment thread scripts/tests/no-ak-integration-ci.test.js
@yiliang114

Copy link
Copy Markdown
Collaborator Author

Windows verification on the current head is in: I dispatched windows-runner-smoke.yml on dcdddb08 and the full root npm run test:ci is green on ecs-qwen-runner-win-hk-2run, ~15 min. The first attempt died in npm ci on a registry ECONNRESET (runner network, unrelated to the diff); the rerun passed with a warm cache.

The case that blocked the earlier runs is resolved: acceptance-helpers.test.ts passes 9/9 on Windows with the platform-appropriate signal assertion, and the rest of the matrix is clean — cli 746 passed | 2 skipped, core 567 passed | 2 skipped, scripts suite 37 files / 525 passed including the nine Windows installer cases in install-script.test.js.

That closes the "smoke re-dispatch on the new head" precondition; the remaining Windows confirmation is the first merge-queue run, which the gate already treats as authoritative. Re-review when convenient.

@yiliang114

Copy link
Copy Markdown
Collaborator Author

@qwen-code /takeover stop

@qwen-code-dev-bot qwen-code-dev-bot removed the autofix/takeover Summon the autofix loop to manage this PR (remove to release; needs triage+) label Aug 5, 2026
@qwen-code-dev-bot

Copy link
Copy Markdown
Collaborator

👋 Takeover released: the autofix loop will no longer engage this PR (an in-flight round, if any, completes its bounded work). Re-apply autofix/takeover (or comment @qwen-code /takeover) to re-engage.

中文说明

👋 已释放:autofix 循环不再介入此 PR(在飞的一轮如有,将完成其有界工作)。重新打上 autofix/takeover 标签(或评论 @qwen-code /takeover)即可再次接管。

@qwen-code-dev-bot

Copy link
Copy Markdown
Collaborator

⏸️ AutoFix paused: this PR reached its automatic round cap (10/10) and the loop will not manage it further — new feedback and base conflicts stay unhandled. Comment @qwen-code /retry to re-arm a fresh window under the same cap, or @qwen-code /takeover to take it over with the raised cap.

中文说明

⏸️ AutoFix 已暂停:本 PR 达到自动轮次上限(10/10),循环不再管理——新反馈与 base 冲突将无人处理。评论 @qwen-code /retry 可在同一上限下重置计数窗口,或评论 @qwen-code /takeover 以更高上限接管。

…-runner

# Conflicts:
#	packages/core/src/skills/skill-curator.test.ts
@yiliang114
yiliang114 requested a review from doudouOUC August 5, 2026 03:59

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

Reviewed. Suggestions are inline. Not reviewed: build-and-test — Test (windows-latest, Node 22.x) was skipped in CI (merge_group-only) and its Windows runtime behavior on the ECS runner (routing, composite actions, cache step) cannot be exercised from this Linux review host; the green smoke dispatch at HEAD (run 30973835494) exercises the same configuration, and the first merge-queue run remains the final verification point. Not reviewed: build-and-test — Test (macos-latest, Node 22.x) was skipped in CI; macOS execution of the changed test files did not run (Linux suites and targeted local reruns of every PR-touched test file are green; the edits are Windows platform guards and path normalizations). Not linted (tool limitation, not a blocker): the executable-script lint — .github/workflows/ci.yml: actionlint embedded-shell source mapping is not yet supported — not linted; the executable-script lint — .github/workflows/windows-runner-smoke.yml: actionlint embedded-shell source mapping is not yet supported — not linted.

中文说明

已审查。 建议见行内评论。 未审查:build-and-test — Test (windows-latest, Node 22.x) was skipped in CI (merge_group-only) and its Windows runtime behavior on the ECS runner (routing, composite actions, cache step) cannot be exercised from this Linux review host; the green smoke dispatch at HEAD (run 30973835494) exercises the same configuration, and the first merge-queue run remains the final verification point。 未审查:build-and-test — Test (macos-latest, Node 22.x) was skipped in CI; macOS execution of the changed test files did not run (Linux suites and targeted local reruns of every PR-touched test file are green; the edits are Windows platform guards and path normalizations)。 未检查(工具限制,非阻断):the executable-script lint — .github/workflows/ci.yml: actionlint embedded-shell source mapping is not yet supported — not linted; the executable-script lint — .github/workflows/windows-runner-smoke.yml: actionlint embedded-shell source mapping is not yet supported — not linted。

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

Comment thread .github/workflows/ci.yml Outdated
@yiliang114

Copy link
Copy Markdown
Collaborator Author

Status check / assessment

Went through the full review history, threads, and CI state on this PR. Summary:

Open items

  • 1 of 40 review threads is unresolved: a non-blocking Suggestion at .github/workflows/ci.yml:754 — the comment "fork PRs never reach it" is factually wrong for a merge_group-only job (fork PRs can be queued into the merge queue by a maintainer; the reviewer cites 119 real fork PRs that hit this repo's queue). No behavior/security impact — the job's real protections (contents: read, blanked API keys, post-approval-only queue entry) are unaffected — but worth taking the suggested 3-line comment fix so a future maintainer doesn't draw the wrong trust conclusion about the ecs-win runner.
  • reviewDecision is still showing CHANGES_REQUESTED, but it's pinned to the Aug 4 20:58 review whose cited Critical finding (Windows smoke workflow couldn't go green at HEAD) was fixed in the round-10 autofix commit and independently reverified — two full green npm run test:ci runs on ecs-qwen-runner-win-hk-2 (~14 min each). Worth a fresh review pass to clear the stale flag.
  • Autofix takeover was released right as it hit its round cap, so the new Suggestion above won't get auto-addressed unless someone re-engages @qwen-code /takeover or fixes it by hand.

Overall
Routing logic is minimal and mirrors the existing Linux ECS kill-switch pattern exactly — same required check name, no widened permissions/trigger surface, real evidence from repeated production-runner dry runs rather than just a claim. The composite-action extraction (verify-checkout-head, self-hosted-node, configure-windows-runner) is a genuine duplication win across the gates + smoke workflow.

The PR grew well beyond "routing only" (27 files, +1099/-580) with a large wave of Windows test-compat fixes and fairly brittle YAML-pinning tests in no-ak-integration-ci.test.js (+300 lines asserting literal workflow text) — a defensible trade given how many regressions surfaced across review rounds, but worth knowing this shipped as one PR rather than split out.

Functionally this looks ready to merge once the stale review is refreshed and the one open comment-accuracy suggestion is applied or explicitly dismissed.

@LaZzyMan LaZzyMan 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!

@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 at c9ac1582575423dc355f32f026853b09f7b5d726. This PR does the thing that is easy to get wrong — changing tests so they pass on a new platform — and it mostly gets it right. I went through the test changes asking of each one whether it fixes a platform assumption or quietly drops coverage.

What I verified

The genuinely good ones:

  • readManyFiles.test.ts moves from mocking fs.stat to performing a real directory rename inside shouldGitIgnoreFile, and adds expect(result.files).toHaveLength(0). That is stronger, not weaker: the new assertion kills a mutant that deletes the inode-recheck guard, which the old stat-mocking shape could not, since readDirectory returns its info unconditionally.
  • package-scripts.test.js changing '@echo husky >> "%F%"' to '@echo(husky>>"%F%"' fixes a real cmd.exe bug — echo x >> f writes the space before > into the file — rather than bending an assertion.
  • install-script.test.js gates on a zipAvailable probe that checks both zip and unzip, and it is fail-closed: if (process.env.CI && platform !== 'win32' && !zipAvailable) throw. Tool absence on non-Windows CI is an error, not a silent skip. The itOnWindows count is unchanged, so the nine Windows installer cases did not go anywhere.
  • lint.test.js normalizes paths for the path assertions while keeping the un-normalized expect(first).not.toBe(second) isolation assertion. That detail is the difference between normalizing and weakening.
  • Most new platform skips are for preconditions Windows physically cannot express — POSIX mode bits on NTFS, catchable POSIX signals, control bytes in filenames, renaming over an open file, chmod on a directory — and each carries a comment saying so.

I also checked the three new composite actions for the usual self-hosted footguns and found none: no Defender manipulation, no Set-ExecutionPolicy, no downloading or installing of unverified tools, and nothing written to machine-level state (only GITHUB_ENV / GITHUB_PATH, which are job-scoped). All three fail closed. The explicit -Encoding utf8 in configure-windows-runner is the right call — PowerShell would otherwise write UTF-16LE that the runner cannot parse.

On the merge-queue side: only merge_group is touched, pull_request triggers are untouched, there is no pull_request_target, permissions is contents: read, and no secrets are injected. The comment at ci.yml:753-754 is now accurate that maintainers can still queue fork PRs, so the trust boundary is stated rather than assumed away.

Two things I would like settled before merge

1. drive.test.ts:99 is the only new skip in this PR with no stated reason, and it takes three tests with it. configure-windows-runner/action.yml deliberately puts C:\Program Files\Git\bin on PATH, so spawnSync('bash', …) is available on this runner. The first skipped test, reports the code for every exit path, uses only echo, exit 17, set -e; false and exit 0 — I read it, and there is no POSIX-only construct in it. Every other skip in this diff explains itself; this one does not, which means nobody will dare remove it later. Either narrow it to the case that genuinely depends on shell semantics using the capability-based it.skipIf(!hasBash) pattern already present in extract-step.test.ts, or record the observed Windows failure in a comment.

2. self-hosted-node only warns on a Node major-version mismatch, while the check it serves is named Test (windows-latest, Node 22.x). The action's own description says it "warns when the major version is not 22", so this is deliberate — but per your comment at ci.yml:752-753 that name is the required-status-check context. So if the ECS box is ever reprovisioned to Node 20 or 24, a required check reading "Node 22.x" goes green against a different runtime, with only an annotation to show it. Version drift on a long-lived runner is exactly the failure mode that is hardest to notice. Worth making it exit 1 — the error text already points at MAINTAINER_ECS_RUNNER_DISABLED as the escape hatch — or comparing against .nvmrc rather than a hardcoded "22". Note the parity is currently inverted: windows-runner-smoke.yml hard-checks the Node version, so the smoke job is stricter than the real gate.

One smaller thing I noticed

The win32 exclusion in vitest.config.ts is a glob, 'scripts/tests/qwen-*-workflow.test.js', not an enumeration. Spreading configDefaults.exclude is correct and non-Windows behaviour is unchanged, but the glob means any future qwen-<something>-workflow.test.js silently drops off Windows without anyone deciding that. Contrast the care taken in the other direction — there is a dedicated test pinning install-script.test.js out of the exclude list, with a comment that excluding it would silently drop coverage. The same discipline pointed at this glob would mean listing the files explicitly, so adding one is a decision rather than a default.

Verification boundary, stated plainly

Test (windows-latest, Node 22.x) is skipping on this PR because the job is merge_group-only, so there is no direct Windows evidence at this HEAD. The green Windows evidence is the smoke run at e6d5b344, and the only commit between that and c9ac1582 is docs(ci): clarify Windows runner trust boundary, whose diff is two comment lines in ci.yml — so that green run is functionally equivalent to what is here. Test (ubuntu-latest, Node 22.x) passes on c9ac1582 (run 30988426238).

Approving on that basis. The two items above are not blockers, but the second one touches a required gate, so I would rather it be decided than inherited.

@yiliang114
yiliang114 added this pull request to the merge queue Aug 5, 2026
Merged via the queue into main with commit c73b5ed Aug 5, 2026
56 of 57 checks passed
@qwen-code-ci-bot

Copy link
Copy Markdown
Collaborator

Released in v0.21.6.

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.

7 participants