diff --git a/.github/scripts/release-evidence-policy.json b/.github/scripts/release-evidence-policy.json index 44115400e66..7df235ec790 100644 --- a/.github/scripts/release-evidence-policy.json +++ b/.github/scripts/release-evidence-policy.json @@ -806,5 +806,73 @@ "desktop/scripts/appimage-patchelf.py": "63e78ef74160bc48fbcdd882065f1d416db6d13c", "desktop/scripts/linux-packaged-e2e.ts": "9ca92352668ff881c85caea44a9b4747bedc7e2d" } + }, + { + "kind": "ci", + "version": 1, + "windowsShards": 14, + "files": { + ".github/workflows/ci.yml": "74f5dfb883786792c872c58f2311b0299818b702", + ".github/actions/setup-project-bun/action.yml": "cf28f6f9d4385d69784f4e3610914f6952ce789d", + ".github/scripts/release-evidence.cjs": "ace2b9006b2d58ef84ed0996b4e179ff4be15900", + ".github/scripts/release-evidence.test.cjs": "9cc686390e5c37d8e693b98d049e8b505d0273cf", + "scripts/ci/select-test-lane.sh": "b25836cb55f962d1ffd9e68ed00f45f8b45becc8", + "scripts/ci/windows-sensitive-diff.sh": "03495f256c671aff57e750febffe19ca7face6a1", + "scripts/ci/run-bun-test-batches.sh": "59b1783aadf8109c0fa2d37047ff0d90300aa267", + "scripts/ci/bun-crash-signatures.sh": "d34662ddd07864d97bed909135095db33fe42c9e", + "scripts/ci/bun-install-frozen.sh": "e6d7bc3aec044e12297c7c4c04015a33df0eb22b", + "scripts/ci/docker-smoke.ts": "4eea7637d8658156feeaa356c0c3086c00d75fa5", + "scripts/ci/test-durations.tsv": "a07f90e6098082e1452ea5cc075c801271321eca", + "scripts/ci/test-durations.windows.tsv": "523cef871c3e17fc0344c98fb15eef79feb04c84", + "scripts/test.ts": "5b73037fb54e685b1d3485ea664e82a1eb418606", + "scripts/lib/test-runner-bun.ts": "8763806104a851dbdefeea8cffe8d7dd8d1c8da1", + "scripts/test-temp-lock.ts": "ee83fb254b728de119028f52b9894bf52d7aea15", + "scripts/git-repository-env.ts": "267950490fffb4c48d9adb90bdcf5a873733b324", + "scripts/ci/run-changed-tests.sh": "9a54d3a5db9849bcbe0dd766954a840185419fa5", + "scripts/keyring-smoke.ts": "cd3be07ad57796172696dfa053ea1fb129f29365", + "scripts/privacy-scan.ts": "86314e891b45e49739b94c76cddd9e4cc2d4340f", + "scripts/structure-ssot.ts": "5b2d2918dae877fddfb16cdba6e89f0d10e82298", + "scripts/generate-ocx-skill-surface.ts": "155e866656ba2d71e8fd48adda857451caf16322", + "desktop/scripts/prepare-sidecar.ts": "20f7eec61f73635ea681e25f13dd850b62bb41e2", + "desktop/scripts/build-widget.sh": "38e0eb9d713804b603aa75c32383aa18ef01d06c", + "desktop/scripts/verify-macos-runtime.sh": "43f1a31375c6f6fe7dcafb9d96c231b98d1f6ba4", + "desktop/scripts/verify-linux-sidecar.sh": "c502bb5c8ba8346c722a8f5274f2274bb325a934", + "desktop/scripts/appimage-patchelf.py": "63e78ef74160bc48fbcdd882065f1d416db6d13c", + "desktop/scripts/linux-packaged-e2e.ts": "9ca92352668ff881c85caea44a9b4747bedc7e2d" + } + }, + { + "kind": "ci", + "version": 1, + "windowsShards": 14, + "files": { + ".github/workflows/ci.yml": "da0b271b0d8c362a3efe98485ebfc543f64b03a2", + ".github/actions/setup-project-bun/action.yml": "cf28f6f9d4385d69784f4e3610914f6952ce789d", + ".github/scripts/release-evidence.cjs": "ace2b9006b2d58ef84ed0996b4e179ff4be15900", + ".github/scripts/release-evidence.test.cjs": "9cc686390e5c37d8e693b98d049e8b505d0273cf", + "scripts/ci/select-test-lane.sh": "b25836cb55f962d1ffd9e68ed00f45f8b45becc8", + "scripts/ci/windows-sensitive-diff.sh": "03495f256c671aff57e750febffe19ca7face6a1", + "scripts/ci/run-bun-test-batches.sh": "59b1783aadf8109c0fa2d37047ff0d90300aa267", + "scripts/ci/bun-crash-signatures.sh": "d34662ddd07864d97bed909135095db33fe42c9e", + "scripts/ci/bun-install-frozen.sh": "e6d7bc3aec044e12297c7c4c04015a33df0eb22b", + "scripts/ci/docker-smoke.ts": "4eea7637d8658156feeaa356c0c3086c00d75fa5", + "scripts/ci/test-durations.tsv": "a07f90e6098082e1452ea5cc075c801271321eca", + "scripts/ci/test-durations.windows.tsv": "523cef871c3e17fc0344c98fb15eef79feb04c84", + "scripts/test.ts": "5b73037fb54e685b1d3485ea664e82a1eb418606", + "scripts/lib/test-runner-bun.ts": "8763806104a851dbdefeea8cffe8d7dd8d1c8da1", + "scripts/test-temp-lock.ts": "ee83fb254b728de119028f52b9894bf52d7aea15", + "scripts/git-repository-env.ts": "267950490fffb4c48d9adb90bdcf5a873733b324", + "scripts/ci/run-changed-tests.sh": "9a54d3a5db9849bcbe0dd766954a840185419fa5", + "scripts/keyring-smoke.ts": "cd3be07ad57796172696dfa053ea1fb129f29365", + "scripts/privacy-scan.ts": "86314e891b45e49739b94c76cddd9e4cc2d4340f", + "scripts/structure-ssot.ts": "5b2d2918dae877fddfb16cdba6e89f0d10e82298", + "scripts/generate-ocx-skill-surface.ts": "155e866656ba2d71e8fd48adda857451caf16322", + "desktop/scripts/prepare-sidecar.ts": "20f7eec61f73635ea681e25f13dd850b62bb41e2", + "desktop/scripts/build-widget.sh": "38e0eb9d713804b603aa75c32383aa18ef01d06c", + "desktop/scripts/verify-macos-runtime.sh": "43f1a31375c6f6fe7dcafb9d96c231b98d1f6ba4", + "desktop/scripts/verify-linux-sidecar.sh": "c502bb5c8ba8346c722a8f5274f2274bb325a934", + "desktop/scripts/appimage-patchelf.py": "63e78ef74160bc48fbcdd882065f1d416db6d13c", + "desktop/scripts/linux-packaged-e2e.ts": "9ca92352668ff881c85caea44a9b4747bedc7e2d" + } } ] diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 74f5dfb8837..da0b271b0d8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -626,10 +626,10 @@ jobs: needs: changes if: github.event_name != 'pull_request' || (needs.changes.outputs.ci == 'true' && needs.changes.outputs.fast != 'true') runs-on: ${{ vars.LIDGE_RUNNERS == 'on' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository || contains(fromJSON('["OWNER","MEMBER","COLLABORATOR"]'), github.event.pull_request.author_association)) && fromJSON('["self-hosted","linux","x64","lidge"]') || 'ubuntu-latest' }} - # A fifth of the suite. A shard that needs longer than this is wedged, not - # slow — the old 30-minute ceiling was margin for the Windows leg, which no - # longer runs here (see platform-windows). - timeout-minutes: 15 + # The full suite needs setup and cleanup beyond its bounded test batches. + # Runs 44462803582 and 44463273114 exhausted 15 minutes while progressing; + # keep the independent batch deadlines and allow a bounded 18-minute job. + timeout-minutes: 18 strategy: fail-fast: false matrix: diff --git a/docs-site/src/content/docs/guides/remote-link.md b/docs-site/src/content/docs/guides/remote-link.md index 2413d0a9848..59031001338 100644 --- a/docs-site/src/content/docs/guides/remote-link.md +++ b/docs-site/src/content/docs/guides/remote-link.md @@ -15,6 +15,8 @@ A machine link connects an OpenCodex **Home** computer to a **Child** computer o Password SSH is not supported. Links can be started from Home or Child. Windows execution uses PowerShell over the same pinned OpenSSH connection. +On Linux, a recorded OpenCodex install is used only when its executable and optional package entrypoint belong to the SSH account and their permissions and parent directories prevent replacement by another account. If that cannot be checked, Remote Link skips the recorded install. On macOS, recorded installs are always skipped because the remote shell cannot reliably verify their extra access permissions (ACLs). Remote Link continues its existing Desktop, system and PATH discovery on both platforms. A macOS install available only through the runtime record therefore needs to be installed in a discoverable location or added to the SSH account’s PATH. Keep the installation in an account-owned directory instead of a shared writable folder; a successful version response alone does not establish ownership. + ## Add a Child from `#remote` 1. Open the dashboard at `#remote` and switch Remote Link on. diff --git a/docs-site/src/content/docs/ko/guides/remote-link.md b/docs-site/src/content/docs/ko/guides/remote-link.md index 9e23fba87d3..6a9e24e7f04 100644 --- a/docs-site/src/content/docs/ko/guides/remote-link.md +++ b/docs-site/src/content/docs/ko/guides/remote-link.md @@ -116,6 +116,8 @@ disconnect는 소유한 키만 복구하므로 이후 편집한 모델·훅·신 ## 보안 +Linux에서는 기록된 OpenCodex 설치의 실행 파일과 패키지 진입 파일이 SSH 계정 소유이며, 파일 권한과 상위 폴더가 다른 계정의 교체를 막는 경우에만 사용합니다. 이를 확인할 수 없으면 해당 기록을 건너뜁니다. macOS에서는 원격 셸이 추가 접근 권한(ACL)을 확실하게 확인할 수 없으므로 기록된 설치를 항상 건너뜁니다. 두 플랫폼 모두 기존 Desktop·시스템·PATH 탐색을 계속합니다. macOS에서 실행 기록으로만 찾을 수 있던 설치는 탐색 가능한 위치에 설치하거나 SSH 계정의 PATH에 추가해야 합니다. 설치 파일은 여러 계정이 수정할 수 있는 공유 폴더 대신 계정 소유 폴더에 두세요. 버전 응답에 성공했다는 사실만으로 소유권이 확인되지는 않습니다. + Child는 링크를 통해 Home 컴퓨터의 프로바이더와 프로바이더 인증 정보를 사용합니다. Home은 Child마다 별도의 링크 키를 만들며, 링크를 제거하면 그 키를 폐기합니다. 확인 전에 호스트 지문을 비교하여 잘못된 컴퓨터나 변경된 호스트 키를 실수로 허용하지 않도록 하세요. Tailscale identity로 발급된 대시보드 세션은 머신 링크를 관리할 수 없습니다. Child에서 키는 OpenCodex 안에만 머뭅니다. Codex나 Claude Code가 Child에서 보내는 인증 정보는 Home으로 전달되지 않으며, Child에서 `127.0.0.1:`에 접근하는 프로그램은 키 없이 Home을 사용합니다. 이는 독립형 설치가 로컬 프로그램에 주는 것과 같은 신뢰 수준입니다. 다른 사이트의 웹 페이지는 거부됩니다. ## CLI 레퍼런스 diff --git a/scripts/ci/test-durations.tsv b/scripts/ci/test-durations.tsv index 9dd8d4194c7..a07f90e6098 100644 --- a/scripts/ci/test-durations.tsv +++ b/scripts/ci/test-durations.tsv @@ -1,3038 +1,3357 @@ # Per-file Bun test durations in milliseconds, read from hosted CI job logs. # Consumed by scripts/ci/run-bun-test-batches.sh to balance shards; a file without a row weighs the median. # Regenerate with scripts/ci/test-durations.ts (usage in its header); do not edit by hand. -# Source: Ubuntu PR run 44361864364 attempts 1–2 (completed test 1–5/5 file groups with a mean weight delta of at least 8000 ms, with split Link stop weights from case timings in jobs 135009134286 and 135071742481). Earlier inputs: Ubuntu and macOS passing jobs: run 42694893702 on 4b38e9a072 (test 1-5/5: 129424126084,129424126100,129424126131,129424126088,129424126091; macos 1-4/4: 129424126216,129424126104,129424126041,129424125988); unmeasured existing rows retained -372 tests/adapters/abort-race.test.ts -496 tests/adapters/adapter-buffered-tool-conformance.test.ts -105 tests/adapters/adapter-error-inline.test.ts -1756 tests/adapters/adapter-inner-send-budget-wiring.test.ts -2834 tests/adapters/adapter-inner-send-budget.test.ts -471 tests/adapters/adapter-input-media-guard.test.ts -315 tests/adapters/adapter-registry-authority.test.ts -1105 tests/adapters/adapter-tool-conformance.test.ts -100 tests/adapters/adapter-usage.test.ts -851 tests/adapters/anthropic/anthropic-429-policy.test.ts -49 tests/adapters/anthropic/anthropic-account-metadata.test.ts -142 tests/adapters/anthropic/anthropic-account-pause-outbound.test.ts -319 tests/adapters/anthropic/anthropic-account-pause.test.ts -379 tests/adapters/anthropic/anthropic-account-pool.test.ts -852 tests/adapters/anthropic/anthropic-account-threshold.test.ts -97 tests/adapters/anthropic/anthropic-active-limit-routing.test.ts -278 tests/adapters/anthropic/anthropic-affinity-restart.test.ts -1241 tests/adapters/anthropic/anthropic-affinity-store.test.ts -40 tests/adapters/anthropic/anthropic-agentrouter-language-framing.test.ts -72 tests/adapters/anthropic/anthropic-baseurl-override.test.ts -35 tests/adapters/anthropic/anthropic-beta-allowlist.test.ts -40 tests/adapters/anthropic/anthropic-beta-body-pairs.test.ts -293 tests/adapters/anthropic/anthropic-billing-ownership.test.ts -308 tests/adapters/anthropic/anthropic-billing-refusal.test.ts -47 tests/adapters/anthropic/anthropic-client-identity.test.ts -358 tests/adapters/anthropic/anthropic-combo-account-cooldown.test.ts -2550 tests/adapters/anthropic/anthropic-compatible-stream.test.ts -164 tests/adapters/anthropic/anthropic-cooldown-recovery.test.ts -45 tests/adapters/anthropic/anthropic-empty-content.test.ts -89 tests/adapters/anthropic/anthropic-eof-tolerance.test.ts -240 tests/adapters/anthropic/anthropic-error-body.test.ts -40 tests/adapters/anthropic/anthropic-error-stop-reason.test.ts -357 tests/adapters/anthropic/anthropic-fast-opt-in.test.ts -58 tests/adapters/anthropic/anthropic-fast-speed.test.ts -36 tests/adapters/anthropic/anthropic-haiku-5-5-contract.test.ts -40 tests/adapters/anthropic/anthropic-hardening.test.ts -172 tests/adapters/anthropic/anthropic-image-guard.test.ts -3268 tests/adapters/anthropic/anthropic-image-normalize.test.ts -15607 tests/adapters/anthropic/anthropic-image-retry-e2e.test.ts -164 tests/adapters/anthropic/anthropic-image-retry.test.ts -513 tests/adapters/anthropic/anthropic-instance-isolation.test.ts -502 tests/adapters/anthropic/anthropic-instance-pool-parity.test.ts -679 tests/adapters/anthropic/anthropic-instance-quota.test.ts -4009 tests/adapters/anthropic/anthropic-instance-recovery.test.ts -51 tests/adapters/anthropic/anthropic-message-stop-termination.test.ts -46 tests/adapters/anthropic/anthropic-messages-passthrough-oauth.test.ts -32 tests/adapters/anthropic/anthropic-messages-passthrough.test.ts -959 tests/adapters/anthropic/anthropic-model-routes.test.ts -582 tests/adapters/anthropic/anthropic-model-weekly-admission.test.ts -40 tests/adapters/anthropic/anthropic-opaque-strip.test.ts -85 tests/adapters/anthropic/anthropic-output-maxima.test.ts -37 tests/adapters/anthropic/anthropic-parallel-tool-disable.test.ts -124 tests/adapters/anthropic/anthropic-pool-toggle-copy.test.ts -247 tests/adapters/anthropic/anthropic-pool-usage-limit.test.ts -888 tests/adapters/anthropic/anthropic-progress-updates.test.ts -198 tests/adapters/anthropic/anthropic-quota-cooldown-recovery.test.ts -864 tests/adapters/anthropic/anthropic-quota-dispatch.test.ts -232 tests/adapters/anthropic/anthropic-ratelimit-headers.test.ts -143 tests/adapters/anthropic/anthropic-reasoning.test.ts -61 tests/adapters/anthropic/anthropic-replay.test.ts -63 tests/adapters/anthropic/anthropic-reset-grants.test.ts -368 tests/adapters/anthropic/anthropic-revoked-token-boundaries.test.ts -219 tests/adapters/anthropic/anthropic-revoked-token-continuation.test.ts -445 tests/adapters/anthropic/anthropic-revoked-token-sidecars.test.ts -2356 tests/adapters/anthropic/anthropic-revoked-token.test.ts -131 tests/adapters/anthropic/anthropic-sidecar-account-failover.test.ts -39 tests/adapters/anthropic/anthropic-sonnet-5-5-contract.test.ts +# Source: Completed primary-file samples only; existing unmeasured rows retained. +# Green dev lane=all: lidge-jun/opencodex run 44386662799, c38d6eef7986b3b9acbb6e8ac17407ab84e5633e; Ubuntu jobs 135093186424,135093186236,135093186230,135093186350,135093186295; macOS jobs 135093186207,135093186360,135093186156,135093186139. +# Additional Ubuntu PR samples: luvs01/opencodex #840 run 44448708478, 374867f6a068c50beaa2ec4e17e57876c88c87cc; jobs 135307330817,135307330808,135307330846,135307330937,135307330890. Workflow cancelled; 2/5's unfinished stop-deferred-teardown file excluded; 3/5 finished its tests but its job was cancelled. +# Additional Ubuntu PR samples: luvs01/opencodex #841 run 44448420609, 31e5078742f928592d7f88287cdb98a688cbc975; jobs 135313932894,135313932243,135313993098,135313933788,135313933743. Successful latest-attempt job set, including retained earlier successful jobs; not a cross-platform dev dispatch. +# Preserve verbatim all 20 duration rows added or updated by upstream 80e8952357d11ccf1421b4aa5620e781625dcdb0; overlapping older file samples are excluded, including the pre-split Link stop file. +# Preserved upstream provenance: Ubuntu PR run 44361864364 attempts 1–2 (completed test 1–5/5 file groups with a mean weight delta of at least 8000 ms, with split Link stop weights from case timings in jobs 135009134286 and 135071742481). Earlier inputs: Ubuntu and macOS passing jobs: run 42694893702 on 4b38e9a072 (test 1-5/5: 129424126084,129424126100,129424126131,129424126088,129424126091; macos 1-4/4: 129424126216,129424126104,129424126041,129424125988); unmeasured existing rows retained +251 tests/adapters/abort-race.test.ts +347 tests/adapters/adapter-buffered-tool-conformance.test.ts +269 tests/adapters/adapter-error-inline.test.ts +1675 tests/adapters/adapter-inner-send-budget-wiring.test.ts +2957 tests/adapters/adapter-inner-send-budget.test.ts +260 tests/adapters/adapter-input-media-guard.test.ts +199 tests/adapters/adapter-registry-authority.test.ts +1469 tests/adapters/adapter-tool-conformance.test.ts +333 tests/adapters/adapter-usage.test.ts +1007 tests/adapters/agy-acp-adapter.test.ts +275 tests/adapters/agy-acp-policy.test.ts +120 tests/adapters/agy-acp-protocol.test.ts +1137 tests/adapters/anthropic/anthropic-429-policy.test.ts +71 tests/adapters/anthropic/anthropic-account-metadata.test.ts +168 tests/adapters/anthropic/anthropic-account-pause-outbound.test.ts +458 tests/adapters/anthropic/anthropic-account-pause.test.ts +524 tests/adapters/anthropic/anthropic-account-pool.test.ts +621 tests/adapters/anthropic/anthropic-account-threshold.test.ts +224 tests/adapters/anthropic/anthropic-active-limit-routing.test.ts +501 tests/adapters/anthropic/anthropic-affinity-restart.test.ts +1356 tests/adapters/anthropic/anthropic-affinity-store.test.ts +69 tests/adapters/anthropic/anthropic-agentrouter-language-framing.test.ts +104 tests/adapters/anthropic/anthropic-baseurl-override.test.ts +79 tests/adapters/anthropic/anthropic-beta-allowlist.test.ts +76 tests/adapters/anthropic/anthropic-beta-body-pairs.test.ts +479 tests/adapters/anthropic/anthropic-billing-ownership.test.ts +305 tests/adapters/anthropic/anthropic-billing-refusal.test.ts +61 tests/adapters/anthropic/anthropic-client-identity.test.ts +410 tests/adapters/anthropic/anthropic-combo-account-cooldown.test.ts +2582 tests/adapters/anthropic/anthropic-compatible-stream.test.ts +336 tests/adapters/anthropic/anthropic-cooldown-recovery-worker.test.ts +236 tests/adapters/anthropic/anthropic-cooldown-recovery.test.ts +60 tests/adapters/anthropic/anthropic-empty-content.test.ts +91 tests/adapters/anthropic/anthropic-eof-tolerance.test.ts +453 tests/adapters/anthropic/anthropic-error-body.test.ts +66 tests/adapters/anthropic/anthropic-error-stop-reason.test.ts +528 tests/adapters/anthropic/anthropic-fast-opt-in.test.ts +107 tests/adapters/anthropic/anthropic-fast-speed.test.ts +1227 tests/adapters/anthropic/anthropic-funded-roster.test.ts +59 tests/adapters/anthropic/anthropic-haiku-5-5-contract.test.ts +55 tests/adapters/anthropic/anthropic-hardening.test.ts +158 tests/adapters/anthropic/anthropic-image-guard.test.ts +3361 tests/adapters/anthropic/anthropic-image-normalize.test.ts +16064 tests/adapters/anthropic/anthropic-image-retry-e2e.test.ts +147 tests/adapters/anthropic/anthropic-image-retry.test.ts +756 tests/adapters/anthropic/anthropic-instance-isolation.test.ts +686 tests/adapters/anthropic/anthropic-instance-pool-parity.test.ts +929 tests/adapters/anthropic/anthropic-instance-quota.test.ts +3068 tests/adapters/anthropic/anthropic-instance-recovery.test.ts +76 tests/adapters/anthropic/anthropic-message-stop-termination.test.ts +166 tests/adapters/anthropic/anthropic-messages-passthrough-oauth.test.ts +75 tests/adapters/anthropic/anthropic-messages-passthrough.test.ts +1142 tests/adapters/anthropic/anthropic-model-routes.test.ts +683 tests/adapters/anthropic/anthropic-model-weekly-admission.test.ts +61 tests/adapters/anthropic/anthropic-opaque-strip.test.ts +66 tests/adapters/anthropic/anthropic-output-cap-by-model.test.ts +135 tests/adapters/anthropic/anthropic-output-maxima.test.ts +69 tests/adapters/anthropic/anthropic-parallel-tool-disable.test.ts +104 tests/adapters/anthropic/anthropic-per-message-effort.test.ts +120 tests/adapters/anthropic/anthropic-pool-toggle-copy.test.ts +531 tests/adapters/anthropic/anthropic-pool-usage-limit.test.ts +172 tests/adapters/anthropic/anthropic-progress-updates.test.ts +377 tests/adapters/anthropic/anthropic-quota-cooldown-recovery.test.ts +2086 tests/adapters/anthropic/anthropic-quota-dispatch.test.ts +332 tests/adapters/anthropic/anthropic-ratelimit-headers.test.ts +186 tests/adapters/anthropic/anthropic-reasoning.test.ts +69 tests/adapters/anthropic/anthropic-replay.test.ts +93 tests/adapters/anthropic/anthropic-reset-grants.test.ts +399 tests/adapters/anthropic/anthropic-revoked-token-boundaries.test.ts +471 tests/adapters/anthropic/anthropic-revoked-token-continuation.test.ts +544 tests/adapters/anthropic/anthropic-revoked-token-sidecars.test.ts +1504 tests/adapters/anthropic/anthropic-revoked-token.test.ts +409 tests/adapters/anthropic/anthropic-sidecar-account-failover.test.ts +87 tests/adapters/anthropic/anthropic-sonnet-5-5-contract.test.ts 61 tests/adapters/anthropic/anthropic-stream-hardening.test.ts -609 tests/adapters/anthropic/anthropic-subscription-chain.test.ts -97 tests/adapters/anthropic/anthropic-tail-guard.test.ts -53 tests/adapters/anthropic/anthropic-thinking-display-policy.test.ts -105 tests/adapters/anthropic/anthropic-thinking-signature.test.ts -60 tests/adapters/anthropic/anthropic-thinking-usage.test.ts -40 tests/adapters/anthropic/anthropic-tool-call-id.test.ts -141 tests/adapters/anthropic/anthropic-tool-declaration-constraints.test.ts -50 tests/adapters/anthropic/anthropic-tool-schema.test.ts -497 tests/adapters/anthropic/anthropic2-fast-parity.test.ts -90 tests/adapters/bridge-legacy-shell-normalization.test.ts -3537 tests/adapters/bridge-lifecycle.test.ts -199 tests/adapters/bridge-nonstreaming-terminal.test.ts -97 tests/adapters/bridge-raw-reasoning-hidden.test.ts -39 tests/adapters/bridge-reasoning-replay-batch.test.ts -94 tests/adapters/bridge-stall.test.ts -112 tests/adapters/bridge-terminal-refusal.test.ts -53 tests/adapters/bridge-terminal-singleness.test.ts -235 tests/adapters/bridge.test.ts -80 tests/adapters/buffered-response-shape-guards.test.ts -120 tests/adapters/coding-agent-history-projection.test.ts -28 tests/adapters/coding-agent-tool-result-images.test.ts -175 tests/adapters/coding-agent-windows-dispatch.test.ts -71 tests/adapters/dsh-account-adapter.test.ts -399 tests/adapters/empty-tool-output-annotation.test.ts -112 tests/adapters/exec-tool-result-normalize.test.ts -116 tests/adapters/fix-tool-number-preservation.test.ts -83 tests/adapters/google/antigravity-account-roster.test.ts -59 tests/adapters/google/antigravity-baseurl-override.test.ts -42 tests/adapters/google/antigravity-discovered-families.test.ts -30 tests/adapters/google/antigravity-refusal.test.ts -394 tests/adapters/google/antigravity-routing-carry.test.ts -79 tests/adapters/google/antigravity-static-catalog.test.ts -5368 tests/adapters/google/gcp-adc.test.ts -547 tests/adapters/google/gcp-credential-boundary.test.ts -234 tests/adapters/google/gcp-sa-adapter.test.ts -392 tests/adapters/google/gcp-sa-marker.test.ts -55 tests/adapters/google/gemini-37-flash-migration.test.ts -99 tests/adapters/google/gemini-4-argon-antigravity.test.ts -46 tests/adapters/google/gemini-progress-history.test.ts -147 tests/adapters/google/gemini-web-search.test.ts -66 tests/adapters/google/google-adapter.test.ts -58 tests/adapters/google/google-ai-studio-foreign-call-signature.test.ts -4156 tests/adapters/google/google-antigravity-oauth.test.ts -2192 tests/adapters/google/google-antigravity-replay.test.ts -51 tests/adapters/google/google-antigravity-wire.test.ts -49 tests/adapters/google/google-buffered-stop-reason.test.ts -41 tests/adapters/google/google-claude-prefill-guard.test.ts -51 tests/adapters/google/google-empty-content.test.ts -41 tests/adapters/google/google-errors.test.ts -40 tests/adapters/google/google-hardening.test.ts -153 tests/adapters/google/google-models-listing.test.ts -34 tests/adapters/google/google-output-clamp.test.ts -29 tests/adapters/google/google-provider-metadata-roundtrip.test.ts -79 tests/adapters/google/google-signature-history-roundtrip.test.ts -39 tests/adapters/google/google-stream-fragmentation.test.ts -33 tests/adapters/google/google-strict-tool-validated-mode.test.ts -36 tests/adapters/google/google-structured-output.test.ts -40 tests/adapters/google/google-tool-result-adjacency.test.ts -54 tests/adapters/google/google-tool-schema-contract.test.ts -44 tests/adapters/google/google-tool-schema.test.ts -4694 tests/adapters/google/google-vertex-http.test.ts -131 tests/adapters/google/google-vertex-key-project.test.ts -53 tests/adapters/google/google-vertex-stream.test.ts -60 tests/adapters/google/google-vertex-thought-signature.test.ts -64 tests/adapters/google/google-wire-compiler.test.ts -50 tests/adapters/google/google-wire-shape.test.ts -91 tests/adapters/google/vertex-catalog.test.ts -81 tests/adapters/identity-neutralize.test.ts -289 tests/adapters/identity-subagent.test.ts -389 tests/adapters/key-failover.test.ts -80 tests/adapters/openai/inline-think-boundaries.test.ts -1884 tests/adapters/openai/openai-api-virtual-models.test.ts -38 tests/adapters/openai/openai-chat-audio.test.ts -145 tests/adapters/openai/openai-chat-bounded-tool-names.test.ts -35 tests/adapters/openai/openai-chat-dangling-toolcalls.test.ts -44 tests/adapters/openai/openai-chat-developer-position.test.ts -38 tests/adapters/openai/openai-chat-eof.test.ts -62 tests/adapters/openai/openai-chat-glm-summary.test.ts -178 tests/adapters/openai/openai-chat-hardening.test.ts -3633 tests/adapters/openai/openai-chat-image-normalization.test.ts -48 tests/adapters/openai/openai-chat-inline-think-tags.test.ts -66 tests/adapters/openai/openai-chat-invalid-tool-call-diagnostics.test.ts -85 tests/adapters/openai/openai-chat-mistral-content.test.ts -44 tests/adapters/openai/openai-chat-mistral-policy.test.ts -100 tests/adapters/openai/openai-chat-model-suffix.test.ts -394 tests/adapters/openai/openai-chat-native-policy.test.ts -120 tests/adapters/openai/openai-chat-nonce-tool-call-content.test.ts -61 tests/adapters/openai/openai-chat-parallel-stream.test.ts -63 tests/adapters/openai/openai-chat-path-override.test.ts -51 tests/adapters/openai/openai-chat-qwen38-leading-system.test.ts -104 tests/adapters/openai/openai-chat-reasoning-wire-policy.test.ts -51 tests/adapters/openai/openai-chat-required-tool.test.ts -132 tests/adapters/openai/openai-chat-sanitization-review-regressions.test.ts -54 tests/adapters/openai/openai-chat-serialized-tool-call-content.test.ts -190 tests/adapters/openai/openai-chat-serialized-tool-call-hold-bound.test.ts -84 tests/adapters/openai/openai-chat-serialized-tool-call-scaling.test.ts -42 tests/adapters/openai/openai-chat-serialized-tool-call-think.test.ts -40 tests/adapters/openai/openai-chat-single-system.test.ts -240 tests/adapters/openai/openai-chat-standalone-bare-block.test.ts -86 tests/adapters/openai/openai-chat-system-order.test.ts -48 tests/adapters/openai/openai-chat-tool-call-id-remint.test.ts -41 tests/adapters/openai/openai-chat-tool-result-images.test.ts -39 tests/adapters/openai/openai-chat-url.test.ts -37 tests/adapters/openai/openai-chat-video-part.test.ts -111 tests/adapters/openai/openai-empty-assistant-history.test.ts -151 tests/adapters/openai/openai-native-hosted-search-history.test.ts -863 tests/adapters/openai/openai-provider-option-e2e.test.ts -279 tests/adapters/openai/openai-provider-option-migration.test.ts -44 tests/adapters/openai/openai-provider-option-startup.test.ts -46 tests/adapters/openai/openai-provider-option-tooling.test.ts -37 tests/adapters/openai/openai-provider-option.test.ts -36 tests/adapters/openai/opengateway-input.test.ts -108 tests/adapters/physical-send.test.ts -52 tests/adapters/qoder-spawn-readmission.test.ts -49 tests/adapters/reasoning-replay-identity.test.ts -228 tests/adapters/reasoning-replay-robustness.test.ts -104 tests/adapters/routed-agent-messages.test.ts -76 tests/adapters/run-turn-queue.test.ts -397 tests/adapters/terminal-continuation-owner-rotation.test.ts -116 tests/adapters/tool-argument-integers.test.ts -35 tests/adapters/tool-catalog-nudge.test.ts -36 tests/adapters/tool-choice-performance.test.ts -35 tests/adapters/tool-envelope-echo-whole-line.test.ts -41 tests/adapters/tool-identity-hash.test.ts -185 tests/adapters/translator-budget-lifetime.test.ts -4792 tests/adapters/translator-budget.test.ts -43 tests/adapters/upstream-http-error.test.ts -38 tests/adapters/workbuddy-adapter.test.ts -65 tests/advisor/advisor-adaptive.test.ts -91 tests/advisor/advisor-authority-transport.test.ts -115 tests/advisor/advisor-budget.test.ts -184 tests/advisor/advisor-caller-policy-compact.test.ts -257 tests/advisor/advisor-caller-policy-host-key.test.ts -286 tests/advisor/advisor-caller-policy-http.test.ts -274 tests/advisor/advisor-caller-policy-ingress.test.ts -402 tests/advisor/advisor-caller-policy-jev.test.ts -310 tests/advisor/advisor-caller-policy-replay.test.ts -437 tests/advisor/advisor-caller-policy-routing.test.ts -453 tests/advisor/advisor-caller-policy-self-fetch.test.ts -147 tests/advisor/advisor-caller-policy-sidecar-authority.test.ts -284 tests/advisor/advisor-caller-policy-vision.test.ts -428 tests/advisor/advisor-caller-policy.test.ts -48 tests/advisor/advisor-consult.test.ts -46 tests/advisor/advisor-context.test.ts -33 tests/advisor/advisor-continuation-limit.test.ts -361 tests/advisor/advisor-core-boundary.test.ts -52 tests/advisor/advisor-evidence.test.ts -62 tests/advisor/advisor-guard.test.ts -171 tests/advisor/advisor-internal-authority.test.ts -45 tests/advisor/advisor-plan.test.ts -847 tests/advisor/advisor-responses-wiring.test.ts -281 tests/advisor/advisor-retention.test.ts -375 tests/advisor/advisor-scope-transport.test.ts -131 tests/advisor/advisor-settings.test.ts -68 tests/advisor/advisor-state.test.ts -91 tests/advisor/advisor-web-search.test.ts -3492 tests/ci-workflows/assert-mergeable-review.test.ts -52 tests/ci-workflows/brand-favicons.test.ts -182 tests/ci-workflows/build-desktop-icon-set.test.ts -109 tests/ci-workflows/build-release-changelog.test.ts -355 tests/ci-workflows/bump-dev-version.test.ts -145 tests/ci-workflows/bun-runtime.test.ts -45 tests/ci-workflows/ci-bun-crash-classifier.test.ts -38607 tests/ci-workflows/ci-bun-install-frozen.test.ts -54 tests/ci-workflows/ci-concurrency-groups.test.ts -5589 tests/ci-workflows/ci-crash-disposition.test.ts -1574 tests/ci-workflows/ci-gui-typecheck-gate.test.ts -73 tests/ci-workflows/ci-pr-hygiene-approvals.test.ts -1050 tests/ci-workflows/ci-privacy-gate.test.ts -7069 tests/ci-workflows/ci-review-lanes.test.ts -803 tests/ci-workflows/ci-scope-gaps.test.ts -523 tests/ci-workflows/ci-scope-reduction.test.ts -1994 tests/ci-workflows/ci-shard-balance.test.ts -30 tests/ci-workflows/ci-structure-gate.test.ts -1522 tests/ci-workflows/ci-test-lane.test.ts -653 tests/ci-workflows/ci-workflows.test.ts -43 tests/ci-workflows/cleanup-orphaned-workflows.test.ts -171 tests/ci-workflows/client-support-matrix.test.ts -1139 tests/ci-workflows/client-support-runtime.test.ts -41 tests/ci-workflows/closed-pr-branch-cleanup.test.ts -6830 tests/ci-workflows/cold-spawn-warmup.test.ts -129 tests/ci-workflows/compatibility-version.test.ts -45 tests/ci-workflows/docs-429-failover-claims.test.ts -41 tests/ci-workflows/docs-bun-source-requirement.test.ts -153 tests/ci-workflows/docs-developer-role-policy.test.ts -120 tests/ci-workflows/docs-gjc-reasoning-export.test.ts -86 tests/ci-workflows/docs-gpt61-terra.test.ts -32 tests/ci-workflows/docs-gui-screenshot-policy.test.ts -369 tests/ci-workflows/docs-link-targets.test.ts -35 tests/ci-workflows/docs-navigation-label.test.ts -54 tests/ci-workflows/docs-provider-billing-claims.test.ts -54 tests/ci-workflows/docs-provider-discovery-limits.test.ts -41 tests/ci-workflows/docs-provider-preset-counts.test.ts -106 tests/ci-workflows/docs-readme-memory-inventory.test.ts -74 tests/ci-workflows/docs-readme-translation-parity.test.ts -54 tests/ci-workflows/docs-remote-hub-claims.test.ts -190 tests/ci-workflows/docs-telemetry-dashboard.test.ts -199 tests/ci-workflows/docs-telemetry-leaderboard.test.ts -245 tests/ci-workflows/dsh-path-contract.test.ts -299 tests/ci-workflows/dsh-rc6-compat-script.test.ts -534 tests/ci-workflows/dsh-writer-lock.test.ts -70 tests/ci-workflows/exhaustive-deps-suppression.test.ts -778 tests/ci-workflows/file-size-ratchet.test.ts -581 tests/ci-workflows/fixture-dir-uniqueness.test.ts -49 tests/ci-workflows/fixture-teardown-helper.test.ts -488 tests/ci-workflows/fixture-windows-runtime-preload.test.ts -529 tests/ci-workflows/import-cycle-ratchet.test.ts -193 tests/ci-workflows/install-scripts.test.ts -51 tests/ci-workflows/installed-gate-drivers.test.ts -39 tests/ci-workflows/keyring-smoke.test.ts -41 tests/ci-workflows/linux-desktop-packaged-ci.test.ts -155 tests/ci-workflows/linux-desktop-packaged-e2e.test.ts -5829 tests/ci-workflows/macos-serial-lanes.test.ts -2711 tests/ci-workflows/package-tree-fenced-restart.test.ts -2718 tests/ci-workflows/package-tree-integrity.test.ts -100 tests/ci-workflows/package-tree-restart-ownership.test.ts -104 tests/ci-workflows/package-tree-retarget.test.ts -75 tests/ci-workflows/pr-readiness-reattest.test.ts -36 tests/ci-workflows/privacy-scan-asset-names.test.ts -49 tests/ci-workflows/privacy-scan-meta-key.test.ts -32 tests/ci-workflows/privacy-scan-ssh-endpoint.test.ts -62 tests/ci-workflows/release-desktop-scripts.test.ts -1853 tests/ci-workflows/release-helper.test.ts -54 tests/ci-workflows/release-notes.test.ts -219 tests/ci-workflows/release-outcome-report.test.ts -4708 tests/ci-workflows/release-pipeline-contract.test.ts -3449 tests/ci-workflows/release-preflight.test.ts -1698 tests/ci-workflows/release-resume-identity.test.ts -47 tests/ci-workflows/release-version-line.test.ts -353 tests/ci-workflows/release-version-sources.test.ts +1055 tests/adapters/anthropic/anthropic-subscription-chain.test.ts +57 tests/adapters/anthropic/anthropic-tail-guard.test.ts +135 tests/adapters/anthropic/anthropic-thinking-display-policy.test.ts +243 tests/adapters/anthropic/anthropic-thinking-signature.test.ts +95 tests/adapters/anthropic/anthropic-thinking-usage.test.ts +51 tests/adapters/anthropic/anthropic-tool-call-id.test.ts +144 tests/adapters/anthropic/anthropic-tool-declaration-constraints.test.ts +69 tests/adapters/anthropic/anthropic-tool-schema.test.ts +636 tests/adapters/anthropic/anthropic2-fast-parity.test.ts +121 tests/adapters/bridge-legacy-shell-normalization.test.ts +3564 tests/adapters/bridge-lifecycle.test.ts +748 tests/adapters/bridge-nonstreaming-terminal.test.ts +77 tests/adapters/bridge-raw-reasoning-hidden.test.ts +96 tests/adapters/bridge-reasoning-replay-batch.test.ts +107 tests/adapters/bridge-stall.test.ts +61 tests/adapters/bridge-terminal-refusal.test.ts +69 tests/adapters/bridge-terminal-singleness.test.ts +228 tests/adapters/bridge.test.ts +154 tests/adapters/buffered-response-shape-guards.test.ts +205 tests/adapters/coding-agent-history-projection.test.ts +49 tests/adapters/coding-agent-tool-result-images.test.ts +96 tests/adapters/coding-agent-windows-dispatch.test.ts +84 tests/adapters/dsh-account-adapter.test.ts +490 tests/adapters/empty-tool-output-annotation.test.ts +177 tests/adapters/exec-tool-result-normalize.test.ts +211 tests/adapters/fix-tool-number-preservation.test.ts +156 tests/adapters/google/antigravity-account-roster.test.ts +116 tests/adapters/google/antigravity-baseurl-override.test.ts +119 tests/adapters/google/antigravity-discovered-families.test.ts +43 tests/adapters/google/antigravity-refusal.test.ts +525 tests/adapters/google/antigravity-routing-carry.test.ts +102 tests/adapters/google/antigravity-static-catalog.test.ts +5634 tests/adapters/google/gcp-adc.test.ts +1125 tests/adapters/google/gcp-credential-boundary.test.ts +387 tests/adapters/google/gcp-sa-adapter.test.ts +824 tests/adapters/google/gcp-sa-marker.test.ts +117 tests/adapters/google/gemini-37-flash-migration.test.ts +113 tests/adapters/google/gemini-4-argon-antigravity.test.ts +128 tests/adapters/google/gemini-4-hydrogen-antigravity.test.ts +71 tests/adapters/google/gemini-progress-history.test.ts +131 tests/adapters/google/gemini-web-search.test.ts +56 tests/adapters/google/google-429-retry-evidence.test.ts +201 tests/adapters/google/google-adapter.test.ts +130 tests/adapters/google/google-ai-studio-foreign-call-signature.test.ts +4177 tests/adapters/google/google-antigravity-oauth.test.ts +2390 tests/adapters/google/google-antigravity-replay.test.ts +113 tests/adapters/google/google-antigravity-wire.test.ts +102 tests/adapters/google/google-buffered-stop-reason.test.ts +77 tests/adapters/google/google-claude-prefill-guard.test.ts +86 tests/adapters/google/google-empty-content.test.ts +38 tests/adapters/google/google-errors.test.ts +102 tests/adapters/google/google-hardening.test.ts +143 tests/adapters/google/google-models-listing.test.ts +103 tests/adapters/google/google-output-clamp.test.ts +65 tests/adapters/google/google-provider-metadata-roundtrip.test.ts +159 tests/adapters/google/google-signature-history-roundtrip.test.ts +105 tests/adapters/google/google-stream-fragmentation.test.ts +99 tests/adapters/google/google-strict-tool-validated-mode.test.ts +112 tests/adapters/google/google-structured-output.test.ts +143 tests/adapters/google/google-tool-result-adjacency.test.ts +117 tests/adapters/google/google-tool-schema-contract.test.ts +77 tests/adapters/google/google-tool-schema.test.ts +4693 tests/adapters/google/google-vertex-http.test.ts +149 tests/adapters/google/google-vertex-key-project.test.ts +116 tests/adapters/google/google-vertex-stream.test.ts +124 tests/adapters/google/google-vertex-thought-signature.test.ts +91 tests/adapters/google/google-wire-compiler.test.ts +102 tests/adapters/google/google-wire-shape.test.ts +189 tests/adapters/google/vertex-adc-verified.test.ts +145 tests/adapters/google/vertex-catalog.test.ts +318 tests/adapters/google/vertex-model-discovery.test.ts +253 tests/adapters/identity-neutralize.test.ts +409 tests/adapters/identity-subagent.test.ts +578 tests/adapters/key-failover.test.ts +91 tests/adapters/openai/inline-think-boundaries.test.ts +2145 tests/adapters/openai/openai-api-virtual-models.test.ts +95 tests/adapters/openai/openai-chat-audio.test.ts +241 tests/adapters/openai/openai-chat-bounded-tool-names.test.ts +58 tests/adapters/openai/openai-chat-dangling-toolcalls.test.ts +109 tests/adapters/openai/openai-chat-developer-position.test.ts +87 tests/adapters/openai/openai-chat-eof.test.ts +99 tests/adapters/openai/openai-chat-glm-summary.test.ts +363 tests/adapters/openai/openai-chat-hardening.test.ts +4962 tests/adapters/openai/openai-chat-image-normalization.test.ts +83 tests/adapters/openai/openai-chat-inline-think-tags.test.ts +68 tests/adapters/openai/openai-chat-invalid-tool-call-diagnostics.test.ts +96 tests/adapters/openai/openai-chat-mistral-content.test.ts +88 tests/adapters/openai/openai-chat-mistral-policy.test.ts +215 tests/adapters/openai/openai-chat-model-suffix.test.ts +524 tests/adapters/openai/openai-chat-native-policy.test.ts +115 tests/adapters/openai/openai-chat-nonce-tool-call-content.test.ts +121 tests/adapters/openai/openai-chat-parallel-stream.test.ts +139 tests/adapters/openai/openai-chat-path-override.test.ts +65 tests/adapters/openai/openai-chat-qwen38-leading-system.test.ts +156 tests/adapters/openai/openai-chat-reasoning-wire-policy.test.ts +89 tests/adapters/openai/openai-chat-required-tool.test.ts +151 tests/adapters/openai/openai-chat-sanitization-review-regressions.test.ts +94 tests/adapters/openai/openai-chat-serialized-tool-call-content.test.ts +243 tests/adapters/openai/openai-chat-serialized-tool-call-hold-bound.test.ts +156 tests/adapters/openai/openai-chat-serialized-tool-call-scaling.test.ts +68 tests/adapters/openai/openai-chat-serialized-tool-call-think.test.ts +69 tests/adapters/openai/openai-chat-single-system.test.ts +391 tests/adapters/openai/openai-chat-standalone-bare-block.test.ts +163 tests/adapters/openai/openai-chat-system-order.test.ts +59 tests/adapters/openai/openai-chat-tool-call-id-remint.test.ts +67 tests/adapters/openai/openai-chat-tool-result-images.test.ts +69 tests/adapters/openai/openai-chat-url.test.ts +99 tests/adapters/openai/openai-chat-video-part.test.ts +194 tests/adapters/openai/openai-empty-assistant-history.test.ts +387 tests/adapters/openai/openai-native-hosted-search-history.test.ts +1251 tests/adapters/openai/openai-provider-option-e2e.test.ts +499 tests/adapters/openai/openai-provider-option-migration.test.ts +93 tests/adapters/openai/openai-provider-option-startup.test.ts +80 tests/adapters/openai/openai-provider-option-tooling.test.ts +70 tests/adapters/openai/openai-provider-option.test.ts +57 tests/adapters/openai/opengateway-input.test.ts +95 tests/adapters/physical-send.test.ts +133 tests/adapters/qoder-spawn-readmission.test.ts +67 tests/adapters/reasoning-replay-identity.test.ts +178 tests/adapters/reasoning-replay-robustness.test.ts +157 tests/adapters/routed-agent-messages.test.ts +169 tests/adapters/run-turn-queue.test.ts +378 tests/adapters/terminal-continuation-owner-rotation.test.ts +110 tests/adapters/tool-argument-integers.test.ts +50 tests/adapters/tool-catalog-nudge.test.ts +62 tests/adapters/tool-choice-performance.test.ts +247 tests/adapters/tool-envelope-echo-whole-line.test.ts +70 tests/adapters/tool-identity-hash.test.ts +206 tests/adapters/translator-budget-lifetime.test.ts +8667 tests/adapters/translator-budget.test.ts +50 tests/adapters/upstream-http-error.test.ts +65 tests/adapters/workbuddy-adapter.test.ts +142 tests/advisor/advisor-adaptive.test.ts +90 tests/advisor/advisor-authority-transport.test.ts +73 tests/advisor/advisor-budget.test.ts +569 tests/advisor/advisor-caller-policy-compact.test.ts +383 tests/advisor/advisor-caller-policy-host-key.test.ts +411 tests/advisor/advisor-caller-policy-http.test.ts +283 tests/advisor/advisor-caller-policy-ingress.test.ts +329 tests/advisor/advisor-caller-policy-jev.test.ts +314 tests/advisor/advisor-caller-policy-replay.test.ts +529 tests/advisor/advisor-caller-policy-routing.test.ts +480 tests/advisor/advisor-caller-policy-self-fetch.test.ts +376 tests/advisor/advisor-caller-policy-sidecar-authority.test.ts +349 tests/advisor/advisor-caller-policy-vision.test.ts +670 tests/advisor/advisor-caller-policy.test.ts +73 tests/advisor/advisor-consult.test.ts +101 tests/advisor/advisor-context.test.ts +62 tests/advisor/advisor-continuation-limit.test.ts +436 tests/advisor/advisor-core-boundary.test.ts +66 tests/advisor/advisor-evidence.test.ts +185 tests/advisor/advisor-guard.test.ts +196 tests/advisor/advisor-internal-authority.test.ts +454 tests/advisor/advisor-messages-replay-config.test.ts +92 tests/advisor/advisor-plan.test.ts +1609 tests/advisor/advisor-responses-wiring.test.ts +371 tests/advisor/advisor-retention.test.ts +372 tests/advisor/advisor-scope-transport.test.ts +154 tests/advisor/advisor-settings.test.ts +107 tests/advisor/advisor-state.test.ts +296 tests/advisor/advisor-web-search.test.ts +3219 tests/ci-workflows/assert-mergeable-review.test.ts +58 tests/ci-workflows/audit-exceptions.test.ts +60 tests/ci-workflows/brand-favicons.test.ts +51 tests/ci-workflows/build-desktop-icon-set.test.ts +162 tests/ci-workflows/build-release-changelog.test.ts +197 tests/ci-workflows/bump-dev-version.test.ts +172 tests/ci-workflows/bun-runtime.test.ts +51 tests/ci-workflows/ci-bun-crash-classifier.test.ts +36410 tests/ci-workflows/ci-bun-install-frozen.test.ts +83 tests/ci-workflows/ci-concurrency-groups.test.ts +6308 tests/ci-workflows/ci-crash-disposition.test.ts +1694 tests/ci-workflows/ci-gui-typecheck-gate.test.ts +109 tests/ci-workflows/ci-pr-hygiene-approvals.test.ts +906 tests/ci-workflows/ci-privacy-gate.test.ts +6044 tests/ci-workflows/ci-review-lanes.test.ts +715 tests/ci-workflows/ci-scope-gaps.test.ts +564 tests/ci-workflows/ci-scope-reduction.test.ts +1207 tests/ci-workflows/ci-shard-balance.test.ts +75 tests/ci-workflows/ci-structure-gate.test.ts +1902 tests/ci-workflows/ci-test-lane.test.ts +1229 tests/ci-workflows/ci-workflows.test.ts +54 tests/ci-workflows/cleanup-orphaned-workflows.test.ts +275 tests/ci-workflows/client-support-matrix.test.ts +1462 tests/ci-workflows/client-support-runtime.test.ts +58 tests/ci-workflows/closed-pr-branch-cleanup.test.ts +467 tests/ci-workflows/codex-home-sandbox.test.ts +6645 tests/ci-workflows/cold-spawn-warmup.test.ts +260 tests/ci-workflows/compatibility-version.test.ts +69 tests/ci-workflows/docs-429-failover-claims.test.ts +46 tests/ci-workflows/docs-bun-source-requirement.test.ts +107 tests/ci-workflows/docs-developer-role-policy.test.ts +61 tests/ci-workflows/docs-gjc-reasoning-export.test.ts +116 tests/ci-workflows/docs-gpt61-terra.test.ts +49 tests/ci-workflows/docs-gui-screenshot-policy.test.ts +358 tests/ci-workflows/docs-link-targets.test.ts +52 tests/ci-workflows/docs-navigation-label.test.ts +51 tests/ci-workflows/docs-provider-billing-claims.test.ts +80 tests/ci-workflows/docs-provider-discovery-limits.test.ts +65 tests/ci-workflows/docs-provider-preset-counts.test.ts +140 tests/ci-workflows/docs-readme-memory-inventory.test.ts +71 tests/ci-workflows/docs-readme-translation-parity.test.ts +89 tests/ci-workflows/docs-remote-hub-claims.test.ts +434 tests/ci-workflows/docs-spanish-localization.test.ts +204 tests/ci-workflows/docs-telemetry-dashboard.test.ts +196 tests/ci-workflows/docs-telemetry-leaderboard.test.ts +199 tests/ci-workflows/dsh-path-contract.test.ts +303 tests/ci-workflows/dsh-rc6-compat-script.test.ts +210 tests/ci-workflows/dsh-writer-lock.test.ts +96 tests/ci-workflows/exhaustive-deps-suppression.test.ts +706 tests/ci-workflows/file-size-ratchet.test.ts +614 tests/ci-workflows/fixture-dir-uniqueness.test.ts +69 tests/ci-workflows/fixture-teardown-helper.test.ts +606 tests/ci-workflows/fixture-windows-runtime-preload.test.ts +586 tests/ci-workflows/import-cycle-ratchet.test.ts +283 tests/ci-workflows/install-scripts.test.ts +59 tests/ci-workflows/installed-gate-drivers.test.ts +60 tests/ci-workflows/keyring-smoke.test.ts +117 tests/ci-workflows/linux-desktop-packaged-ci.test.ts +50 tests/ci-workflows/linux-desktop-packaged-e2e.test.ts +4674 tests/ci-workflows/macos-serial-lanes.test.ts +2810 tests/ci-workflows/package-tree-fenced-restart.test.ts +3360 tests/ci-workflows/package-tree-integrity.test.ts +132 tests/ci-workflows/package-tree-restart-ownership.test.ts +214 tests/ci-workflows/package-tree-retarget.test.ts +57 tests/ci-workflows/pr-gates-workflow.test.ts +104 tests/ci-workflows/pr-readiness-reattest.test.ts +54 tests/ci-workflows/privacy-scan-asset-names.test.ts +61 tests/ci-workflows/privacy-scan-meta-key.test.ts +70 tests/ci-workflows/privacy-scan-ssh-endpoint.test.ts +131 tests/ci-workflows/release-desktop-scripts.test.ts +2075 tests/ci-workflows/release-helper.test.ts +66 tests/ci-workflows/release-notes.test.ts +137 tests/ci-workflows/release-outcome-report.test.ts +4572 tests/ci-workflows/release-pipeline-contract.test.ts +3454 tests/ci-workflows/release-preflight.test.ts +2039 tests/ci-workflows/release-resume-identity.test.ts +49 tests/ci-workflows/release-version-line.test.ts +349 tests/ci-workflows/release-version-sources.test.ts +276 tests/ci-workflows/release-windows-signing-outcome.test.ts 22436 tests/ci-workflows/release-windows-signing.test.ts -228 tests/ci-workflows/repo-hygiene.test.ts -398 tests/ci-workflows/repo-import-resolution.test.ts -418 tests/ci-workflows/setup-hooks.test.ts -411 tests/ci-workflows/skill-ocx-generated.test.ts -103 tests/ci-workflows/skill-ocx-workflows.test.ts -71 tests/ci-workflows/skill-ocx.test.ts -574 tests/ci-workflows/structure-ssot.test.ts -735 tests/ci-workflows/test-home-guard-unpreloaded.test.ts -38311 tests/ci-workflows/test-home-guard.test.ts -20882 tests/ci-workflows/test-run-lock-generation.test.ts -157 tests/ci-workflows/test-runner-bun.test.ts -399 tests/ci-workflows/test-runner-spawnsync-finalizer.test.ts -18336 tests/ci-workflows/test-runner.test.ts -36 tests/ci-workflows/test-sandbox-cleanup.test.ts -41 tests/ci-workflows/test-temp-quarantine.test.ts -44 tests/ci-workflows/version-line.test.ts -70 tests/ci-workflows/warmup-registration.test.ts -61 tests/ci-workflows/zz-ci-api-usage-isolation.test.ts -32 tests/ci-workflows/zz-ci-storage-policy-isolation.test.ts -67 tests/ci-workflows/zz-pr-coderabbit-readiness-revalidation.test.ts -1737 tests/claude-integration/anthropic2-native-routing.test.ts -2630 tests/claude-integration/claude-529-mapping.test.ts -76 tests/claude-integration/claude-agent-startup-sync.test.ts -92 tests/claude-integration/claude-agents-inject-client.test.ts -135 tests/claude-integration/claude-agents-inject.test.ts -180 tests/claude-integration/claude-alias.test.ts -46 tests/claude-integration/claude-auth-detect.test.ts -79 tests/claude-integration/claude-auth-mode.test.ts -35 tests/claude-integration/claude-authmode-migration.test.ts -680 tests/claude-integration/claude-bridge-pool-dispatch.test.ts -100 tests/claude-integration/claude-bridge-pool-session.test.ts -347 tests/claude-integration/claude-cli-picker-surface.test.ts -452 tests/claude-integration/claude-cli-picker.test.ts -91 tests/claude-integration/claude-cli.test.ts -1129 tests/claude-integration/claude-client-refusal-status.test.ts -177 tests/claude-integration/claude-code-thought-signature-scope.test.ts -43 tests/claude-integration/claude-compatibility.test.ts -290 tests/claude-integration/claude-config-home-isolation.test.ts -1070 tests/claude-integration/claude-config-root-late-admission.test.ts -319 tests/claude-integration/claude-config-root-stale-updates.test.ts -388 tests/claude-integration/claude-config-root-writer-barrier.test.ts -94 tests/claude-integration/claude-context-accounting.test.ts -174 tests/claude-integration/claude-context-windows.test.ts -126 tests/claude-integration/claude-desktop-1m.test.ts -654 tests/claude-integration/claude-desktop-cli.test.ts -345 tests/claude-integration/claude-desktop-config-path.test.ts -701 tests/claude-integration/claude-desktop-discovery.test.ts -305 tests/claude-integration/claude-desktop-first-party-guards.test.ts -761 tests/claude-integration/claude-desktop-first-party.test.ts -94 tests/claude-integration/claude-desktop-mode-explanation.test.ts -475 tests/claude-integration/claude-desktop-model-visibility.test.ts -86 tests/claude-integration/claude-desktop-native-context.test.ts -506 tests/claude-integration/claude-desktop-picker-profile.test.ts -399 tests/claude-integration/claude-desktop-picker-routes.test.ts -127 tests/claude-integration/claude-desktop-picker.test.ts -36 tests/claude-integration/claude-desktop-policy.test.ts -6077 tests/claude-integration/claude-desktop-remote-hub.test.ts -121 tests/claude-integration/claude-desktop-system-proxy.test.ts -468 tests/claude-integration/claude-devin-output-order.test.ts -142 tests/claude-integration/claude-dotenv-provenance-transport.test.ts -232 tests/claude-integration/claude-endpoint-lifetime.test.ts -444 tests/claude-integration/claude-estimate-projection.test.ts -250 tests/claude-integration/claude-first-party-agent-sync.test.ts -132 tests/claude-integration/claude-first-party-union.test.ts -80 tests/claude-integration/claude-gateway-cache.test.ts -269 tests/claude-integration/claude-gateway-output-cap.test.ts -213 tests/claude-integration/claude-inbound-cache-stabilize.test.ts -46 tests/claude-integration/claude-inbound-debug.test.ts -63 tests/claude-integration/claude-inbound-token-footer.test.ts -597 tests/claude-integration/claude-inbound-tool-loading.test.ts -83 tests/claude-integration/claude-inbound-tool-reference.test.ts -109 tests/claude-integration/claude-inbound.test.ts -197 tests/claude-integration/claude-installation-helper.test.ts -263 tests/claude-integration/claude-intercept-acl-barrier.test.ts -64 tests/claude-integration/claude-intercept-cleanup.test.ts -128 tests/claude-integration/claude-intercept-client-class.test.ts -94 tests/claude-integration/claude-intercept-local-ca-files.test.ts -136 tests/claude-integration/claude-intercept-local-ca-windows.test.ts -147 tests/claude-integration/claude-intercept-local-ca.test.ts -213 tests/claude-integration/claude-intercept-model-bindings.test.ts -101 tests/claude-integration/claude-intercept-no-proxy.test.ts -204 tests/claude-integration/claude-intercept-on-demand.test.ts -180 tests/claude-integration/claude-intercept-proxy-auth.test.ts -105 tests/claude-integration/claude-intercept-proxy.test.ts -91 tests/claude-integration/claude-intercept-settings.test.ts -87 tests/claude-integration/claude-long-context-eligibility.test.ts -4730 tests/claude-integration/claude-management-api.test.ts -4799 tests/claude-integration/claude-messages-endpoint.test.ts -448 tests/claude-integration/claude-messages-thread.test.ts -93 tests/claude-integration/claude-model-default-labels.test.ts -90 tests/claude-integration/claude-model-info.test.ts -1085 tests/claude-integration/claude-models-discovery.test.ts -2190 tests/claude-integration/claude-native-affinity.test.ts -850 tests/claude-integration/claude-native-fast-1m-ingress.test.ts -7876 tests/claude-integration/claude-native-passthrough.test.ts -143 tests/claude-integration/claude-native-rate-limit-headers.test.ts -80 tests/claude-integration/claude-native-reasoning-continuity.test.ts -442 tests/claude-integration/claude-native-reasoning-provenance.test.ts -2019 tests/claude-integration/claude-outbound.test.ts -119 tests/claude-integration/claude-output-schema-strict.test.ts -260 tests/claude-integration/claude-picker-bootstrap.test.ts -343 tests/claude-integration/claude-picker-ca-store.test.ts -431 tests/claude-integration/claude-picker-ca.test.ts -104 tests/claude-integration/claude-picker-linger.test.ts -812 tests/claude-integration/claude-picker-listener.test.ts -95 tests/claude-integration/claude-picker-models.test.ts -841 tests/claude-integration/claude-picker-recovery.test.ts -165 tests/claude-integration/claude-picker-relay-intent.test.ts -376 tests/claude-integration/claude-picker-runtime.test.ts -1196 tests/claude-integration/claude-picker-startup.test.ts -70 tests/claude-integration/claude-picker-trust-windows.test.ts -38 tests/claude-integration/claude-picker-trust.test.ts -3969 tests/claude-integration/claude-picker-upload.test.ts -539 tests/claude-integration/claude-picker-windows.test.ts -2001 tests/claude-integration/claude-prompt-too-long.test.ts -81 tests/claude-integration/claude-shell-hook.test.ts -167 tests/claude-integration/claude-sidecar-override.test.ts -79 tests/claude-integration/claude-source-envelope.test.ts -116 tests/claude-integration/claude-subagent-model-force.test.ts -90 tests/claude-integration/claude-system-env-auto.test.ts -296 tests/claude-integration/claude-tool-loading-destinations.test.ts -286 tests/claude-integration/claude-translated-cache-ttl.test.ts -497 tests/claude-integration/claude-translated-server-tools.test.ts -308 tests/claude-integration/claude-translated-tool-restrictions.test.ts -145 tests/claude-integration/claude-uncoded-context-overflow.test.ts -218 tests/claude-integration/messages-error-contracts.test.ts -1463 tests/claude-integration/messages-error-normalization.test.ts -60 tests/claude-integration/messages-header-normalization.test.ts -424 tests/claude-integration/messages-lane-errors.test.ts -254 tests/claude-integration/messages-native-clean-eof.test.ts -54 tests/claude-integration/messages-native-combo-framing.test.ts -1448 tests/claude-integration/messages-native-combo.test.ts -348 tests/claude-integration/messages-native-decline-trace.test.ts -454 tests/claude-integration/messages-native-empty-inline.test.ts -589 tests/claude-integration/messages-native-key-selection.test.ts -1844 tests/claude-integration/messages-native-oauth.test.ts -176 tests/claude-integration/messages-native-opaque-state.test.ts -500 tests/claude-integration/messages-native-scope.test.ts -2444 tests/claude-integration/messages-native-stream-parity.test.ts -2560 tests/claude-integration/messages-native.test.ts -682 tests/claude-integration/messages-overflow-baseline-contract.test.ts -18283 tests/claude-integration/messages-overflow-builtin.test.ts -4873 tests/claude-integration/messages-overflow-collectors.test.ts -10517 tests/claude-integration/messages-overflow-native.test.ts -5946 tests/claude-integration/messages-overflow-stream.test.ts -15269 tests/claude-integration/messages-overflow-translated.test.ts -7791 tests/claude-integration/messages-overflow-verdicts.test.ts -15858 tests/claude-integration/messages-proxy-refusals.test.ts -1776 tests/claude-integration/messages-request-id-endpoint.test.ts -115 tests/claude-integration/messages-request-id-headers.test.ts -1529 tests/claude-integration/messages-review-regressions.test.ts -1204 tests/claude-integration/messages-revoked-token.test.ts -290 tests/claude-integration/messages-shared-sse.test.ts -86 tests/claude-integration/messages-sse-baseline-contract.test.ts -4481 tests/claude-integration/messages-sse-builtin-errors.test.ts -2240 tests/claude-integration/messages-sse-continuation.test.ts -925 tests/claude-integration/messages-sse-control-fields.test.ts -3769 tests/claude-integration/messages-sse-count-tokens-errors.test.ts -34 tests/claude-integration/messages-sse-delivery.test.ts -427 tests/claude-integration/messages-sse-fold-errors.test.ts -57 tests/claude-integration/messages-sse-guard-errors.test.ts -4222 tests/claude-integration/messages-sse-native-errors.test.ts -5345 tests/claude-integration/messages-sse-passthrough-errors.test.ts -3109 tests/claude-integration/messages-sse-tap-tails.test.ts -2644 tests/claude-integration/messages-sse-workflow-refusal.test.ts -279 tests/claude-integration/messages-success-media-types.test.ts -99 tests/claude-integration/messages-surface-matrix.test.ts -33 tests/cli/agent-driven.test.ts -85 tests/cli/agent-subagent-force.test.ts -866 tests/cli/bun-transpiler-cache-scope.test.ts -64 tests/cli/claude-config-first-party.test.ts -15191 tests/cli/cli-access-audio-live.test.ts -266 tests/cli/cli-access-audio.test.ts -97 tests/cli/cli-access-data-plane.test.ts -68 tests/cli/cli-access-key-guard.test.ts -195 tests/cli/cli-access-rename.test.ts -62 tests/cli/cli-account-alias-target.test.ts -148 tests/cli/cli-account-cancel-flow.test.ts -69 tests/cli/cli-account-key-pause.test.ts -162 tests/cli/cli-account-key-quota.test.ts -67 tests/cli/cli-account-kiro-device.test.ts -318 tests/cli/cli-account-login-options.test.ts -60 tests/cli/cli-account-orca-import.test.ts -59 tests/cli/cli-account-pin-drain.test.ts -484 tests/cli/cli-account-policy.test.ts -62 tests/cli/cli-account-pool-verbs.test.ts -103 tests/cli/cli-account-preservation.test.ts -65 tests/cli/cli-account-slot-identity.test.ts -81 tests/cli/cli-account-threshold.test.ts -31 tests/cli/cli-account-verify-status.test.ts -542 tests/cli/cli-account.test.ts -163 tests/cli/cli-agent-runtime-settings.test.ts -199 tests/cli/cli-agent-settings.test.ts -104 tests/cli/cli-alias-json.test.ts -63 tests/cli/cli-anthropic-account-threshold.test.ts -132 tests/cli/cli-anthropic2-account.test.ts -104 tests/cli/cli-api-protocols.test.ts -154 tests/cli/cli-aside-sync.test.ts -116 tests/cli/cli-capabilities-arguments.test.ts -87 tests/cli/cli-capabilities.test.ts -180 tests/cli/cli-capability-access-workflows.test.ts -114 tests/cli/cli-capability-account-workflows.test.ts -92 tests/cli/cli-capability-agent-workflows.test.ts -2146 tests/cli/cli-capability-data.test.ts -103 tests/cli/cli-capability-integration-workflows.test.ts -211 tests/cli/cli-capability-lab-workflows.test.ts -176 tests/cli/cli-capability-operation-workflows.test.ts -67 tests/cli/cli-capability-provider-workflows.test.ts -121 tests/cli/cli-catalog-command-result.test.ts -34 tests/cli/cli-catalog-prewarm.test.ts -388 tests/cli/cli-claude-desktop-profile.test.ts -136 tests/cli/cli-client-start-fence.test.ts -2415 tests/cli/cli-client-start-owner-e2e.test.ts -6778 tests/cli/cli-codex-cli-update-boundary.test.ts -479 tests/cli/cli-codex-cli-update.test.ts -71 tests/cli/cli-codex-log-guard-compact.test.ts -73 tests/cli/cli-codex-log-guard-protection.test.ts -94 tests/cli/cli-codex-log-guard.test.ts -136 tests/cli/cli-combo-parity.test.ts -62 tests/cli/cli-combo-partial-update.test.ts -134 tests/cli/cli-combo-session-pin.test.ts -119 tests/cli/cli-combo-set-targets.test.ts -139 tests/cli/cli-combo-stats.test.ts -271 tests/cli/cli-companion-timeline.test.ts -82 tests/cli/cli-companion-usage.test.ts -101 tests/cli/cli-companion.test.ts -564 tests/cli/cli-config-bom.test.ts -7125 tests/cli/cli-config-command.test.ts -1376 tests/cli/cli-config-default-show.test.ts -2197 tests/cli/cli-config-show-client.test.ts -7349 tests/cli/cli-connect-readiness.test.ts -77 tests/cli/cli-dispatch.test.ts -113 tests/cli/cli-dto-fidelity.test.ts -101 tests/cli/cli-effort-slug.test.ts -260 tests/cli/cli-effort.test.ts -104 tests/cli/cli-ensure-client-state.test.ts -159 tests/cli/cli-ensure-desktop-cold-start.test.ts -74 tests/cli/cli-ensure-readiness.test.ts -465 tests/cli/cli-export-command.test.ts -158 tests/cli/cli-export-model-names.test.ts -200 tests/cli/cli-fallback.test.ts -49 tests/cli/cli-head.test.ts -270 tests/cli/cli-headless-parity.test.ts -2185 tests/cli/cli-help-navigation.test.ts -13366 tests/cli/cli-help-paths.test.ts -4994 tests/cli/cli-help-recovery.test.ts -10523 tests/cli/cli-help.test.ts -1041 tests/cli/cli-init-port.test.ts -111 tests/cli/cli-injection-follow.test.ts -99 tests/cli/cli-integer-options.test.ts -83 tests/cli/cli-integration-cursor.test.ts -83 tests/cli/cli-integration-droid.test.ts -182 tests/cli/cli-integration-journal.test.ts -785 tests/cli/cli-integration-preview.test.ts -139 tests/cli/cli-json-contract.test.ts -284 tests/cli/cli-json-input.test.ts -77 tests/cli/cli-kiro-auto-selection.test.ts -239 tests/cli/cli-link-child.test.ts -111 tests/cli/cli-link-cleanup.test.ts -43 tests/cli/cli-link-enrollment.test.ts -589 tests/cli/cli-link-force.test.ts -110 tests/cli/cli-link.test.ts -271 tests/cli/cli-log-follow.test.ts -119 tests/cli/cli-log-history.test.ts -377 tests/cli/cli-log-view-filter.test.ts -76 tests/cli/cli-logout-runtime.test.ts -58 tests/cli/cli-logs-request-id.test.ts -74 tests/cli/cli-management-auth.test.ts -1467 tests/cli/cli-message-mcp.test.ts -188 tests/cli/cli-models-custom-runtime.test.ts -173 tests/cli/cli-models-display-name.test.ts -57 tests/cli/cli-models-free-only.test.ts -205 tests/cli/cli-models-local-result.test.ts -104 tests/cli/cli-models-order.test.ts -94 tests/cli/cli-models-price.test.ts -123 tests/cli/cli-models-prompt-length-pricing.test.ts -446 tests/cli/cli-models-reasoning.test.ts -172 tests/cli/cli-models-runtime-dispatch.test.ts -108 tests/cli/cli-models-set.test.ts +279 tests/ci-workflows/repo-hygiene.test.ts +505 tests/ci-workflows/repo-import-resolution.test.ts +440 tests/ci-workflows/setup-hooks.test.ts +654 tests/ci-workflows/skill-ocx-generated.test.ts +164 tests/ci-workflows/skill-ocx-workflows.test.ts +152 tests/ci-workflows/skill-ocx.test.ts +672 tests/ci-workflows/structure-ssot.test.ts +722 tests/ci-workflows/test-git-isolation.test.ts +940 tests/ci-workflows/test-home-guard-unpreloaded.test.ts +42296 tests/ci-workflows/test-home-guard.test.ts +100 tests/ci-workflows/test-network-egress-guard.test.ts +21476 tests/ci-workflows/test-run-lock-generation.test.ts +199 tests/ci-workflows/test-runner-bun.test.ts +400 tests/ci-workflows/test-runner-spawnsync-finalizer.test.ts +18166 tests/ci-workflows/test-runner.test.ts +62 tests/ci-workflows/test-sandbox-cleanup.test.ts +57 tests/ci-workflows/test-temp-quarantine.test.ts +66 tests/ci-workflows/version-line.test.ts +82 tests/ci-workflows/warmup-registration.test.ts +60 tests/ci-workflows/zz-ci-api-usage-isolation.test.ts +70 tests/ci-workflows/zz-ci-storage-policy-isolation.test.ts +94 tests/ci-workflows/zz-pr-coderabbit-readiness-revalidation.test.ts +2335 tests/claude-integration/anthropic2-native-routing.test.ts +3083 tests/claude-integration/claude-529-mapping.test.ts +180 tests/claude-integration/claude-agent-startup-sync.test.ts +162 tests/claude-integration/claude-agents-inject-client.test.ts +149 tests/claude-integration/claude-agents-inject.test.ts +97 tests/claude-integration/claude-alias.test.ts +63 tests/claude-integration/claude-auth-detect.test.ts +108 tests/claude-integration/claude-auth-mode.test.ts +50 tests/claude-integration/claude-authmode-migration.test.ts +790 tests/claude-integration/claude-bridge-pool-dispatch.test.ts +201 tests/claude-integration/claude-bridge-pool-session.test.ts +654 tests/claude-integration/claude-chat-tool-dispatch-routes.test.ts +536 tests/claude-integration/claude-chat-tool-dispatch.test.ts +461 tests/claude-integration/claude-cli-picker-surface.test.ts +602 tests/claude-integration/claude-cli-picker.test.ts +133 tests/claude-integration/claude-cli.test.ts +1152 tests/claude-integration/claude-client-refusal-status.test.ts +229 tests/claude-integration/claude-code-thought-signature-scope.test.ts +59 tests/claude-integration/claude-compatibility.test.ts +386 tests/claude-integration/claude-config-home-isolation.test.ts +797 tests/claude-integration/claude-config-root-late-admission.test.ts +533 tests/claude-integration/claude-config-root-stale-updates.test.ts +563 tests/claude-integration/claude-config-root-writer-barrier.test.ts +216 tests/claude-integration/claude-context-accounting.test.ts +121 tests/claude-integration/claude-context-windows.test.ts +155 tests/claude-integration/claude-desktop-1m.test.ts +865 tests/claude-integration/claude-desktop-cli.test.ts +621 tests/claude-integration/claude-desktop-config-path.test.ts +1099 tests/claude-integration/claude-desktop-discovery.test.ts +567 tests/claude-integration/claude-desktop-first-party-guards.test.ts +1062 tests/claude-integration/claude-desktop-first-party.test.ts +159 tests/claude-integration/claude-desktop-mode-explanation.test.ts +740 tests/claude-integration/claude-desktop-model-visibility.test.ts +128 tests/claude-integration/claude-desktop-native-context.test.ts +553 tests/claude-integration/claude-desktop-picker-profile.test.ts +567 tests/claude-integration/claude-desktop-picker-routes.test.ts +151 tests/claude-integration/claude-desktop-picker.test.ts +73 tests/claude-integration/claude-desktop-policy.test.ts +7887 tests/claude-integration/claude-desktop-remote-hub.test.ts +164 tests/claude-integration/claude-desktop-system-proxy.test.ts +546 tests/claude-integration/claude-devin-output-order.test.ts +190 tests/claude-integration/claude-dotenv-provenance-transport.test.ts +424 tests/claude-integration/claude-endpoint-lifetime.test.ts +578 tests/claude-integration/claude-estimate-projection.test.ts +517 tests/claude-integration/claude-first-party-agent-sync.test.ts +161 tests/claude-integration/claude-first-party-union.test.ts +63 tests/claude-integration/claude-gateway-cache.test.ts +522 tests/claude-integration/claude-gateway-output-cap.test.ts +400 tests/claude-integration/claude-inbound-cache-stabilize.test.ts +75 tests/claude-integration/claude-inbound-debug.test.ts +141 tests/claude-integration/claude-inbound-token-footer.test.ts +588 tests/claude-integration/claude-inbound-tool-loading.test.ts +106 tests/claude-integration/claude-inbound-tool-reference.test.ts +292 tests/claude-integration/claude-inbound.test.ts +343 tests/claude-integration/claude-installation-helper.test.ts +410 tests/claude-integration/claude-intercept-acl-barrier.test.ts +104 tests/claude-integration/claude-intercept-cleanup.test.ts +180 tests/claude-integration/claude-intercept-client-class.test.ts +129 tests/claude-integration/claude-intercept-local-ca-files.test.ts +185 tests/claude-integration/claude-intercept-local-ca-windows.test.ts +187 tests/claude-integration/claude-intercept-local-ca.test.ts +232 tests/claude-integration/claude-intercept-model-bindings.test.ts +166 tests/claude-integration/claude-intercept-no-proxy.test.ts +418 tests/claude-integration/claude-intercept-on-demand.test.ts +159 tests/claude-integration/claude-intercept-proxy-auth.test.ts +155 tests/claude-integration/claude-intercept-proxy.test.ts +170 tests/claude-integration/claude-intercept-settings.test.ts +2544 tests/claude-integration/claude-keychain-healthz.test.ts +129 tests/claude-integration/claude-long-context-eligibility.test.ts +6522 tests/claude-integration/claude-management-api.test.ts +6157 tests/claude-integration/claude-messages-endpoint.test.ts +524 tests/claude-integration/claude-messages-thread.test.ts +154 tests/claude-integration/claude-model-default-labels.test.ts +128 tests/claude-integration/claude-model-info.test.ts +1728 tests/claude-integration/claude-models-discovery.test.ts +586 tests/claude-integration/claude-native-affinity.test.ts +562 tests/claude-integration/claude-native-fast-1m-ingress.test.ts +9452 tests/claude-integration/claude-native-passthrough.test.ts +171 tests/claude-integration/claude-native-rate-limit-headers.test.ts +125 tests/claude-integration/claude-native-reasoning-continuity.test.ts +405 tests/claude-integration/claude-native-reasoning-provenance.test.ts +2518 tests/claude-integration/claude-outbound.test.ts +162 tests/claude-integration/claude-output-schema-strict.test.ts +254 tests/claude-integration/claude-picker-bootstrap.test.ts +479 tests/claude-integration/claude-picker-ca-store.test.ts +522 tests/claude-integration/claude-picker-ca.test.ts +113 tests/claude-integration/claude-picker-linger.test.ts +676 tests/claude-integration/claude-picker-listener.test.ts +119 tests/claude-integration/claude-picker-models.test.ts +1086 tests/claude-integration/claude-picker-recovery.test.ts +227 tests/claude-integration/claude-picker-relay-intent.test.ts +567 tests/claude-integration/claude-picker-runtime.test.ts +1618 tests/claude-integration/claude-picker-startup.test.ts +1297 tests/claude-integration/claude-picker-trust-linux.test.ts +81 tests/claude-integration/claude-picker-trust-windows.test.ts +80 tests/claude-integration/claude-picker-trust.test.ts +4150 tests/claude-integration/claude-picker-upload.test.ts +714 tests/claude-integration/claude-picker-windows.test.ts +2091 tests/claude-integration/claude-prompt-too-long.test.ts +185 tests/claude-integration/claude-shell-hook.test.ts +241 tests/claude-integration/claude-sidecar-override.test.ts +110 tests/claude-integration/claude-source-envelope.test.ts +220 tests/claude-integration/claude-subagent-model-force.test.ts +144 tests/claude-integration/claude-system-env-auto.test.ts +803 tests/claude-integration/claude-tool-loading-destinations.test.ts +1415 tests/claude-integration/claude-translated-advisor-tool.test.ts +417 tests/claude-integration/claude-translated-cache-ttl.test.ts +665 tests/claude-integration/claude-translated-hosted-advisor-choice.test.ts +725 tests/claude-integration/claude-translated-server-tools.test.ts +372 tests/claude-integration/claude-translated-tool-restrictions.test.ts +250 tests/claude-integration/claude-uncoded-context-overflow.test.ts +229 tests/claude-integration/messages-error-contracts.test.ts +1695 tests/claude-integration/messages-error-normalization.test.ts +101 tests/claude-integration/messages-header-normalization.test.ts +556 tests/claude-integration/messages-lane-errors.test.ts +400 tests/claude-integration/messages-native-clean-eof.test.ts +140 tests/claude-integration/messages-native-combo-framing.test.ts +1637 tests/claude-integration/messages-native-combo.test.ts +217 tests/claude-integration/messages-native-decline-trace.test.ts +665 tests/claude-integration/messages-native-empty-inline.test.ts +919 tests/claude-integration/messages-native-key-selection.test.ts +2973 tests/claude-integration/messages-native-oauth.test.ts +418 tests/claude-integration/messages-native-opaque-state.test.ts +850 tests/claude-integration/messages-native-scope.test.ts +2762 tests/claude-integration/messages-native-stream-parity.test.ts +3040 tests/claude-integration/messages-native.test.ts +685 tests/claude-integration/messages-overflow-baseline-contract.test.ts +19273 tests/claude-integration/messages-overflow-builtin.test.ts +6646 tests/claude-integration/messages-overflow-collectors.test.ts +14062 tests/claude-integration/messages-overflow-native.test.ts +6927 tests/claude-integration/messages-overflow-stream.test.ts +19676 tests/claude-integration/messages-overflow-translated.test.ts +13022 tests/claude-integration/messages-overflow-verdicts.test.ts +20577 tests/claude-integration/messages-proxy-refusals.test.ts +3221 tests/claude-integration/messages-request-id-endpoint.test.ts +233 tests/claude-integration/messages-request-id-headers.test.ts +2343 tests/claude-integration/messages-review-regressions.test.ts +1562 tests/claude-integration/messages-revoked-token.test.ts +329 tests/claude-integration/messages-shared-sse.test.ts +126 tests/claude-integration/messages-sse-baseline-contract.test.ts +7004 tests/claude-integration/messages-sse-builtin-errors.test.ts +4287 tests/claude-integration/messages-sse-continuation.test.ts +1448 tests/claude-integration/messages-sse-control-fields.test.ts +5454 tests/claude-integration/messages-sse-count-tokens-errors.test.ts +67 tests/claude-integration/messages-sse-delivery.test.ts +770 tests/claude-integration/messages-sse-fold-errors.test.ts +59 tests/claude-integration/messages-sse-guard-errors.test.ts +5794 tests/claude-integration/messages-sse-native-errors.test.ts +5704 tests/claude-integration/messages-sse-passthrough-errors.test.ts +3734 tests/claude-integration/messages-sse-tap-tails.test.ts +1875 tests/claude-integration/messages-sse-workflow-refusal.test.ts +271 tests/claude-integration/messages-success-media-types.test.ts +369 tests/claude-integration/messages-surface-matrix.test.ts +56 tests/cli/agent-driven.test.ts +90 tests/cli/agent-subagent-force.test.ts +888 tests/cli/bun-transpiler-cache-scope.test.ts +88 tests/cli/claude-config-first-party.test.ts +15209 tests/cli/cli-access-audio-live.test.ts +378 tests/cli/cli-access-audio.test.ts +134 tests/cli/cli-access-data-plane.test.ts +124 tests/cli/cli-access-key-guard.test.ts +196 tests/cli/cli-access-rename.test.ts +98 tests/cli/cli-account-alias-target.test.ts +117 tests/cli/cli-account-cancel-flow.test.ts +103 tests/cli/cli-account-key-pause.test.ts +220 tests/cli/cli-account-key-quota.test.ts +89 tests/cli/cli-account-kiro-device.test.ts +2389 tests/cli/cli-account-login-options.test.ts +53 tests/cli/cli-account-orca-import.test.ts +107 tests/cli/cli-account-pin-drain.test.ts +610 tests/cli/cli-account-policy.test.ts +105 tests/cli/cli-account-pool-verbs.test.ts +93 tests/cli/cli-account-preservation.test.ts +86 tests/cli/cli-account-slot-identity.test.ts +152 tests/cli/cli-account-threshold.test.ts +105 tests/cli/cli-account-verify-status.test.ts +653 tests/cli/cli-account.test.ts +171 tests/cli/cli-agent-runtime-settings.test.ts +327 tests/cli/cli-agent-settings.test.ts +148 tests/cli/cli-alias-json.test.ts +85 tests/cli/cli-anthropic-account-threshold.test.ts +109 tests/cli/cli-anthropic2-account.test.ts +169 tests/cli/cli-api-protocols.test.ts +122 tests/cli/cli-aside-sync.test.ts +165 tests/cli/cli-capabilities-arguments.test.ts +153 tests/cli/cli-capabilities.test.ts +107 tests/cli/cli-capability-access-workflows.test.ts +160 tests/cli/cli-capability-account-workflows.test.ts +203 tests/cli/cli-capability-agent-workflows.test.ts +2354 tests/cli/cli-capability-data.test.ts +210 tests/cli/cli-capability-integration-workflows.test.ts +269 tests/cli/cli-capability-lab-workflows.test.ts +128 tests/cli/cli-capability-operation-workflows.test.ts +118 tests/cli/cli-capability-provider-workflows.test.ts +127 tests/cli/cli-catalog-command-result.test.ts +59 tests/cli/cli-catalog-prewarm.test.ts +421 tests/cli/cli-claude-desktop-profile.test.ts +158 tests/cli/cli-client-start-fence.test.ts +3730 tests/cli/cli-client-start-owner-e2e.test.ts +8452 tests/cli/cli-codex-cli-update-boundary.test.ts +683 tests/cli/cli-codex-cli-update.test.ts +156 tests/cli/cli-codex-log-guard-compact.test.ts +167 tests/cli/cli-codex-log-guard-protection.test.ts +177 tests/cli/cli-codex-log-guard.test.ts +207 tests/cli/cli-combo-parity.test.ts +128 tests/cli/cli-combo-partial-update.test.ts +211 tests/cli/cli-combo-session-pin.test.ts +199 tests/cli/cli-combo-set-targets.test.ts +191 tests/cli/cli-combo-stats.test.ts +127 tests/cli/cli-companion-timeline.test.ts +118 tests/cli/cli-companion-usage.test.ts +108 tests/cli/cli-companion.test.ts +865 tests/cli/cli-config-bom.test.ts +17024 tests/cli/cli-config-command.test.ts +1828 tests/cli/cli-config-default-show.test.ts +3173 tests/cli/cli-config-show-client.test.ts +6387 tests/cli/cli-connect-readiness.test.ts +333 tests/cli/cli-dispatch.test.ts +171 tests/cli/cli-dto-fidelity.test.ts +121 tests/cli/cli-effort-slug.test.ts +232 tests/cli/cli-effort.test.ts +143 tests/cli/cli-ensure-client-state.test.ts +150 tests/cli/cli-ensure-desktop-cold-start.test.ts +67 tests/cli/cli-ensure-readiness.test.ts +830 tests/cli/cli-export-command.test.ts +150 tests/cli/cli-export-model-names.test.ts +86 tests/cli/cli-fallback.test.ts +72 tests/cli/cli-head.test.ts +402 tests/cli/cli-headless-parity.test.ts +3331 tests/cli/cli-help-navigation.test.ts +18717 tests/cli/cli-help-paths.test.ts +7514 tests/cli/cli-help-recovery.test.ts +14076 tests/cli/cli-help.test.ts +1449 tests/cli/cli-init-port.test.ts +133 tests/cli/cli-injection-follow.test.ts +98 tests/cli/cli-integer-options.test.ts +141 tests/cli/cli-integration-cursor.test.ts +107 tests/cli/cli-integration-droid.test.ts +440 tests/cli/cli-integration-journal.test.ts +438 tests/cli/cli-integration-preview.test.ts +148 tests/cli/cli-json-contract.test.ts +335 tests/cli/cli-json-input.test.ts +95 tests/cli/cli-kiro-auto-selection.test.ts +100 tests/cli/cli-link-activity.test.ts +167 tests/cli/cli-link-capture.test.ts +129 tests/cli/cli-link-check.test.ts +134 tests/cli/cli-link-child-ops.test.ts +288 tests/cli/cli-link-child.test.ts +108 tests/cli/cli-link-cleanup.test.ts +98 tests/cli/cli-link-diagnostics.test.ts +129 tests/cli/cli-link-enrollment.test.ts +99 tests/cli/cli-link-explicit-route.test.ts +285 tests/cli/cli-link-force.test.ts +114 tests/cli/cli-link-operation.test.ts +99 tests/cli/cli-link-policy.test.ts +118 tests/cli/cli-link-recover.test.ts +96 tests/cli/cli-link-route-intent.test.ts +90 tests/cli/cli-link-routes.test.ts +120 tests/cli/cli-link.test.ts +359 tests/cli/cli-log-follow.test.ts +110 tests/cli/cli-log-history.test.ts +368 tests/cli/cli-log-view-filter.test.ts +125 tests/cli/cli-logout-runtime.test.ts +92 tests/cli/cli-logs-request-id.test.ts +132 tests/cli/cli-management-auth.test.ts +1281 tests/cli/cli-message-mcp-resume.test.ts +3065 tests/cli/cli-message-mcp.test.ts +258 tests/cli/cli-models-custom-runtime.test.ts +183 tests/cli/cli-models-display-name.test.ts +107 tests/cli/cli-models-free-only.test.ts +243 tests/cli/cli-models-local-result.test.ts +133 tests/cli/cli-models-order.test.ts +137 tests/cli/cli-models-price.test.ts +100 tests/cli/cli-models-prompt-length-pricing.test.ts +159 tests/cli/cli-models-reasoning.test.ts +140 tests/cli/cli-models-runtime-dispatch.test.ts +189 tests/cli/cli-models-set.test.ts 36077 tests/cli/cli-models.test.ts -124 tests/cli/cli-native-profile.test.ts -111 tests/cli/cli-observe-logs.test.ts -109 tests/cli/cli-observe-snapshot.test.ts -104 tests/cli/cli-path-diagnostics.test.ts -221 tests/cli/cli-provider-batch.test.ts -39 tests/cli/cli-provider-cc-switch-import.test.ts -184 tests/cli/cli-provider-lifecycle-runtime.test.ts -1789 tests/cli/cli-provider-list-active.test.ts -62 tests/cli/cli-provider-result.test.ts -191 tests/cli/cli-provider-settings.test.ts -445 tests/cli/cli-provider-sync-result.test.ts -20692 tests/cli/cli-provider.test.ts -1290 tests/cli/cli-ready-subprocess.test.ts -35 tests/cli/cli-ready.test.ts -78 tests/cli/cli-registry.test.ts -126 tests/cli/cli-remote-workspace-hub.test.ts -2393 tests/cli/cli-resolve-subprocess.test.ts +180 tests/cli/cli-native-profile.test.ts +106 tests/cli/cli-observe-logs.test.ts +97 tests/cli/cli-observe-snapshot.test.ts +65 tests/cli/cli-path-diagnostics.test.ts +302 tests/cli/cli-provider-batch.test.ts +90 tests/cli/cli-provider-cc-switch-import.test.ts +141 tests/cli/cli-provider-lifecycle-runtime.test.ts +2714 tests/cli/cli-provider-list-active.test.ts +90 tests/cli/cli-provider-result.test.ts +135 tests/cli/cli-provider-settings.test.ts +475 tests/cli/cli-provider-sync-result.test.ts +27646 tests/cli/cli-provider.test.ts +1474 tests/cli/cli-ready-subprocess.test.ts +59 tests/cli/cli-ready.test.ts +110 tests/cli/cli-registry.test.ts +199 tests/cli/cli-remote-workspace-hub.test.ts +3037 tests/cli/cli-resolve-subprocess.test.ts 92 tests/cli/cli-resolve.test.ts -121 tests/cli/cli-restart-handoff.test.ts -2500 tests/cli/cli-restart-health.test.ts -2000 tests/cli/cli-restore-back.test.ts -475 tests/cli/cli-role-suggestion-history.test.ts -104 tests/cli/cli-route-policy-not-found.test.ts -777 tests/cli/cli-route-policy-write.test.ts -2734 tests/cli/cli-start-auxiliary-bind.test.ts -14200 tests/cli/cli-start-journal-order.test.ts -2493 tests/cli/cli-start-owner-absence.test.ts -3245 tests/cli/cli-start-owner-evidence.test.ts -38 tests/cli/cli-start-routing-heal-wiring.test.ts -95 tests/cli/cli-status-codex-routing-drift.test.ts -2808 tests/cli/cli-status-hub-state.test.ts -11344 tests/cli/cli-status-json.test.ts -88 tests/cli/cli-status-oauth-health.test.ts -1763 tests/cli/cli-status-startup-health.test.ts -106 tests/cli/cli-stop-json.test.ts -429 tests/cli/cli-stop-refusal-transport.test.ts -181 tests/cli/cli-storage-inspect.test.ts -195 tests/cli/cli-storage-policy-fields.test.ts -251 tests/cli/cli-sync-expect-link.test.ts -183 tests/cli/cli-system-health.test.ts -126 tests/cli/cli-system-settings-parity.test.ts -77 tests/cli/cli-telemetry-profile.test.ts -123 tests/cli/cli-telemetry.test.ts -96 tests/cli/cli-transport-honesty.test.ts -997 tests/cli/cli-update-badge.test.ts -696 tests/cli/cli-update-restart-admission.test.ts -56 tests/cli/cli-update-restart-child.test.ts -84 tests/cli/cli-update-restart-desktop-service.test.ts -188 tests/cli/cli-update-restart-home.test.ts -53 tests/cli/cli-update-restart-service-record.test.ts -38 tests/cli/cli-update-restart-supervision.test.ts -536 tests/cli/cli-update-restart-transport.test.ts -213 tests/cli/cli-update-restart.test.ts -2740 tests/cli/cli-usage-compare.test.ts -98 tests/cli/cli-usage-hub.test.ts -117 tests/cli/cli-usage-model-search.test.ts -103 tests/cli/cli-usage-report.test.ts -178 tests/cli/cli-usage-scope.test.ts -758 tests/cli/cli-usage-top.test.ts -471 tests/cli/cli-v2-runtime.test.ts -9118 tests/cli/cli-version-skew.test.ts -251 tests/cli/cross-home-loopback-family.test.ts -52 tests/cli/ensure-desired-integrations-race.test.ts -810 tests/cli/hub-disable.test.ts -310 tests/cli/hub-gated-local-clients.test.ts -160 tests/cli/hub-invite.test.ts -51 tests/cli/interactive-confirm.test.ts -55 tests/cli/link-apply-restart.test.ts -116 tests/cli/local-credentials.test.ts -107 tests/cli/model-selection-guidance.test.ts -3518 tests/cli/ocx-launcher-desktop-handoff.test.ts -23 tests/cli/ocx-launcher-fixture-trust.test.ts -2552 tests/cli/ocx-launcher-runtime.test.ts -73 tests/cli/ocx-launcher-source.test.ts -90 tests/cli/ocx-run.test.ts -1084 tests/cli/restore-completes-shared-teardown.test.ts -795 tests/cli/route-explainability.test.ts -14590 tests/cli/sibling-home-client-sync.test.ts -71 tests/cli/star-deferral.test.ts -82 tests/cli/start-args.test.ts -35 tests/cli/start-ownership-publication.test.ts -410 tests/cli/status-install-method.test.ts -1785 tests/cli/sync-command-fanout.test.ts -2713 tests/cli/sync-fanout-process.test.ts -165 tests/cli/sync-fanout.test.ts -242 tests/cli/sync-link-status.test.ts -39 tests/cli/system-restart-client-package-tree.test.ts -41 tests/cli/system-restart-client.test.ts -464 tests/cli/uninstall.test.ts -169 tests/clients/agent-clients.test.ts -42 tests/clients/aside-profile-identity.test.ts -205 tests/clients/aside-profile-paths.test.ts -1450 tests/clients/aside-profile-sync-owner.test.ts -248 tests/clients/aside-profiles-catalog-refresh.test.ts -385 tests/clients/aside-profiles.test.ts -55 tests/clients/client-catalog-compatibility.test.ts -16303 tests/clients/client-connect.test.ts -195 tests/clients/client-export-effective-metadata.test.ts -475 tests/clients/client-export-live-wire.test.ts -144 tests/clients/client-export-modality-enum.test.ts -260 tests/clients/client-export-model-names.test.ts -103 tests/clients/client-export-reasoning-controls.test.ts -138 tests/clients/client-export-reasoning-metadata.test.ts -183 tests/clients/client-fingerprint.test.ts -290 tests/clients/client-home-unreachable.test.ts -27 tests/clients/client-hub-relay.test.ts -54 tests/clients/client-hub-state.test.ts -53 tests/clients/client-hub-usage.test.ts -230 tests/clients/client-lifecycle-lock.test.ts -2012 tests/clients/client-link-connect.test.ts -5271 tests/clients/client-link-relay.test.ts -6518 tests/clients/client-link-runtime.test.ts -96 tests/clients/client-link-state.test.ts -40 tests/clients/client-link-status.test.ts +152 tests/cli/cli-restart-handoff.test.ts +3672 tests/cli/cli-restart-health.test.ts +2818 tests/cli/cli-restore-back.test.ts +501 tests/cli/cli-role-suggestion-history.test.ts +151 tests/cli/cli-route-policy-not-found.test.ts +1411 tests/cli/cli-route-policy-write.test.ts +118 tests/cli/cli-route-to-aliases.test.ts +113 tests/cli/cli-route-to-confirmation.test.ts +212 tests/cli/cli-route-to.test.ts +3512 tests/cli/cli-start-auxiliary-bind.test.ts +19555 tests/cli/cli-start-journal-order.test.ts +4282 tests/cli/cli-start-owner-absence.test.ts +4053 tests/cli/cli-start-owner-evidence.test.ts +65 tests/cli/cli-start-routing-heal-wiring.test.ts +117 tests/cli/cli-status-codex-routing-drift.test.ts +2892 tests/cli/cli-status-hub-state.test.ts +18085 tests/cli/cli-status-json.test.ts +90 tests/cli/cli-status-oauth-health.test.ts +1798 tests/cli/cli-status-startup-health.test.ts +161 tests/cli/cli-stop-json.test.ts +504 tests/cli/cli-stop-refusal-transport.test.ts +106 tests/cli/cli-storage-inspect.test.ts +316 tests/cli/cli-storage-policy-fields.test.ts +659 tests/cli/cli-sync-expect-link.test.ts +217 tests/cli/cli-sync-fanout-ephemeral.test.ts +174 tests/cli/cli-system-health.test.ts +105 tests/cli/cli-system-settings-parity.test.ts +132 tests/cli/cli-telemetry-profile.test.ts +176 tests/cli/cli-telemetry.test.ts +156 tests/cli/cli-transport-honesty.test.ts +1505 tests/cli/cli-update-badge.test.ts +1255 tests/cli/cli-update-desktop-routing.test.ts +555 tests/cli/cli-update-restart-admission.test.ts +47 tests/cli/cli-update-restart-child.test.ts +104 tests/cli/cli-update-restart-desktop-service.test.ts +162 tests/cli/cli-update-restart-home.test.ts +67 tests/cli/cli-update-restart-service-record.test.ts +54 tests/cli/cli-update-restart-supervision.test.ts +660 tests/cli/cli-update-restart-transport.test.ts +151 tests/cli/cli-update-restart.test.ts +3081 tests/cli/cli-usage-compare.test.ts +115 tests/cli/cli-usage-hub.test.ts +119 tests/cli/cli-usage-model-search.test.ts +102 tests/cli/cli-usage-report.test.ts +246 tests/cli/cli-usage-scope.test.ts +1331 tests/cli/cli-usage-top.test.ts +232 tests/cli/cli-v2-plaintext.test.ts +891 tests/cli/cli-v2-runtime.test.ts +8822 tests/cli/cli-version-skew.test.ts +131 tests/cli/cross-home-loopback-family.test.ts +163 tests/cli/disconnect-runtime.test.ts +149 tests/cli/ensure-desired-integrations-race.test.ts +1427 tests/cli/hub-disable.test.ts +225 tests/cli/hub-gated-local-clients.test.ts +190 tests/cli/hub-invite.test.ts +108 tests/cli/interactive-confirm.test.ts +75 tests/cli/link-apply-restart.test.ts +149 tests/cli/local-credentials.test.ts +76 tests/cli/model-selection-guidance.test.ts +4150 tests/cli/ocx-launcher-desktop-handoff.test.ts +76 tests/cli/ocx-launcher-fixture-trust.test.ts +2529 tests/cli/ocx-launcher-runtime.test.ts +66 tests/cli/ocx-launcher-source.test.ts +76 tests/cli/ocx-run.test.ts +1015 tests/cli/restore-completes-shared-teardown.test.ts +855 tests/cli/route-explainability.test.ts +16407 tests/cli/sibling-home-client-sync.test.ts +123 tests/cli/star-deferral.test.ts +39 tests/cli/start-args.test.ts +59 tests/cli/start-ownership-publication.test.ts +538 tests/cli/status-install-method.test.ts +227 tests/cli/sync-command-child-flags.test.ts +2258 tests/cli/sync-command-fanout.test.ts +3188 tests/cli/sync-fanout-process.test.ts +156 tests/cli/sync-fanout-select-restart.test.ts +149 tests/cli/sync-fanout.test.ts +219 tests/cli/sync-link-status.test.ts +104 tests/cli/system-restart-client-installed-image.test.ts +68 tests/cli/system-restart-client-package-tree.test.ts +73 tests/cli/system-restart-client.test.ts +217 tests/cli/uninstall.test.ts +157 tests/clients/agent-clients.test.ts +111 tests/clients/aside-profile-identity.test.ts +176 tests/clients/aside-profile-paths.test.ts +1623 tests/clients/aside-profile-sync-owner.test.ts +150 tests/clients/aside-profiles-catalog-refresh.test.ts +481 tests/clients/aside-profiles.test.ts +62 tests/clients/client-catalog-compatibility.test.ts +23106 tests/clients/client-connect.test.ts +6681 tests/clients/client-disconnect-config-recovery.test.ts +4589 tests/clients/client-disconnect-desktop-refusals.test.ts +2187 tests/clients/client-disconnect-edited-codex.test.ts +1057 tests/clients/client-disconnect-field-snapshot.test.ts +2334 tests/clients/client-disconnect-recovery.test.ts +158 tests/clients/client-export-effective-metadata.test.ts +641 tests/clients/client-export-live-wire.test.ts +179 tests/clients/client-export-modality-enum.test.ts +248 tests/clients/client-export-model-names.test.ts +184 tests/clients/client-export-reasoning-controls.test.ts +132 tests/clients/client-export-reasoning-metadata.test.ts +121 tests/clients/client-fingerprint.test.ts +370 tests/clients/client-home-unreachable.test.ts +92 tests/clients/client-hub-relay.test.ts +96 tests/clients/client-hub-state.test.ts +66 tests/clients/client-hub-usage.test.ts +267 tests/clients/client-lifecycle-lock.test.ts +2222 tests/clients/client-link-connect.test.ts +5386 tests/clients/client-link-relay.test.ts +7080 tests/clients/client-link-runtime.test.ts +54 tests/clients/client-link-state.test.ts +58 tests/clients/client-link-status.test.ts 26066 tests/clients/client-link-stop-recovery.test.ts 29316 tests/clients/client-link-stop-sibling.test.ts 27800 tests/clients/client-link-stop.test.ts -262 tests/clients/client-link-teardown.test.ts -4653 tests/clients/client-link-tunnel.test.ts -5278 tests/clients/client-machine-listener.test.ts -157 tests/clients/client-path.test.ts -101 tests/clients/client-runtime-restart.test.ts -94 tests/clients/client-runtime.test.ts -114 tests/clients/cline-client.test.ts -312 tests/clients/cline-writer.test.ts -106 tests/clients/command-code-client-contract.test.ts -106 tests/clients/command-code-client.test.ts -105 tests/clients/desktop-3p-guard.test.ts -959 tests/clients/desktop-3p-removal.test.ts -902 tests/clients/desktop-3p-write-files.test.ts -201 tests/clients/desktop-3p.test.ts -58 tests/clients/desktop-app-restart-posix.test.ts -92 tests/clients/desktop-app-restart.test.ts -145 tests/clients/desktop-app-server-exec-boundary.test.ts -3169 tests/clients/desktop-app-server-shim-launcher.test.ts -42 tests/clients/desktop-app-server-shim.test.ts -16108 tests/clients/desktop-bundle-trust-async.test.ts -41 tests/clients/desktop-chatgpt-config.test.ts -45 tests/clients/desktop-cli-command-surface.test.ts -77 tests/clients/desktop-cli-contracts.test.ts -64 tests/clients/desktop-compatibility-authority.test.ts -49 tests/clients/desktop-compatibility-build-probe.test.ts -47 tests/clients/desktop-compatibility-certificate-service.test.ts -78 tests/clients/desktop-compatibility-connection-store.test.ts -55 tests/clients/desktop-compatibility-launch.test.ts -38 tests/clients/desktop-compatibility-native-identity.test.ts -114 tests/clients/desktop-compatibility-relay.test.ts -38 tests/clients/desktop-compatibility-routing.test.ts -284 tests/clients/desktop-compatibility-runtime.test.ts -36 tests/clients/desktop-compatibility-trust.test.ts -47 tests/clients/desktop-exit-ownership.test.ts -71 tests/clients/desktop-host-visibility.test.ts -50 tests/clients/desktop-install-identity.test.ts -401 tests/clients/desktop-profile.test.ts -35 tests/clients/desktop-proxy-direct-transport.test.ts -428 tests/clients/desktop-remote-store.test.ts -35 tests/clients/desktop-restart-handoff.test.ts -38 tests/clients/desktop-runtime-identity.test.ts -42 tests/clients/desktop-start-at-login-default.test.ts -56 tests/clients/desktop-startup-surface.test.ts -416 tests/clients/desktop-supervised-restart.test.ts -538 tests/clients/desktop-telemetry-installer.test.ts -39 tests/clients/desktop-tray-availability.test.ts -39 tests/clients/desktop-update-surface.test.ts -38 tests/clients/desktop-widget-entry.test.ts -107 tests/clients/droid-client.test.ts -220 tests/clients/droid-managed-reasoning-defaults.test.ts -130 tests/clients/droid-normalized-reasoning-defaults.test.ts -103 tests/clients/gentle-shell-client.test.ts -97 tests/clients/gentle-shell-path.test.ts -159 tests/clients/hermes-catalog-refresh.test.ts -355 tests/clients/hermes-profile-routes.test.ts -134 tests/clients/hermes-profiles.test.ts -233 tests/clients/integrations-current-store.test.ts -173 tests/clients/integrations-dsh-profile-patch.test.ts -269 tests/clients/integrations-hermes-affinity.test.ts -160 tests/clients/integrations-journal.test.ts -150 tests/clients/integrations-merge.test.ts -229 tests/clients/integrations-model-names.test.ts -62 tests/clients/integrations-serialize.test.ts -151 tests/clients/integrations-state.test.ts -111 tests/clients/integrations-superseded-store.test.ts -204 tests/clients/integrations-writer-frozen-config.test.ts -111 tests/clients/integrations-writer-guard.test.ts -439 tests/clients/integrations-writer.test.ts -154 tests/clients/kilo-client.test.ts -42 tests/clients/lazycodex-detection.test.ts -33 tests/clients/link-admission-wait.test.ts -61 tests/clients/link-apply-record.test.ts -39 tests/clients/link-boundary.test.ts -417 tests/clients/link-child-plant-foundations.test.ts -43 tests/clients/link-codex-settings-digest.test.ts -51 tests/clients/link-compensation.test.ts -149 tests/clients/link-connection-generation.test.ts -88 tests/clients/link-diagnostics.test.ts -191 tests/clients/link-ephemeral-child-discovery.test.ts -59 tests/clients/link-fingerprint.test.ts -60 tests/clients/link-home-settings.test.ts -10045 tests/clients/link-ocx-child-conformance.test.ts -12137 tests/clients/link-ocx-child-e2e.test.ts +1655 tests/clients/client-link-teardown.test.ts +4260 tests/clients/client-link-tunnel.test.ts +5397 tests/clients/client-machine-listener.test.ts +150 tests/clients/client-path.test.ts +1397 tests/clients/client-restart-sync-fence.test.ts +201 tests/clients/client-runtime-restart.test.ts +209 tests/clients/client-runtime.test.ts +146 tests/clients/cline-client.test.ts +362 tests/clients/cline-writer.test.ts +178 tests/clients/command-code-client-contract.test.ts +118 tests/clients/command-code-client.test.ts +111 tests/clients/desktop-3p-guard.test.ts +1243 tests/clients/desktop-3p-removal.test.ts +1021 tests/clients/desktop-3p-write-files.test.ts +339 tests/clients/desktop-3p.test.ts +79 tests/clients/desktop-app-restart-posix.test.ts +82 tests/clients/desktop-app-restart.test.ts +126 tests/clients/desktop-app-server-exec-boundary.test.ts +4009 tests/clients/desktop-app-server-shim-launcher.test.ts +52 tests/clients/desktop-app-server-shim.test.ts +16097 tests/clients/desktop-bundle-trust-async.test.ts +83 tests/clients/desktop-chatgpt-config.test.ts +59 tests/clients/desktop-cli-command-surface.test.ts +95 tests/clients/desktop-cli-contracts.test.ts +98 tests/clients/desktop-compatibility-authority.test.ts +94 tests/clients/desktop-compatibility-build-probe.test.ts +53 tests/clients/desktop-compatibility-certificate-service.test.ts +140 tests/clients/desktop-compatibility-connection-store.test.ts +54 tests/clients/desktop-compatibility-launch.test.ts +68 tests/clients/desktop-compatibility-native-identity.test.ts +180 tests/clients/desktop-compatibility-relay.test.ts +60 tests/clients/desktop-compatibility-routing.test.ts +274 tests/clients/desktop-compatibility-runtime.test.ts +66 tests/clients/desktop-compatibility-trust.test.ts +60 tests/clients/desktop-exit-ownership.test.ts +87 tests/clients/desktop-host-visibility.test.ts +55 tests/clients/desktop-install-identity.test.ts +430 tests/clients/desktop-profile.test.ts +36 tests/clients/desktop-proxy-direct-transport.test.ts +658 tests/clients/desktop-remote-store.test.ts +60 tests/clients/desktop-restart-handoff.test.ts +57 tests/clients/desktop-runtime-identity.test.ts +51 tests/clients/desktop-start-at-login-default.test.ts +68 tests/clients/desktop-startup-surface.test.ts +662 tests/clients/desktop-supervised-restart.test.ts +629 tests/clients/desktop-telemetry-installer.test.ts +95 tests/clients/desktop-tray-availability.test.ts +52 tests/clients/desktop-update-surface.test.ts +66 tests/clients/desktop-widget-entry.test.ts +175 tests/clients/droid-client.test.ts +148 tests/clients/droid-managed-reasoning-defaults.test.ts +143 tests/clients/droid-normalized-reasoning-defaults.test.ts +139 tests/clients/gentle-shell-client.test.ts +122 tests/clients/gentle-shell-path.test.ts +64 tests/clients/held-socket-writes.test.ts +261 tests/clients/hermes-catalog-refresh.test.ts +430 tests/clients/hermes-profile-routes.test.ts +228 tests/clients/hermes-profiles.test.ts +247 tests/clients/home-route-intent-upgrade.test.ts +280 tests/clients/integrations-current-store.test.ts +416 tests/clients/integrations-dsh-profile-patch.test.ts +217 tests/clients/integrations-hermes-affinity.test.ts +171 tests/clients/integrations-journal.test.ts +297 tests/clients/integrations-merge.test.ts +381 tests/clients/integrations-model-names.test.ts +65 tests/clients/integrations-serialize.test.ts +165 tests/clients/integrations-state.test.ts +147 tests/clients/integrations-superseded-store.test.ts +227 tests/clients/integrations-writer-frozen-config.test.ts +181 tests/clients/integrations-writer-guard.test.ts +417 tests/clients/integrations-writer.test.ts +185 tests/clients/kilo-client.test.ts +61 tests/clients/lazycodex-detection.test.ts +56 tests/clients/link-admission-wait.test.ts +120 tests/clients/link-alias-lock.test.ts +88 tests/clients/link-apply-record.test.ts +65 tests/clients/link-boundary.test.ts +78 tests/clients/link-child-activity.test.ts +250 tests/clients/link-child-binary-cache-fill.test.ts +107 tests/clients/link-child-catalog-freshness.test.ts +79 tests/clients/link-child-observations.test.ts +74 tests/clients/link-child-observe.test.ts +124 tests/clients/link-child-ops-engine.test.ts +181 tests/clients/link-child-ops-ignore-activity.test.ts +197 tests/clients/link-child-ops-runners.test.ts +2196 tests/clients/link-child-ops-scheduler.test.ts +307 tests/clients/link-child-plant-foundations.test.ts +106 tests/clients/link-child-policy.test.ts +1170 tests/clients/link-child-update-contract.test.ts +2513 tests/clients/link-child-update-launcher.test.ts +50 tests/clients/link-codex-settings-digest.test.ts +49 tests/clients/link-compensation.test.ts +113 tests/clients/link-connection-generation.test.ts +95 tests/clients/link-diagnostics-read.test.ts +139 tests/clients/link-diagnostics.test.ts +294 tests/clients/link-ephemeral-child-discovery.test.ts +114 tests/clients/link-explicit-route-no-ssh-config.test.ts +85 tests/clients/link-explicit-route-paths.test.ts +286 tests/clients/link-explicit-route.test.ts +51 tests/clients/link-fingerprint.test.ts +76 tests/clients/link-full-install-census.test.ts +1112 tests/clients/link-gated-ocx-argv.test.ts +79 tests/clients/link-home-route-intent.test.ts +100 tests/clients/link-home-settings.test.ts +9183 tests/clients/link-ocx-child-conformance.test.ts +9957 tests/clients/link-ocx-child-e2e.test.ts +3313 tests/clients/link-ocx-child-ws-feature.test.ts 12110 tests/clients/link-ocx-child-ws-gate.test.ts -60 tests/clients/link-parity-reporter.test.ts -100 tests/clients/link-peer-compatibility.test.ts -2598 tests/clients/link-pinned-sync-argv.test.ts -91 tests/clients/link-ports.test.ts -106 tests/clients/link-readiness.test.ts -295 tests/clients/link-relay-bound-transport.test.ts -215 tests/clients/link-routes.test.ts -814 tests/clients/link-ssh-argv-discovery.test.ts -677 tests/clients/link-ssh-argv.test.ts -67 tests/clients/link-ssh-config.test.ts -489 tests/clients/link-ssh-runner.test.ts -40 tests/clients/link-status-projection.test.ts -127 tests/clients/link-store.test.ts -1575 tests/clients/link-supervisor.test.ts -339 tests/clients/link-tunnel-history.test.ts -39 tests/clients/link-tunnel-state.test.ts -191 tests/clients/mutation-plan.test.ts -94 tests/clients/omo-client.test.ts -476 tests/clients/omo-responses-loop.test.ts -98 tests/clients/omo-role-models.test.ts -67 tests/clients/omp-path-contract.test.ts -62 tests/clients/omp-yaml-source-inline-comments.test.ts -146 tests/clients/opencode-kilo-refresh.test.ts -96 tests/clients/pi-path-contract.test.ts -79 tests/clients/prime-client.test.ts -238 tests/clients/qoder-client.test.ts -250 tests/clients/raycast-client.test.ts -35 tests/clients/raycast-detect.test.ts -6949 tests/clients/remote-catalog.test.ts -60 tests/clients/remote-control-prototype.test.ts -104 tests/clients/remote-workspace-activation.test.ts -74 tests/clients/remote-workspace-agent-wire.test.ts -99 tests/clients/remote-workspace-app-server.integration.test.ts -42 tests/clients/remote-workspace-claude.integration.test.ts -322 tests/clients/remote-workspace-cli-runtimes.test.ts -81 tests/clients/remote-workspace-cli.test.ts -3069 tests/clients/remote-workspace-codex-runtime.test.ts -82 tests/clients/remote-workspace-command-runner.test.ts -50 tests/clients/remote-workspace-device.test.ts -44 tests/clients/remote-workspace-hub.test.ts -474 tests/clients/remote-workspace-linux-confinement.test.ts -199 tests/clients/remote-workspace-management.test.ts -64 tests/clients/remote-workspace-platform.test.ts -36 tests/clients/remote-workspace-protocol.test.ts -46 tests/clients/remote-workspace-rpc-framing.test.ts -149 tests/clients/remote-workspace-secret-store.test.ts -595 tests/clients/remote-workspace-server.test.ts -84 tests/clients/remote-workspace-session-binding.test.ts -252 tests/clients/remote-workspace-sessions.test.ts -41 tests/clients/remote-workspace-tool-bridge.test.ts -266 tests/clients/remote-workspace.test.ts +69 tests/clients/link-operations-journal.test.ts +52 tests/clients/link-parity-reporter.test.ts +147 tests/clients/link-peer-compatibility.test.ts +2091 tests/clients/link-pinned-sync-argv.test.ts +428 tests/clients/link-pinned-sync-overwrite.test.ts +216 tests/clients/link-ports.test.ts +209 tests/clients/link-readiness.test.ts +400 tests/clients/link-relay-bound-transport.test.ts +104 tests/clients/link-relay-wait-observer.test.ts +409 tests/clients/link-request-zstd.test.ts +142 tests/clients/link-retirement.test.ts +140 tests/clients/link-revoke-suspend.test.ts +59 tests/clients/link-route-proof-relay.test.ts +94 tests/clients/link-route-proof.test.ts +45 tests/clients/link-route-select.test.ts +138 tests/clients/link-route-supervisor.test.ts +55 tests/clients/link-route-trust.test.ts +52 tests/clients/link-routes-argv.test.ts +114 tests/clients/link-routes-openssh.test.ts +121 tests/clients/link-routes-status.test.ts +48 tests/clients/link-routes-store.test.ts +124 tests/clients/link-routes.test.ts +689 tests/clients/link-ssh-argv-discovery.test.ts +691 tests/clients/link-ssh-argv.test.ts +52 tests/clients/link-ssh-capture-redact.test.ts +127 tests/clients/link-ssh-capture-tunnels.test.ts +124 tests/clients/link-ssh-capture.test.ts +81 tests/clients/link-ssh-config.test.ts +56 tests/clients/link-ssh-runner-abort.test.ts +492 tests/clients/link-ssh-runner.test.ts +71 tests/clients/link-status-projection.test.ts +105 tests/clients/link-store.test.ts +1603 tests/clients/link-supervisor.test.ts +183 tests/clients/link-traffic-child-status.test.ts +716 tests/clients/link-traffic.test.ts +443 tests/clients/link-tunnel-history.test.ts +51 tests/clients/link-tunnel-state.test.ts +221 tests/clients/link-tunnel-status.test.ts +72 tests/clients/link-windows-gated-served.test.ts +96 tests/clients/link-ws-activity-holds-operator.test.ts +281 tests/clients/link-ws-activity-holds.test.ts +85 tests/clients/link-ws-advertisement.test.ts +57 tests/clients/link-ws-autobahn.test.ts +200 tests/clients/link-ws-child-status.test.ts +222 tests/clients/link-ws-fallback.test.ts +114 tests/clients/link-ws-framer.test.ts +259 tests/clients/link-ws-relay-edges.test.ts +616 tests/clients/link-ws-relay.test.ts +185 tests/clients/link-ws-transport.test.ts +266 tests/clients/link-ws-unknown-try.test.ts +265 tests/clients/mutation-plan.test.ts +144 tests/clients/omo-client.test.ts +559 tests/clients/omo-responses-loop.test.ts +126 tests/clients/omo-role-models.test.ts +124 tests/clients/omp-path-contract.test.ts +87 tests/clients/omp-yaml-source-inline-comments.test.ts +229 tests/clients/opencode-kilo-refresh.test.ts +150 tests/clients/pi-family-developer-role.test.ts +126 tests/clients/pi-path-contract.test.ts +235 tests/clients/pi-sync-owner.test.ts +181 tests/clients/prime-client.test.ts +326 tests/clients/qoder-client.test.ts +162 tests/clients/raycast-client.test.ts +51 tests/clients/raycast-detect.test.ts +6905 tests/clients/remote-catalog.test.ts +71 tests/clients/remote-control-prototype.test.ts +270 tests/clients/remote-workspace-activation.test.ts +81 tests/clients/remote-workspace-agent-wire.test.ts +93 tests/clients/remote-workspace-app-server.integration.test.ts +67 tests/clients/remote-workspace-claude.integration.test.ts +351 tests/clients/remote-workspace-cli-runtimes.test.ts +126 tests/clients/remote-workspace-cli.test.ts +6819 tests/clients/remote-workspace-codex-runtime.test.ts +109 tests/clients/remote-workspace-command-runner.test.ts +66 tests/clients/remote-workspace-device.test.ts +82 tests/clients/remote-workspace-hub.test.ts +755 tests/clients/remote-workspace-linux-confinement.test.ts +156 tests/clients/remote-workspace-management.test.ts +71 tests/clients/remote-workspace-platform.test.ts +68 tests/clients/remote-workspace-protocol.test.ts +52 tests/clients/remote-workspace-rpc-framing.test.ts +68 tests/clients/remote-workspace-secret-store.test.ts +817 tests/clients/remote-workspace-server.test.ts +67 tests/clients/remote-workspace-session-binding.test.ts +92 tests/clients/remote-workspace-sessions.test.ts +107 tests/clients/remote-workspace-tool-bridge.test.ts +260 tests/clients/remote-workspace.test.ts +269 tests/clients/route-intent-aside.test.ts +1348 tests/clients/route-intent-claude-surface.test.ts +9122 tests/clients/route-intent-codex-connect-disabled.test.ts 39121 tests/clients/route-intent-codex-transitions.test.ts +475 tests/clients/route-intent-connect-post-commit.test.ts +3577 tests/clients/route-intent-connect-recovery.test.ts +164 tests/clients/route-intent-connected-capabilities.test.ts +7984 tests/clients/route-intent-connected-review.test.ts 23405 tests/clients/route-intent-connected.test.ts +129 tests/clients/route-intent-desktop.test.ts +5577 tests/clients/route-intent-file-originals.test.ts +3792 tests/clients/route-intent-home-consent.test.ts +65 tests/clients/route-intent-local-receipt.test.ts +482 tests/clients/route-intent-materializer.test.ts +348 tests/clients/route-intent-native-originals.test.ts 8719 tests/clients/route-intent-native-review.test.ts -861 tests/clients/sync-client-integrations-unattended.test.ts -270 tests/clients/sync-client-integrations.test.ts -102 tests/clients/t3code-client-lifecycle.test.ts -522 tests/clients/t3code-client.test.ts -188 tests/clients/workbuddy-selector-recovery.test.ts -575 tests/codex-integration/active-registry-admission.test.ts -1356 tests/codex-integration/active-turn-disconnect.test.ts -101 tests/codex-integration/anthropic2-catalog.test.ts -99 tests/codex-integration/app-owned-memory.test.ts -4221 tests/codex-integration/bearer-admission-routed-provider.test.ts -4145 tests/codex-integration/catalog-async-lifetime.test.ts -293 tests/codex-integration/catalog-auto-refresh-client-fanout.test.ts -1111 tests/codex-integration/catalog-auto-refresh-scheduler.test.ts -64 tests/codex-integration/catalog-auto-review-override.test.ts -2490 tests/codex-integration/catalog-auto-review-row.test.ts -87 tests/codex-integration/catalog-context-window-ladder.test.ts -73 tests/codex-integration/catalog-cursor-search.test.ts -88 tests/codex-integration/catalog-custom-ordering.test.ts -73 tests/codex-integration/catalog-duplicate-slug-dedup.test.ts -116 tests/codex-integration/catalog-free-pricing-status.test.ts -4070 tests/codex-integration/catalog-full-picker-order.test.ts -99 tests/codex-integration/catalog-gated-native-suppression-reason.test.ts -106 tests/codex-integration/catalog-go-exact-efforts.test.ts -94 tests/codex-integration/catalog-hub-context-window.test.ts -124 tests/codex-integration/catalog-input-modality-enum.test.ts -117 tests/codex-integration/catalog-llamacpp-capabilities.test.ts -656 tests/codex-integration/catalog-modelalias-unique-sync.test.ts -58 tests/codex-integration/catalog-native-max-context.test.ts -140 tests/codex-integration/catalog-oauth-observation.test.ts -3069 tests/codex-integration/catalog-omit-disabled-native.test.ts -134 tests/codex-integration/catalog-opencode-go-context-window.test.ts -121 tests/codex-integration/catalog-opencode-go-static.test.ts -101 tests/codex-integration/catalog-opengateway-hints.test.ts -944 tests/codex-integration/catalog-remote-pull.test.ts -84 tests/codex-integration/catalog-retain-models.test.ts -90 tests/codex-integration/catalog-routed-comp-hash.test.ts -102 tests/codex-integration/catalog-seed-window-fill.test.ts -56 tests/codex-integration/catalog-slug-uniqueness-boundary.test.ts -165 tests/codex-integration/catalog-verbosity-default.test.ts -215 tests/codex-integration/catalog-vision-sidecar-disabled.test.ts -105 tests/codex-integration/catalog-vision-sidecar-modalities.test.ts -101 tests/codex-integration/catalog-zero-credit-picker.test.ts -3783 tests/codex-integration/client-injection-guard.test.ts -269 tests/codex-integration/code-mode-collab-surface.test.ts -166 tests/codex-integration/codex-account-clear-paused.test.ts -190 tests/codex-integration/codex-account-delete-atomicity.test.ts -37 tests/codex-integration/codex-account-label.test.ts -39 tests/codex-integration/codex-account-namespaces.test.ts -279 tests/codex-integration/codex-account-selection-atomicity.test.ts -99 tests/codex-integration/codex-account-selection-preferences.test.ts -109 tests/codex-integration/codex-account-slot-identity.test.ts -151 tests/codex-integration/codex-account-store-quota-isolation.test.ts -180 tests/codex-integration/codex-account-store-refresh-classification.test.ts -954 tests/codex-integration/codex-account-store.test.ts -452 tests/codex-integration/codex-account-threshold-api.test.ts -150 tests/codex-integration/codex-account-threshold-auth.test.ts -138 tests/codex-integration/codex-account-threshold-routing.test.ts -248 tests/codex-integration/codex-account-unusable-reason.test.ts -180 tests/codex-integration/codex-admission-primitives.test.ts -116 tests/codex-integration/codex-admission.test.ts -85 tests/codex-integration/codex-affinity-debug.test.ts -121 tests/codex-integration/codex-affinity-lease-gap.test.ts -99 tests/codex-integration/codex-affinity-request-owned.test.ts -10400 tests/codex-integration/codex-affinity-restart-matrix.test.ts -11709 tests/codex-integration/codex-affinity-restart.test.ts -1686 tests/codex-integration/codex-affinity-store.test.ts -380 tests/codex-integration/codex-agent-thread-limit.test.ts -51 tests/codex-integration/codex-app-server-path-spaces.test.ts -1094 tests/codex-integration/codex-app-server-processes.test.ts -96 tests/codex-integration/codex-app-server-restart-service.test.ts -1821 tests/codex-integration/codex-auth-api.test.ts -81 tests/codex-integration/codex-auth-cancel-ownership.test.ts -132 tests/codex-integration/codex-auth-collision.test.ts -757 tests/codex-integration/codex-auth-context.test.ts -186 tests/codex-integration/codex-auth-headless-accounts.test.ts -195 tests/codex-integration/codex-auth-release.test.ts -144 tests/codex-integration/codex-catalog-admission.test.ts -88 tests/codex-integration/codex-catalog-exclusions.test.ts -66 tests/codex-integration/codex-catalog-golden.test.ts -290 tests/codex-integration/codex-catalog-heal-integration.test.ts -140 tests/codex-integration/codex-catalog-heal-reanchor.test.ts -99 tests/codex-integration/codex-catalog-identity-neutral.test.ts -154 tests/codex-integration/codex-catalog-intent.test.ts -176 tests/codex-integration/codex-catalog-ladders.test.ts -80 tests/codex-integration/codex-catalog-model-picker-order.test.ts -125 tests/codex-integration/codex-catalog-readonly-windows.test.ts -45 tests/codex-integration/codex-catalog-refresh-status.test.ts -1060 tests/codex-integration/codex-catalog-restore.test.ts -73 tests/codex-integration/codex-catalog-routed-removal.test.ts -136 tests/codex-integration/codex-catalog-self-heal.test.ts -19958 tests/codex-integration/codex-catalog-sync-hardening.test.ts -311 tests/codex-integration/codex-catalog-write-audit.test.ts -64 tests/codex-integration/codex-catalog-write-serialization.test.ts -229 tests/codex-integration/codex-catalog-writer.test.ts -1609 tests/codex-integration/codex-catalog.test.ts -104 tests/codex-integration/codex-clamp-notice.test.ts -514 tests/codex-integration/codex-cli-install-provenance.test.ts -35 tests/codex-integration/codex-cli-installation-identity.test.ts -77 tests/codex-integration/codex-cli-installation-targets.test.ts -3157 tests/codex-integration/codex-cli-update-admission.test.ts +4232 tests/clients/route-intent-offline-mode-switch.test.ts +212 tests/clients/route-intent-overwrite.test.ts +72 tests/clients/route-intent-parity-fallback.test.ts +1895 tests/clients/route-intent-parity-withdrawal.test.ts +56 tests/clients/route-intent-parity.test.ts +62 tests/clients/route-intent-reporter.test.ts +410 tests/clients/route-intent-runtime-stop.test.ts +194 tests/clients/route-intent-scheduler.test.ts +59 tests/clients/route-intent-state.test.ts +150 tests/clients/route-intent-watch-client.test.ts +104 tests/clients/route-intent.test.ts +507 tests/clients/sync-client-integrations-unattended.test.ts +307 tests/clients/sync-client-integrations.test.ts +139 tests/clients/t3code-client-lifecycle.test.ts +274 tests/clients/t3code-client.test.ts +328 tests/clients/workbuddy-selector-recovery.test.ts +723 tests/codex-integration/active-registry-admission.test.ts +1714 tests/codex-integration/active-turn-disconnect.test.ts +206 tests/codex-integration/anthropic2-catalog.test.ts +149 tests/codex-integration/app-owned-memory.test.ts +5563 tests/codex-integration/bearer-admission-routed-provider.test.ts +4210 tests/codex-integration/catalog-async-lifetime.test.ts +328 tests/codex-integration/catalog-auto-refresh-client-fanout.test.ts +265 tests/codex-integration/catalog-auto-refresh-link-fanout.test.ts +1172 tests/codex-integration/catalog-auto-refresh-scheduler.test.ts +148 tests/codex-integration/catalog-auto-review-override.test.ts +2896 tests/codex-integration/catalog-auto-review-row.test.ts +184 tests/codex-integration/catalog-context-window-ladder.test.ts +127 tests/codex-integration/catalog-cursor-search.test.ts +150 tests/codex-integration/catalog-custom-ordering.test.ts +153 tests/codex-integration/catalog-duplicate-slug-dedup.test.ts +150 tests/codex-integration/catalog-free-pricing-status.test.ts +4723 tests/codex-integration/catalog-full-picker-order.test.ts +92 tests/codex-integration/catalog-gated-native-suppression-reason.test.ts +115 tests/codex-integration/catalog-go-exact-efforts.test.ts +83 tests/codex-integration/catalog-hub-context-window.test.ts +213 tests/codex-integration/catalog-input-modality-enum.test.ts +105 tests/codex-integration/catalog-llamacpp-capabilities.test.ts +634 tests/codex-integration/catalog-modelalias-unique-sync.test.ts +82 tests/codex-integration/catalog-native-max-context.test.ts +153 tests/codex-integration/catalog-oauth-observation.test.ts +4493 tests/codex-integration/catalog-omit-disabled-native.test.ts +131 tests/codex-integration/catalog-opencode-go-context-window.test.ts +146 tests/codex-integration/catalog-opencode-go-static.test.ts +119 tests/codex-integration/catalog-opengateway-hints.test.ts +1309 tests/codex-integration/catalog-remote-pull.test.ts +132 tests/codex-integration/catalog-retain-models.test.ts +133 tests/codex-integration/catalog-routed-comp-hash.test.ts +722 tests/codex-integration/catalog-routed-defaults.test.ts +99 tests/codex-integration/catalog-seed-window-fill.test.ts +80 tests/codex-integration/catalog-slug-uniqueness-boundary.test.ts +132 tests/codex-integration/catalog-verbosity-default.test.ts +220 tests/codex-integration/catalog-vision-sidecar-disabled.test.ts +199 tests/codex-integration/catalog-vision-sidecar-modalities.test.ts +131 tests/codex-integration/catalog-zero-credit-picker.test.ts +4267 tests/codex-integration/client-injection-guard.test.ts +238 tests/codex-integration/code-mode-collab-surface.test.ts +155 tests/codex-integration/codex-account-clear-paused.test.ts +229 tests/codex-integration/codex-account-delete-atomicity.test.ts +59 tests/codex-integration/codex-account-label.test.ts +59 tests/codex-integration/codex-account-namespaces.test.ts +400 tests/codex-integration/codex-account-selection-atomicity.test.ts +224 tests/codex-integration/codex-account-selection-preferences.test.ts +149 tests/codex-integration/codex-account-slot-identity.test.ts +126 tests/codex-integration/codex-account-store-quota-isolation.test.ts +187 tests/codex-integration/codex-account-store-refresh-classification.test.ts +1036 tests/codex-integration/codex-account-store.test.ts +262 tests/codex-integration/codex-account-threshold-api.test.ts +227 tests/codex-integration/codex-account-threshold-auth.test.ts +184 tests/codex-integration/codex-account-threshold-routing.test.ts +135 tests/codex-integration/codex-account-unusable-reason.test.ts +119 tests/codex-integration/codex-admission-primitives.test.ts +144 tests/codex-integration/codex-admission.test.ts +54 tests/codex-integration/codex-affinity-debug.test.ts +268 tests/codex-integration/codex-affinity-lease-gap.test.ts +132 tests/codex-integration/codex-affinity-request-owned.test.ts +13167 tests/codex-integration/codex-affinity-restart-matrix.test.ts +13506 tests/codex-integration/codex-affinity-restart.test.ts +1901 tests/codex-integration/codex-affinity-store.test.ts +442 tests/codex-integration/codex-agent-thread-limit.test.ts +3578 tests/codex-integration/codex-app-rewrite-routing.test.ts +49 tests/codex-integration/codex-app-server-path-spaces.test.ts +968 tests/codex-integration/codex-app-server-processes.test.ts +116 tests/codex-integration/codex-app-server-restart-service.test.ts +2113 tests/codex-integration/codex-auth-api.test.ts +176 tests/codex-integration/codex-auth-cancel-ownership.test.ts +171 tests/codex-integration/codex-auth-collision.test.ts +916 tests/codex-integration/codex-auth-context.test.ts +4208 tests/codex-integration/codex-auth-device-only.test.ts +270 tests/codex-integration/codex-auth-headless-accounts.test.ts +294 tests/codex-integration/codex-auth-release.test.ts +125 tests/codex-integration/codex-catalog-admission.test.ts +100 tests/codex-integration/codex-catalog-exclusions.test.ts +103 tests/codex-integration/codex-catalog-golden.test.ts +348 tests/codex-integration/codex-catalog-heal-integration.test.ts +170 tests/codex-integration/codex-catalog-heal-reanchor.test.ts +100 tests/codex-integration/codex-catalog-identity-neutral.test.ts +248 tests/codex-integration/codex-catalog-intent.test.ts +113 tests/codex-integration/codex-catalog-ladders.test.ts +97 tests/codex-integration/codex-catalog-model-picker-order.test.ts +160 tests/codex-integration/codex-catalog-readonly-windows.test.ts +52 tests/codex-integration/codex-catalog-refresh-status.test.ts +1512 tests/codex-integration/codex-catalog-restore.test.ts +189 tests/codex-integration/codex-catalog-routed-removal.test.ts +172 tests/codex-integration/codex-catalog-self-heal.test.ts +25828 tests/codex-integration/codex-catalog-sync-hardening.test.ts +447 tests/codex-integration/codex-catalog-write-audit.test.ts +76 tests/codex-integration/codex-catalog-write-serialization.test.ts +303 tests/codex-integration/codex-catalog-writer.test.ts +1775 tests/codex-integration/codex-catalog.test.ts +153 tests/codex-integration/codex-clamp-notice.test.ts +321 tests/codex-integration/codex-cli-install-provenance.test.ts +67 tests/codex-integration/codex-cli-installation-identity.test.ts +59 tests/codex-integration/codex-cli-installation-targets.test.ts +6666 tests/codex-integration/codex-cli-update-admission.test.ts 73199 tests/codex-integration/codex-cli-update-apply.test.ts -2939 tests/codex-integration/codex-cli-update-artifacts.test.ts -46 tests/codex-integration/codex-cli-update-integrity.test.ts -72 tests/codex-integration/codex-cli-update-launcher-policy.test.ts -229 tests/codex-integration/codex-cli-update-parent-async.test.ts -52 tests/codex-integration/codex-cli-update-paths.test.ts -1430 tests/codex-integration/codex-cli-update-plan.test.ts -20711 tests/codex-integration/codex-cli-update-process-fixture.test.ts -2401 tests/codex-integration/codex-cli-update-recovery.test.ts -33 tests/codex-integration/codex-cli-update-windows-apply-install.test.ts -54 tests/codex-integration/codex-cli-update-windows-apply-outcomes.test.ts -32 tests/codex-integration/codex-cli-update-windows-apply-shared.test.ts -59 tests/codex-integration/codex-cli-update-windows-apply.test.ts -97 tests/codex-integration/codex-cli-update-windows-layout.test.ts -33 tests/codex-integration/codex-cli-update-windows-pending.test.ts -445 tests/codex-integration/codex-cli-update-windows-recovery.test.ts -49 tests/codex-integration/codex-cli-update-windows-review.test.ts -389 tests/codex-integration/codex-cli-update-worker.test.ts -1317 tests/codex-integration/codex-cli-update-zero-effect.test.ts -42 tests/codex-integration/codex-cli-windows-child.test.ts -61 tests/codex-integration/codex-cli-windows-installation-files.test.ts -98 tests/codex-integration/codex-cli-windows-plan.test.ts -20411 tests/codex-integration/codex-composed-acceptance.test.ts -2174 tests/codex-integration/codex-config-drift-heal.test.ts -192 tests/codex-integration/codex-config-generation.test.ts -2139 tests/codex-integration/codex-config-preservation.test.ts -4362 tests/codex-integration/codex-config-write-lock.test.ts +2630 tests/codex-integration/codex-cli-update-artifacts.test.ts +98 tests/codex-integration/codex-cli-update-integrity.test.ts +74 tests/codex-integration/codex-cli-update-job-read-race.test.ts +65 tests/codex-integration/codex-cli-update-launcher-policy.test.ts +378 tests/codex-integration/codex-cli-update-parent-async.test.ts +62 tests/codex-integration/codex-cli-update-paths.test.ts +1622 tests/codex-integration/codex-cli-update-plan.test.ts +34941 tests/codex-integration/codex-cli-update-process-fixture.test.ts +2893 tests/codex-integration/codex-cli-update-recovery.test.ts +141 tests/codex-integration/codex-cli-update-windows-apply-install.test.ts +98 tests/codex-integration/codex-cli-update-windows-apply-outcomes.test.ts +59 tests/codex-integration/codex-cli-update-windows-apply-shared.test.ts +66 tests/codex-integration/codex-cli-update-windows-apply.test.ts +150 tests/codex-integration/codex-cli-update-windows-layout.test.ts +42 tests/codex-integration/codex-cli-update-windows-pending.test.ts +397 tests/codex-integration/codex-cli-update-windows-recovery.test.ts +82 tests/codex-integration/codex-cli-update-windows-review.test.ts +455 tests/codex-integration/codex-cli-update-worker.test.ts +1301 tests/codex-integration/codex-cli-update-zero-effect.test.ts +52 tests/codex-integration/codex-cli-windows-child.test.ts +65 tests/codex-integration/codex-cli-windows-installation-files.test.ts +114 tests/codex-integration/codex-cli-windows-plan.test.ts +21145 tests/codex-integration/codex-composed-acceptance.test.ts +2060 tests/codex-integration/codex-config-drift-heal.test.ts +336 tests/codex-integration/codex-config-generation.test.ts +2326 tests/codex-integration/codex-config-preservation.test.ts +6408 tests/codex-integration/codex-config-write-lock.test.ts 157 tests/codex-integration/codex-context-owner.test.ts -4647 tests/codex-integration/codex-convergence-account-selectors.test.ts -995 tests/codex-integration/codex-convergence-contract.test.ts -370 tests/codex-integration/codex-cooldown-recovery.test.ts -117 tests/codex-integration/codex-coordinator-doctor.test.ts -623 tests/codex-integration/codex-credit-retry-after.test.ts -400 tests/codex-integration/codex-credit-scoped-retry.test.ts -163 tests/codex-integration/codex-credits-after-limit-main.test.ts -201 tests/codex-integration/codex-credits-after-limit.test.ts -181 tests/codex-integration/codex-credits-probes.test.ts -176 tests/codex-integration/codex-credits-settings.test.ts -41 tests/codex-integration/codex-credits.test.ts -168 tests/codex-integration/codex-desired-state.test.ts -517 tests/codex-integration/codex-direct-credit-renewal.test.ts -226 tests/codex-integration/codex-direct-renewal-revocation.test.ts -89 tests/codex-integration/codex-entitlement-identity-read-fence.test.ts -646 tests/codex-integration/codex-envkey-admission-substitution.test.ts -80 tests/codex-integration/codex-exec-invocation.test.ts -447 tests/codex-integration/codex-failure-window.test.ts -81 tests/codex-integration/codex-features-cache.test.ts -48 tests/codex-integration/codex-features-residual.test.ts -75 tests/codex-integration/codex-filesystem-evidence.test.ts -92 tests/codex-integration/codex-forward-access-programs-writer.test.ts -342 tests/codex-integration/codex-gather-authority.test.ts -2086 tests/codex-integration/codex-history-job.test.ts -125 tests/codex-integration/codex-history-lock.test.ts -54 tests/codex-integration/codex-history-pending-wal.test.ts -2090 tests/codex-integration/codex-history-provider.test.ts -997 tests/codex-integration/codex-history-reachability.test.ts -34 tests/codex-integration/codex-history-worker-boundary.test.ts -1965 tests/codex-integration/codex-history-worker.test.ts -62 tests/codex-integration/codex-history-writer.test.ts -8096 tests/codex-integration/codex-home-owner-lifecycle.test.ts -966 tests/codex-integration/codex-home-owner.test.ts -42 tests/codex-integration/codex-home-wsl-local-state.test.ts -111 tests/codex-integration/codex-home-wsl.test.ts -326 tests/codex-integration/codex-idle-window.test.ts -177 tests/codex-integration/codex-inject-history-wording.test.ts -62860 tests/codex-integration/codex-inject-integration.test.ts -1695 tests/codex-integration/codex-inject-missing-config.test.ts -772 tests/codex-integration/codex-inject-retained-table.test.ts -10183 tests/codex-integration/codex-inject-v1-reconcile.test.ts -7156 tests/codex-integration/codex-inject-write-lock.test.ts -79 tests/codex-integration/codex-inject.test.ts -36 tests/codex-integration/codex-injected-marker.test.ts -45 tests/codex-integration/codex-installation-acl.test.ts -63 tests/codex-integration/codex-installation-id.test.ts -510 tests/codex-integration/codex-installation-invalid-account.test.ts -725 tests/codex-integration/codex-installation-live-content.test.ts -560 tests/codex-integration/codex-installation-live-http.test.ts -1059 tests/codex-integration/codex-installation-live-ws.test.ts -328 tests/codex-integration/codex-installation-sidecars.test.ts -98 tests/codex-integration/codex-installation-wire.test.ts -64 tests/codex-integration/codex-integration-record.test.ts -3524 tests/codex-integration/codex-journal-recovery.test.ts -12512 tests/codex-integration/codex-journal.test.ts -202 tests/codex-integration/codex-launcher-admission.test.ts -110 tests/codex-integration/codex-launcher-darwin-acl.test.ts -36 tests/codex-integration/codex-launcher-darwin-identity.test.ts -144 tests/codex-integration/codex-launcher-diagnostics.test.ts -251 tests/codex-integration/codex-launcher-endpoint.test.ts -226 tests/codex-integration/codex-launcher-env.test.ts -2262 tests/codex-integration/codex-launcher-process.test.ts -177 tests/codex-integration/codex-launcher-security.test.ts -115 tests/codex-integration/codex-launcher.test.ts -117 tests/codex-integration/codex-legacy-config-keys.test.ts -208 tests/codex-integration/codex-lineage-placement.test.ts -266 tests/codex-integration/codex-linked-account-pause.test.ts -78 tests/codex-integration/codex-log-guard-coderabbit.test.ts -55 tests/codex-integration/codex-log-guard-doctor-coderabbit.test.ts -38 tests/codex-integration/codex-log-guard-doctor-protection.test.ts -35 tests/codex-integration/codex-log-guard-doctor.test.ts -95 tests/codex-integration/codex-log-guard-inspect.test.ts -42 tests/codex-integration/codex-log-guard-lock.test.ts -276 tests/codex-integration/codex-log-guard-maintenance-coderabbit.test.ts -212 tests/codex-integration/codex-log-guard-maintenance.test.ts -38 tests/codex-integration/codex-log-guard-policy.test.ts -47 tests/codex-integration/codex-log-guard-processes.test.ts -209 tests/codex-integration/codex-log-guard-protection.test.ts -68 tests/codex-integration/codex-log-guard-status-zero-write.test.ts -131 tests/codex-integration/codex-main-account-refresh.test.ts -253 tests/codex-integration/codex-main-grant-refusal.test.ts -334 tests/codex-integration/codex-main-rotation.test.ts -119 tests/codex-integration/codex-main-token-invalidated.test.ts -73 tests/codex-integration/codex-management-convergence.test.ts -216 tests/codex-integration/codex-metadata-integrity.test.ts -6602 tests/codex-integration/codex-missing-home.test.ts -72 tests/codex-integration/codex-model-availability-error.test.ts -281 tests/codex-integration/codex-model-denial-evidence.test.ts -67 tests/codex-integration/codex-model-entitlement-admission.test.ts -221 tests/codex-integration/codex-model-entitlements-program-shape.test.ts -113 tests/codex-integration/codex-model-entitlements.test.ts -138 tests/codex-integration/codex-models-cache-invalidate.test.ts -765 tests/codex-integration/codex-native-availability-nux.test.ts -508 tests/codex-integration/codex-native-residue.test.ts -144 tests/codex-integration/codex-pin-drain-projection.test.ts -105 tests/codex-integration/codex-plan.test.ts -332 tests/codex-integration/codex-plugins-doctor.test.ts -96 tests/codex-integration/codex-pool-caller-fallback-policy.test.ts -177 tests/codex-integration/codex-pool-credit-policy.test.ts -109 tests/codex-integration/codex-pool-plan-exclusion.test.ts -43 tests/codex-integration/codex-pool-refresh-backoff.test.ts -206 tests/codex-integration/codex-pool-request-owned-main.test.ts -540 tests/codex-integration/codex-pool-rotation.test.ts -258 tests/codex-integration/codex-preserve-signed-in.test.ts -175 tests/codex-integration/codex-priority-failback.test.ts -40 tests/codex-integration/codex-proc-scan-errors.test.ts -4785 tests/codex-integration/codex-profile-preservation.test.ts -81 tests/codex-integration/codex-prompt-adopt.test.ts -253 tests/codex-integration/codex-prompt-base-variants.test.ts -73 tests/codex-integration/codex-prompt-journal.test.ts -51 tests/codex-integration/codex-prompt-layers-read.test.ts -228 tests/codex-integration/codex-prompt-layers-write.test.ts -41 tests/codex-integration/codex-prompt-layers.test.ts -248 tests/codex-integration/codex-prompt-lock-sharing.test.ts -348 tests/codex-integration/codex-prompt-lock.test.ts -1117 tests/codex-integration/codex-prompt-route.test.ts -118 tests/codex-integration/codex-prompt-scalar-scope.test.ts -886 tests/codex-integration/codex-prompt-text-probe.test.ts -468 tests/codex-integration/codex-prompt-writes.test.ts -14901 tests/codex-integration/codex-provider-routing.test.ts -724 tests/codex-integration/codex-provider-table-retention.test.ts -108 tests/codex-integration/codex-quota-auto-refresh-generation.test.ts -192 tests/codex-integration/codex-quota-auto-refresh-main-admission.test.ts -261 tests/codex-integration/codex-quota-auto-refresh.test.ts -50 tests/codex-integration/codex-quota-capacity.test.ts -95 tests/codex-integration/codex-quota-history.test.ts -104 tests/codex-integration/codex-quota-parser-parity.test.ts -49 tests/codex-integration/codex-quota-persistence.test.ts -323 tests/codex-integration/codex-quota-prime.test.ts -111 tests/codex-integration/codex-quota-query-backoff.test.ts -190 tests/codex-integration/codex-quota-rejection.test.ts -138 tests/codex-integration/codex-refresh.test.ts -304 tests/codex-integration/codex-request-owned-affinity.test.ts -727 tests/codex-integration/codex-reset-credit-auto-redeem.test.ts -429 tests/codex-integration/codex-reset-credit-operation-ledger.test.ts -298 tests/codex-integration/codex-reset-credit-recovery.test.ts -57 tests/codex-integration/codex-restart-contract-parity.test.ts -305 tests/codex-integration/codex-restart-route.test.ts -4686 tests/codex-integration/codex-restore-app-rewrite.test.ts +4839 tests/codex-integration/codex-convergence-account-selectors.test.ts +1184 tests/codex-integration/codex-convergence-contract.test.ts +269 tests/codex-integration/codex-cooldown-recovery.test.ts +174 tests/codex-integration/codex-coordinator-doctor.test.ts +804 tests/codex-integration/codex-credit-retry-after.test.ts +332 tests/codex-integration/codex-credit-scoped-retry.test.ts +187 tests/codex-integration/codex-credits-after-limit-main.test.ts +226 tests/codex-integration/codex-credits-after-limit.test.ts +194 tests/codex-integration/codex-credits-probes.test.ts +298 tests/codex-integration/codex-credits-settings.test.ts +64 tests/codex-integration/codex-credits.test.ts +159 tests/codex-integration/codex-desired-state.test.ts +362 tests/codex-integration/codex-direct-credit-renewal.test.ts +209 tests/codex-integration/codex-direct-renewal-revocation.test.ts +58 tests/codex-integration/codex-disconnect-fields.test.ts +61 tests/codex-integration/codex-disconnect-owned-recovery.test.ts +91 tests/codex-integration/codex-entitlement-identity-read-fence.test.ts +566 tests/codex-integration/codex-envkey-admission-substitution.test.ts +107 tests/codex-integration/codex-exec-invocation.test.ts +442 tests/codex-integration/codex-failure-window.test.ts +75 tests/codex-integration/codex-features-cache.test.ts +86 tests/codex-integration/codex-features-residual.test.ts +104 tests/codex-integration/codex-filesystem-evidence.test.ts +172 tests/codex-integration/codex-forward-access-programs-writer.test.ts +361 tests/codex-integration/codex-gather-authority.test.ts +2261 tests/codex-integration/codex-history-job.test.ts +135 tests/codex-integration/codex-history-lock.test.ts +78 tests/codex-integration/codex-history-pending-wal.test.ts +1905 tests/codex-integration/codex-history-provider.test.ts +543 tests/codex-integration/codex-history-reachability.test.ts +57 tests/codex-integration/codex-history-worker-boundary.test.ts +1534 tests/codex-integration/codex-history-worker.test.ts +72 tests/codex-integration/codex-history-writer.test.ts +10325 tests/codex-integration/codex-home-owner-lifecycle.test.ts +1427 tests/codex-integration/codex-home-owner.test.ts +55 tests/codex-integration/codex-home-wsl-local-state.test.ts +172 tests/codex-integration/codex-home-wsl.test.ts +246 tests/codex-integration/codex-idle-window.test.ts +875 tests/codex-integration/codex-inject-catalog-tilde.test.ts +151 tests/codex-integration/codex-inject-history-wording.test.ts +72828 tests/codex-integration/codex-inject-integration.test.ts +3727 tests/codex-integration/codex-inject-missing-config.test.ts +800 tests/codex-integration/codex-inject-retained-table.test.ts +13944 tests/codex-integration/codex-inject-v1-reconcile.test.ts +8493 tests/codex-integration/codex-inject-write-lock.test.ts +125 tests/codex-integration/codex-inject.test.ts +50 tests/codex-integration/codex-injected-marker.test.ts +65 tests/codex-integration/codex-installation-acl.test.ts +96 tests/codex-integration/codex-installation-id.test.ts +588 tests/codex-integration/codex-installation-invalid-account.test.ts +936 tests/codex-integration/codex-installation-live-content.test.ts +623 tests/codex-integration/codex-installation-live-http.test.ts +781 tests/codex-integration/codex-installation-live-ws.test.ts +385 tests/codex-integration/codex-installation-sidecars.test.ts +128 tests/codex-integration/codex-installation-wire.test.ts +97 tests/codex-integration/codex-integration-record.test.ts +311 tests/codex-integration/codex-journal-provider-reserialization.test.ts +3330 tests/codex-integration/codex-journal-recovery.test.ts +19776 tests/codex-integration/codex-journal.test.ts +276 tests/codex-integration/codex-launcher-admission.test.ts +64 tests/codex-integration/codex-launcher-darwin-acl.test.ts +91 tests/codex-integration/codex-launcher-darwin-identity.test.ts +223 tests/codex-integration/codex-launcher-diagnostics.test.ts +167 tests/codex-integration/codex-launcher-endpoint.test.ts +244 tests/codex-integration/codex-launcher-env.test.ts +3021 tests/codex-integration/codex-launcher-process.test.ts +144 tests/codex-integration/codex-launcher-security.test.ts +129 tests/codex-integration/codex-launcher.test.ts +83 tests/codex-integration/codex-legacy-config-keys.test.ts +239 tests/codex-integration/codex-lineage-placement.test.ts +371 tests/codex-integration/codex-linked-account-pause.test.ts +102 tests/codex-integration/codex-log-guard-coderabbit.test.ts +44 tests/codex-integration/codex-log-guard-doctor-coderabbit.test.ts +61 tests/codex-integration/codex-log-guard-doctor-protection.test.ts +53 tests/codex-integration/codex-log-guard-doctor.test.ts +144 tests/codex-integration/codex-log-guard-inspect.test.ts +53 tests/codex-integration/codex-log-guard-lock.test.ts +385 tests/codex-integration/codex-log-guard-maintenance-coderabbit.test.ts +685 tests/codex-integration/codex-log-guard-maintenance.test.ts +115 tests/codex-integration/codex-log-guard-policy.test.ts +51 tests/codex-integration/codex-log-guard-processes.test.ts +152 tests/codex-integration/codex-log-guard-protection.test.ts +63 tests/codex-integration/codex-log-guard-status-zero-write.test.ts +180 tests/codex-integration/codex-main-account-refresh.test.ts +384 tests/codex-integration/codex-main-grant-refusal.test.ts +319 tests/codex-integration/codex-main-rotation.test.ts +190 tests/codex-integration/codex-main-token-invalidated.test.ts +94 tests/codex-integration/codex-management-convergence.test.ts +152 tests/codex-integration/codex-metadata-integrity.test.ts +7745 tests/codex-integration/codex-missing-home.test.ts +102 tests/codex-integration/codex-model-availability-error.test.ts +195 tests/codex-integration/codex-model-denial-evidence.test.ts +81 tests/codex-integration/codex-model-entitlement-admission.test.ts +151 tests/codex-integration/codex-model-entitlements-program-shape.test.ts +194 tests/codex-integration/codex-model-entitlements.test.ts +148 tests/codex-integration/codex-models-cache-invalidate.test.ts +955 tests/codex-integration/codex-native-availability-nux.test.ts +640 tests/codex-integration/codex-native-residue.test.ts +155 tests/codex-integration/codex-pin-drain-projection.test.ts +166 tests/codex-integration/codex-plan.test.ts +459 tests/codex-integration/codex-plugins-doctor.test.ts +122 tests/codex-integration/codex-pool-caller-fallback-policy.test.ts +214 tests/codex-integration/codex-pool-credit-policy.test.ts +177 tests/codex-integration/codex-pool-only-policy.test.ts +139 tests/codex-integration/codex-pool-plan-exclusion.test.ts +52 tests/codex-integration/codex-pool-refresh-backoff.test.ts +258 tests/codex-integration/codex-pool-request-owned-main.test.ts +798 tests/codex-integration/codex-pool-rotation.test.ts +349 tests/codex-integration/codex-preserve-signed-in.test.ts +326 tests/codex-integration/codex-priority-failback.test.ts +64 tests/codex-integration/codex-proc-scan-errors.test.ts +5551 tests/codex-integration/codex-profile-preservation.test.ts +95 tests/codex-integration/codex-prompt-adopt.test.ts +263 tests/codex-integration/codex-prompt-base-variants.test.ts +89 tests/codex-integration/codex-prompt-journal.test.ts +60 tests/codex-integration/codex-prompt-layers-read.test.ts +199 tests/codex-integration/codex-prompt-layers-write.test.ts +52 tests/codex-integration/codex-prompt-layers.test.ts +244 tests/codex-integration/codex-prompt-lock-sharing.test.ts +394 tests/codex-integration/codex-prompt-lock.test.ts +1385 tests/codex-integration/codex-prompt-route.test.ts +186 tests/codex-integration/codex-prompt-scalar-scope.test.ts +975 tests/codex-integration/codex-prompt-text-probe.test.ts +653 tests/codex-integration/codex-prompt-writes.test.ts +16823 tests/codex-integration/codex-provider-routing.test.ts +785 tests/codex-integration/codex-provider-table-retention.test.ts +106 tests/codex-integration/codex-quota-auto-refresh-generation.test.ts +190 tests/codex-integration/codex-quota-auto-refresh-main-admission.test.ts +393 tests/codex-integration/codex-quota-auto-refresh.test.ts +73 tests/codex-integration/codex-quota-capacity.test.ts +143 tests/codex-integration/codex-quota-history.test.ts +116 tests/codex-integration/codex-quota-parser-parity.test.ts +63 tests/codex-integration/codex-quota-persistence.test.ts +440 tests/codex-integration/codex-quota-prime.test.ts +123 tests/codex-integration/codex-quota-query-backoff.test.ts +323 tests/codex-integration/codex-quota-rejection.test.ts +70 tests/codex-integration/codex-quota-weekly-rollover.test.ts +404 tests/codex-integration/codex-quota-window-conflict.test.ts +175 tests/codex-integration/codex-refresh.test.ts +305 tests/codex-integration/codex-request-owned-affinity.test.ts +809 tests/codex-integration/codex-reset-credit-auto-redeem.test.ts +462 tests/codex-integration/codex-reset-credit-operation-ledger.test.ts +351 tests/codex-integration/codex-reset-credit-recovery.test.ts +76 tests/codex-integration/codex-restart-contract-parity.test.ts +384 tests/codex-integration/codex-restart-route.test.ts +5392 tests/codex-integration/codex-restore-app-rewrite.test.ts 12456 tests/codex-integration/codex-restore-later-edits.test.ts -7836 tests/codex-integration/codex-retained-root-serialization.test.ts -194 tests/codex-integration/codex-round-robin-headroom.test.ts -90 tests/codex-integration/codex-routing-cache-affinity-detour.test.ts -68 tests/codex-integration/codex-routing-elapsed-short-reset.test.ts -5864 tests/codex-integration/codex-routing.test.ts -121 tests/codex-integration/codex-runtime-macos-desktop.test.ts -128 tests/codex-integration/codex-runtime-wsl-desktop.test.ts -142 tests/codex-integration/codex-runtime.test.ts -453 tests/codex-integration/codex-service-manager-probe-hardening.test.ts -188 tests/codex-integration/codex-service-manager-probe.test.ts -37161 tests/codex-integration/codex-shim-autorestore.test.ts -71 tests/codex-integration/codex-shim-bypass-token.test.ts -215 tests/codex-integration/codex-shim-destroyed-probe.test.ts -66 tests/codex-integration/codex-shim-ensure-failure.test.ts -96 tests/codex-integration/codex-shim-fnm.test.ts -83 tests/codex-integration/codex-shim-legacy-record.test.ts -434 tests/codex-integration/codex-shim-migration.test.ts -79 tests/codex-integration/codex-shim-overlay-candidates.test.ts -589 tests/codex-integration/codex-shim-overlay-readiness.test.ts -2283 tests/codex-integration/codex-shim-overlay-transaction.test.ts -622 tests/codex-integration/codex-shim-overlay.test.ts -4265 tests/codex-integration/codex-shim-path-readiness.test.ts -29221 tests/codex-integration/codex-shim-readiness.test.ts -69 tests/codex-integration/codex-shim-runtime-preflight.test.ts -747 tests/codex-integration/codex-shim-standalone.test.ts -142 tests/codex-integration/codex-shim-windows-revision.test.ts -25942 tests/codex-integration/codex-shim.test.ts -1875 tests/codex-integration/codex-sidecar-credit-policy.test.ts -131 tests/codex-integration/codex-signin-lockout.test.ts -231 tests/codex-integration/codex-spark-visibility.test.ts -39 tests/codex-integration/codex-sqlite-home.test.ts -305 tests/codex-integration/codex-stored-main-duplicate.test.ts -1397 tests/codex-integration/codex-sync-api.test.ts -262 tests/codex-integration/codex-sync-new-model-policy.test.ts -52 tests/codex-integration/codex-sync-response.test.ts -22026 tests/codex-integration/codex-sync-user-edits.test.ts -232 tests/codex-integration/codex-systemd-env-probe.test.ts -121 tests/codex-integration/codex-tool-mode.test.ts -527 tests/codex-integration/codex-transition-state-adoption.test.ts -69 tests/codex-integration/codex-transition-state-first-use-regression.test.ts -1815 tests/codex-integration/codex-transition-state-race.test.ts -199 tests/codex-integration/codex-transition-state.test.ts -154 tests/codex-integration/codex-use-remaining-quota.test.ts -63 tests/codex-integration/codex-user-identity.test.ts -775 tests/codex-integration/codex-v2-gate.test.ts -322 tests/codex-integration/codex-warmup.test.ts -2808 tests/codex-integration/codex-web-search-switch.test.ts -72 tests/codex-integration/codex-websocket-registry.test.ts -32 tests/codex-integration/codex-windows-current-sid.test.ts -2341 tests/codex-integration/codex-write-lock.test.ts -43 tests/codex-integration/combo-authoritative-reset.test.ts -30 tests/codex-integration/combo-codex-exhaustion-cooldown.test.ts -79 tests/codex-integration/combo-cooldown-reprobe.test.ts -456 tests/codex-integration/combo-description-catalog.test.ts -37 tests/codex-integration/combo-last-resort.test.ts -88 tests/codex-integration/combo-permanent-failure-cooldown.test.ts -142 tests/codex-integration/combo-reset-window-model-scope.test.ts -31 tests/codex-integration/combos-kiro-profile-hop.test.ts -307 tests/codex-integration/combos.test.ts -751 tests/codex-integration/compatibility-manifest.test.ts -88 tests/codex-integration/configured-native-models.test.ts -1300 tests/codex-integration/configured-ultrafast-picker.test.ts -31 tests/codex-integration/context-compat.test.ts -37 tests/codex-integration/custom-model-catalog-migration.test.ts -233 tests/codex-integration/deferred-collab-surface.test.ts -173 tests/codex-integration/discovered-native-models.test.ts -374 tests/codex-integration/doctor.test.ts -419 tests/codex-integration/effort-policy.test.ts -339 tests/codex-integration/exec-boundary-launch.test.ts -78 tests/codex-integration/exec-cli-bundle-containment.test.ts -77 tests/codex-integration/exec-cli-renamed-app-bundle.test.ts -124 tests/codex-integration/exec-known-app-bundles.test.ts -69 tests/codex-integration/exec-launcher-boundary.test.ts -40 tests/codex-integration/exec-renamed-app-bundle.test.ts -343 tests/codex-integration/exec-trust-boundary.test.ts -77 tests/codex-integration/fast-row-listing.test.ts -87 tests/codex-integration/fast-row.test.ts -117 tests/codex-integration/gather-routed-models-single-flight.test.ts -79 tests/codex-integration/gpt6-native-rows.test.ts -85 tests/codex-integration/gpt61-sol-rows.test.ts -207 tests/codex-integration/gpt61-terra-rows.test.ts -50 tests/codex-integration/history-migration-guardian.test.ts -37 tests/codex-integration/history-ocx-compaction-recovery.test.ts -39 tests/codex-integration/history-paginated-openai-compat.test.ts -1434 tests/codex-integration/history-paginated-transition-destinations.test.ts -97 tests/codex-integration/injection-link-websocket.test.ts -249 tests/codex-integration/injection-model-api.test.ts -169 tests/codex-integration/injection-model-suggest-routes.test.ts -35 tests/codex-integration/injection-routing-drift.test.ts -4489 tests/codex-integration/injection-routing-heal-apply.test.ts -536 tests/codex-integration/injection-routing-healer.test.ts -6142 tests/codex-integration/issue-452-empty-503.test.ts -3207 tests/codex-integration/issue-702-expired-replay-state.test.ts -646 tests/codex-integration/issue-914-transport-attribution.test.ts -155 tests/codex-integration/low-quota-desktop-notifier.test.ts -1222 tests/codex-integration/low-quota-protection.test.ts -351 tests/codex-integration/main-account-credit-renewal.test.ts -33 tests/codex-integration/main-account-external-usage.test.ts -13607 tests/codex-integration/main-account-hard-lock-auth.test.ts -134 tests/codex-integration/main-account-hard-lock-default.test.ts -547 tests/codex-integration/main-account-hard-lock-fallback-off.test.ts -358 tests/codex-integration/main-account-hard-lock-fallback-routing.test.ts -39 tests/codex-integration/main-account-hard-lock-policy.test.ts -488 tests/codex-integration/main-account-hard-lock-profile-dispatch.test.ts -428 tests/codex-integration/main-account-hard-lock-recovery.test.ts -127 tests/codex-integration/main-account-hard-lock-retirement.test.ts -125 tests/codex-integration/main-account-hard-lock-thresholds.test.ts -125 tests/codex-integration/main-account-hard-lock-usage-limit.test.ts -532 tests/codex-integration/main-account-policy-binding-wait.test.ts -65 tests/codex-integration/main-device-reauth-api.test.ts -161 tests/codex-integration/main-device-reauth.test.ts -276 tests/codex-integration/main-quota-evidence-validation.test.ts -20376 tests/codex-integration/main-quota-provenance.test.ts -556 tests/codex-integration/main-quota-window-observation.test.ts -2647 tests/codex-integration/messaging-local-cli.test.ts -84 tests/codex-integration/messaging-local-discovery.test.ts -136 tests/codex-integration/messaging-local-envelope.test.ts -707 tests/codex-integration/messaging-local-lifecycle.test.ts -326 tests/codex-integration/messaging-local-send.test.ts -45 tests/codex-integration/messaging-local-socket.test.ts -12330 tests/codex-integration/messaging-mcp-queue.test.ts +198 tests/codex-integration/codex-resume-if-healthy.test.ts +7505 tests/codex-integration/codex-retained-root-serialization.test.ts +264 tests/codex-integration/codex-round-robin-headroom.test.ts +132 tests/codex-integration/codex-routing-cache-affinity-detour.test.ts +102 tests/codex-integration/codex-routing-elapsed-short-reset.test.ts +4503 tests/codex-integration/codex-routing.test.ts +194 tests/codex-integration/codex-runtime-macos-desktop.test.ts +65 tests/codex-integration/codex-runtime-wsl-desktop.test.ts +198 tests/codex-integration/codex-runtime.test.ts +481 tests/codex-integration/codex-service-manager-probe-hardening.test.ts +271 tests/codex-integration/codex-service-manager-probe.test.ts +37857 tests/codex-integration/codex-shim-autorestore.test.ts +139 tests/codex-integration/codex-shim-bypass-token.test.ts +223 tests/codex-integration/codex-shim-destroyed-probe.test.ts +116 tests/codex-integration/codex-shim-ensure-failure.test.ts +89 tests/codex-integration/codex-shim-fnm.test.ts +105 tests/codex-integration/codex-shim-legacy-record.test.ts +469 tests/codex-integration/codex-shim-migration.test.ts +106 tests/codex-integration/codex-shim-overlay-candidates.test.ts +664 tests/codex-integration/codex-shim-overlay-readiness.test.ts +1995 tests/codex-integration/codex-shim-overlay-transaction.test.ts +691 tests/codex-integration/codex-shim-overlay.test.ts +3667 tests/codex-integration/codex-shim-path-readiness.test.ts +28766 tests/codex-integration/codex-shim-readiness.test.ts +110 tests/codex-integration/codex-shim-runtime-preflight.test.ts +837 tests/codex-integration/codex-shim-standalone.test.ts +190 tests/codex-integration/codex-shim-windows-revision.test.ts +25318 tests/codex-integration/codex-shim.test.ts +1713 tests/codex-integration/codex-sidecar-credit-policy.test.ts +129 tests/codex-integration/codex-signin-lockout.test.ts +219 tests/codex-integration/codex-spark-visibility.test.ts +92 tests/codex-integration/codex-sqlite-home.test.ts +301 tests/codex-integration/codex-stored-main-duplicate.test.ts +1477 tests/codex-integration/codex-sync-api.test.ts +388 tests/codex-integration/codex-sync-new-model-policy.test.ts +64 tests/codex-integration/codex-sync-response.test.ts +20729 tests/codex-integration/codex-sync-user-edits.test.ts +189 tests/codex-integration/codex-systemd-env-probe.test.ts +165 tests/codex-integration/codex-tool-mode.test.ts +617 tests/codex-integration/codex-transition-state-adoption.test.ts +101 tests/codex-integration/codex-transition-state-first-use-regression.test.ts +1828 tests/codex-integration/codex-transition-state-race.test.ts +257 tests/codex-integration/codex-transition-state.test.ts +233 tests/codex-integration/codex-use-remaining-quota.test.ts +87 tests/codex-integration/codex-user-identity.test.ts +676 tests/codex-integration/codex-v2-gate.test.ts +346 tests/codex-integration/codex-warmup.test.ts +3480 tests/codex-integration/codex-web-search-switch.test.ts +50 tests/codex-integration/codex-websocket-registry.test.ts +57 tests/codex-integration/codex-windows-current-sid.test.ts +2932 tests/codex-integration/codex-write-lock.test.ts +56 tests/codex-integration/combo-authoritative-reset.test.ts +54 tests/codex-integration/combo-codex-exhaustion-cooldown.test.ts +107 tests/codex-integration/combo-cooldown-reprobe.test.ts +669 tests/codex-integration/combo-description-catalog.test.ts +71 tests/codex-integration/combo-last-resort.test.ts +54 tests/codex-integration/combo-permanent-failure-cooldown.test.ts +66 tests/codex-integration/combo-reset-window-model-scope.test.ts +70 tests/codex-integration/combos-kiro-profile-hop.test.ts +355 tests/codex-integration/combos.test.ts +700 tests/codex-integration/compatibility-manifest.test.ts +128 tests/codex-integration/configured-native-models.test.ts +1885 tests/codex-integration/configured-ultrafast-picker.test.ts +78 tests/codex-integration/context-compat.test.ts +62 tests/codex-integration/custom-model-catalog-migration.test.ts +275 tests/codex-integration/deferred-collab-surface.test.ts +179 tests/codex-integration/discovered-native-models.test.ts +488 tests/codex-integration/doctor.test.ts +348 tests/codex-integration/effort-policy.test.ts +378 tests/codex-integration/exec-boundary-launch.test.ts +139 tests/codex-integration/exec-cli-bundle-containment.test.ts +245 tests/codex-integration/exec-cli-renamed-app-bundle.test.ts +152 tests/codex-integration/exec-known-app-bundles.test.ts +137 tests/codex-integration/exec-launcher-boundary.test.ts +100 tests/codex-integration/exec-renamed-app-bundle.test.ts +743 tests/codex-integration/exec-trust-boundary.test.ts +127 tests/codex-integration/fast-row-listing.test.ts +105 tests/codex-integration/fast-row.test.ts +179 tests/codex-integration/gather-routed-models-single-flight.test.ts +177 tests/codex-integration/gpt6-native-rows.test.ts +109 tests/codex-integration/gpt61-sol-rows.test.ts +163 tests/codex-integration/gpt61-terra-rows.test.ts +138 tests/codex-integration/gpt62-output-limits.test.ts +114 tests/codex-integration/gpt62-rows.test.ts +64 tests/codex-integration/history-migration-guardian.test.ts +55 tests/codex-integration/history-ocx-compaction-recovery.test.ts +68 tests/codex-integration/history-paginated-openai-compat.test.ts +3165 tests/codex-integration/history-paginated-transition-destinations.test.ts +128 tests/codex-integration/injection-link-websocket.test.ts +284 tests/codex-integration/injection-model-api.test.ts +230 tests/codex-integration/injection-model-suggest-routes.test.ts +88 tests/codex-integration/injection-routing-drift.test.ts +4318 tests/codex-integration/injection-routing-heal-apply.test.ts +596 tests/codex-integration/injection-routing-healer.test.ts +5822 tests/codex-integration/issue-452-empty-503.test.ts +2978 tests/codex-integration/issue-702-expired-replay-state.test.ts +638 tests/codex-integration/issue-914-transport-attribution.test.ts +176 tests/codex-integration/low-quota-desktop-notifier.test.ts +1310 tests/codex-integration/low-quota-protection.test.ts +466 tests/codex-integration/main-account-credit-renewal.test.ts +47 tests/codex-integration/main-account-external-usage.test.ts +18851 tests/codex-integration/main-account-hard-lock-auth.test.ts +216 tests/codex-integration/main-account-hard-lock-default.test.ts +637 tests/codex-integration/main-account-hard-lock-fallback-off.test.ts +646 tests/codex-integration/main-account-hard-lock-fallback-routing.test.ts +63 tests/codex-integration/main-account-hard-lock-policy.test.ts +349 tests/codex-integration/main-account-hard-lock-profile-dispatch.test.ts +607 tests/codex-integration/main-account-hard-lock-recovery.test.ts +183 tests/codex-integration/main-account-hard-lock-refusal-read.test.ts +95 tests/codex-integration/main-account-hard-lock-retirement.test.ts +55 tests/codex-integration/main-account-hard-lock-thresholds.test.ts +169 tests/codex-integration/main-account-hard-lock-usage-limit.test.ts +626 tests/codex-integration/main-account-policy-binding-wait.test.ts +87 tests/codex-integration/main-device-reauth-api.test.ts +212 tests/codex-integration/main-device-reauth.test.ts +152 tests/codex-integration/main-quota-evidence-validation.test.ts +22426 tests/codex-integration/main-quota-provenance.test.ts +475 tests/codex-integration/main-quota-window-observation.test.ts +3630 tests/codex-integration/messaging-local-cli.test.ts +127 tests/codex-integration/messaging-local-discovery.test.ts +169 tests/codex-integration/messaging-local-envelope.test.ts +807 tests/codex-integration/messaging-local-lifecycle.test.ts +369 tests/codex-integration/messaging-local-send.test.ts +62 tests/codex-integration/messaging-local-socket.test.ts +12517 tests/codex-integration/messaging-mcp-queue.test.ts 12618 tests/codex-integration/messaging-mcp-replies.test.ts +210 tests/codex-integration/messaging-mcp-resume.test.ts 64423 tests/codex-integration/messaging-mcp-wait.test.ts -8091 tests/codex-integration/messaging-remote-admission.test.ts -594 tests/codex-integration/messaging-remote-contract.test.ts -562 tests/codex-integration/messaging-remote-enrollment-gaps.test.ts +4539 tests/codex-integration/messaging-remote-admission.test.ts +314 tests/codex-integration/messaging-remote-contract.test.ts +414 tests/codex-integration/messaging-remote-enrollment-gaps.test.ts 3035 tests/codex-integration/messaging-remote-enrollment.test.ts -36 tests/codex-integration/messaging-remote-forward-failure.test.ts -3572 tests/codex-integration/messaging-remote-gaps.test.ts -45 tests/codex-integration/messaging-remote-interop.test.ts -17209 tests/codex-integration/messaging-remote-lifecycle.test.ts -44 tests/codex-integration/messaging-remote-native.test.ts -66 tests/codex-integration/messaging-remote-port-reservation.test.ts -13199 tests/codex-integration/messaging-remote-process.test.ts -3948 tests/codex-integration/messaging-remote-replies.test.ts -1402 tests/codex-integration/messaging-remote-scratch.test.ts -8268 tests/codex-integration/messaging-remote-send.test.ts -1194 tests/codex-integration/messaging-remote-store.test.ts -30 tests/codex-integration/model-cache-generation-tombstone.test.ts -98 tests/codex-integration/model-cache.test.ts -138 tests/codex-integration/model-display-names-management-api.test.ts -105 tests/codex-integration/model-metadata-sync.test.ts -552 tests/codex-integration/model-pinned-effort.test.ts -625 tests/codex-integration/model-visibility-management-api.test.ts -614 tests/codex-integration/multi-agent-compat.test.ts -537 tests/codex-integration/multi-agent-keep-native-v1.test.ts -75 tests/codex-integration/multi-agent-origin.test.ts -95 tests/codex-integration/native-alias-maintainer-regressions.test.ts -235 tests/codex-integration/native-claude-code-toggle.test.ts -261 tests/codex-integration/native-claude-desktop-toggle.test.ts -3744 tests/codex-integration/native-codex-toggle.test.ts -606 tests/codex-integration/native-grok-toggle.test.ts -45 tests/codex-integration/native-main-auth-temp.test.ts -56 tests/codex-integration/native-main-claim-cache.test.ts -124 tests/codex-integration/native-main-claim.test.ts -9917 tests/codex-integration/native-main-owner-lifetime.test.ts -1145 tests/codex-integration/native-main-refresh-mode.test.ts -367 tests/codex-integration/native-model-toggle.test.ts -56 tests/codex-integration/native-profile-api.test.ts -8983 tests/codex-integration/native-profile-crash-boundaries.test.ts -2076 tests/codex-integration/native-profile-drain-server.test.ts -2674 tests/codex-integration/native-profile-manager.test.ts -324 tests/codex-integration/native-profile-processes.test.ts -116 tests/codex-integration/native-profile-recovery.test.ts -487 tests/codex-integration/native-profile-route-security.test.ts -304 tests/codex-integration/native-profile-stage-lifecycle.test.ts -340 tests/codex-integration/native-profile-startup-release.test.ts -13565 tests/codex-integration/native-profile-startup.test.ts -252 tests/codex-integration/native-profile-store.test.ts -221 tests/codex-integration/native-source-priority.test.ts -1252 tests/codex-integration/native-ultrafast-picker.test.ts -288 tests/codex-integration/orca-import.test.ts -82 tests/codex-integration/parallel-tool-calls-optin.test.ts -56 tests/codex-integration/pool-monthly-window-retirement.test.ts -95 tests/codex-integration/project-config-warning-snapshot.test.ts -191 tests/codex-integration/project-config-warnings.test.ts -152 tests/codex-integration/reasoning-effort.test.ts -118 tests/codex-integration/reasoning-metadata.test.ts -576 tests/codex-integration/reserve-auth-context.test.ts -47 tests/codex-integration/reserve-availability.test.ts -5755 tests/codex-integration/reserve-catalog-lifecycle.test.ts -271 tests/codex-integration/reserve-catalog.test.ts -1511 tests/codex-integration/reserve-dispatch.test.ts -180 tests/codex-integration/reserve-helper-boundary.test.ts -63 tests/codex-integration/reserve-passive-revocation.test.ts -299 tests/codex-integration/reserve-quota-scope.test.ts -269 tests/codex-integration/selected-models.test.ts -142 tests/codex-integration/slug-codec.test.ts -242 tests/codex-integration/token-guardian.test.ts -844 tests/codex-integration/ultrafast-live-catalog.test.ts -984 tests/codex-integration/ultrafast-tier-honesty.test.ts -190 tests/codex-integration/upstream-reachability.test.ts +57 tests/codex-integration/messaging-remote-forward-failure.test.ts +2557 tests/codex-integration/messaging-remote-gaps.test.ts +52 tests/codex-integration/messaging-remote-interop.test.ts +14783 tests/codex-integration/messaging-remote-lifecycle.test.ts +51 tests/codex-integration/messaging-remote-native.test.ts +98 tests/codex-integration/messaging-remote-port-reservation.test.ts +13301 tests/codex-integration/messaging-remote-process.test.ts +1617 tests/codex-integration/messaging-remote-replies.test.ts +1266 tests/codex-integration/messaging-remote-scratch.test.ts +5973 tests/codex-integration/messaging-remote-send.test.ts +515 tests/codex-integration/messaging-remote-store.test.ts +45 tests/codex-integration/model-cache-generation-tombstone.test.ts +49 tests/codex-integration/model-cache.test.ts +250 tests/codex-integration/model-display-names-management-api.test.ts +143 tests/codex-integration/model-metadata-sync.test.ts +867 tests/codex-integration/model-pinned-effort.test.ts +843 tests/codex-integration/model-visibility-management-api.test.ts +749 tests/codex-integration/multi-agent-compat.test.ts +416 tests/codex-integration/multi-agent-keep-native-v1.test.ts +147 tests/codex-integration/multi-agent-origin.test.ts +419 tests/codex-integration/multi-agent-v2-plaintext.test.ts +152 tests/codex-integration/native-alias-maintainer-regressions.test.ts +219 tests/codex-integration/native-claude-code-toggle.test.ts +514 tests/codex-integration/native-claude-desktop-toggle.test.ts +4035 tests/codex-integration/native-codex-toggle.test.ts +625 tests/codex-integration/native-grok-toggle.test.ts +68 tests/codex-integration/native-main-auth-temp.test.ts +37 tests/codex-integration/native-main-claim-cache.test.ts +140 tests/codex-integration/native-main-claim.test.ts +375 tests/codex-integration/native-main-credentials-retention.test.ts +8340 tests/codex-integration/native-main-owner-lifetime.test.ts +1097 tests/codex-integration/native-main-refresh-mode.test.ts +340 tests/codex-integration/native-model-toggle.test.ts +91 tests/codex-integration/native-profile-api.test.ts +7718 tests/codex-integration/native-profile-crash-boundaries.test.ts +2005 tests/codex-integration/native-profile-drain-server.test.ts +921 tests/codex-integration/native-profile-healthz.test.ts +2586 tests/codex-integration/native-profile-manager.test.ts +365 tests/codex-integration/native-profile-processes.test.ts +52 tests/codex-integration/native-profile-recovery.test.ts +705 tests/codex-integration/native-profile-route-security.test.ts +271 tests/codex-integration/native-profile-stage-lifecycle.test.ts +314 tests/codex-integration/native-profile-startup-release.test.ts +14319 tests/codex-integration/native-profile-startup.test.ts +387 tests/codex-integration/native-profile-store.test.ts +138 tests/codex-integration/native-source-priority.test.ts +1639 tests/codex-integration/native-ultrafast-picker.test.ts +395 tests/codex-integration/orca-import.test.ts +122 tests/codex-integration/parallel-tool-calls-optin.test.ts +113 tests/codex-integration/pool-monthly-window-retirement.test.ts +57 tests/codex-integration/project-config-warning-snapshot.test.ts +223 tests/codex-integration/project-config-warnings.test.ts +314 tests/codex-integration/reasoning-effort.test.ts +111 tests/codex-integration/reasoning-metadata.test.ts +372 tests/codex-integration/reserve-auth-context.test.ts +77 tests/codex-integration/reserve-availability.test.ts +5932 tests/codex-integration/reserve-catalog-lifecycle.test.ts +275 tests/codex-integration/reserve-catalog.test.ts +1544 tests/codex-integration/reserve-dispatch.test.ts +183 tests/codex-integration/reserve-helper-boundary.test.ts +120 tests/codex-integration/reserve-passive-revocation.test.ts +145 tests/codex-integration/reserve-quota-scope.test.ts +105 tests/codex-integration/selected-models.test.ts +122 tests/codex-integration/slug-codec.test.ts +217 tests/codex-integration/token-guardian.test.ts +1042 tests/codex-integration/ultrafast-live-catalog.test.ts +1396 tests/codex-integration/ultrafast-tier-honesty.test.ts +101 tests/codex-integration/upstream-reachability.test.ts 150 tests/codex-integration/vendor-context.test.ts -29 tests/codex-integration/warmup.test.ts -213 tests/codex-integration/websocket-capacity-activity.test.ts -115 tests/config/atomic-write-exclusive.test.ts -108 tests/config/atomic-write-nofollow-streamed.test.ts -181 tests/config/client-config-export-new-clients.test.ts -165 tests/config/client-config-export-output-limit.test.ts -145 tests/config/client-config-export.test.ts -62 tests/config/client-config-kimi-efforts.test.ts -206 tests/config/client-config-new-clients.test.ts -108 tests/config/compaction-recovery-settings.test.ts -622 tests/config/config-account-auto-pause-revisions.test.ts -45 tests/config/config-account-thresholds.test.ts -254 tests/config/config-anthropic-instance-pool.test.ts -42 tests/config/config-blocked-model-redirects.test.ts -48 tests/config/config-catalog-auto-refresh.test.ts -33 tests/config/config-commandcode-claude-pin.test.ts -64 tests/config/config-concurrent-inbound-body.test.ts -39 tests/config/config-hosted-search-projection.test.ts -182 tests/config/config-load-degrade.test.ts -701 tests/config/config-mutation-lock.test.ts -41 tests/config/config-native-reasoning-retention.test.ts -62 tests/config/config-non-object-backup.test.ts -151 tests/config/config-opencode-go-upgrade.test.ts -143 tests/config/config-opencode-zen-upgrade.test.ts -3031 tests/config/config-ownership-concurrent-record.test.ts -420 tests/config/config-ownership-removal.test.ts -159 tests/config/config-ownership-uninstall.test.ts -105 tests/config/config-rebase-provenance-writers.test.ts -109 tests/config/config-removed-opencode-free-preserve-failure.test.ts -1459 tests/config/config-removed-opencode-free.test.ts -45 tests/config/config-save-boundary.test.ts -47 tests/config/config-skills-catalog-refresh.test.ts -45 tests/config/config-spend-ceilings.test.ts -54 tests/config/config-spend-pool-collision.test.ts -58 tests/config/config-thinking-display.test.ts -343 tests/config/config-user-edits.test.ts -41 tests/config/config-workflow-budget.test.ts -45 tests/config/expand-user-path.test.ts -263 tests/config/hub-disable-live-save.test.ts -57 tests/config/lmstudio-system-policy.test.ts -4129 tests/config/local-credential-generation.test.ts -236 tests/config/model-pinned-effort-config.test.ts -69 tests/config/owner-registry-acl.test.ts -90 tests/config/owner-registry-isolation.test.ts -98 tests/config/protocol-settings.test.ts -1042 tests/config/serving-runtimes.test.ts -3333 tests/config/settings-desktop-switch-apply.test.ts -132 tests/config/settings-fast-rows.test.ts -214 tests/config/settings-main-account-hard-lock.test.ts -153 tests/config/settings-memory-models.test.ts -117 tests/config/settings-oauth-open-browser.test.ts -238 tests/config/settings-reasoning-retention.test.ts -104 tests/config/settings-startup-health-seam.test.ts -13069 tests/config/settings-stream-mode.test.ts -81 tests/config/telemetry-live-save.test.ts -55 tests/config/types-barrel-identity.test.ts -116 tests/config/url-normalization.test.ts -61 tests/config/yaml-fragment-source.test.ts -93 tests/e2e-style/phase100-native-parity.test.ts -37 tests/gui/alibaba-intl-token-plan.test.ts -36 tests/gui/claude-manual-env.test.ts -35 tests/gui/codex-account-mode-state.test.ts -34 tests/gui/codex-auth-modal-status.test.ts -30 tests/gui/codex-set-prompt.test.ts -43 tests/gui/combo-workspace-data.test.ts -42 tests/gui/combo-workspace-jev-decision.test.ts -43 tests/gui/dashboard-sidecar-codex-write.test.ts -76 tests/gui/dashboard-uptime.test.ts -37 tests/gui/gui-api-error.test.ts -63 tests/gui/gui-codex-usage-score-parity.test.ts -38 tests/gui/gui-desktop-sidecar-script.test.ts -51 tests/gui/gui-desktop-sidecar-signing.test.ts -113 tests/gui/gui-management-session.test.ts -33 tests/gui/gui-pair-capability.test.ts -128 tests/gui/gui-pair-client.test.ts -180 tests/gui/gui-pair-delivery.test.ts -1965 tests/gui/gui-pair-http.test.ts -43 tests/gui/gui-static.test.ts -36 tests/gui/gui-tray-vibrancy-surface.test.ts -60 tests/gui/html-lang-boot-script.test.ts -186 tests/gui/integrations-invariants.test.ts -51 tests/gui/logs-model-tier-confirmation.test.ts -45 tests/gui/main-device-reauth-ui.test.ts -28 tests/gui/models-feedback-callback.test.ts -48 tests/gui/models-free-filter.test.ts -29 tests/gui/models-page-groups.test.ts +52 tests/codex-integration/warmup.test.ts +233 tests/codex-integration/websocket-capacity-activity.test.ts +187 tests/config/agy-acp-config.test.ts +122 tests/config/atomic-write-exclusive.test.ts +135 tests/config/atomic-write-nofollow-streamed.test.ts +128 tests/config/client-config-export-new-clients.test.ts +138 tests/config/client-config-export-output-limit.test.ts +257 tests/config/client-config-export.test.ts +121 tests/config/client-config-kimi-efforts.test.ts +183 tests/config/client-config-new-clients.test.ts +152 tests/config/compaction-recovery-settings.test.ts +435 tests/config/config-account-auto-pause-revisions.test.ts +86 tests/config/config-account-thresholds.test.ts +291 tests/config/config-anthropic-instance-pool.test.ts +61 tests/config/config-blocked-model-redirects.test.ts +67 tests/config/config-catalog-auto-refresh.test.ts +71 tests/config/config-commandcode-claude-pin.test.ts +103 tests/config/config-concurrent-inbound-body.test.ts +125 tests/config/config-hosted-search-projection.test.ts +590 tests/config/config-load-degrade.test.ts +831 tests/config/config-mutation-lock.test.ts +70 tests/config/config-native-reasoning-retention.test.ts +51 tests/config/config-non-object-backup.test.ts +189 tests/config/config-opencode-go-upgrade.test.ts +128 tests/config/config-opencode-zen-upgrade.test.ts +3937 tests/config/config-ownership-concurrent-record.test.ts +278 tests/config/config-ownership-removal.test.ts +139 tests/config/config-ownership-uninstall.test.ts +56 tests/config/config-rebase-provenance-writers.test.ts +152 tests/config/config-removed-opencode-free-preserve-failure.test.ts +2167 tests/config/config-removed-opencode-free.test.ts +112 tests/config/config-routed-catalog-defaults.test.ts +78 tests/config/config-save-boundary.test.ts +70 tests/config/config-skills-catalog-refresh.test.ts +75 tests/config/config-spend-ceilings.test.ts +78 tests/config/config-spend-pool-collision.test.ts +62 tests/config/config-thinking-display.test.ts +407 tests/config/config-user-edits.test.ts +70 tests/config/config-workflow-budget.test.ts +59 tests/config/expand-user-path.test.ts +420 tests/config/hub-disable-live-save.test.ts +59 tests/config/lmstudio-system-policy.test.ts +347 tests/config/local-credential-fence.test.ts +3807 tests/config/local-credential-generation.test.ts +304 tests/config/model-pinned-effort-config.test.ts +75 tests/config/owner-registry-acl.test.ts +101 tests/config/owner-registry-isolation.test.ts +120 tests/config/protocol-settings.test.ts +382 tests/config/reserve-capability-migration.test.ts +69 tests/config/routing-profile-types-reexport.test.ts +1071 tests/config/serving-runtimes.test.ts +4333 tests/config/settings-desktop-switch-apply.test.ts +199 tests/config/settings-fast-rows.test.ts +296 tests/config/settings-main-account-hard-lock.test.ts +261 tests/config/settings-memory-models.test.ts +184 tests/config/settings-oauth-open-browser.test.ts +240 tests/config/settings-reasoning-retention.test.ts +181 tests/config/settings-startup-health-seam.test.ts +13395 tests/config/settings-stream-mode.test.ts +155 tests/config/telemetry-live-save.test.ts +51 tests/config/types-barrel-identity.test.ts +43 tests/config/url-normalization.test.ts +50 tests/config/yaml-fragment-source.test.ts +929 tests/e2e-style/link-child-catalog-oracle.test.ts +800 tests/e2e-style/link-gate-codex-binary.test.ts +240 tests/e2e-style/link-websocket-child-gate.test.ts +207 tests/e2e-style/link-websocket-child-restart.test.ts +211 tests/e2e-style/link-websocket-release-gate.test.ts +173 tests/e2e-style/link-websocket-rss-child.test.ts +95 tests/e2e-style/link-websocket-rss.test.ts +614 tests/e2e-style/link-ws-child-home.test.ts +199 tests/e2e-style/phase100-native-parity.test.ts +57 tests/gui/alibaba-intl-token-plan.test.ts +50 tests/gui/claude-manual-env.test.ts +46 tests/gui/codex-account-mode-state.test.ts +58 tests/gui/codex-auth-modal-status.test.ts +46 tests/gui/codex-set-prompt.test.ts +56 tests/gui/combo-workspace-data.test.ts +58 tests/gui/combo-workspace-jev-decision.test.ts +72 tests/gui/dashboard-sidecar-codex-write.test.ts +91 tests/gui/dashboard-uptime.test.ts +45 tests/gui/gui-api-error.test.ts +94 tests/gui/gui-codex-usage-score-parity.test.ts +52 tests/gui/gui-desktop-sidecar-script.test.ts +48 tests/gui/gui-desktop-sidecar-signing.test.ts +145 tests/gui/gui-management-session.test.ts +52 tests/gui/gui-pair-capability.test.ts +267 tests/gui/gui-pair-client.test.ts +386 tests/gui/gui-pair-delivery.test.ts +6535 tests/gui/gui-pair-http.test.ts +72 tests/gui/gui-static.test.ts +46 tests/gui/gui-tray-vibrancy-surface.test.ts +101 tests/gui/html-lang-boot-script.test.ts +309 tests/gui/integrations-invariants.test.ts +65 tests/gui/logs-model-tier-confirmation.test.ts +76 tests/gui/main-device-reauth-ui.test.ts +47 tests/gui/models-feedback-callback.test.ts +52 tests/gui/models-free-filter.test.ts +57 tests/gui/models-page-groups.test.ts 52 tests/gui/models-workspace-tabs.test.ts -32 tests/gui/oauth-first-add-hint.test.ts -64 tests/gui/oauth-tos-warning.test.ts -525 tests/gui/platform-dialog-guard.test.ts -52 tests/gui/provider-payload.test.ts -79 tests/gui/provider-subscription-cli.test.ts -40 tests/gui/provider-workspace-auth.test.ts -95 tests/gui/provider-workspace-data.test.ts -81 tests/gui/provider-workspace-rail.test.ts -63 tests/gui/provider-workspace-state.test.ts -69 tests/gui/quota-bars-rows.test.ts -36 tests/gui/qwen-cloud-endpoints.test.ts -38 tests/gui/rate-limit-reset-credits.test.ts -44 tests/gui/routing-intelligence-ui.test.ts -42 tests/gui/routing-profile-editor-data.test.ts -35 tests/gui/standalone-build-script.test.ts -767 tests/gui/startup-health-ui.test.ts -92 tests/gui/tencent-siliconflow-providers.test.ts -96 tests/gui/vision-sidecar-timeout-bounds.test.ts -176 tests/gui/volcengine-providers.test.ts -89 tests/images/artifacts-prune.test.ts -84 tests/images/artifacts-ssrf.test.ts -73 tests/images/download-cap-default.test.ts -82 tests/images/download-connect-deadline-default.test.ts -49 tests/images/gemini-inline.test.ts -88 tests/images/loop-reasoning-replay.test.ts -60 tests/images/loop-terminal-refusal.test.ts -3101 tests/images/loop.test.ts -47 tests/images/pinned-https-get.test.ts -90 tests/images/plan.test.ts -45 tests/images/synthetic-tool.test.ts -189 tests/images/xai-client.test.ts -133 tests/images/z-fulfill.test.ts -288 tests/images/z-handler-activation.test.ts -424 tests/lab/core-lab-boundary.test.ts -236 tests/lab/core-link-boundary.test.ts -251 tests/lab/lab-activation.test.ts -233 tests/lab/lab-automation-coderabbit-regressions.test.ts -152 tests/lab/lab-automation-final-coderabbit-regressions.test.ts -131 tests/lab/lab-automation-ingwannu-regressions.test.ts -166 tests/lab/lab-automation-management-http.test.ts -44 tests/lab/lab-automation-persisted-cap-regression.test.ts -325 tests/lab/lab-automation-review-regressions.test.ts -261 tests/lab/lab-automation.test.ts -123 tests/lab/lab-community-evidence.test.ts -261 tests/lab/lab-community-filename-contract.test.ts -204 tests/lab/lab-community-mutation-lock.test.ts -100 tests/lab/lab-community-publisher-continuity.test.ts -118 tests/lab/lab-conformance-harness.test.ts -104 tests/lab/lab-conformance-runner-failures.test.ts -378 tests/lab/lab-evidence-ledger.test.ts -219 tests/lab/lab-evidence-sanitization.test.ts -94 tests/lab/lab-fabric-outcome-validation.test.ts -43 tests/lab/lab-fabric-persistence-boundary.test.ts -166 tests/lab/lab-fabric-producer-deadline.test.ts -95773 tests/lab/lab-fabric-task.test.ts -40 tests/lab/lab-installation-salt-cache.test.ts -815 tests/lab/lab-ledger-mutation-lock.test.ts -303 tests/lab/lab-live-pinned-timeouts.test.ts -125 tests/lab/lab-live-probe.test.ts -124 tests/lab/lab-live-receipt-integrity.test.ts -81 tests/lab/lab-live-review-regressions.test.ts -199 tests/lab/lab-live-sandbox.test.ts -109 tests/lab/lab-passive-production-evidence.test.ts -316 tests/lab/lab-passive-production-surfaces.test.ts -28 tests/lab/lab-paths-security.test.ts -150 tests/lab/lab-post-merge-hardening.test.ts -174 tests/lab/lab-post-merge-projection.test.ts -39 tests/lab/lab-private-file-consumer-recovery.test.ts -40 tests/lab/lab-private-file-durability.test.ts -118 tests/lab/lab-public-api-json.test.ts -74 tests/lab/lab-public-artifact-policy.test.ts -234 tests/lab/lab-public-coderabbit-regressions.test.ts -38 tests/lab/lab-public-core-contract.test.ts -128 tests/lab/lab-public-deep-review-regressions.test.ts -108 tests/lab/lab-public-evidence.test.ts -105 tests/lab/lab-public-export-transaction.test.ts -74 tests/lab/lab-public-file-safety.test.ts -159 tests/lab/lab-public-final-review-regressions.test.ts -255 tests/lab/lab-public-lifecycle-hardening.test.ts -54 tests/lab/lab-public-privacy-ipv6.test.ts -354 tests/lab/lab-public-provenance-recovery.test.ts -218 tests/lab/lab-public-review-fixes.test.ts -57 tests/lab/lab-public-route-registry.test.ts -64 tests/lab/lab-public-security-regressions.test.ts -214 tests/lab/lab-public-surfaces.test.ts -64 tests/lab/lab-public-wire-contract.test.ts -147 tests/lab/lab-read-filter-validation.test.ts -320 tests/lab/lab-read-surfaces.test.ts -714 tests/lib/abort-idle-deadline.test.ts -28 tests/lib/acl-error-classification.test.ts -355 tests/lib/ambiguous-resend-composition.test.ts -37 tests/lib/ambiguous-resend-gate.test.ts -27 tests/lib/authorization-scheme.test.ts -47 tests/lib/bounded-file-read.test.ts -142 tests/lib/bun-runtime-preflight.test.ts -31 tests/lib/bun-stream-caps.test.ts -137 tests/lib/clearable-deadline.test.ts -62 tests/lib/client-error-body.test.ts -36 tests/lib/client-retry-after.test.ts -302 tests/lib/credential-redirect-guard.test.ts -41 tests/lib/debug.test.ts -124 tests/lib/execution-budget-permits.test.ts -41 tests/lib/failure-attribution.test.ts -74 tests/lib/failure-stage-model.test.ts -63 tests/lib/file-identity-callers.test.ts -34 tests/lib/file-identity.test.ts -32 tests/lib/fix-jsonc-cr-comments.test.ts -22 tests/lib/fix-jsonc-empty-comma.test.ts -46 tests/lib/fix-plain-data-own-keys.test.ts -14 tests/lib/fix-plain-data-shape.test.ts -32 tests/lib/fix-retry-release-timer.test.ts -98 tests/lib/local-chat-completion.test.ts -17 tests/lib/local-destinations.test.ts -28 tests/lib/local-upstream.test.ts -40 tests/lib/messages-sse-error-presentation.test.ts -3063 tests/lib/opaque-proxy-tunnel-protocol.test.ts -471 tests/lib/opaque-proxy-tunnel.test.ts -880 tests/lib/optional-desktop-upstream.test.ts -144 tests/lib/optional-shutdown-hooks.test.ts -121 tests/lib/pinned-http-content-coding.test.ts -2057 tests/lib/pinned-http.test.ts -362 tests/lib/plugin-loader.test.ts -38 tests/lib/plugin-upstream-hooks.test.ts -28 tests/lib/privacy-mask-account.test.ts -33 tests/lib/private-sqlite-path.test.ts -33 tests/lib/process-control-graceful.test.ts -31 tests/lib/process-control.test.ts -41 tests/lib/provider-egress.test.ts -35 tests/lib/reasoning-replay-scope-source.test.ts -250 tests/lib/redact.test.ts -55 tests/lib/remove-tree-helper.test.ts -44 tests/lib/self-launch-argv.test.ts -1313 tests/lib/socks5-fetch.test.ts -50 tests/lib/socks5-reader-lifecycle.test.ts -27 tests/lib/socks5-timeout-cleanup.test.ts -74 tests/lib/socks5-tls-lifecycle.test.ts -50 tests/lib/socks5-upload-lifecycle.test.ts -164 tests/lib/spend-ceiling-enforcement.test.ts -15 tests/lib/spend-contract-c.test.ts -32 tests/lib/spend-corruption-compat.test.ts -71 tests/lib/spend-experimental-history.test.ts -84 tests/lib/spend-ledger-file-journal.test.ts -1294 tests/lib/spend-ledger-owner.test.ts -303 tests/lib/spend-pool-continuity.test.ts -57 tests/lib/spend-reservation-ledger.test.ts -798 tests/lib/spend-seed-overflow.test.ts -41 tests/lib/spend-unbound-expiry.test.ts -54 tests/lib/spend-zero-config-compat.test.ts -34 tests/lib/stall-subprocess-exit.test.ts -31 tests/lib/stall-timeout.test.ts -40 tests/lib/standalone.test.ts -28 tests/lib/strict-semver.test.ts -58 tests/lib/synced-state-location.test.ts -39 tests/lib/system-restart-contract-security.test.ts -38 tests/lib/token-estimate.test.ts -30 tests/lib/transient-budget-scope-source.test.ts -68 tests/lib/transport-null-body.test.ts -39 tests/lib/upstream-condition.test.ts -246 tests/lib/upstream-error-message-fallback.test.ts -29 tests/lib/upstream-retry-zero-output.test.ts -14020 tests/lib/upstream-retry.test.ts -259 tests/lib/worker-embed-coverage.test.ts -48 tests/lib/worker-embed.test.ts -87 tests/lib/workflow-budget.test.ts -342 tests/oauth/adapter-event-oauth-failover.test.ts -525 tests/oauth/anthropic2-discovery-ownership.test.ts -4154 tests/oauth/chatgpt-device-auth.test.ts -30 tests/oauth/chatgpt-oauth.test.ts -128 tests/oauth/chatgpt-token-boundaries.test.ts -125 tests/oauth/chatgpt-token-expiry.test.ts -10145 tests/oauth/dsh-login.test.ts -311 tests/oauth/generic-oauth-combo-account-cooldown.test.ts -359 tests/oauth/generic-oauth-failover.test.ts -289 tests/oauth/generic-oauth-refusal-composition.test.ts -710 tests/oauth/generic-session-affinity.test.ts -772 tests/oauth/key-login-live-update.test.ts -64 tests/oauth/key-login-preserves-model-costs.test.ts -57 tests/oauth/local-token-detect.test.ts -228 tests/oauth/oauth-account-attribution.test.ts -1292 tests/oauth/oauth-account-auto-pause-revision.test.ts -215 tests/oauth/oauth-account-auto-pause.test.ts -67 tests/oauth/oauth-account-id-collision.test.ts -139 tests/oauth/oauth-account-plans.test.ts -103 tests/oauth/oauth-account-quota-rank.test.ts -1097 tests/oauth/oauth-accounts-api.test.ts -210 tests/oauth/oauth-anthropic-identity.test.ts -310 tests/oauth/oauth-anthropic-instance-health.test.ts -699 tests/oauth/oauth-anthropic-instance-multiprocess.test.ts -498 tests/oauth/oauth-anthropic-instance-refresh.test.ts -377 tests/oauth/oauth-anthropic-instance-registration.test.ts -33 tests/oauth/oauth-callback-binds.test.ts -42 tests/oauth/oauth-callback-server.test.ts -3032 tests/oauth/oauth-code-login.test.ts -70 tests/oauth/oauth-device-code-contract.test.ts -119 tests/oauth/oauth-health.test.ts -1182 tests/oauth/oauth-kiro-refresh-attention.test.ts -55 tests/oauth/oauth-log.test.ts -111 tests/oauth/oauth-login-cli-browser-launch.test.ts -3109 tests/oauth/oauth-login-cli-errors.test.ts -535 tests/oauth/oauth-login-cli-live-update.test.ts -82 tests/oauth/oauth-login-open-browser.test.ts -46 tests/oauth/oauth-login-summary.test.ts -507 tests/oauth/oauth-manual-code.test.ts -405 tests/oauth/oauth-meta-muse-login-diagnostics.test.ts -68 tests/oauth/oauth-open-browser-choice.test.ts -70 tests/oauth/oauth-open-url-result.test.ts -196 tests/oauth/oauth-provider-reconcile.test.ts -375 tests/oauth/oauth-public-surface.test.ts -165 tests/oauth/oauth-reauth-bind.test.ts -72 tests/oauth/oauth-reconcile-operator-maps.test.ts -564 tests/oauth/oauth-refresh-generic-lock.test.ts -3007 tests/oauth/oauth-refresh-lock-multiprocess.test.ts -453 tests/oauth/oauth-refresh-stale-capacity.test.ts -1303 tests/oauth/oauth-refresh.test.ts -322 tests/oauth/oauth-status-privacy.test.ts -640 tests/oauth/oauth-store-multi.test.ts -218 tests/oauth/oauth-store-quota-isolation.test.ts -96 tests/oauth/oauth-upsert-paused-api-key.test.ts -112 tests/oauth/oauth-upsert-preserves-api-key.test.ts -31 tests/oauth/pool-kernel-generic-sweep.test.ts -93 tests/oauth/state-store-sweeper.test.ts -57 tests/oauth/workbuddy-login.test.ts -585 tests/providers/aistupidlevel-provider.test.ts -61 tests/providers/alibaba-region-backup.test.ts -99 tests/providers/alibaba-region-migration.test.ts -42 tests/providers/alibaba-region-startup.test.ts -145 tests/providers/alibaba-token-plan-responses-optin.test.ts -256 tests/providers/alibaba-token-plan-wire-defaults.test.ts -116 tests/providers/api-key-auto-pause-distribution.test.ts -91 tests/providers/api-key-catalog-authority.test.ts -44 tests/providers/api-key-selection-capture.test.ts -92 tests/providers/api-key-selection-cooldown.test.ts -86 tests/providers/aside-client.test.ts -52 tests/providers/auto-compact-budget.test.ts -107 tests/providers/azure-adapter.test.ts -33 tests/providers/azure-model-router-tool-schema.test.ts -212 tests/providers/azure-vendor-metadata.test.ts -98 tests/providers/baseten-provider.test.ts -236 tests/providers/cc-switch-import.test.ts -198 tests/providers/cheapaimodel-provider.test.ts -112 tests/providers/chutes-provider.test.ts -70 tests/providers/claude-chat-gateway-tool-schema.test.ts -1007 tests/providers/claude-cli-adapter.test.ts -646 tests/providers/claude-cli-client-http.test.ts -49 tests/providers/claude-cli-efficiency.test.ts -85 tests/providers/claude-cli-tool-capture.test.ts -298 tests/providers/claude-cli-usage-admission.test.ts -250 tests/providers/cline-pass-deepseek-v4-tool-replay.test.ts -267 tests/providers/cline-pass-provider.test.ts -76 tests/providers/cline-pass-reasoning-efforts.test.ts -38 tests/providers/cline-provider.test.ts -205 tests/providers/codebuddy-adapter.test.ts -36 tests/providers/codebuddy-live-acceptance.test.ts -108 tests/providers/codebuddy-live-models.test.ts -4220 tests/providers/codebuddy-mcp-server.test.ts -47 tests/providers/codebuddy-protocol.test.ts -244 tests/providers/codebuddy-tool-bridge-turn.test.ts -54 tests/providers/codebuddy-tool-bridge.test.ts -37 tests/providers/coding-agent-json-lines-scaling.test.ts -69 tests/providers/command-code-buffer-budget.test.ts -128 tests/providers/command-code-credit-failover.test.ts -1357 tests/providers/command-code-credit-rotation.test.ts -1166 tests/providers/command-code-efforts.test.ts -58 tests/providers/command-code-error-finish.test.ts -89 tests/providers/command-code-fakeip-discovery.test.ts -1281 tests/providers/command-code-plan-denial.test.ts -2195 tests/providers/command-code-project-context.test.ts -437 tests/providers/command-code-provider.test.ts -82 tests/providers/command-code-quota.test.ts -92 tests/providers/command-code-tool-text-prose-split.test.ts -347 tests/providers/command-code-tool-text.test.ts -30 tests/providers/command-code-workspace-cache.test.ts -160 tests/providers/commandcode-provider.test.ts -58 tests/providers/context-cap-unknown-window.test.ts -30 tests/providers/context-window-seed-repair.test.ts -122 tests/providers/crusoe-provider.test.ts -217 tests/providers/cursor/cursor-adapter.test.ts -30 tests/providers/cursor/cursor-arg-normalize.test.ts -85 tests/providers/cursor/cursor-blob-claude-client-tools.test.ts -36 tests/providers/cursor/cursor-blob-integrity.test.ts -285 tests/providers/cursor/cursor-blob.test.ts -40 tests/providers/cursor/cursor-call-id.test.ts -61 tests/providers/cursor/cursor-cancel-provenance.test.ts -37 tests/providers/cursor/cursor-catalog.test.ts -28 tests/providers/cursor/cursor-claude-id.test.ts -129 tests/providers/cursor/cursor-continuation-invariants.test.ts -100 tests/providers/cursor/cursor-continuity-retention.test.ts -47 tests/providers/cursor/cursor-default-catalog-suppression.test.ts -75 tests/providers/cursor/cursor-desktop-exec.test.ts -33 tests/providers/cursor/cursor-discovery.test.ts -78 tests/providers/cursor/cursor-display-names.test.ts -458 tests/providers/cursor/cursor-effort-rows.test.ts -58 tests/providers/cursor/cursor-effort-suffix.test.ts -38 tests/providers/cursor/cursor-effort-table.test.ts -117 tests/providers/cursor/cursor-envelope-echo-retry.test.ts -78 tests/providers/cursor/cursor-eof-terminal.test.ts -72 tests/providers/cursor/cursor-errors.test.ts -33 tests/providers/cursor/cursor-exec-empty-result.test.ts -66 tests/providers/cursor/cursor-fast-listing.test.ts -47 tests/providers/cursor/cursor-fast-tier.test.ts -249 tests/providers/cursor/cursor-foreground-shell.test.ts -68 tests/providers/cursor/cursor-framing.test.ts -47 tests/providers/cursor/cursor-freeform-args.test.ts -227 tests/providers/cursor/cursor-h2-pool-shutdown.test.ts -2813 tests/providers/cursor/cursor-hardening.test.ts -80 tests/providers/cursor/cursor-http1-transport.test.ts -2798 tests/providers/cursor/cursor-images.test.ts -474 tests/providers/cursor/cursor-integration-status.test.ts -67 tests/providers/cursor/cursor-interaction-query.test.ts -35 tests/providers/cursor/cursor-kv-store.test.ts -28 tests/providers/cursor/cursor-live-smoke-gate.test.ts -165 tests/providers/cursor/cursor-live-transport.test.ts -35 tests/providers/cursor/cursor-local-installer.test.ts -415 tests/providers/cursor/cursor-local-models-schema.test.ts -114 tests/providers/cursor/cursor-mcp-manager.test.ts -273 tests/providers/cursor/cursor-mcp-stdio.test.ts -34 tests/providers/cursor/cursor-message-mapper.test.ts -50 tests/providers/cursor/cursor-native-exec-common.test.ts -105 tests/providers/cursor/cursor-native-exec-policy.test.ts -148 tests/providers/cursor/cursor-native-exec-shell.test.ts -223 tests/providers/cursor/cursor-native-exec.test.ts -62 tests/providers/cursor/cursor-native-grep-globs.test.ts -68 tests/providers/cursor/cursor-oauth-shell.test.ts -721 tests/providers/cursor/cursor-oauth.test.ts -39 tests/providers/cursor/cursor-pool.test.ts -64 tests/providers/cursor/cursor-protobuf-events.test.ts -94 tests/providers/cursor/cursor-repetition-breaker.test.ts -101 tests/providers/cursor/cursor-request-builder.test.ts -59 tests/providers/cursor/cursor-request-compat.test.ts -78 tests/providers/cursor/cursor-roster-account-scope.test.ts -44 tests/providers/cursor/cursor-silent-redirect.test.ts -106 tests/providers/cursor/cursor-static-catalog.test.ts -3526 tests/providers/cursor/cursor-stream-health.test.ts -72 tests/providers/cursor/cursor-structured-edit.test.ts -49 tests/providers/cursor/cursor-tool-arg-decoding.test.ts -45 tests/providers/cursor/cursor-tool-choice.test.ts -73 tests/providers/cursor/cursor-tool-continuation.test.ts -83 tests/providers/cursor/cursor-tool-definitions.test.ts -3985 tests/providers/cursor/cursor-tool-finalize-race.test.ts -88 tests/providers/cursor/cursor-tool-result-image.test.ts -203 tests/providers/cursor/cursor-tool-result-invocation.test.ts -66 tests/providers/cursor/cursor-tool-suspended-checkpoint.test.ts -122 tests/providers/cursor/cursor-tool-wording.test.ts -66 tests/providers/cursor/cursor-toolresult-normalize.test.ts -1955 tests/providers/cursor/cursor-transport-retry.test.ts -53 tests/providers/cursor/cursor-ultra-mode.test.ts -57 tests/providers/cursor/cursor-umbrella-rows.test.ts -31 tests/providers/cursor/cursor-uncallable-quarantine.test.ts -90 tests/providers/cursor/cursor-vision-wire-harness.test.ts -178 tests/providers/cyber-policy-error-fidelity.test.ts -172 tests/providers/deepinfra-provider.test.ts -39 tests/providers/deepseek-artifact-tool-schema.test.ts -69 tests/providers/deepseek-bare-tool-call-replay.test.ts -3107 tests/providers/deepseek-image-files.test.ts -334 tests/providers/deepseek-inbound-wire.test.ts -76 tests/providers/deepseek-quota-currency.test.ts -96 tests/providers/deepseek-reasoning-replay-gaps.test.ts -79 tests/providers/deepseek-reasoning-replay.test.ts -291 tests/providers/deepseek-responses-item-id-repair.test.ts -2073 tests/providers/devin-adapter-reset-wait.test.ts -135 tests/providers/devin-adapter.test.ts -159 tests/providers/devin-anthropic-signature-fallback.test.ts -173 tests/providers/devin-chat-wire-fixes.test.ts -77 tests/providers/devin-cli-authmode-migration.test.ts -78 tests/providers/devin-effort-ladder.test.ts -74 tests/providers/devin-family-resolution.test.ts -79 tests/providers/devin-hardening.test.ts -62 tests/providers/devin-image-passthrough.test.ts -74 tests/providers/devin-live-models.test.ts -107 tests/providers/devin-login.test.ts -59 tests/providers/devin-output-budget.test.ts -115 tests/providers/devin-prompt-cache.test.ts -75 tests/providers/devin-provider-merge-migration.test.ts -80 tests/providers/devin-quota.test.ts -149 tests/providers/devin-reasoning-continuation.test.ts -51 tests/providers/devin-stated-reset-hardening.test.ts -47 tests/providers/devin-stated-reset-retry.test.ts -104 tests/providers/devin-stream-deadline.test.ts -65 tests/providers/devin-stream-queue.test.ts -48 tests/providers/devin-trajectory.test.ts -112 tests/providers/digitalocean-scaleway-provider.test.ts -514 tests/providers/dsh-account.test.ts -176 tests/providers/exa-web-search.test.ts -201 tests/providers/explicit-key-pause-oauth-boundary.test.ts -81 tests/providers/fast-row-ingress.test.ts -123 tests/providers/featherless-provider.test.ts -134 tests/providers/flash-route-image-modalities.test.ts -381 tests/providers/forward-admission-separation.test.ts -38 tests/providers/free-directory-runcrate.test.ts -463 tests/providers/github-copilot/github-copilot-account-origin.test.ts -2109 tests/providers/github-copilot/github-copilot-auto-runtime.test.ts -62 tests/providers/github-copilot/github-copilot-auto.test.ts -81 tests/providers/github-copilot/github-copilot-catalog-hints.test.ts -54 tests/providers/github-copilot/github-copilot-context-tier.test.ts -16100 tests/providers/github-copilot/github-copilot-oauth.test.ts -43 tests/providers/github-copilot/github-copilot-sse-rewrite.test.ts -525 tests/providers/github-copilot/github-copilot-stream-contract.test.ts -358 tests/providers/github-copilot/github-copilot-wire-defaults.test.ts -1657 tests/providers/gpt61-terra-provider-rows.test.ts -86 tests/providers/haiku-5-5-catalog.test.ts -129 tests/providers/hyperbolic-provider.test.ts -294 tests/providers/initial-model-selection.test.ts -374 tests/providers/initial-selection-write-fence.test.ts -111 tests/providers/jev-provider.test.ts -82 tests/providers/kimi-coding-output-include.test.ts -106 tests/providers/kimi-monthly-quota.test.ts -213 tests/providers/kimi-oauth-identity.test.ts -111 tests/providers/kimi-responses-adjacency.test.ts -53 tests/providers/kiro/kiro-account-load.test.ts -152 tests/providers/kiro/kiro-account-quota.test.ts -3924 tests/providers/kiro/kiro-account-state-disk.test.ts -702 tests/providers/kiro/kiro-account-state-imports.test.ts -234 tests/providers/kiro/kiro-adapter.test.ts -359 tests/providers/kiro/kiro-auth-context-continuation.test.ts -81 tests/providers/kiro/kiro-auto-selection.test.ts -90 tests/providers/kiro/kiro-builder-id-profile.test.ts -78 tests/providers/kiro/kiro-calibration.test.ts -60 tests/providers/kiro/kiro-completion-retry-wording.test.ts -94 tests/providers/kiro/kiro-completion-with-real-tools.test.ts -182 tests/providers/kiro/kiro-content-filter.test.ts -86 tests/providers/kiro/kiro-device-builder.test.ts -121 tests/providers/kiro/kiro-device-iam.test.ts -166 tests/providers/kiro/kiro-device-social.test.ts -81 tests/providers/kiro/kiro-fallback-error-body.test.ts -2897 tests/providers/kiro/kiro-images.test.ts -1236 tests/providers/kiro/kiro-leased-responses.test.ts -40 tests/providers/kiro/kiro-metering-events.test.ts -83 tests/providers/kiro/kiro-metering-usage.test.ts -183 tests/providers/kiro/kiro-model-catalog.test.ts -96 tests/providers/kiro/kiro-model-preference.test.ts -154 tests/providers/kiro/kiro-oauth.test.ts -260 tests/providers/kiro/kiro-org-user-identity.test.ts -465 tests/providers/kiro/kiro-pool-load-settings.test.ts -106 tests/providers/kiro/kiro-pool-rank.test.ts -77 tests/providers/kiro/kiro-quota-metrics.test.ts -92 tests/providers/kiro/kiro-reasoning-roundtrip.test.ts -1569 tests/providers/kiro/kiro-refusal-failover.test.ts -61 tests/providers/kiro/kiro-refusal.test.ts -93 tests/providers/kiro/kiro-remote-image.test.ts -579 tests/providers/kiro/kiro-retry.test.ts -116 tests/providers/kiro/kiro-review-regressions.test.ts -72 tests/providers/kiro/kiro-single-final.test.ts -222 tests/providers/kiro/kiro-stream.test.ts -133 tests/providers/kiro/kiro-structured-output-strict.test.ts -116 tests/providers/kiro/kiro-structured-output.test.ts -133 tests/providers/kiro/kiro-tool-byte-accounting.test.ts -552 tests/providers/kiro/kiro-transport-parity.test.ts -77 tests/providers/kiro/kiro-usage-quota.test.ts -62 tests/providers/kiro/kiro-usage-restart.test.ts -47 tests/providers/kiro/kiro-windows-cli-db-path.test.ts -24 tests/providers/kiro/kiro-windows-cli-executable-path.test.ts -53 tests/providers/kiro/kiro-wire-estimate.test.ts -120 tests/providers/meta-model-api-provider.test.ts -78 tests/providers/meta-muse-device.test.ts -5129 tests/providers/meta-muse-keychain.test.ts -103 tests/providers/meta-muse-login-order.test.ts -138 tests/providers/meta-muse-oauth.test.ts -168 tests/providers/meta-muse-plan-refusal.test.ts -67 tests/providers/meta-muse-wonder.test.ts -136 tests/providers/mimo-effort.test.ts -199 tests/providers/mimo-free-provider.test.ts -76 tests/providers/mimo-token-plan-capacity.test.ts -133 tests/providers/mimo-token-plan-provider.test.ts -83 tests/providers/mimo-v26-catalog.test.ts -340 tests/providers/minimax-clients.test.ts -1592 tests/providers/minimax-combo-image-input.test.ts -132 tests/providers/minimax-quota.test.ts -98 tests/providers/minimax-reasoning-split.test.ts -155 tests/providers/mistral-image-limit.test.ts -195 tests/providers/mistral-reasoning-efforts.test.ts -371 tests/providers/mistral-recovery.test.ts -48 tests/providers/model-presets.test.ts -128 tests/providers/model-rename-migration.test.ts -151 tests/providers/model-roster-seed-repair.test.ts -90 tests/providers/modelflare-provider.test.ts -33 tests/providers/moonshot-developer-role.test.ts -59 tests/providers/moonshot-endpoints.test.ts +46 tests/gui/oauth-first-add-hint.test.ts +87 tests/gui/oauth-tos-warning.test.ts +508 tests/gui/platform-dialog-guard.test.ts +80 tests/gui/provider-payload.test.ts +104 tests/gui/provider-subscription-cli.test.ts +189 tests/gui/provider-workspace-auth.test.ts +129 tests/gui/provider-workspace-data.test.ts +82 tests/gui/provider-workspace-rail.test.ts +70 tests/gui/provider-workspace-state.test.ts +132 tests/gui/quota-bars-rows.test.ts +69 tests/gui/qwen-cloud-endpoints.test.ts +91 tests/gui/rate-limit-reset-credits.test.ts +58 tests/gui/routing-intelligence-ui.test.ts +60 tests/gui/routing-profile-editor-data.test.ts +36 tests/gui/standalone-build-script.test.ts +642 tests/gui/startup-health-ui.test.ts +155 tests/gui/tencent-siliconflow-providers.test.ts +114 tests/gui/vision-sidecar-timeout-bounds.test.ts +188 tests/gui/volcengine-providers.test.ts +104 tests/images/artifacts-prune.test.ts +99 tests/images/artifacts-ssrf.test.ts +76 tests/images/download-cap-default.test.ts +66 tests/images/download-connect-deadline-default.test.ts +170 tests/images/gemini-inline.test.ts +120 tests/images/loop-reasoning-replay.test.ts +135 tests/images/loop-terminal-refusal.test.ts +3185 tests/images/loop.test.ts +68 tests/images/pinned-https-get.test.ts +89 tests/images/plan.test.ts +57 tests/images/synthetic-tool.test.ts +116 tests/images/xai-client.test.ts +89 tests/images/z-fulfill.test.ts +374 tests/images/z-handler-activation.test.ts +457 tests/lab/core-lab-boundary.test.ts +351 tests/lab/core-link-boundary.test.ts +422 tests/lab/lab-activation.test.ts +227 tests/lab/lab-automation-coderabbit-regressions.test.ts +325 tests/lab/lab-automation-final-coderabbit-regressions.test.ts +199 tests/lab/lab-automation-ingwannu-regressions.test.ts +384 tests/lab/lab-automation-management-http.test.ts +48 tests/lab/lab-automation-persisted-cap-regression.test.ts +427 tests/lab/lab-automation-review-regressions.test.ts +442 tests/lab/lab-automation.test.ts +281 tests/lab/lab-community-evidence.test.ts +177 tests/lab/lab-community-filename-contract.test.ts +228 tests/lab/lab-community-mutation-lock.test.ts +175 tests/lab/lab-community-publisher-continuity.test.ts +173 tests/lab/lab-conformance-harness.test.ts +138 tests/lab/lab-conformance-runner-failures.test.ts +366 tests/lab/lab-evidence-ledger.test.ts +383 tests/lab/lab-evidence-sanitization.test.ts +166 tests/lab/lab-fabric-outcome-validation.test.ts +52 tests/lab/lab-fabric-persistence-boundary.test.ts +165 tests/lab/lab-fabric-producer-deadline.test.ts +95931 tests/lab/lab-fabric-task.test.ts +101 tests/lab/lab-installation-salt-cache.test.ts +829 tests/lab/lab-ledger-mutation-lock.test.ts +296 tests/lab/lab-live-pinned-timeouts.test.ts +197 tests/lab/lab-live-probe.test.ts +122 tests/lab/lab-live-receipt-integrity.test.ts +359 tests/lab/lab-live-review-regressions.test.ts +275 tests/lab/lab-live-sandbox.test.ts +232 tests/lab/lab-passive-production-evidence.test.ts +343 tests/lab/lab-passive-production-surfaces.test.ts +53 tests/lab/lab-paths-security.test.ts +190 tests/lab/lab-post-merge-hardening.test.ts +135 tests/lab/lab-post-merge-projection.test.ts +64 tests/lab/lab-private-file-consumer-recovery.test.ts +73 tests/lab/lab-private-file-durability.test.ts +170 tests/lab/lab-public-api-json.test.ts +143 tests/lab/lab-public-artifact-policy.test.ts +220 tests/lab/lab-public-coderabbit-regressions.test.ts +85 tests/lab/lab-public-core-contract.test.ts +147 tests/lab/lab-public-deep-review-regressions.test.ts +168 tests/lab/lab-public-evidence.test.ts +152 tests/lab/lab-public-export-transaction.test.ts +71 tests/lab/lab-public-file-safety.test.ts +172 tests/lab/lab-public-final-review-regressions.test.ts +160 tests/lab/lab-public-lifecycle-hardening.test.ts +57 tests/lab/lab-public-privacy-ipv6.test.ts +428 tests/lab/lab-public-provenance-recovery.test.ts +418 tests/lab/lab-public-review-fixes.test.ts +54 tests/lab/lab-public-route-registry.test.ts +81 tests/lab/lab-public-security-regressions.test.ts +327 tests/lab/lab-public-surfaces.test.ts +79 tests/lab/lab-public-wire-contract.test.ts +303 tests/lab/lab-read-filter-validation.test.ts +570 tests/lab/lab-read-surfaces.test.ts +856 tests/lab/link-child-ops-no-timer.test.ts +772 tests/lib/abort-idle-deadline.test.ts +47 tests/lib/acl-error-classification.test.ts +483 tests/lib/ambiguous-resend-composition.test.ts +54 tests/lib/ambiguous-resend-gate.test.ts +60 tests/lib/authorization-scheme.test.ts +68 tests/lib/bounded-file-read.test.ts +148 tests/lib/bun-runtime-preflight.test.ts +48 tests/lib/bun-stream-caps.test.ts +144 tests/lib/clearable-deadline.test.ts +99 tests/lib/client-error-body.test.ts +54 tests/lib/client-retry-after.test.ts +388 tests/lib/credential-redirect-guard.test.ts +59 tests/lib/debug.test.ts +70 tests/lib/definite-overflow-verdict.test.ts +52 tests/lib/developer-role-rejection.test.ts +157 tests/lib/execution-budget-permits.test.ts +112 tests/lib/failure-attribution.test.ts +72 tests/lib/failure-stage-model.test.ts +76 tests/lib/file-identity-callers.test.ts +58 tests/lib/file-identity.test.ts +55 tests/lib/fix-jsonc-cr-comments.test.ts +41 tests/lib/fix-jsonc-empty-comma.test.ts +50 tests/lib/fix-plain-data-own-keys.test.ts +51 tests/lib/fix-plain-data-shape.test.ts +65 tests/lib/fix-retry-release-timer.test.ts +119 tests/lib/local-chat-completion.test.ts +72 tests/lib/local-destinations.test.ts +55 tests/lib/local-upstream.test.ts +64 tests/lib/messages-sse-error-presentation.test.ts +3112 tests/lib/opaque-proxy-tunnel-protocol.test.ts +520 tests/lib/opaque-proxy-tunnel.test.ts +981 tests/lib/optional-desktop-upstream.test.ts +244 tests/lib/optional-shutdown-hooks.test.ts +97 tests/lib/pinned-http-content-coding.test.ts +1777 tests/lib/pinned-http.test.ts +338 tests/lib/plugin-loader.test.ts +56 tests/lib/plugin-upstream-hooks.test.ts +50 tests/lib/privacy-mask-account.test.ts +84 tests/lib/private-sqlite-path.test.ts +97 tests/lib/process-control-graceful.test.ts +52 tests/lib/process-control.test.ts +49 tests/lib/provider-egress.test.ts +56 tests/lib/reasoning-replay-scope-source.test.ts +350 tests/lib/redact.test.ts +75 tests/lib/remove-tree-helper.test.ts +45 tests/lib/self-launch-argv.test.ts +1263 tests/lib/socks5-fetch.test.ts +60 tests/lib/socks5-reader-lifecycle.test.ts +123 tests/lib/socks5-timeout-cleanup.test.ts +119 tests/lib/socks5-tls-lifecycle.test.ts +132 tests/lib/socks5-upload-lifecycle.test.ts +192 tests/lib/spend-ceiling-enforcement.test.ts +56 tests/lib/spend-contract-c.test.ts +93 tests/lib/spend-corruption-compat.test.ts +69 tests/lib/spend-experimental-history.test.ts +177 tests/lib/spend-ledger-file-journal.test.ts +1131 tests/lib/spend-ledger-owner.test.ts +305 tests/lib/spend-pool-continuity.test.ts +58 tests/lib/spend-reservation-ledger.test.ts +997 tests/lib/spend-seed-overflow.test.ts +58 tests/lib/spend-unbound-expiry.test.ts +66 tests/lib/spend-zero-config-compat.test.ts +61 tests/lib/stall-subprocess-exit.test.ts +57 tests/lib/stall-timeout.test.ts +48 tests/lib/standalone.test.ts +94 tests/lib/strict-semver.test.ts +46 tests/lib/synced-state-location.test.ts +88 tests/lib/system-restart-contract-security.test.ts +56 tests/lib/terminal-safe-text.test.ts +62 tests/lib/token-estimate.test.ts +50 tests/lib/transient-budget-scope-source.test.ts +89 tests/lib/transport-null-body.test.ts +49 tests/lib/upstream-condition.test.ts +176 tests/lib/upstream-error-message-fallback.test.ts +53 tests/lib/upstream-retry-zero-output.test.ts +14249 tests/lib/upstream-retry.test.ts +278 tests/lib/worker-embed-coverage.test.ts +55 tests/lib/worker-embed.test.ts +151 tests/lib/workflow-budget.test.ts +538 tests/oauth/adapter-event-oauth-failover.test.ts +752 tests/oauth/anthropic2-discovery-ownership.test.ts +4151 tests/oauth/chatgpt-device-auth.test.ts +76 tests/oauth/chatgpt-oauth.test.ts +120 tests/oauth/chatgpt-token-boundaries.test.ts +136 tests/oauth/chatgpt-token-expiry.test.ts +103 tests/oauth/claude-keychain-read.test.ts +10168 tests/oauth/dsh-login.test.ts +401 tests/oauth/generic-oauth-combo-account-cooldown.test.ts +430 tests/oauth/generic-oauth-failover.test.ts +443 tests/oauth/generic-oauth-refusal-composition.test.ts +368 tests/oauth/generic-session-affinity.test.ts +532 tests/oauth/key-login-live-update.test.ts +144 tests/oauth/key-login-preserves-model-costs.test.ts +54 tests/oauth/local-token-detect.test.ts +388 tests/oauth/oauth-account-attribution.test.ts +1167 tests/oauth/oauth-account-auto-pause-revision.test.ts +452 tests/oauth/oauth-account-auto-pause.test.ts +115 tests/oauth/oauth-account-id-collision.test.ts +262 tests/oauth/oauth-account-plans.test.ts +168 tests/oauth/oauth-account-quota-rank.test.ts +1091 tests/oauth/oauth-account-resume-if-healthy.test.ts +2202 tests/oauth/oauth-accounts-api.test.ts +355 tests/oauth/oauth-anthropic-identity.test.ts +403 tests/oauth/oauth-anthropic-instance-health.test.ts +1032 tests/oauth/oauth-anthropic-instance-multiprocess.test.ts +410 tests/oauth/oauth-anthropic-instance-refresh.test.ts +638 tests/oauth/oauth-anthropic-instance-registration.test.ts +288 tests/oauth/oauth-antigravity-risk.test.ts +53 tests/oauth/oauth-callback-binds.test.ts +71 tests/oauth/oauth-callback-server.test.ts +9611 tests/oauth/oauth-code-login.test.ts +144 tests/oauth/oauth-credential-siblings.test.ts +57 tests/oauth/oauth-device-code-contract.test.ts +220 tests/oauth/oauth-health.test.ts +638 tests/oauth/oauth-kiro-refresh-attention.test.ts +52 tests/oauth/oauth-log.test.ts +192 tests/oauth/oauth-login-cli-browser-launch.test.ts +5368 tests/oauth/oauth-login-cli-errors.test.ts +749 tests/oauth/oauth-login-cli-live-update.test.ts +138 tests/oauth/oauth-login-open-browser.test.ts +99 tests/oauth/oauth-login-summary.test.ts +667 tests/oauth/oauth-manual-code.test.ts +327 tests/oauth/oauth-meta-muse-login-diagnostics.test.ts +165 tests/oauth/oauth-open-browser-choice.test.ts +103 tests/oauth/oauth-open-url-result.test.ts +285 tests/oauth/oauth-provider-reconcile.test.ts +502 tests/oauth/oauth-public-surface.test.ts +298 tests/oauth/oauth-reauth-bind.test.ts +156 tests/oauth/oauth-reconcile-operator-maps.test.ts +169 tests/oauth/oauth-refresh-connection-refused.test.ts +833 tests/oauth/oauth-refresh-generic-lock.test.ts +3081 tests/oauth/oauth-refresh-lock-multiprocess.test.ts +614 tests/oauth/oauth-refresh-stale-capacity.test.ts +1656 tests/oauth/oauth-refresh.test.ts +331 tests/oauth/oauth-status-privacy.test.ts +1166 tests/oauth/oauth-store-multi.test.ts +99 tests/oauth/oauth-store-quota-isolation.test.ts +88 tests/oauth/oauth-upsert-paused-api-key.test.ts +226 tests/oauth/oauth-upsert-preserves-api-key.test.ts +63 tests/oauth/pool-kernel-generic-sweep.test.ts +220 tests/oauth/state-store-sweeper.test.ts +63 tests/oauth/workbuddy-login.test.ts +579 tests/providers/aistupidlevel-provider.test.ts +57 tests/providers/alibaba-region-backup.test.ts +100 tests/providers/alibaba-region-migration.test.ts +56 tests/providers/alibaba-region-startup.test.ts +72 tests/providers/alibaba-token-plan-developer-role.test.ts +365 tests/providers/alibaba-token-plan-responses-optin.test.ts +431 tests/providers/alibaba-token-plan-wire-defaults.test.ts +929 tests/providers/api-key-auto-pause-distribution.test.ts +135 tests/providers/api-key-catalog-authority.test.ts +53 tests/providers/api-key-selection-capture.test.ts +170 tests/providers/api-key-selection-cooldown.test.ts +143 tests/providers/aside-client.test.ts +60 tests/providers/auto-compact-budget.test.ts +159 tests/providers/azure-adapter.test.ts +64 tests/providers/azure-model-router-tool-schema.test.ts +248 tests/providers/azure-vendor-metadata.test.ts +141 tests/providers/baseten-provider.test.ts +371 tests/providers/cache-affinity.test.ts +392 tests/providers/cc-switch-import.test.ts +141 tests/providers/cheapaimodel-provider.test.ts +165 tests/providers/chutes-provider.test.ts +128 tests/providers/claude-chat-gateway-tool-schema.test.ts +1039 tests/providers/claude-cli-adapter.test.ts +721 tests/providers/claude-cli-client-http.test.ts +54 tests/providers/claude-cli-efficiency.test.ts +320 tests/providers/claude-cli-fixture-stdout-flush.test.ts +110 tests/providers/claude-cli-tool-capture.test.ts +350 tests/providers/claude-cli-usage-admission.test.ts +121 tests/providers/cline-pass-deepseek-v4-tool-replay.test.ts +116 tests/providers/cline-pass-provider.test.ts +185 tests/providers/cline-pass-reasoning-efforts.test.ts +55 tests/providers/cline-provider.test.ts +206 tests/providers/codebuddy-adapter.test.ts +59 tests/providers/codebuddy-live-acceptance.test.ts +151 tests/providers/codebuddy-live-models.test.ts +2903 tests/providers/codebuddy-mcp-server.test.ts +70 tests/providers/codebuddy-protocol.test.ts +283 tests/providers/codebuddy-tool-bridge-turn.test.ts +74 tests/providers/codebuddy-tool-bridge.test.ts +65 tests/providers/coding-agent-json-lines-scaling.test.ts +56 tests/providers/command-code-buffer-budget.test.ts +501 tests/providers/command-code-credit-failover.test.ts +822 tests/providers/command-code-credit-rotation.test.ts +347 tests/providers/command-code-efforts.test.ts +101 tests/providers/command-code-error-finish.test.ts +144 tests/providers/command-code-fakeip-discovery.test.ts +1020 tests/providers/command-code-plan-denial.test.ts +2176 tests/providers/command-code-project-context.test.ts +482 tests/providers/command-code-provider.test.ts +104 tests/providers/command-code-quota.test.ts +756 tests/providers/command-code-tool-schema.test.ts +533 tests/providers/command-code-tool-text-prose-split.test.ts +421 tests/providers/command-code-tool-text.test.ts +57 tests/providers/command-code-workspace-cache.test.ts +207 tests/providers/commandcode-provider.test.ts +52 tests/providers/context-cap-unknown-window.test.ts +106 tests/providers/context-window-seed-repair.test.ts +204 tests/providers/crusoe-provider.test.ts +279 tests/providers/cursor/cursor-adapter.test.ts +51 tests/providers/cursor/cursor-arg-normalize.test.ts +131 tests/providers/cursor/cursor-auto-tool-result-replay.test.ts +99 tests/providers/cursor/cursor-blob-claude-client-tools.test.ts +76 tests/providers/cursor/cursor-blob-integrity.test.ts +353 tests/providers/cursor/cursor-blob.test.ts +55 tests/providers/cursor/cursor-call-id.test.ts +118 tests/providers/cursor/cursor-cancel-provenance.test.ts +56 tests/providers/cursor/cursor-catalog.test.ts +43 tests/providers/cursor/cursor-claude-id.test.ts +181 tests/providers/cursor/cursor-continuation-invariants.test.ts +173 tests/providers/cursor/cursor-continuity-retention.test.ts +66 tests/providers/cursor/cursor-default-catalog-suppression.test.ts +107 tests/providers/cursor/cursor-desktop-exec.test.ts +60 tests/providers/cursor/cursor-discovery.test.ts +95 tests/providers/cursor/cursor-display-names.test.ts +789 tests/providers/cursor/cursor-effort-rows.test.ts +66 tests/providers/cursor/cursor-effort-suffix.test.ts +53 tests/providers/cursor/cursor-effort-table.test.ts +144 tests/providers/cursor/cursor-envelope-echo-retry.test.ts +140 tests/providers/cursor/cursor-eof-terminal.test.ts +75 tests/providers/cursor/cursor-errors.test.ts +52 tests/providers/cursor/cursor-exec-empty-result.test.ts +136 tests/providers/cursor/cursor-fast-listing.test.ts +74 tests/providers/cursor/cursor-fast-tier.test.ts +211 tests/providers/cursor/cursor-foreground-shell.test.ts +118 tests/providers/cursor/cursor-framing.test.ts +77 tests/providers/cursor/cursor-freeform-args.test.ts +219 tests/providers/cursor/cursor-h2-pool-shutdown.test.ts +2785 tests/providers/cursor/cursor-hardening.test.ts +126 tests/providers/cursor/cursor-http1-transport.test.ts +3013 tests/providers/cursor/cursor-images.test.ts +725 tests/providers/cursor/cursor-integration-status.test.ts +150 tests/providers/cursor/cursor-interaction-query.test.ts +46 tests/providers/cursor/cursor-kv-store.test.ts +47 tests/providers/cursor/cursor-live-smoke-gate.test.ts +215 tests/providers/cursor/cursor-live-transport.test.ts +55 tests/providers/cursor/cursor-local-installer.test.ts +653 tests/providers/cursor/cursor-local-models-schema.test.ts +198 tests/providers/cursor/cursor-mcp-manager.test.ts +455 tests/providers/cursor/cursor-mcp-stdio.test.ts +50 tests/providers/cursor/cursor-message-mapper.test.ts +75 tests/providers/cursor/cursor-native-exec-common.test.ts +123 tests/providers/cursor/cursor-native-exec-policy.test.ts +162 tests/providers/cursor/cursor-native-exec-shell.test.ts +364 tests/providers/cursor/cursor-native-exec.test.ts +81 tests/providers/cursor/cursor-native-grep-globs.test.ts +113 tests/providers/cursor/cursor-oauth-shell.test.ts +672 tests/providers/cursor/cursor-oauth.test.ts +71 tests/providers/cursor/cursor-pool.test.ts +87 tests/providers/cursor/cursor-protobuf-events.test.ts +140 tests/providers/cursor/cursor-repetition-breaker.test.ts +156 tests/providers/cursor/cursor-request-builder.test.ts +95 tests/providers/cursor/cursor-request-compat.test.ts +116 tests/providers/cursor/cursor-roster-account-scope.test.ts +67 tests/providers/cursor/cursor-silent-redirect.test.ts +129 tests/providers/cursor/cursor-static-catalog.test.ts +3522 tests/providers/cursor/cursor-stream-health.test.ts +106 tests/providers/cursor/cursor-structured-edit.test.ts +74 tests/providers/cursor/cursor-tool-arg-decoding.test.ts +72 tests/providers/cursor/cursor-tool-choice.test.ts +102 tests/providers/cursor/cursor-tool-continuation.test.ts +93 tests/providers/cursor/cursor-tool-definitions.test.ts +4003 tests/providers/cursor/cursor-tool-finalize-race.test.ts +120 tests/providers/cursor/cursor-tool-result-image.test.ts +249 tests/providers/cursor/cursor-tool-result-invocation.test.ts +110 tests/providers/cursor/cursor-tool-suspended-checkpoint.test.ts +148 tests/providers/cursor/cursor-tool-wording.test.ts +108 tests/providers/cursor/cursor-toolresult-normalize.test.ts +1856 tests/providers/cursor/cursor-transport-retry.test.ts +76 tests/providers/cursor/cursor-ultra-mode.test.ts +88 tests/providers/cursor/cursor-umbrella-rows.test.ts +39 tests/providers/cursor/cursor-uncallable-quarantine.test.ts +87 tests/providers/cursor/cursor-vision-wire-harness.test.ts +484 tests/providers/cyber-policy-error-fidelity.test.ts +171 tests/providers/deepinfra-provider.test.ts +49 tests/providers/deepseek-artifact-tool-schema.test.ts +94 tests/providers/deepseek-bare-tool-call-replay.test.ts +4324 tests/providers/deepseek-image-files.test.ts +668 tests/providers/deepseek-inbound-wire.test.ts +126 tests/providers/deepseek-quota-currency.test.ts +127 tests/providers/deepseek-reasoning-replay-gaps.test.ts +178 tests/providers/deepseek-reasoning-replay.test.ts +411 tests/providers/deepseek-responses-item-id-repair.test.ts +2127 tests/providers/devin-adapter-reset-wait.test.ts +204 tests/providers/devin-adapter.test.ts +169 tests/providers/devin-anthropic-signature-fallback.test.ts +235 tests/providers/devin-chat-wire-fixes.test.ts +72 tests/providers/devin-cli-authmode-migration.test.ts +89 tests/providers/devin-effort-ladder.test.ts +131 tests/providers/devin-family-resolution.test.ts +121 tests/providers/devin-hardening.test.ts +83 tests/providers/devin-image-passthrough.test.ts +166 tests/providers/devin-live-models.test.ts +129 tests/providers/devin-login.test.ts +180 tests/providers/devin-output-budget.test.ts +145 tests/providers/devin-prompt-cache.test.ts +76 tests/providers/devin-provider-merge-migration.test.ts +130 tests/providers/devin-quota.test.ts +187 tests/providers/devin-reasoning-continuation.test.ts +54 tests/providers/devin-stated-reset-hardening.test.ts +57 tests/providers/devin-stated-reset-retry.test.ts +78 tests/providers/devin-stream-deadline.test.ts +97 tests/providers/devin-stream-queue.test.ts +62 tests/providers/devin-trajectory.test.ts +170 tests/providers/digitalocean-scaleway-provider.test.ts +662 tests/providers/dsh-account.test.ts +214 tests/providers/exa-web-search.test.ts +297 tests/providers/explicit-key-pause-oauth-boundary.test.ts +89 tests/providers/fast-row-ingress.test.ts +221 tests/providers/featherless-provider.test.ts +131 tests/providers/flash-route-image-modalities.test.ts +561 tests/providers/forward-admission-separation.test.ts +51 tests/providers/free-directory-llmtr.test.ts +73 tests/providers/free-directory-runcrate.test.ts +584 tests/providers/github-copilot/github-copilot-account-origin.test.ts +2360 tests/providers/github-copilot/github-copilot-auto-runtime.test.ts +86 tests/providers/github-copilot/github-copilot-auto.test.ts +108 tests/providers/github-copilot/github-copilot-catalog-hints.test.ts +114 tests/providers/github-copilot/github-copilot-context-tier.test.ts +16078 tests/providers/github-copilot/github-copilot-oauth.test.ts +58 tests/providers/github-copilot/github-copilot-sse-rewrite.test.ts +254 tests/providers/github-copilot/github-copilot-stream-contract.test.ts +462 tests/providers/github-copilot/github-copilot-wire-defaults.test.ts +455 tests/providers/gpt61-terra-provider-rows.test.ts +164 tests/providers/gpt62-provider-rows.test.ts +62 tests/providers/haiku-5-5-catalog.test.ts +127 tests/providers/hyperbolic-provider.test.ts +542 tests/providers/initial-model-selection.test.ts +412 tests/providers/initial-selection-write-fence.test.ts +120 tests/providers/jev-provider.test.ts +114 tests/providers/kimi-coding-output-include.test.ts +370 tests/providers/kimi-monthly-quota.test.ts +136 tests/providers/kimi-oauth-identity.test.ts +136 tests/providers/kimi-responses-adjacency.test.ts +1132 tests/providers/kimi-responses-sibling-routes.test.ts +69 tests/providers/kiro/kiro-account-load.test.ts +125 tests/providers/kiro/kiro-account-quota.test.ts +4378 tests/providers/kiro/kiro-account-state-disk.test.ts +772 tests/providers/kiro/kiro-account-state-imports.test.ts +218 tests/providers/kiro/kiro-adapter.test.ts +264 tests/providers/kiro/kiro-auth-context-continuation.test.ts +105 tests/providers/kiro/kiro-auto-selection.test.ts +106 tests/providers/kiro/kiro-builder-id-profile.test.ts +53 tests/providers/kiro/kiro-calibration.test.ts +107 tests/providers/kiro/kiro-completion-retry-wording.test.ts +113 tests/providers/kiro/kiro-completion-with-real-tools.test.ts +137 tests/providers/kiro/kiro-content-filter.test.ts +97 tests/providers/kiro/kiro-device-builder.test.ts +175 tests/providers/kiro/kiro-device-iam.test.ts +235 tests/providers/kiro/kiro-device-social.test.ts +114 tests/providers/kiro/kiro-fallback-error-body.test.ts +2600 tests/providers/kiro/kiro-images.test.ts +1345 tests/providers/kiro/kiro-leased-responses.test.ts +47 tests/providers/kiro/kiro-metering-events.test.ts +99 tests/providers/kiro/kiro-metering-usage.test.ts +207 tests/providers/kiro/kiro-model-catalog.test.ts +130 tests/providers/kiro/kiro-model-preference.test.ts +233 tests/providers/kiro/kiro-oauth.test.ts +358 tests/providers/kiro/kiro-org-user-identity.test.ts +1537 tests/providers/kiro/kiro-pinned-effort-ultra.test.ts +501 tests/providers/kiro/kiro-pool-load-settings.test.ts +146 tests/providers/kiro/kiro-pool-rank.test.ts +115 tests/providers/kiro/kiro-quota-metrics.test.ts +116 tests/providers/kiro/kiro-reasoning-roundtrip.test.ts +1565 tests/providers/kiro/kiro-refusal-failover.test.ts +81 tests/providers/kiro/kiro-refusal.test.ts +100 tests/providers/kiro/kiro-remote-image.test.ts +577 tests/providers/kiro/kiro-retry.test.ts +174 tests/providers/kiro/kiro-review-regressions.test.ts +107 tests/providers/kiro/kiro-single-final.test.ts +297 tests/providers/kiro/kiro-stream.test.ts +155 tests/providers/kiro/kiro-structured-output-strict.test.ts +133 tests/providers/kiro/kiro-structured-output.test.ts +96 tests/providers/kiro/kiro-tool-byte-accounting.test.ts +134 tests/providers/kiro/kiro-tool-catalog.test.ts +545 tests/providers/kiro/kiro-transport-parity.test.ts +90 tests/providers/kiro/kiro-usage-quota.test.ts +113 tests/providers/kiro/kiro-usage-restart.test.ts +52 tests/providers/kiro/kiro-windows-cli-db-path.test.ts +51 tests/providers/kiro/kiro-windows-cli-executable-path.test.ts +91 tests/providers/kiro/kiro-wire-estimate.test.ts +177 tests/providers/meta-model-api-provider.test.ts +107 tests/providers/meta-muse-device.test.ts +5157 tests/providers/meta-muse-keychain.test.ts +95 tests/providers/meta-muse-login-order.test.ts +140 tests/providers/meta-muse-oauth.test.ts +142 tests/providers/meta-muse-plan-refusal.test.ts +107 tests/providers/meta-muse-wonder.test.ts +47 tests/providers/mimo-effort.test.ts +196 tests/providers/mimo-free-provider.test.ts +195 tests/providers/mimo-token-plan-capacity.test.ts +144 tests/providers/mimo-token-plan-provider.test.ts +182 tests/providers/mimo-v26-catalog.test.ts +507 tests/providers/minimax-clients.test.ts +484 tests/providers/minimax-combo-image-input.test.ts +156 tests/providers/minimax-quota.test.ts +140 tests/providers/minimax-reasoning-split.test.ts +241 tests/providers/mistral-budget-quota.test.ts +332 tests/providers/mistral-image-limit.test.ts +139 tests/providers/mistral-reasoning-efforts.test.ts +535 tests/providers/mistral-recovery.test.ts +363 tests/providers/model-discovery-skip-invalid-rows.test.ts +98 tests/providers/model-presets.test.ts +202 tests/providers/model-rename-migration.test.ts +170 tests/providers/model-roster-seed-repair.test.ts +227 tests/providers/modelflare-provider.test.ts +92 tests/providers/moonshot-developer-role.test.ts +63 tests/providers/moonshot-endpoints.test.ts 379 tests/providers/moonshot-tool-schema.test.ts -93 tests/providers/muse-key-quota.test.ts -891 tests/providers/muse-passive-quota-cache.test.ts -119 tests/providers/muse-passive-quota-observation.test.ts -98 tests/providers/muse-spark-web-search-compat.test.ts -31 tests/providers/muse-subscription-usage.test.ts -69 tests/providers/muse-tool-name-alias.test.ts -308 tests/providers/new-model-policy-runtime.test.ts -34 tests/providers/new-model-policy.test.ts -56 tests/providers/nous-oauth-live.test.ts -8144 tests/providers/nous-oauth.test.ts -184 tests/providers/novita-provider.test.ts -216 tests/providers/nscale-vultr-provider.test.ts -89 tests/providers/nvidia-nim-hardening.test.ts -31 tests/providers/ollama/ollama-native-cached-usage.test.ts -429 tests/providers/ollama/ollama-native-parser.test.ts -63 tests/providers/ollama/ollama-native-reasoning-wire.test.ts -65 tests/providers/ollama/ollama-native-scaling.test.ts -41 tests/providers/ollama/ollama-native-structured-output.test.ts -143 tests/providers/ollama/ollama-native-tool-continuations.test.ts -386 tests/providers/ollama/ollama-native-v4.test.ts -74 tests/providers/ollama/ollama-native.test.ts -464 tests/providers/ollama/ollama-show-enrichment-v7.test.ts -82 tests/providers/ollama/ollama-show-enrichment.test.ts -299 tests/providers/ollama/ollama-show-ignore-abort.test.ts -203 tests/providers/opencode-cli.test.ts -80 tests/providers/opencode-go-deepseek.test.ts -469 tests/providers/opencode-go-gemini-wire.test.ts -113 tests/providers/opencode-go-grok46-responses.test.ts -369 tests/providers/opencode-go-luna-wire.test.ts -228 tests/providers/opencode-go-model-protocols.test.ts -94 tests/providers/opencode-go-muse-context.test.ts -100 tests/providers/opencode-go-muse-vision.test.ts -57 tests/providers/opencode-go-quota.test.ts -1143 tests/providers/opencode-go-session-header.test.ts -500 tests/providers/opencode-management-transport.test.ts -30 tests/providers/opencode-muse-terminal-repair.test.ts -113 tests/providers/opencode-zen-deepseek-reasoning.test.ts -264 tests/providers/opencode-zen-gemini-wire.test.ts -43 tests/providers/opencode-zen-rate-limit.test.ts -44 tests/providers/opengateway-key-validation.test.ts -107 tests/providers/opengateway-provider.test.ts -152 tests/providers/openrouter-provider-routing.test.ts -68 tests/providers/openrouter-quota-reset-cooldown-4024.test.ts -130 tests/providers/opper-provider.test.ts -204 tests/providers/orcarouter-provider.test.ts -156 tests/providers/provider-account-quota-failure-reasons.test.ts -4483 tests/providers/provider-account-quota-persistence.test.ts -715 tests/providers/provider-account-quota.test.ts -73 tests/providers/provider-anthropic-instance-quota.test.ts -88 tests/providers/provider-anthropic-instance.test.ts -81 tests/providers/provider-anthropic-usage-windows.test.ts -82 tests/providers/provider-antigravity-effort-families.test.ts -160 tests/providers/provider-antigravity-family-catalog.test.ts -85 tests/providers/provider-antigravity-model-quota.test.ts -50 tests/providers/provider-antigravity-quota-retry.test.ts -1799 tests/providers/provider-antigravity-wire-snapshot.test.ts -529 tests/providers/provider-api-keys.test.ts -54 tests/providers/provider-capacity.test.ts -672 tests/providers/provider-completion-test-authority.test.ts -338 tests/providers/provider-completion-test-ingress.test.ts -362 tests/providers/provider-completion-test.test.ts -263 tests/providers/provider-config-batch-management.test.ts -50 tests/providers/provider-config-validation.test.ts -512 tests/providers/provider-connection-test.test.ts -69 tests/providers/provider-cost-overlay-config.test.ts -45 tests/providers/provider-discovery-log-suppression.test.ts -49 tests/providers/provider-egress-outbound.test.ts -52 tests/providers/provider-id-rewrite.test.ts -184 tests/providers/provider-input-modalities.test.ts -404 tests/providers/provider-key-store.test.ts -135 tests/providers/provider-live-models.test.ts -97 tests/providers/provider-model-aliases.test.ts -186 tests/providers/provider-model-discovery-contract.test.ts -39 tests/providers/provider-outbound-private-network.test.ts -515 tests/providers/provider-outbound.test.ts -79 tests/providers/provider-quota-abliteration.test.ts -82 tests/providers/provider-quota-claude-cli.test.ts -71 tests/providers/provider-quota-label-sanitize.test.ts -103 tests/providers/provider-quota-observed-marker.test.ts -85 tests/providers/provider-quota-ollama-cloud.test.ts -510 tests/providers/provider-quota.test.ts -231 tests/providers/provider-registry-parity.test.ts -46 tests/providers/provider-runtime-fetch.test.ts -65 tests/providers/provider-static-model-discovery.test.ts -44 tests/providers/provider-tls-profile.test.ts -260 tests/providers/qoder-adapter.test.ts -1509 tests/providers/qoder-cn-image-validation.test.ts -818 tests/providers/qoder-discovery-timeout.test.ts -65 tests/providers/qoder-image-input.test.ts -170 tests/providers/qoder-live-models.test.ts -110 tests/providers/qoder-mcp-server.test.ts -103 tests/providers/qoder-scaffold-guard.test.ts -34 tests/providers/qwen38-preserve-reasoning.test.ts -216 tests/providers/rate-limit-retry.test.ts -58 tests/providers/registry-transport-alias.test.ts -134 tests/providers/resolved-model-policy.test.ts -96 tests/providers/sambanova-nebius-provider.test.ts -125 tests/providers/sponsor-presets.test.ts -99 tests/providers/stepfun-provider.test.ts -161 tests/providers/tokenlab-protocols.test.ts -186 tests/providers/tokenlab-provider.test.ts -245 tests/providers/umans-provider.test.ts -10226 tests/providers/upstream-transient-retry.test.ts -61 tests/providers/vercel-gateway-provider-routing.test.ts -81 tests/providers/vision-classification-seed-repair.test.ts -102 tests/providers/volcengine-ark-assistant-content.test.ts -354 tests/providers/workbuddy-provider.test.ts -149 tests/providers/workbuddy-quota.test.ts -34 tests/providers/xai/grok-47-build-fast-metadata.test.ts -4231 tests/providers/xai/grok-47-fast-model-wire.test.ts -91 tests/providers/xai/grok-47-fast-model.test.ts -188 tests/providers/xai/grok-attribution.test.ts -240 tests/providers/xai/grok-config-inject.test.ts -80 tests/providers/xai/grok-config-write-lock.test.ts -279 tests/providers/xai/grok-coupon-claim.test.ts -89 tests/providers/xai/grok-coupon-reconcile.test.ts -198 tests/providers/xai/grok-effort-inject.test.ts -110 tests/providers/xai/grok-lifecycle.test.ts -595 tests/providers/xai/grok-management-api.test.ts -696 tests/providers/xai/grok-models-effort-list.test.ts -313 tests/providers/xai/grok-orphan-adoption.test.ts -66 tests/providers/xai/grok-reset-coupon-cli.test.ts -105 tests/providers/xai/grok-reset-coupons.test.ts -89 tests/providers/xai/grok-selection.test.ts -223 tests/providers/xai/grok-session-identity.test.ts -93 tests/providers/xai/grok-status.test.ts -196 tests/providers/xai/grok-sync.test.ts -157 tests/providers/xai/grok-writer-boundary.test.ts -87 tests/providers/xai/xai-additional-tools.test.ts -66 tests/providers/xai/xai-empty-catalog-tool-choice.test.ts -184 tests/providers/xai/xai-loaded-tool-provenance.test.ts -90 tests/providers/xai/xai-no-stop.test.ts -38 tests/providers/xai/xai-oauth-retry.test.ts -251 tests/providers/xai/xai-refresh-lock.test.ts -69 tests/providers/xai/xai-replay-provenance.test.ts -99 tests/providers/xai/xai-responses-adjacency.test.ts -56 tests/providers/xai/xai-tool-schema.test.ts -221 tests/providers/xai/xai-transport.test.ts -88 tests/providers/xai/xai-web-search-compat.test.ts -114 tests/providers/xai/xai-web-search.test.ts -68 tests/providers/zai-reasoning-replay.test.ts -327 tests/providers/zcode-client.test.ts -128 tests/providers/zed-argument-consistency.test.ts -35 tests/providers/zed-failure-relay.test.ts -437 tests/providers/zed-hosted-provider.test.ts -448 tests/providers/zed-lossless-arguments.test.ts -248 tests/providers/zed-openai-contract.test.ts -104 tests/providers/zed-retained-budget.test.ts -160 tests/providers/zhipu-bigmodel-provider.test.ts -76 tests/providers/zhipu-bigmodel-responses-quota.test.ts -548 tests/responses/agent-assertion-routes.test.ts -512 tests/responses/anthropic2-responses-parity.test.ts -44 tests/responses/apply-patch-envelope.test.ts -137 tests/responses/bare-echo-alias.test.ts -576 tests/responses/chat-anthropic-reasoning-details.test.ts -419 tests/responses/chat-completions-deferred-tools.test.ts -11246 tests/responses/chat-completions-endpoint.test.ts -537 tests/responses/chat-completions-pool-mode.test.ts -4473 tests/responses/chat-conversation-affinity.test.ts -7080 tests/responses/chat-error-body-normalization.test.ts -65 tests/responses/chat-error-collector-verdicts.test.ts -211 tests/responses/chat-inbound-developer-position.test.ts -54 tests/responses/chat-inbound-reasoning-none.test.ts -82 tests/responses/chat-inbound-reasoning-replay.test.ts -129 tests/responses/chat-inbound-tool-strict-defaults.test.ts -204 tests/responses/chat-incomplete-length-reason.test.ts -137 tests/responses/chat-inline-document-bytes.test.ts -542 tests/responses/chat-json-sse-fallback.test.ts -1275 tests/responses/chat-legacy-functions-combo.test.ts -347 tests/responses/chat-media-translation.test.ts -3398 tests/responses/chat-native-combo.test.ts -100 tests/responses/chat-native-decline-reason.test.ts -542 tests/responses/chat-native-developer-role.test.ts -154 tests/responses/chat-native-image-normalization.test.ts -33 tests/responses/chat-native-lenient-finish.test.ts -544 tests/responses/chat-native-mistral-content.test.ts -894 tests/responses/chat-native-reasoning-replay.test.ts -81 tests/responses/chat-native-reasoning-scope.test.ts -22900 tests/responses/chat-native-spend.test.ts -307 tests/responses/chat-native-sse-stall.test.ts -1702 tests/responses/chat-raw-reasoning-delivery.test.ts -52 tests/responses/chat-refusal-scope.test.ts -195 tests/responses/chat-refusal.test.ts -1188 tests/responses/chat-request-id-endpoint.test.ts -342 tests/responses/chat-responses-control-integration.test.ts -95 tests/responses/chat-responses-control-scope.test.ts -309 tests/responses/chat-sse-framing-guard.test.ts -42 tests/responses/chat-tool-choice-allowed-tools.test.ts -55 tests/responses/citation-markers.test.ts -2172 tests/responses/codex-0164-request-compat.test.ts -349 tests/responses/codex-installation-compact-empty.test.ts -314 tests/responses/codex-installation-failover.test.ts -438 tests/responses/codex-installation-turn-limit.test.ts -2061 tests/responses/codex-ws-handshake-validation.test.ts -138 tests/responses/codex-ws-handshake.test.ts -49 tests/responses/codex-ws-pool-contention.test.ts -214 tests/responses/combo-codex-ws-overload-failover.test.ts -688 tests/responses/combo-replay-refusal-attribution.test.ts -539 tests/responses/compact-key-selection.test.ts -11508 tests/responses/compact-transient-alternate.test.ts -114 tests/responses/compaction-continuation-note.test.ts -253 tests/responses/compaction-continuation-wire.test.ts -121 tests/responses/compaction-event-ownership.test.ts -220 tests/responses/compaction-history-framing.test.ts -257 tests/responses/compaction-portable-history.test.ts -121 tests/responses/compaction-progress.test.ts -69 tests/responses/continuation-dedup.test.ts -225 tests/responses/current-turn-tool-catalog-direct.test.ts -401 tests/responses/current-turn-tool-catalog-namespace.test.ts -51 tests/responses/custom-tool-compat.test.ts -205 tests/responses/direct-credit-renewal-ingress.test.ts -965 tests/responses/droid-reasoning-defaults.test.ts -542 tests/responses/empty-completion-core.test.ts +163 tests/providers/morph-ultra-provider.test.ts +57 tests/providers/muse-key-quota.test.ts +922 tests/providers/muse-passive-quota-cache.test.ts +148 tests/providers/muse-passive-quota-observation.test.ts +109 tests/providers/muse-spark-web-search-compat.test.ts +56 tests/providers/muse-subscription-usage.test.ts +119 tests/providers/muse-tool-name-alias.test.ts +272 tests/providers/new-model-policy-runtime.test.ts +55 tests/providers/new-model-policy.test.ts +85 tests/providers/nous-oauth-live.test.ts +8174 tests/providers/nous-oauth.test.ts +181 tests/providers/novita-provider.test.ts +148 tests/providers/nscale-vultr-provider.test.ts +185 tests/providers/nvidia-nim-hardening.test.ts +55 tests/providers/ollama/ollama-native-cached-usage.test.ts +358 tests/providers/ollama/ollama-native-parser.test.ts +107 tests/providers/ollama/ollama-native-reasoning-wire.test.ts +60 tests/providers/ollama/ollama-native-scaling.test.ts +64 tests/providers/ollama/ollama-native-structured-output.test.ts +194 tests/providers/ollama/ollama-native-tool-continuations.test.ts +372 tests/providers/ollama/ollama-native-v4.test.ts +116 tests/providers/ollama/ollama-native.test.ts +454 tests/providers/ollama/ollama-show-enrichment-v7.test.ts +142 tests/providers/ollama/ollama-show-enrichment.test.ts +312 tests/providers/ollama/ollama-show-ignore-abort.test.ts +340 tests/providers/opencode-cli.test.ts +96 tests/providers/opencode-go-deepseek.test.ts +433 tests/providers/opencode-go-gemini-wire.test.ts +179 tests/providers/opencode-go-grok46-responses.test.ts +653 tests/providers/opencode-go-luna-wire.test.ts +618 tests/providers/opencode-go-model-protocols.test.ts +125 tests/providers/opencode-go-muse-context.test.ts +106 tests/providers/opencode-go-muse-vision.test.ts +115 tests/providers/opencode-go-quota.test.ts +1727 tests/providers/opencode-go-session-header.test.ts +599 tests/providers/opencode-management-transport.test.ts +50 tests/providers/opencode-muse-terminal-repair.test.ts +116 tests/providers/opencode-zen-deepseek-reasoning.test.ts +382 tests/providers/opencode-zen-gemini-wire.test.ts +60 tests/providers/opencode-zen-rate-limit.test.ts +59 tests/providers/opengateway-key-validation.test.ts +161 tests/providers/opengateway-provider.test.ts +186 tests/providers/openrouter-provider-routing.test.ts +116 tests/providers/openrouter-quota-reset-cooldown-4024.test.ts +211 tests/providers/opper-provider.test.ts +266 tests/providers/orcarouter-provider.test.ts +95 tests/providers/passive-key-limits.test.ts +669 tests/providers/passive-key-observation.test.ts +183 tests/providers/provider-account-quota-failure-reasons.test.ts +4548 tests/providers/provider-account-quota-persistence.test.ts +497 tests/providers/provider-account-quota.test.ts +95 tests/providers/provider-alias-template.test.ts +105 tests/providers/provider-anthropic-instance-quota.test.ts +101 tests/providers/provider-anthropic-instance.test.ts +364 tests/providers/provider-anthropic-pool-capacity.test.ts +162 tests/providers/provider-anthropic-usage-windows.test.ts +50 tests/providers/provider-antigravity-effort-families.test.ts +208 tests/providers/provider-antigravity-family-catalog.test.ts +149 tests/providers/provider-antigravity-model-quota.test.ts +86 tests/providers/provider-antigravity-quota-retry.test.ts +2528 tests/providers/provider-antigravity-wire-snapshot.test.ts +732 tests/providers/provider-api-keys.test.ts +65 tests/providers/provider-capacity.test.ts +787 tests/providers/provider-completion-test-authority.test.ts +430 tests/providers/provider-completion-test-ingress.test.ts +437 tests/providers/provider-completion-test.test.ts +346 tests/providers/provider-config-batch-management.test.ts +67 tests/providers/provider-config-validation.test.ts +472 tests/providers/provider-connection-test.test.ts +115 tests/providers/provider-cost-overlay-config.test.ts +62 tests/providers/provider-discovery-log-suppression.test.ts +76 tests/providers/provider-egress-outbound.test.ts +72 tests/providers/provider-id-rewrite.test.ts +195 tests/providers/provider-input-modalities.test.ts +680 tests/providers/provider-key-store.test.ts +130 tests/providers/provider-live-models.test.ts +164 tests/providers/provider-model-aliases.test.ts +213 tests/providers/provider-model-discovery-contract.test.ts +60 tests/providers/provider-outbound-private-network.test.ts +656 tests/providers/provider-outbound.test.ts +120 tests/providers/provider-passive-wire-model.test.ts +114 tests/providers/provider-quota-abliteration.test.ts +121 tests/providers/provider-quota-claude-cli.test.ts +101 tests/providers/provider-quota-label-sanitize.test.ts +112 tests/providers/provider-quota-observed-marker.test.ts +127 tests/providers/provider-quota-ollama-cloud.test.ts +746 tests/providers/provider-quota.test.ts +381 tests/providers/provider-registry-parity.test.ts +66 tests/providers/provider-runtime-fetch.test.ts +111 tests/providers/provider-static-model-discovery.test.ts +76 tests/providers/provider-tls-profile.test.ts +379 tests/providers/qoder-adapter.test.ts +1183 tests/providers/qoder-cn-image-validation.test.ts +843 tests/providers/qoder-discovery-timeout.test.ts +79 tests/providers/qoder-image-input.test.ts +101 tests/providers/qoder-live-models.test.ts +197 tests/providers/qoder-mcp-server.test.ts +144 tests/providers/qoder-scaffold-guard.test.ts +57 tests/providers/qwen38-preserve-reasoning.test.ts +371 tests/providers/rate-limit-retry.test.ts +96 tests/providers/registry-transport-alias.test.ts +176 tests/providers/resolved-model-policy.test.ts +212 tests/providers/sambanova-nebius-provider.test.ts +210 tests/providers/sponsor-presets.test.ts +297 tests/providers/stepfun-provider.test.ts +282 tests/providers/tokenlab-protocols.test.ts +115 tests/providers/tokenlab-provider.test.ts +165 tests/providers/umans-provider.test.ts +10289 tests/providers/upstream-transient-retry.test.ts +106 tests/providers/vercel-gateway-provider-routing.test.ts +187 tests/providers/vision-classification-seed-repair.test.ts +67 tests/providers/volcengine-ark-assistant-content.test.ts +547 tests/providers/workbuddy-provider.test.ts +150 tests/providers/workbuddy-quota.test.ts +60 tests/providers/xai/grok-47-build-fast-metadata.test.ts +6607 tests/providers/xai/grok-47-fast-model-wire.test.ts +132 tests/providers/xai/grok-47-fast-model.test.ts +191 tests/providers/xai/grok-attribution.test.ts +295 tests/providers/xai/grok-config-inject.test.ts +115 tests/providers/xai/grok-config-write-lock.test.ts +419 tests/providers/xai/grok-coupon-claim.test.ts +138 tests/providers/xai/grok-coupon-reconcile.test.ts +225 tests/providers/xai/grok-effort-inject.test.ts +122 tests/providers/xai/grok-lifecycle.test.ts +865 tests/providers/xai/grok-management-api.test.ts +697 tests/providers/xai/grok-models-effort-list.test.ts +292 tests/providers/xai/grok-orphan-adoption.test.ts +100 tests/providers/xai/grok-reset-coupon-cli.test.ts +76 tests/providers/xai/grok-reset-coupons.test.ts +146 tests/providers/xai/grok-selection.test.ts +169 tests/providers/xai/grok-session-identity.test.ts +117 tests/providers/xai/grok-status.test.ts +156 tests/providers/xai/grok-sync.test.ts +171 tests/providers/xai/grok-writer-boundary.test.ts +125 tests/providers/xai/xai-additional-tools.test.ts +82 tests/providers/xai/xai-device-login.test.ts +115 tests/providers/xai/xai-empty-catalog-tool-choice.test.ts +388 tests/providers/xai/xai-loaded-tool-provenance.test.ts +114 tests/providers/xai/xai-no-stop.test.ts +66 tests/providers/xai/xai-oauth-retry.test.ts +197 tests/providers/xai/xai-refresh-lock.test.ts +149 tests/providers/xai/xai-replay-provenance.test.ts +113 tests/providers/xai/xai-responses-adjacency.test.ts +72 tests/providers/xai/xai-tool-schema.test.ts +165 tests/providers/xai/xai-transport.test.ts +127 tests/providers/xai/xai-web-search-compat.test.ts +157 tests/providers/xai/xai-web-search.test.ts +93 tests/providers/zai-reasoning-replay.test.ts +646 tests/providers/zcode-client.test.ts +269 tests/providers/zed-argument-consistency.test.ts +131 tests/providers/zed-failure-relay.test.ts +325 tests/providers/zed-hosted-provider.test.ts +459 tests/providers/zed-lossless-arguments.test.ts +189 tests/providers/zed-openai-contract.test.ts +332 tests/providers/zed-retained-budget.test.ts +167 tests/providers/zhipu-bigmodel-provider.test.ts +88 tests/providers/zhipu-bigmodel-responses-quota.test.ts +718 tests/responses/agent-assertion-routes.test.ts +758 tests/responses/anthropic2-responses-parity.test.ts +61 tests/responses/apply-patch-envelope.test.ts +182 tests/responses/bare-echo-alias.test.ts +606 tests/responses/chat-anthropic-reasoning-details.test.ts +522 tests/responses/chat-completions-deferred-tools.test.ts +11810 tests/responses/chat-completions-endpoint.test.ts +424 tests/responses/chat-completions-pool-mode.test.ts +441 tests/responses/chat-conversation-affinity.test.ts +6779 tests/responses/chat-error-body-normalization.test.ts +86 tests/responses/chat-error-collector-verdicts.test.ts +388 tests/responses/chat-inbound-developer-position.test.ts +56 tests/responses/chat-inbound-reasoning-none.test.ts +145 tests/responses/chat-inbound-reasoning-replay.test.ts +149 tests/responses/chat-inbound-tool-strict-defaults.test.ts +439 tests/responses/chat-incomplete-length-reason.test.ts +131 tests/responses/chat-inline-document-bytes.test.ts +520 tests/responses/chat-json-sse-fallback.test.ts +1469 tests/responses/chat-legacy-functions-combo.test.ts +418 tests/responses/chat-media-translation.test.ts +3109 tests/responses/chat-native-combo.test.ts +169 tests/responses/chat-native-decline-reason.test.ts +779 tests/responses/chat-native-developer-role.test.ts +192 tests/responses/chat-native-image-normalization.test.ts +63 tests/responses/chat-native-lenient-finish.test.ts +856 tests/responses/chat-native-mistral-content.test.ts +1362 tests/responses/chat-native-reasoning-replay.test.ts +96 tests/responses/chat-native-reasoning-scope.test.ts +23458 tests/responses/chat-native-spend.test.ts +293 tests/responses/chat-native-sse-stall.test.ts +1800 tests/responses/chat-raw-reasoning-delivery.test.ts +63 tests/responses/chat-refusal-scope.test.ts +266 tests/responses/chat-refusal.test.ts +1370 tests/responses/chat-request-id-endpoint.test.ts +436 tests/responses/chat-responses-control-integration.test.ts +126 tests/responses/chat-responses-control-scope.test.ts +403 tests/responses/chat-sse-framing-guard.test.ts +70 tests/responses/chat-tool-choice-allowed-tools.test.ts +301 tests/responses/citation-markers.test.ts +299 tests/responses/codex-0164-request-compat.test.ts +3465 tests/responses/codex-eager-tool-catalog.test.ts +322 tests/responses/codex-installation-compact-empty.test.ts +467 tests/responses/codex-installation-failover.test.ts +481 tests/responses/codex-installation-turn-limit.test.ts +2083 tests/responses/codex-ws-handshake-validation.test.ts +132 tests/responses/codex-ws-handshake.test.ts +81 tests/responses/codex-ws-pool-contention.test.ts +208 tests/responses/combo-codex-ws-overload-failover.test.ts +1152 tests/responses/combo-replay-refusal-attribution.test.ts +1828 tests/responses/combo-stream-attempt-timing.test.ts +531 tests/responses/compact-key-selection.test.ts +11200 tests/responses/compact-transient-alternate.test.ts +138 tests/responses/compaction-continuation-note.test.ts +324 tests/responses/compaction-continuation-wire.test.ts +120 tests/responses/compaction-event-ownership.test.ts +239 tests/responses/compaction-history-framing.test.ts +300 tests/responses/compaction-portable-history.test.ts +132 tests/responses/compaction-progress.test.ts +60 tests/responses/continuation-dedup.test.ts +258 tests/responses/current-turn-tool-catalog-direct.test.ts +287 tests/responses/current-turn-tool-catalog-namespace.test.ts +71 tests/responses/custom-tool-compat.test.ts +207 tests/responses/direct-credit-renewal-ingress.test.ts +1407 tests/responses/droid-reasoning-defaults.test.ts +824 tests/responses/empty-completion-core.test.ts 67 tests/responses/empty-completion-guard.test.ts -1166 tests/responses/empty-completion-hardening.test.ts -105 tests/responses/eventstream-decoder.test.ts -69 tests/responses/eventstream-fragmentation.test.ts -1417 tests/responses/explicit-empty-tool-catalog-history.test.ts -1799 tests/responses/explicit-empty-tool-catalog.test.ts -170 tests/responses/external-task-input-repair.test.ts -36 tests/responses/fix-eventstream-cancel-wait.test.ts -156 tests/responses/fresh-connection-optout.test.ts -134 tests/responses/graceful-max-output-tokens-exclusions.test.ts -538 tests/responses/graceful-max-output-tokens.test.ts -1687 tests/responses/incomplete-reason-normalization.test.ts -1181 tests/responses/jev-initial-effort-wire.test.ts -85 tests/responses/legacy-shell-compat.test.ts -159 tests/responses/local-checkpoint-routing.test.ts -446 tests/responses/local-upstream-deadlines.test.ts -133 tests/responses/messages-native-bridge-policy.test.ts -127 tests/responses/messages-native-eligibility.test.ts -107 tests/responses/messages-native-oauth-eligibility.test.ts -37 tests/responses/namespace-tool-compat.test.ts -313 tests/responses/native-compaction-gateway-credentials.test.ts -833 tests/responses/native-compaction-gateway-policy.test.ts -4710 tests/responses/native-compaction-gateway.test.ts -268 tests/responses/native-compaction-oauth.test.ts -1306 tests/responses/native-compaction-provenance.test.ts -195 tests/responses/opaque-blob-wrapped-rejection.test.ts -346 tests/responses/openai-responses-passthrough.test.ts -83 tests/responses/openai-responses-summary-none.test.ts -93 tests/responses/opengateway-completion-receipts.test.ts -31 tests/responses/parser-content-audio.test.ts -302 tests/responses/passthrough-abort.test.ts -3151 tests/responses/passthrough-deferred-tools.test.ts -70 tests/responses/passthrough-grok-upstream-envelope-echo.test.ts -219 tests/responses/passthrough-headers.test.ts -107 tests/responses/passthrough-media-type.test.ts -62 tests/responses/passthrough-override.test.ts -169 tests/responses/plaintext-v2-agent-messages.test.ts -324 tests/responses/pool-retry-client-metadata.test.ts -578 tests/responses/protocol-antigravity-direct-chat.test.ts -96 tests/responses/protocol-antigravity-direct-eligibility.test.ts -416 tests/responses/protocol-antigravity-direct-messages.test.ts -1339 tests/responses/protocol-argon-thought-boundary.test.ts -33 tests/responses/protocol-baseline.test.ts -49 tests/responses/protocol-chat-ir-parity.test.ts -37 tests/responses/protocol-contract.test.ts -234 tests/responses/protocol-direct-encoders-chat.test.ts -54 tests/responses/protocol-direct-encoders-local-upstream.test.ts -120 tests/responses/protocol-direct-encoders-messages.test.ts -45 tests/responses/protocol-direct-encoders-stall-disabled.test.ts -44 tests/responses/protocol-dto.test.ts -38 tests/responses/protocol-envelope.test.ts -37 tests/responses/protocol-features.test.ts -35 tests/responses/protocol-guard.test.ts -172 tests/responses/protocol-ingress-guard.test.ts -87 tests/responses/protocol-messages-ir-parity.test.ts -45 tests/responses/protocol-opaque-state.test.ts -37 tests/responses/protocol-path.test.ts -141 tests/responses/protocol-plan-snapshot.test.ts -36 tests/responses/protocol-plan.test.ts -113 tests/responses/protocol-shadow-plan.test.ts -28 tests/responses/protocol-trace.test.ts -35 tests/responses/provider-egress-fetch.test.ts -425 tests/responses/reasoning-archive-http.test.ts -423 tests/responses/reasoning-archive-ws.test.ts -112 tests/responses/reasoning-effort-summary-default.test.ts -213 tests/responses/reasoning-envelope.test.ts -109 tests/responses/reasoning-retention-quota.test.ts -1615 tests/responses/reasoning-retention-routing.test.ts -616 tests/responses/reasoning-retention-v2.test.ts -65 tests/responses/reasoning-retention.test.ts -619 tests/responses/refreshed-upstream-deadlines.test.ts -85 tests/responses/reserve-dispatch-ws.test.ts -107 tests/responses/responses-4546-incident-regression.test.ts -767 tests/responses/responses-account-auto-pause-wire-owner.test.ts -1389 tests/responses/responses-account-auto-pause.test.ts -73 tests/responses/responses-account-change-scrub.test.ts -3165 tests/responses/responses-account-label.test.ts -611 tests/responses/responses-alternate-main-cancellation.test.ts -360 tests/responses/responses-anthropic-billing-send-budget.test.ts -303 tests/responses/responses-anthropic-compaction-prefix.test.ts -637 tests/responses/responses-anthropic-fast-downgrade.test.ts -173 tests/responses/responses-anthropic-legal-history.test.ts -215 tests/responses/responses-anthropic-thinking-recovery.test.ts -878 tests/responses/responses-anthropic-thinking-signature-recovery.test.ts -1323 tests/responses/responses-auto-pause-replay-owner.test.ts -339 tests/responses/responses-azure-opaque-blob-recovery.test.ts -133 tests/responses/responses-bare-echo-helper-fence.test.ts -53 tests/responses/responses-call-id-linkage.test.ts -427 tests/responses/responses-canonical-nonstream.test.ts -66 tests/responses/responses-canonical-only-top-level-fields.test.ts -209 tests/responses/responses-chat-tool-call-content.test.ts -67 tests/responses/responses-chatgpt-web-replay-metadata.test.ts -119 tests/responses/responses-claude-preflight-lease.test.ts -33 tests/responses/responses-code-mode-goal-helpers.test.ts -154 tests/responses/responses-code-mode-mcp-direct.test.ts -49 tests/responses/responses-code-mode-patch-compile.test.ts -90 tests/responses/responses-code-mode-shell-compile.test.ts -2690 tests/responses/responses-cold-opaque-recovery.test.ts -129 tests/responses/responses-combo-bridge-usage.test.ts -470 tests/responses/responses-combo-exhausted-error.test.ts -281 tests/responses/responses-combo-fallback-off.test.ts -236 tests/responses/responses-combo-replay-principal.test.ts -470 tests/responses/responses-combo-run-turn-classified-failure.test.ts -6962 tests/responses/responses-compact-handoff-admission.test.ts -2762 tests/responses/responses-compaction-http-isolation.test.ts -3010 tests/responses/responses-compaction-override.test.ts -131 tests/responses/responses-compaction-policy-identity.test.ts -41 tests/responses/responses-compaction-recovery-policy.test.ts -6650 tests/responses/responses-compaction-recovery.test.ts -3613 tests/responses/responses-compaction-routing.test.ts -207 tests/responses/responses-compaction.test.ts -5933 tests/responses/responses-console-go-upload-retry.test.ts -2742 tests/responses/responses-context-overflow.test.ts -99 tests/responses/responses-continuation-boundaries.test.ts -118 tests/responses/responses-core-modules.test.ts -47 tests/responses/responses-custom-tool-guidance.test.ts -128 tests/responses/responses-custom-tool-historical-replay.test.ts -245 tests/responses/responses-custom-tool-repair-dispatch.test.ts -48 tests/responses/responses-custom-tool-repair.test.ts -208 tests/responses/responses-custom-tool-stream-consistency.test.ts -31 tests/responses/responses-default-namespace-emit-normalize.test.ts -651 tests/responses/responses-devin-401-replay.test.ts -505 tests/responses/responses-direct-chat-tool-choice.test.ts -50 tests/responses/responses-dispatch-receipt.test.ts -302 tests/responses/responses-fetch-helpers-boundary.test.ts -91 tests/responses/responses-field-backfill.test.ts -9712 tests/responses/responses-first-send-reservation.test.ts -195 tests/responses/responses-first-send-spend-policy.test.ts -476 tests/responses/responses-forward-client-headers-live.test.ts -116 tests/responses/responses-forward-client-headers.test.ts -68 tests/responses/responses-forward-dangling-call.test.ts -249 tests/responses/responses-forward-incomplete-quota.test.ts -67 tests/responses/responses-forward-output-cap.test.ts -72 tests/responses/responses-forward-posit-continuation.test.ts -71 tests/responses/responses-forward-prompt-envelope.test.ts -32 tests/responses/responses-forward-transport-baseurl.test.ts -191 tests/responses/responses-freeform-wrapper-keys.test.ts -154 tests/responses/responses-function-tool-repair.test.ts -4615 tests/responses/responses-grok-devin-preflight.test.ts -135 tests/responses/responses-hide-raw-reasoning.test.ts -245 tests/responses/responses-hosted-image-delivery.test.ts -56 tests/responses/responses-hosted-image-display.test.ts -212 tests/responses/responses-hosted-image-limits.test.ts -225 tests/responses/responses-hosted-send-hop.test.ts -376 tests/responses/responses-hosted-send-producer.test.ts -584 tests/responses/responses-hosted-send-reservation.test.ts -175 tests/responses/responses-hosted-send-round-parity.test.ts -190 tests/responses/responses-hosted-send-unsent-hop.test.ts -339 tests/responses/responses-hosted-send-ws.test.ts -86 tests/responses/responses-hosted-tool-declaration.test.ts -78 tests/responses/responses-hosted-tool-min-spread.test.ts -202 tests/responses/responses-image-gen-repair.test.ts -638 tests/responses/responses-inbound-store-default.test.ts -40 tests/responses/responses-item-id-repair.test.ts -31 tests/responses/responses-json-events.test.ts -41 tests/responses/responses-legacy-dotted-tool-name-repair.test.ts -382 tests/responses/responses-main-quota-observation.test.ts -212 tests/responses/responses-memory-models.test.ts -60 tests/responses/responses-mimo-envelope.test.ts -150 tests/responses/responses-muse-tool-choice.test.ts -306 tests/responses/responses-muse-tool-name-alias.test.ts -140 tests/responses/responses-native-compact-ocx-envelope.test.ts -196 tests/responses/responses-native-compact-search-history.test.ts -116 tests/responses/responses-native-item-extensions-compact.test.ts -91 tests/responses/responses-native-item-extensions.test.ts -519 tests/responses/responses-native-key-cooldown.test.ts -724 tests/responses/responses-native-main-refresh.test.ts -31 tests/responses/responses-native-output-identity.test.ts -557 tests/responses/responses-native-ultra-effort-wire.test.ts -1034 tests/responses/responses-oauth-refresh-capacity.test.ts -51 tests/responses/responses-ollama-codec.test.ts -5323 tests/responses/responses-opaque-blob-recovery.test.ts -38 tests/responses/responses-parser-agent-message.test.ts -47 tests/responses/responses-parser-malformed-content.test.ts -129 tests/responses/responses-parser.test.ts -85 tests/responses/responses-passthrough-transient-policy.test.ts -60 tests/responses/responses-phase-inference.test.ts -4676 tests/responses/responses-pool-401-refresh.test.ts -13437 tests/responses/responses-pool-overload-failover.test.ts -80 tests/responses/responses-pool-refresh-attribution.test.ts -427 tests/responses/responses-preview-main-read-fence.test.ts -311 tests/responses/responses-reasoning-effort-downgrade.test.ts -440 tests/responses/responses-reasoning-summary-passthrough.test.ts -189 tests/responses/responses-repeated-tool-outputs.test.ts -163 tests/responses/responses-replay-metadata-principal.test.ts -116 tests/responses/responses-request-compression.test.ts -307 tests/responses/responses-required-chat-tool.test.ts -57 tests/responses/responses-reset-replay.test.ts -2343 tests/responses/responses-retained-reasoning-stream-recovery.test.ts -88 tests/responses/responses-routed-web-search-fields.test.ts -309 tests/responses/responses-run-turn-key-pacing.test.ts -187 tests/responses/responses-run-turn-key-readmission.test.ts -438 tests/responses/responses-run-turn-web-search.test.ts -2022 tests/responses/responses-self-named-namespace-scrub.test.ts -6555 tests/responses/responses-send-budget-counts.test.ts -393 tests/responses/responses-send-budget-errors.test.ts -306 tests/responses/responses-shadow-intercept.test.ts -275 tests/responses/responses-show-thinking-summary.test.ts -679 tests/responses/responses-sidecar-context-overflow.test.ts -230 tests/responses/responses-sidecar-usage.test.ts -161 tests/responses/responses-skills-snapshot.test.ts -653 tests/responses/responses-snapshot-repair-server.test.ts -198 tests/responses/responses-snapshot-repair.test.ts -385 tests/responses/responses-snapshot-scaling.test.ts -216 tests/responses/responses-sparse-terminal-tool-scope.test.ts -1934 tests/responses/responses-spend-anchor.test.ts -93 tests/responses/responses-spend-capacity-guard.test.ts -353 tests/responses/responses-spend-contract-c.test.ts -134 tests/responses/responses-spend-ledger-wiring.test.ts -60 tests/responses/responses-spill-acl-recovery.test.ts -299 tests/responses/responses-spill-admission-headroom.test.ts -59 tests/responses/responses-spill-inspection.test.ts -48 tests/responses/responses-spill-orphan-sweep.test.ts -250 tests/responses/responses-spill-shutdown-clock.test.ts -39 tests/responses/responses-state-flush-race.test.ts -34 tests/responses/responses-state-snapshot-select.test.ts -68 tests/responses/responses-state-snapshot-stubs.test.ts -281 tests/responses/responses-state-store-false.test.ts -300 tests/responses/responses-state-write-amplification.test.ts -7146 tests/responses/responses-state.test.ts -584 tests/responses/responses-stateless-dangling-call-repair.test.ts -34 tests/responses/responses-stream-tool-events.test.ts -65 tests/responses/responses-terminal-repair.test.ts -155 tests/responses/responses-tool-conformance.test.ts -33 tests/responses/responses-tool-groups.test.ts -168 tests/responses/responses-tool-search-repair.test.ts -362 tests/responses/responses-translated-replay-principal.test.ts -18403 tests/responses/responses-translated-reset.test.ts -293 tests/responses/responses-undeclared-tool-guard-inbound.test.ts -937 tests/responses/responses-undeclared-tool-guard.test.ts -70 tests/responses/responses-url-citation-title-repair.test.ts -177 tests/responses/responses-usage-passthrough.test.ts -1078 tests/responses/responses-web-search-thinking-signature-recovery.test.ts -1210 tests/responses/responses-websocket-workflow-ceiling.test.ts -880 tests/responses/responses-workflow-send-ceiling.test.ts -303 tests/responses/responses-xai-request-compat.test.ts -212 tests/responses/shadow-intercept-target-lifecycle.test.ts -62 tests/responses/sse-carriage-return.test.ts -309 tests/responses/sse-client-frame-bounds.test.ts -369 tests/responses/sse-decoder.test.ts -219 tests/responses/sse-failed-tail.test.ts -426 tests/responses/sse-inspector-bounds.test.ts -63 tests/responses/sse-null-data-frame.test.ts -388 tests/responses/sse-payload-rewrite-continuation.test.ts -102 tests/responses/sse-payload-rewrite.test.ts -118 tests/responses/sse-rewrite-line-endings.test.ts -47 tests/responses/sse-unspaced-data-fields.test.ts +1193 tests/responses/empty-completion-hardening.test.ts +53 tests/responses/eventstream-decoder.test.ts +100 tests/responses/eventstream-fragmentation.test.ts +1386 tests/responses/explicit-empty-tool-catalog-history.test.ts +2173 tests/responses/explicit-empty-tool-catalog.test.ts +196 tests/responses/external-task-input-repair.test.ts +54 tests/responses/fix-eventstream-cancel-wait.test.ts +245 tests/responses/fresh-connection-optout.test.ts +76 tests/responses/graceful-max-output-tokens-exclusions.test.ts +562 tests/responses/graceful-max-output-tokens.test.ts +2159 tests/responses/incomplete-reason-normalization.test.ts +1568 tests/responses/jev-initial-effort-wire.test.ts +61 tests/responses/legacy-shell-compat.test.ts +209 tests/responses/local-checkpoint-routing.test.ts +406 tests/responses/local-upstream-deadlines.test.ts +130 tests/responses/messages-native-bridge-policy.test.ts +195 tests/responses/messages-native-eligibility.test.ts +233 tests/responses/messages-native-oauth-eligibility.test.ts +686 tests/responses/model-custom-tool-capability.test.ts +61 tests/responses/namespace-tool-compat.test.ts +333 tests/responses/native-compaction-gateway-credentials.test.ts +1213 tests/responses/native-compaction-gateway-policy.test.ts +4119 tests/responses/native-compaction-gateway.test.ts +249 tests/responses/native-compaction-oauth.test.ts +1193 tests/responses/native-compaction-provenance.test.ts +145 tests/responses/opaque-blob-wrapped-rejection.test.ts +408 tests/responses/openai-responses-passthrough.test.ts +138 tests/responses/openai-responses-summary-none.test.ts +116 tests/responses/opengateway-completion-receipts.test.ts +49 tests/responses/parser-content-audio.test.ts +393 tests/responses/passthrough-abort.test.ts +4211 tests/responses/passthrough-deferred-tools.test.ts +192 tests/responses/passthrough-grok-upstream-envelope-echo.test.ts +345 tests/responses/passthrough-headers.test.ts +123 tests/responses/passthrough-media-type.test.ts +117 tests/responses/passthrough-override.test.ts +174 tests/responses/plaintext-v2-agent-messages.test.ts +434 tests/responses/pool-retry-client-metadata.test.ts +925 tests/responses/protocol-antigravity-direct-chat.test.ts +139 tests/responses/protocol-antigravity-direct-eligibility.test.ts +573 tests/responses/protocol-antigravity-direct-messages.test.ts +1278 tests/responses/protocol-argon-thought-boundary.test.ts +75 tests/responses/protocol-baseline.test.ts +74 tests/responses/protocol-chat-ir-parity.test.ts +60 tests/responses/protocol-contract.test.ts +149 tests/responses/protocol-direct-encoders-chat.test.ts +90 tests/responses/protocol-direct-encoders-local-upstream.test.ts +170 tests/responses/protocol-direct-encoders-messages.test.ts +68 tests/responses/protocol-direct-encoders-stall-disabled.test.ts +51 tests/responses/protocol-dto.test.ts +72 tests/responses/protocol-envelope.test.ts +60 tests/responses/protocol-features.test.ts +52 tests/responses/protocol-guard.test.ts +227 tests/responses/protocol-ingress-guard.test.ts +138 tests/responses/protocol-messages-ir-parity.test.ts +50 tests/responses/protocol-opaque-state.test.ts +102 tests/responses/protocol-path.test.ts +143 tests/responses/protocol-plan-snapshot.test.ts +49 tests/responses/protocol-plan.test.ts +134 tests/responses/protocol-shadow-plan.test.ts +57 tests/responses/protocol-trace.test.ts +72 tests/responses/provider-egress-fetch.test.ts +470 tests/responses/reasoning-archive-http.test.ts +600 tests/responses/reasoning-archive-ws.test.ts +177 tests/responses/reasoning-effort-summary-default.test.ts +245 tests/responses/reasoning-envelope.test.ts +128 tests/responses/reasoning-retention-quota.test.ts +677 tests/responses/reasoning-retention-routing.test.ts +561 tests/responses/reasoning-retention-v2.test.ts +134 tests/responses/reasoning-retention.test.ts +700 tests/responses/refreshed-upstream-deadlines.test.ts +135 tests/responses/reserve-dispatch-ws.test.ts +115 tests/responses/responses-4546-incident-regression.test.ts +956 tests/responses/responses-account-auto-pause-wire-owner.test.ts +1362 tests/responses/responses-account-auto-pause.test.ts +106 tests/responses/responses-account-change-scrub.test.ts +2936 tests/responses/responses-account-label.test.ts +569 tests/responses/responses-alternate-main-cancellation.test.ts +485 tests/responses/responses-anthropic-billing-send-budget.test.ts +296 tests/responses/responses-anthropic-compaction-prefix.test.ts +570 tests/responses/responses-anthropic-fast-downgrade.test.ts +753 tests/responses/responses-anthropic-image-context-default.test.ts +5300 tests/responses/responses-anthropic-image-context-recovery.test.ts +318 tests/responses/responses-anthropic-image-spend-parity.test.ts +309 tests/responses/responses-anthropic-legal-history.test.ts +232 tests/responses/responses-anthropic-per-message-effort.test.ts +124 tests/responses/responses-anthropic-thinking-recovery.test.ts +1149 tests/responses/responses-anthropic-thinking-signature-recovery.test.ts +356 tests/responses/responses-auto-pause-replay-owner.test.ts +403 tests/responses/responses-azure-opaque-blob-recovery.test.ts +156 tests/responses/responses-bare-echo-helper-fence.test.ts +75 tests/responses/responses-call-id-linkage.test.ts +1280 tests/responses/responses-canonical-nonstream.test.ts +109 tests/responses/responses-canonical-only-top-level-fields.test.ts +465 tests/responses/responses-chat-raw-summary.test.ts +357 tests/responses/responses-chat-tool-call-content.test.ts +103 tests/responses/responses-chatgpt-web-replay-metadata.test.ts +199 tests/responses/responses-claude-preflight-lease.test.ts +50 tests/responses/responses-code-mode-goal-helpers.test.ts +158 tests/responses/responses-code-mode-mcp-direct.test.ts +59 tests/responses/responses-code-mode-patch-compile.test.ts +116 tests/responses/responses-code-mode-shell-compile.test.ts +2642 tests/responses/responses-cold-opaque-recovery.test.ts +177 tests/responses/responses-combo-bridge-usage.test.ts +2018 tests/responses/responses-combo-estimated-usage-spend.test.ts +692 tests/responses/responses-combo-exhausted-error.test.ts +294 tests/responses/responses-combo-fallback-off.test.ts +268 tests/responses/responses-combo-replay-principal.test.ts +570 tests/responses/responses-combo-run-turn-classified-failure.test.ts +360 tests/responses/responses-combo-unavailable-cause.test.ts +6623 tests/responses/responses-compact-handoff-admission.test.ts +2777 tests/responses/responses-compaction-http-isolation.test.ts +912 tests/responses/responses-compaction-override.test.ts +176 tests/responses/responses-compaction-policy-identity.test.ts +55 tests/responses/responses-compaction-recovery-policy.test.ts +7007 tests/responses/responses-compaction-recovery.test.ts +2143 tests/responses/responses-compaction-routing.test.ts +282 tests/responses/responses-compaction.test.ts +6024 tests/responses/responses-console-go-upload-retry.test.ts +3443 tests/responses/responses-context-overflow.test.ts +113 tests/responses/responses-continuation-boundaries.test.ts +117 tests/responses/responses-core-modules.test.ts +63 tests/responses/responses-custom-tool-guidance.test.ts +171 tests/responses/responses-custom-tool-historical-replay.test.ts +319 tests/responses/responses-custom-tool-repair-dispatch.test.ts +64 tests/responses/responses-custom-tool-repair.test.ts +280 tests/responses/responses-custom-tool-stream-consistency.test.ts +61 tests/responses/responses-default-namespace-emit-normalize.test.ts +626 tests/responses/responses-devin-401-replay.test.ts +508 tests/responses/responses-direct-chat-tool-choice.test.ts +58 tests/responses/responses-dispatch-receipt.test.ts +206 tests/responses/responses-effort-history-fixtures.test.ts +130 tests/responses/responses-effort-history-state.test.ts +475 tests/responses/responses-estimated-usage.test.ts +301 tests/responses/responses-fetch-helpers-boundary.test.ts +100 tests/responses/responses-field-backfill.test.ts +9624 tests/responses/responses-first-send-reservation.test.ts +841 tests/responses/responses-first-send-spend-policy.test.ts +710 tests/responses/responses-forward-client-headers-live.test.ts +113 tests/responses/responses-forward-client-headers.test.ts +121 tests/responses/responses-forward-dangling-call.test.ts +280 tests/responses/responses-forward-incomplete-quota.test.ts +159 tests/responses/responses-forward-output-cap.test.ts +116 tests/responses/responses-forward-posit-continuation.test.ts +101 tests/responses/responses-forward-prompt-envelope.test.ts +58 tests/responses/responses-forward-transport-baseurl.test.ts +276 tests/responses/responses-freeform-wrapper-keys.test.ts +233 tests/responses/responses-function-tool-repair.test.ts +4774 tests/responses/responses-grok-devin-preflight.test.ts +226 tests/responses/responses-hide-raw-reasoning.test.ts +320 tests/responses/responses-hosted-image-delivery.test.ts +77 tests/responses/responses-hosted-image-display.test.ts +233 tests/responses/responses-hosted-image-limits.test.ts +516 tests/responses/responses-hosted-send-hop.test.ts +441 tests/responses/responses-hosted-send-producer.test.ts +553 tests/responses/responses-hosted-send-reservation.test.ts +331 tests/responses/responses-hosted-send-round-parity.test.ts +408 tests/responses/responses-hosted-send-unsent-hop.test.ts +265 tests/responses/responses-hosted-send-ws.test.ts +120 tests/responses/responses-hosted-tool-conditional.test.ts +114 tests/responses/responses-hosted-tool-declaration.test.ts +116 tests/responses/responses-hosted-tool-min-spread.test.ts +215 tests/responses/responses-image-gen-repair.test.ts +235 tests/responses/responses-inbound-store-default.test.ts +79 tests/responses/responses-item-id-repair.test.ts +56 tests/responses/responses-json-events.test.ts +61 tests/responses/responses-legacy-dotted-tool-name-repair.test.ts +646 tests/responses/responses-main-quota-observation.test.ts +336 tests/responses/responses-memory-models.test.ts +71 tests/responses/responses-mimo-envelope.test.ts +234 tests/responses/responses-muse-tool-choice.test.ts +271 tests/responses/responses-muse-tool-name-alias.test.ts +187 tests/responses/responses-native-compact-ocx-envelope.test.ts +201 tests/responses/responses-native-compact-search-history.test.ts +187 tests/responses/responses-native-item-extensions-compact.test.ts +133 tests/responses/responses-native-item-extensions.test.ts +637 tests/responses/responses-native-key-cooldown.test.ts +802 tests/responses/responses-native-main-refresh.test.ts +53 tests/responses/responses-native-output-identity.test.ts +2227 tests/responses/responses-native-sse-stall.test.ts +571 tests/responses/responses-native-ultra-effort-wire.test.ts +1431 tests/responses/responses-oauth-refresh-capacity.test.ts +1381 tests/responses/responses-offline-resend.test.ts +52 tests/responses/responses-ollama-codec.test.ts +5133 tests/responses/responses-opaque-blob-recovery.test.ts +68 tests/responses/responses-parser-agent-message.test.ts +105 tests/responses/responses-parser-malformed-content.test.ts +199 tests/responses/responses-parser.test.ts +2982 tests/responses/responses-passive-key-limits.test.ts +134 tests/responses/responses-passthrough-transient-policy.test.ts +59 tests/responses/responses-phase-inference.test.ts +4778 tests/responses/responses-pool-401-refresh.test.ts +13625 tests/responses/responses-pool-overload-failover.test.ts +151 tests/responses/responses-pool-refresh-attribution.test.ts +537 tests/responses/responses-preview-main-read-fence.test.ts +1021 tests/responses/responses-reasoning-effort-diagnostics.test.ts +1383 tests/responses/responses-reasoning-effort-downgrade.test.ts +328 tests/responses/responses-reasoning-summary-passthrough.test.ts +212 tests/responses/responses-repeated-tool-outputs.test.ts +285 tests/responses/responses-replay-metadata-principal.test.ts +134 tests/responses/responses-replay-owner-storage.test.ts +140 tests/responses/responses-request-compression.test.ts +391 tests/responses/responses-required-chat-tool.test.ts +356 tests/responses/responses-reset-replay-chained.test.ts +117 tests/responses/responses-reset-replay.test.ts +1117 tests/responses/responses-reset-selection-http.test.ts +387 tests/responses/responses-retained-reasoning-stream-recovery.test.ts +191 tests/responses/responses-routed-web-search-fields.test.ts +263 tests/responses/responses-run-turn-key-pacing.test.ts +273 tests/responses/responses-run-turn-key-readmission.test.ts +676 tests/responses/responses-run-turn-web-search.test.ts +248 tests/responses/responses-self-named-namespace-scrub.test.ts +6546 tests/responses/responses-send-budget-counts.test.ts +470 tests/responses/responses-send-budget-errors.test.ts +527 tests/responses/responses-shadow-intercept.test.ts +327 tests/responses/responses-show-thinking-summary.test.ts +1104 tests/responses/responses-sidecar-context-overflow.test.ts +371 tests/responses/responses-sidecar-usage.test.ts +325 tests/responses/responses-skills-snapshot.test.ts +850 tests/responses/responses-snapshot-repair-server.test.ts +173 tests/responses/responses-snapshot-repair.test.ts +388 tests/responses/responses-snapshot-scaling.test.ts +120 tests/responses/responses-sparse-terminal-tool-scope.test.ts +1845 tests/responses/responses-spend-anchor.test.ts +106 tests/responses/responses-spend-capacity-guard.test.ts +854 tests/responses/responses-spend-contract-c.test.ts +261 tests/responses/responses-spend-ledger-wiring.test.ts +99 tests/responses/responses-spill-acl-recovery.test.ts +252 tests/responses/responses-spill-admission-headroom.test.ts +93 tests/responses/responses-spill-inspection.test.ts +76 tests/responses/responses-spill-orphan-sweep.test.ts +312 tests/responses/responses-spill-shutdown-clock.test.ts +67 tests/responses/responses-state-flush-race.test.ts +53 tests/responses/responses-state-snapshot-select.test.ts +79 tests/responses/responses-state-snapshot-stubs.test.ts +283 tests/responses/responses-state-store-false.test.ts +219 tests/responses/responses-state-write-amplification.test.ts +7324 tests/responses/responses-state.test.ts +789 tests/responses/responses-stateless-dangling-call-repair.test.ts +59 tests/responses/responses-stream-tool-events.test.ts +125 tests/responses/responses-terminal-repair.test.ts +148 tests/responses/responses-tool-conformance.test.ts +54 tests/responses/responses-tool-groups.test.ts +231 tests/responses/responses-tool-search-repair.test.ts +524 tests/responses/responses-translated-replay-principal.test.ts +18050 tests/responses/responses-translated-reset.test.ts +387 tests/responses/responses-undeclared-tool-guard-inbound.test.ts +885 tests/responses/responses-undeclared-tool-guard.test.ts +111 tests/responses/responses-url-citation-title-repair.test.ts +200 tests/responses/responses-usage-passthrough.test.ts +1191 tests/responses/responses-web-search-thinking-signature-recovery.test.ts +1563 tests/responses/responses-websocket-workflow-ceiling.test.ts +1001 tests/responses/responses-workflow-send-ceiling.test.ts +130 tests/responses/responses-xai-request-compat.test.ts +429 tests/responses/search-empty-completion.test.ts +441 tests/responses/shadow-intercept-target-lifecycle.test.ts +71 tests/responses/sse-carriage-return.test.ts +242 tests/responses/sse-client-frame-bounds.test.ts +387 tests/responses/sse-decoder.test.ts +645 tests/responses/sse-failed-tail.test.ts +458 tests/responses/sse-inspector-bounds.test.ts +97 tests/responses/sse-null-data-frame.test.ts +401 tests/responses/sse-payload-rewrite-continuation.test.ts +116 tests/responses/sse-payload-rewrite.test.ts +139 tests/responses/sse-rewrite-line-endings.test.ts +71 tests/responses/sse-unspaced-data-fields.test.ts +2938 tests/responses/sse-untyped-credential-mask.test.ts 8945 tests/responses/stalled-reader-memory.test.ts -68 tests/responses/thought-signature-credential-scope.test.ts -160 tests/responses/turn-membership-ingress.test.ts -85 tests/responses/turn-membership.test.ts -39 tests/responses/visualization-directives.test.ts -499 tests/responses/ws-ambiguous-resend.test.ts -3953 tests/responses/ws-capacity-reclamation.test.ts -278 tests/responses/ws-capacity-tool-ownership.test.ts -51 tests/responses/ws-committed-liveness.test.ts -135 tests/responses/ws-endpoint.test.ts -217 tests/responses/ws-failure-stage.test.ts -390 tests/responses/ws-native-continuation-send-budget.test.ts -762 tests/responses/ws-native-injection.test.ts -238 tests/responses/ws-native-result-continuations.test.ts -1510 tests/responses/ws-native-steering.test.ts -224 tests/responses/ws-pre-output-refusal.test.ts -198 tests/responses/ws-replay-refusal-attribution.test.ts -318 tests/responses/ws-steering-completion.test.ts -268 tests/responses/ws-steering-smoke.test.ts -196 tests/responses/ws-steering-stability.test.ts -117 tests/responses/ws-upstream-reuse.test.ts -52 tests/responses/ws-upstream-socks5.test.ts -634 tests/responses/ws-upstream.test.ts -144 tests/routing/always-on-429-failover.test.ts -83 tests/routing/anthropic-quorum-cache.test.ts -38 tests/routing/cl01-claude-outbound-review-regressions.test.ts -43 tests/routing/cl01-openai-chat-review-regressions.test.ts -75 tests/routing/cl01-review-regressions.test.ts -83 tests/routing/codex-agent-role-models.test.ts -48 tests/routing/codex-role-auto-assign.test.ts -55 tests/routing/codex-role-capability-consent.test.ts -93 tests/routing/codex-role-capability-pages.test.ts -54 tests/routing/codex-role-capability-redirects.test.ts -55 tests/routing/codex-role-measured-ties.test.ts -38 tests/routing/codex-role-sizing.test.ts -160 tests/routing/combo-child-headers.test.ts -183 tests/routing/combo-description.test.ts -646 tests/routing/combo-management-api.test.ts -90 tests/routing/combo-required-tool-stream-preflight.test.ts -109 tests/routing/combo-stream-preflight.test.ts -148 tests/routing/combo-terminal-refusal.test.ts -231 tests/routing/combo-vision-enrollment.test.ts -114 tests/routing/compatibility-provider-equivalence.test.ts -43 tests/routing/destination-policy-resolved.test.ts -62 tests/routing/fallback-policy.test.ts -67 tests/routing/fastwire-characterization-routing.test.ts -347 tests/routing/fastwire-characterization-wire.test.ts -158 tests/routing/fastwire-observability.test.ts -91 tests/routing/fastwire-policy.test.ts -383 tests/routing/fastwire-response-authority.test.ts -56 tests/routing/jev-decision-destination.test.ts -315 tests/routing/jev-decision-model-config.test.ts -182 tests/routing/jev-decision-provider-combo.test.ts -130 tests/routing/jev-decision.test.ts -1050 tests/routing/jev-model-backend.test.ts -185 tests/routing/jev-quota-activation.test.ts -140 tests/routing/jev-quota-anthropic2.test.ts -229 tests/routing/jev-quota-antigravity.test.ts -134 tests/routing/jev-quota-codex-reset.test.ts -180 tests/routing/jev-quota-config.test.ts -404 tests/routing/jev-quota-core-boundary.test.ts -123 tests/routing/jev-quota-publication.test.ts -221 tests/routing/jev-quota-signals.test.ts -45 tests/routing/jev-service-exchange.test.ts -43 tests/routing/jev-session-pin.test.ts -141 tests/routing/jev-typesafe-golden.test.ts -95 tests/routing/policy-execution.test.ts -267 tests/routing/probe-lease-dispatch-wiring.test.ts -98 tests/routing/probe-lease.test.ts -117 tests/routing/resolved-model-policy-consumers.test.ts -45 tests/routing/router-anthropic-billing-failover.test.ts -149 tests/routing/router-blocked-cross-provider.test.ts -52 tests/routing/router-combo-failover-classification.test.ts -87 tests/routing/router-discarded-baseurl-warning.test.ts -77 tests/routing/router-template-baseurl.test.ts -76 tests/routing/router.test.ts -213 tests/routing/routing-analytics.test.ts -53 tests/routing/routing-capability-catalog.test.ts -117 tests/routing/routing-capability-model-matching.test.ts -38 tests/routing/routing-compatibility-auth-identity.test.ts -195 tests/routing/routing-compatibility-boundaries.test.ts -58 tests/routing/routing-compatibility-model-matching.test.ts -111 tests/routing/routing-compatibility.test.ts -57 tests/routing/routing-identity-domains.test.ts -213 tests/routing/routing-policy-dispatch-scope.test.ts -106 tests/routing/routing-policy-fallback-off.test.ts -293 tests/routing/routing-policy-fallback.test.ts -56 tests/routing/routing-policy-pool-quota.test.ts -272 tests/routing/routing-policy-surface-parity.test.ts -266 tests/routing/routing-profile-management-editor.test.ts -202 tests/routing/routing-profile.test.ts -90 tests/routing/subagent-context-staleness.test.ts -45 tests/routing/subagent-defaults.test.ts -4365 tests/routing/subagent-fallback-handle-responses.test.ts -34 tests/routing/subagent-fallback-preview-sites.test.ts -116 tests/routing/subagent-model-fallback-api.test.ts -121 tests/routing/subagent-model-fallback-off.test.ts -689 tests/routing/subagent-model-fallback.test.ts -88 tests/routing/subagent-roster-migration.test.ts -400 tests/routing/subagent-roster-retention.test.ts -71 tests/server/account-import-project-fallback.test.ts -199 tests/server/account-import.test.ts -2049 tests/server/account-pool-management-api.test.ts -105 tests/server/adapter-resolve.test.ts -150 tests/server/admitted-http-turn.test.ts -52 tests/server/advisor-routes.test.ts -119 tests/server/agent-assertion-auth.test.ts -187 tests/server/agent-task-recovery-cache.test.ts -427 tests/server/agent-task-recovery-combo.test.ts -189 tests/server/agent-task-recovery-fallback.test.ts -267 tests/server/agent-task-recovery-security.test.ts -11535 tests/server/agent-task-recovery.test.ts -187 tests/server/alias-management-api.test.ts -146 tests/server/anthropic2-management.test.ts -96 tests/server/api-access-endpoints.test.ts -904 tests/server/api-catalog-route.test.ts -226 tests/server/api-codex-log-guard-compact.test.ts -170 tests/server/api-codex-log-guard-protection.test.ts -140 tests/server/api-codex-log-guard.test.ts -944 tests/server/api-debug.test.ts -3066 tests/server/api-key-attribution.test.ts -121 tests/server/api-key-model-scope.test.ts -282 tests/server/api-key-scope-alpha-search.test.ts -101 tests/server/api-key-scope-audio.test.ts -325 tests/server/api-key-scope-images.test.ts -141 tests/server/api-key-scope-live.test.ts -1967 tests/server/api-keys-routes.test.ts -3463 tests/server/api-usage.test.ts -374 tests/server/aside-profiles-routes.test.ts -93 tests/server/audio-client.test.ts -686 tests/server/audio-dictation.test.ts -777 tests/server/audio-transcriptions.test.ts -504 tests/server/bounded-body.test.ts -117 tests/server/bridge-live-delivery.test.ts -214 tests/server/caller-session-identity.test.ts -386 tests/server/caller-session-ingress.test.ts -2479 tests/server/cancel-body-on-abort.test.ts -1030 tests/server/claude-intercept-integration.test.ts -152 tests/server/client-retry-after-sites.test.ts -392 tests/server/codex-agent-role-routes.test.ts -193 tests/server/codex-role-auto-assign-routes.test.ts -153 tests/server/codex-role-configured-credentials.test.ts -206 tests/server/codex-role-history-recovery.test.ts -438 tests/server/combo-loopback-metered-consent.test.ts -259 tests/server/combo-metered-consent.test.ts -53 tests/server/combo-requested-effort.test.ts -113 tests/server/companion-settings.test.ts -281 tests/server/config.test.ts -149 tests/server/consume-for-inspection-cancel.test.ts -411 tests/server/context-history-ownership.test.ts -305 tests/server/context-history.test.ts -293 tests/server/data-plane-admission-identity.test.ts -34 tests/server/debug-settings.test.ts -28 tests/server/decision-discovery.test.ts -211 tests/server/decision-routes.test.ts -308 tests/server/distributed-key-401.test.ts -164 tests/server/error-fidelity.test.ts -129 tests/server/errors-adapter-failure.test.ts -175 tests/server/fallback-routes.test.ts -511 tests/server/fetch-header-timeout.test.ts -228 tests/server/health-scoring.test.ts -473 tests/server/hub-usage.test.ts -595 tests/server/inbound-body-admission.test.ts -108 tests/server/inbound-body-budget.test.ts -61 tests/server/inference-attempt.test.ts -115 tests/server/inference-client-encoder-delivery.test.ts -81 tests/server/inference-client-wire.test.ts -96 tests/server/inference-final-log.test.ts -1800 tests/server/inference-send-budget.test.ts -98 tests/server/input-admission.test.ts -112 tests/server/jev-decision-scope.test.ts -140 tests/server/link-child-parity.test.ts -119 tests/server/link-enrollment-ephemeral-child.test.ts -221 tests/server/link-enrollment.test.ts -2545 tests/server/link-join-route.test.ts -450 tests/server/link-listener-admission.test.ts -151 tests/server/link-listener-lifecycle.test.ts -46 tests/server/link-listener-mutation.test.ts -6018 tests/server/link-management-relay.test.ts -433 tests/server/link-management-routes.test.ts -46 tests/server/live-call-bindings.test.ts -45 tests/server/live-native-calls.test.ts -183 tests/server/local-account-switch-capability.test.ts -284 tests/server/local-account-switch-ingress.test.ts -517 tests/server/local-aside-sync-capability.test.ts -2262 tests/server/local-control-socket.test.ts -34 tests/server/local-management-attestation.test.ts -64 tests/server/local-management-capability.test.ts -471 tests/server/local-management-direct-transport.test.ts -41 tests/server/local-provider-reload-client.test.ts -408 tests/server/local-read-response-proof.test.ts -625 tests/server/login-shell-path.test.ts -137 tests/server/logs-timezone.test.ts -142 tests/server/loopback-companion-client-targets.test.ts -73 tests/server/loopback-listener-admission.test.ts -2330 tests/server/loopback-listener-integration.test.ts -182 tests/server/management-account-auto-pause.test.ts -115 tests/server/management-anthropic-reset-grants.test.ts -204 tests/server/management-api-logs-metrics.test.ts -139 tests/server/management-api-logs-timing-basis.test.ts -245 tests/server/management-auto-review-auth.test.ts -108 tests/server/management-auto-review-settings.test.ts -544 tests/server/management-client-config-route.test.ts -200 tests/server/management-desktop-compatibility-routes.test.ts -130 tests/server/management-desktop-compatibility-runtime-routes.test.ts -180 tests/server/management-desktop-compatibility-settings.test.ts -325 tests/server/management-droid-reasoning-defaults.test.ts -379 tests/server/management-export-model-names.test.ts -510 tests/server/management-gcp-credential-input.test.ts -185 tests/server/management-google-tool-schema-policy.test.ts -222 tests/server/management-inference-port.test.ts -242 tests/server/management-integration-journal-delete.test.ts -829 tests/server/management-integration-routes.test.ts -1580 tests/server/management-metrics-export.test.ts -145 tests/server/management-model-roster-gather-race.test.ts -130 tests/server/management-model-roster.test.ts -54 tests/server/management-origin-tls.test.ts -201 tests/server/management-provider-atomicity.test.ts -1547 tests/server/management-provider-compat-carry.test.ts +65 tests/responses/thought-signature-credential-scope.test.ts +370 tests/responses/turn-membership-ingress.test.ts +90 tests/responses/turn-membership.test.ts +94 tests/responses/visualization-directives.test.ts +564 tests/responses/ws-ambiguous-resend.test.ts +4785 tests/responses/ws-capacity-reclamation.test.ts +395 tests/responses/ws-capacity-tool-ownership.test.ts +63 tests/responses/ws-committed-liveness.test.ts +150 tests/responses/ws-endpoint.test.ts +110 tests/responses/ws-failure-stage.test.ts +454 tests/responses/ws-native-continuation-send-budget.test.ts +500 tests/responses/ws-native-injection.test.ts +362 tests/responses/ws-native-result-continuations.test.ts +1675 tests/responses/ws-native-steering.test.ts +174 tests/responses/ws-pre-output-refusal.test.ts +255 tests/responses/ws-replay-refusal-attribution.test.ts +374 tests/responses/ws-steering-completion.test.ts +159 tests/responses/ws-steering-smoke.test.ts +231 tests/responses/ws-steering-stability.test.ts +148 tests/responses/ws-upstream-reuse.test.ts +111 tests/responses/ws-upstream-socks5.test.ts +653 tests/responses/ws-upstream.test.ts +399 tests/routing/agy-acp-routing-policy.test.ts +320 tests/routing/always-on-429-failover.test.ts +131 tests/routing/anthropic-quorum-cache.test.ts +61 tests/routing/cl01-claude-outbound-review-regressions.test.ts +55 tests/routing/cl01-openai-chat-review-regressions.test.ts +173 tests/routing/cl01-review-regressions.test.ts +144 tests/routing/codex-agent-role-models.test.ts +59 tests/routing/codex-role-auto-assign.test.ts +60 tests/routing/codex-role-capability-consent.test.ts +86 tests/routing/codex-role-capability-pages.test.ts +57 tests/routing/codex-role-capability-redirects.test.ts +93 tests/routing/codex-role-measured-ties.test.ts +87 tests/routing/codex-role-sizing.test.ts +165 tests/routing/combo-child-headers.test.ts +1604 tests/routing/combo-cooldown-persistence.test.ts +171 tests/routing/combo-description.test.ts +242 tests/routing/combo-failure-transport-parity.test.ts +835 tests/routing/combo-management-api.test.ts +299 tests/routing/combo-required-tool-stream-preflight.test.ts +71 tests/routing/combo-selection-keepalive.test.ts +332 tests/routing/combo-stream-preflight.test.ts +128 tests/routing/combo-terminal-refusal.test.ts +181 tests/routing/combo-unoffered-tool-refusal.test.ts +396 tests/routing/combo-vision-enrollment.test.ts +130 tests/routing/compatibility-provider-equivalence.test.ts +62 tests/routing/destination-policy-resolved.test.ts +164 tests/routing/fallback-policy.test.ts +108 tests/routing/fastwire-characterization-routing.test.ts +461 tests/routing/fastwire-characterization-wire.test.ts +260 tests/routing/fastwire-observability.test.ts +311 tests/routing/fastwire-policy.test.ts +320 tests/routing/fastwire-response-authority.test.ts +64 tests/routing/jev-decision-destination.test.ts +377 tests/routing/jev-decision-model-config.test.ts +262 tests/routing/jev-decision-provider-combo.test.ts +132 tests/routing/jev-decision.test.ts +1075 tests/routing/jev-model-backend.test.ts +354 tests/routing/jev-quota-activation.test.ts +246 tests/routing/jev-quota-anthropic2.test.ts +242 tests/routing/jev-quota-antigravity.test.ts +205 tests/routing/jev-quota-codex-reset.test.ts +270 tests/routing/jev-quota-config.test.ts +648 tests/routing/jev-quota-core-boundary.test.ts +180 tests/routing/jev-quota-publication.test.ts +272 tests/routing/jev-quota-signals.test.ts +146 tests/routing/jev-service-exchange.test.ts +57 tests/routing/jev-session-pin.test.ts +57 tests/routing/jev-typesafe-golden.test.ts +125 tests/routing/policy-execution.test.ts +257 tests/routing/probe-lease-dispatch-wiring.test.ts +174 tests/routing/probe-lease.test.ts +129 tests/routing/resolved-model-policy-consumers.test.ts +5248 tests/routing/route-to-child-defaults.test.ts +4776 tests/routing/route-to-home-decisions.test.ts +7996 tests/routing/route-to-home-live-flags.test.ts +4258 tests/routing/route-to-home-native-truth.test.ts +182 tests/routing/route-to-home-off-review.test.ts +5047 tests/routing/route-to-home-sync-review.test.ts +146 tests/routing/route-to-sync-child.test.ts +55 tests/routing/router-anthropic-billing-failover.test.ts +160 tests/routing/router-blocked-cross-provider.test.ts +191 tests/routing/router-combo-failover-classification.test.ts +127 tests/routing/router-discarded-baseurl-warning.test.ts +101 tests/routing/router-template-baseurl.test.ts +122 tests/routing/router.test.ts +451 tests/routing/routing-analytics.test.ts +94 tests/routing/routing-capability-catalog.test.ts +289 tests/routing/routing-capability-model-matching.test.ts +53 tests/routing/routing-compatibility-auth-identity.test.ts +319 tests/routing/routing-compatibility-boundaries.test.ts +55 tests/routing/routing-compatibility-model-matching.test.ts +171 tests/routing/routing-compatibility.test.ts +70 tests/routing/routing-identity-domains.test.ts +285 tests/routing/routing-policy-dispatch-scope.test.ts +206 tests/routing/routing-policy-fallback-off.test.ts +446 tests/routing/routing-policy-fallback.test.ts +88 tests/routing/routing-policy-pool-quota.test.ts +316 tests/routing/routing-policy-surface-parity.test.ts +369 tests/routing/routing-profile-management-editor.test.ts +301 tests/routing/routing-profile.test.ts +115 tests/routing/subagent-context-staleness.test.ts +76 tests/routing/subagent-defaults.test.ts +2310 tests/routing/subagent-fallback-handle-responses.test.ts +92 tests/routing/subagent-fallback-preview-sites.test.ts +215 tests/routing/subagent-model-fallback-api.test.ts +288 tests/routing/subagent-model-fallback-off.test.ts +490 tests/routing/subagent-model-fallback.test.ts +136 tests/routing/subagent-roster-migration.test.ts +442 tests/routing/subagent-roster-retention.test.ts +123 tests/server/account-import-project-fallback.test.ts +141 tests/server/account-import.test.ts +4043 tests/server/account-pool-management-api.test.ts +218 tests/server/adapter-resolve.test.ts +111 tests/server/admitted-http-turn.test.ts +60 tests/server/advisor-routes.test.ts +110 tests/server/agent-assertion-auth.test.ts +344 tests/server/agent-task-recovery-cache.test.ts +475 tests/server/agent-task-recovery-combo.test.ts +244 tests/server/agent-task-recovery-fallback.test.ts +324 tests/server/agent-task-recovery-security.test.ts +11977 tests/server/agent-task-recovery.test.ts +128 tests/server/alias-management-api.test.ts +236 tests/server/anthropic2-management.test.ts +101 tests/server/api-access-endpoints.test.ts +1052 tests/server/api-catalog-route.test.ts +325 tests/server/api-codex-log-guard-compact.test.ts +236 tests/server/api-codex-log-guard-protection.test.ts +167 tests/server/api-codex-log-guard.test.ts +1163 tests/server/api-debug.test.ts +3644 tests/server/api-key-attribution.test.ts +154 tests/server/api-key-model-scope.test.ts +254 tests/server/api-key-scope-alpha-search.test.ts +235 tests/server/api-key-scope-audio.test.ts +236 tests/server/api-key-scope-images.test.ts +181 tests/server/api-key-scope-live.test.ts +3213 tests/server/api-keys-routes.test.ts +3683 tests/server/api-usage.test.ts +584 tests/server/aside-profiles-routes.test.ts +119 tests/server/audio-client.test.ts +1271 tests/server/audio-dictation.test.ts +1420 tests/server/audio-transcriptions.test.ts +591 tests/server/bounded-body.test.ts +135 tests/server/bridge-live-delivery.test.ts +6852 tests/server/cache-affinity-e2e.test.ts +250 tests/server/caller-session-identity.test.ts +615 tests/server/caller-session-ingress.test.ts +2624 tests/server/cancel-body-on-abort.test.ts +1064 tests/server/claude-intercept-integration.test.ts +280 tests/server/client-retry-after-sites.test.ts +406 tests/server/codex-agent-role-routes.test.ts +148 tests/server/codex-model-list-plaintext.test.ts +265 tests/server/codex-role-auto-assign-routes.test.ts +214 tests/server/codex-role-configured-credentials.test.ts +278 tests/server/codex-role-history-recovery.test.ts +666 tests/server/combo-loopback-metered-consent.test.ts +377 tests/server/combo-metered-consent.test.ts +99 tests/server/combo-requested-effort.test.ts +676 tests/server/combo-suggestion-routes.test.ts +203 tests/server/companion-settings.test.ts +493 tests/server/config.test.ts +219 tests/server/consume-for-inspection-cancel.test.ts +567 tests/server/context-history-ownership.test.ts +206 tests/server/context-history.test.ts +380 tests/server/data-plane-admission-identity.test.ts +52 tests/server/debug-settings.test.ts +94 tests/server/decision-discovery.test.ts +503 tests/server/decision-routes.test.ts +591 tests/server/developer-role-rejection-boundary.test.ts +441 tests/server/distributed-key-401.test.ts +256 tests/server/error-fidelity.test.ts +155 tests/server/errors-adapter-failure.test.ts +241 tests/server/fallback-routes.test.ts +538 tests/server/fetch-header-timeout.test.ts +324 tests/server/health-scoring.test.ts +1976 tests/server/hub-usage-windows.test.ts +759 tests/server/hub-usage.test.ts +925 tests/server/inbound-body-admission.test.ts +128 tests/server/inbound-body-budget.test.ts +132 tests/server/inbound-encoded-body-budget.test.ts +99 tests/server/inference-attempt.test.ts +208 tests/server/inference-client-encoder-delivery.test.ts +89 tests/server/inference-client-wire.test.ts +100 tests/server/inference-final-log.test.ts +1552 tests/server/inference-send-budget.test.ts +138 tests/server/input-admission.test.ts +171 tests/server/jev-decision-scope.test.ts +245 tests/server/link-activity-holds-routes.test.ts +269 tests/server/link-child-ops-routes.test.ts +168 tests/server/link-child-parity.test.ts +195 tests/server/link-child-policy-routes.test.ts +156 tests/server/link-confirm-pin.test.ts +187 tests/server/link-diagnostics-route.test.ts +240 tests/server/link-enrollment-ephemeral-child.test.ts +285 tests/server/link-enrollment-explicit-route.test.ts +578 tests/server/link-enrollment-operation.test.ts +295 tests/server/link-enrollment.test.ts +2548 tests/server/link-join-route.test.ts +820 tests/server/link-listener-admission.test.ts +333 tests/server/link-listener-lifecycle.test.ts +115 tests/server/link-listener-mutation.test.ts +6498 tests/server/link-management-relay.test.ts +802 tests/server/link-management-routes.test.ts +170 tests/server/link-operations-routes.test.ts +951 tests/server/link-recover.test.ts +868 tests/server/link-request-log-fields.test.ts +828 tests/server/link-revoke-operation.test.ts +172 tests/server/link-route-edit-exclusive.test.ts +145 tests/server/link-route-edit-retirement.test.ts +196 tests/server/link-route-edit.test.ts +224 tests/server/link-route-intent.test.ts +366 tests/server/link-route-proof-admission.test.ts +174 tests/server/link-traffic-status.test.ts +112 tests/server/link-websocket-drain.test.ts +551 tests/server/link-websocket-fingerprints.test.ts +240 tests/server/link-websocket-gate.test.ts +232 tests/server/link-websocket-holds.test.ts +595 tests/server/link-websocket-pump.test.ts +132 tests/server/link-websocket-traffic.test.ts +509 tests/server/link-websocket-transport-status.test.ts +1825 tests/server/link-websocket-upgrade.test.ts +93 tests/server/live-call-bindings.test.ts +75 tests/server/live-native-calls.test.ts +232 tests/server/local-account-switch-capability.test.ts +375 tests/server/local-account-switch-ingress.test.ts +621 tests/server/local-aside-sync-capability.test.ts +2217 tests/server/local-control-socket.test.ts +62 tests/server/local-management-attestation.test.ts +92 tests/server/local-management-capability.test.ts +569 tests/server/local-management-direct-transport.test.ts +65 tests/server/local-provider-reload-client.test.ts +430 tests/server/local-read-response-proof.test.ts +631 tests/server/login-shell-path.test.ts +170 tests/server/logs-timezone.test.ts +208 tests/server/loopback-companion-client-targets.test.ts +126 tests/server/loopback-listener-admission.test.ts +3062 tests/server/loopback-listener-integration.test.ts +266 tests/server/management-account-auto-pause.test.ts +171 tests/server/management-anthropic-reset-grants.test.ts +252 tests/server/management-api-logs-metrics.test.ts +213 tests/server/management-api-logs-timing-basis.test.ts +412 tests/server/management-auto-review-auth.test.ts +222 tests/server/management-auto-review-settings.test.ts +583 tests/server/management-client-config-route.test.ts +257 tests/server/management-desktop-compatibility-routes.test.ts +160 tests/server/management-desktop-compatibility-runtime-routes.test.ts +278 tests/server/management-desktop-compatibility-settings.test.ts +292 tests/server/management-droid-reasoning-defaults.test.ts +622 tests/server/management-export-model-names.test.ts +677 tests/server/management-gcp-credential-input.test.ts +253 tests/server/management-google-tool-schema-policy.test.ts +230 tests/server/management-inference-port.test.ts +385 tests/server/management-integration-journal-delete.test.ts +1375 tests/server/management-integration-routes.test.ts +2009 tests/server/management-metrics-export.test.ts +169 tests/server/management-model-roster-gather-race.test.ts +166 tests/server/management-model-roster.test.ts +56 tests/server/management-origin-tls.test.ts +232 tests/server/management-provider-atomicity.test.ts +2775 tests/server/management-provider-compat-carry.test.ts 167 tests/server/management-provider-context-inference.test.ts -452 tests/server/management-provider-hide-raw-reasoning.test.ts -305 tests/server/management-provider-pinsless-validation.test.ts -260 tests/server/management-provider-proto-override.test.ts -605 tests/server/management-provider-reasoning-lists.test.ts -142 tests/server/management-provider-request-pacing.test.ts -42 tests/server/management-provider-reset-replay.test.ts -585 tests/server/management-provider-responses-reasoning.test.ts -144 tests/server/management-provider-synthetic-max.test.ts -281 tests/server/management-provider-thinking-display.test.ts -217 tests/server/management-provider-upstream-websocket.test.ts -8267 tests/server/management-provider-validation.test.ts -318 tests/server/management-provider-verbosity.test.ts -390 tests/server/management-qoder-selector-state.test.ts -857 tests/server/management-route-registry.test.ts -603 tests/server/management-sidecar-anthropic-instance.test.ts -100 tests/server/management-workflow-budget-routes.test.ts -395 tests/server/memory-watchdog.test.ts -252 tests/server/messages-sse-error-filter.test.ts -374 tests/server/messages-sse-error-lifecycle.test.ts -285 tests/server/model-costs-management-api.test.ts -336 tests/server/model-costs-pricing-cache.test.ts -362 tests/server/model-costs-prompt-length-pricing.test.ts -142 tests/server/model-discovery-management-api.test.ts -260 tests/server/model-export-new-model-policy.test.ts -265 tests/server/model-settings-management-api.test.ts -45 tests/server/outbound-body-guard.test.ts -50 tests/server/owned-service-home.test.ts -70 tests/server/passive-route-linker.test.ts -275 tests/server/persistent-dashboard-admission.test.ts -419 tests/server/persistent-dashboard-consent.test.ts -260 tests/server/persistent-dashboard-session.test.ts -2100 tests/server/plaintext-v2-agent-messages-server.test.ts -975 tests/server/port-reclaim.test.ts -359 tests/server/ports.test.ts -905 tests/server/prefer-model-alias-ids.test.ts -838 tests/server/probe-timeout-env.test.ts -98 tests/server/protocol-provider-summary.test.ts -110 tests/server/protocol-routes.test.ts -98 tests/server/protocol-settings-route.test.ts -183 tests/server/protocol-trace-suppression.test.ts -347 tests/server/provider-account-quota-routes.test.ts -50 tests/server/provider-egress-management-validation.test.ts -223 tests/server/provider-send-path-import.test.ts -88 tests/server/proxy-env-macos.test.ts -52 tests/server/proxy-env.test.ts -203 tests/server/proxy-liveness-bind-scope.test.ts -57 tests/server/proxy-liveness-nonloopback-bind-proof.test.ts -82 tests/server/proxy-liveness-owner-evidence.test.ts -48 tests/server/proxy-liveness-package-tree-fence.test.ts -59 tests/server/proxy-liveness-recovery.test.ts -68 tests/server/proxy-liveness.test.ts -4805 tests/server/quota-pool-relay.test.ts -451 tests/server/readyz-features.test.ts -616 tests/server/relay-eager.test.ts -1405 tests/server/replay-refusal-parity.test.ts -306 tests/server/reserve-claude-policy.test.ts -1621 tests/server/reserve-ingress.test.ts -434 tests/server/response-log-inspection.test.ts -1683 tests/server/response-model-identity.test.ts -1253 tests/server/restart-replacement-not-ready.test.ts -84 tests/server/restart-replacement.test.ts -120 tests/server/retry-after-429.test.ts -39 tests/server/retry-delay-hardening.test.ts -141 tests/server/route-decision-trace.test.ts -143 tests/server/safe-response-headers.test.ts -2467 tests/server/served-by-header.test.ts -629 tests/server/server-403-permission-e2e.test.ts -315 tests/server/server-agent-task-recovery-replay.test.ts -394 tests/server/server-anthropic-billing-boundaries.test.ts -2233 tests/server/server-anthropic-billing.test.ts -2088 tests/server/server-antigravity-model-denial-recovery.test.ts -438 tests/server/server-antigravity-model-roster-routing.test.ts -155 tests/server/server-antigravity-verify-replay-scope.test.ts -492 tests/server/server-antigravity-web-search-validation.test.ts -212 tests/server/server-auth-localhost-bind.test.ts -1946 tests/server/server-auth-scoped-quota.test.ts -18989 tests/server/server-auth.test.ts -1018 tests/server/server-background-lifecycle.test.ts -358 tests/server/server-chat-error-body-evidence.test.ts -539 tests/server/server-chat-native-key-selection.test.ts -317 tests/server/server-cli-key-probe-admission.test.ts +755 tests/server/management-provider-forward-advisor-tool.test.ts +1146 tests/server/management-provider-hide-raw-reasoning.test.ts +689 tests/server/management-provider-model-discovery.test.ts +414 tests/server/management-provider-pinsless-validation.test.ts +383 tests/server/management-provider-proto-override.test.ts +756 tests/server/management-provider-reasoning-lists.test.ts +235 tests/server/management-provider-request-pacing.test.ts +56 tests/server/management-provider-reset-replay.test.ts +797 tests/server/management-provider-responses-reasoning.test.ts +311 tests/server/management-provider-synthetic-max.test.ts +524 tests/server/management-provider-thinking-display.test.ts +192 tests/server/management-provider-upstream-websocket.test.ts +6828 tests/server/management-provider-validation.test.ts +508 tests/server/management-provider-verbosity.test.ts +404 tests/server/management-qoder-selector-state.test.ts +552 tests/server/management-route-intent-native-errors.test.ts +480 tests/server/management-route-intent-native-review.test.ts +823 tests/server/management-route-registry.test.ts +620 tests/server/management-sidecar-anthropic-instance.test.ts +178 tests/server/management-workflow-budget-routes.test.ts +507 tests/server/memory-watchdog.test.ts +275 tests/server/messages-sse-error-filter.test.ts +407 tests/server/messages-sse-error-lifecycle.test.ts +323 tests/server/model-costs-management-api.test.ts +634 tests/server/model-costs-pricing-cache.test.ts +337 tests/server/model-costs-prompt-length-pricing.test.ts +177 tests/server/model-discovery-management-api.test.ts +346 tests/server/model-export-new-model-policy.test.ts +516 tests/server/model-settings-management-api.test.ts +105 tests/server/outbound-body-guard.test.ts +62 tests/server/owned-service-home.test.ts +61 tests/server/passive-route-linker.test.ts +466 tests/server/persistent-dashboard-admission.test.ts +599 tests/server/persistent-dashboard-consent.test.ts +291 tests/server/persistent-dashboard-session.test.ts +2422 tests/server/plaintext-v2-agent-messages-server.test.ts +978 tests/server/port-reclaim.test.ts +398 tests/server/ports.test.ts +1314 tests/server/prefer-model-alias-ids.test.ts +1182 tests/server/probe-timeout-env.test.ts +211 tests/server/protocol-provider-summary.test.ts +151 tests/server/protocol-routes.test.ts +174 tests/server/protocol-settings-route.test.ts +282 tests/server/protocol-trace-suppression.test.ts +209 tests/server/provider-account-quota-routes.test.ts +72 tests/server/provider-egress-management-validation.test.ts +178 tests/server/provider-send-path-import.test.ts +63 tests/server/proxy-env-macos.test.ts +97 tests/server/proxy-env.test.ts +395 tests/server/proxy-liveness-bind-scope.test.ts +318 tests/server/proxy-liveness-nonloopback-bind-proof.test.ts +124 tests/server/proxy-liveness-owner-evidence.test.ts +71 tests/server/proxy-liveness-package-tree-fence.test.ts +114 tests/server/proxy-liveness-recovery.test.ts +3847 tests/server/proxy-liveness-self-pid-record.test.ts +70 tests/server/proxy-liveness.test.ts +4973 tests/server/quota-pool-relay.test.ts +535 tests/server/readyz-features.test.ts +753 tests/server/relay-eager.test.ts +1970 tests/server/replay-refusal-parity.test.ts +538 tests/server/reserve-claude-policy.test.ts +731 tests/server/reserve-ingress-fixture-port-race.test.ts +2843 tests/server/reserve-ingress.test.ts +608 tests/server/response-log-inspection.test.ts +1701 tests/server/response-model-identity.test.ts +239 tests/server/response-replay-combo-identity.test.ts +619 tests/server/response-replay-ownership.test.ts +1297 tests/server/restart-replacement-not-ready.test.ts +110 tests/server/restart-replacement.test.ts +176 tests/server/retry-after-429.test.ts +63 tests/server/retry-delay-hardening.test.ts +257 tests/server/route-decision-trace.test.ts +201 tests/server/route-intent-watch-boundary.test.ts +97 tests/server/route-intent-watch-waiters.test.ts +211 tests/server/route-to-ephemeral.test.ts +162 tests/server/route-to-live-settings.test.ts +198 tests/server/route-to-policy-review.test.ts +253 tests/server/route-to-retirement-review.test.ts +238 tests/server/route-to-routes.test.ts +125 tests/server/safe-response-headers.test.ts +2080 tests/server/served-by-header.test.ts +702 tests/server/server-403-permission-e2e.test.ts +353 tests/server/server-agent-task-recovery-replay.test.ts +4329 tests/server/server-agy-acp.test.ts +582 tests/server/server-anthropic-billing-boundaries.test.ts +2271 tests/server/server-anthropic-billing.test.ts +2119 tests/server/server-antigravity-model-denial-recovery.test.ts +704 tests/server/server-antigravity-model-roster-routing.test.ts +167 tests/server/server-antigravity-verify-replay-scope.test.ts +942 tests/server/server-antigravity-web-search-validation.test.ts +403 tests/server/server-auth-localhost-bind.test.ts +1937 tests/server/server-auth-scoped-quota.test.ts +19085 tests/server/server-auth.test.ts +1514 tests/server/server-background-lifecycle.test.ts +560 tests/server/server-chat-error-body-evidence.test.ts +629 tests/server/server-chat-native-key-selection.test.ts +383 tests/server/server-cli-key-probe-admission.test.ts 60 tests/server/server-clickjacking-headers.test.ts -325 tests/server/server-combo-cooldown-fallback.test.ts -752 tests/server/server-combo-cooldown-recording.test.ts -9703 tests/server/server-combo-failover-e2e.test.ts -39 tests/server/server-combo-held-response.test.ts -676 tests/server/server-combo-plan-model-refusal.test.ts -124 tests/server/server-combo-quota-code-provenance.test.ts -3976 tests/server/server-combo-reasoning-replay-eligibility.test.ts -1266 tests/server/server-combo-required-tool-contract.test.ts -439 tests/server/server-combo-stream-hosted-tool-contract.test.ts -647 tests/server/server-combo-stream-required-tool.test.ts -345 tests/server/server-combo-stream-send-contract.test.ts -5361 tests/server/server-combo-tool-loop-continuation.test.ts -379 tests/server/server-combo-zero-output-failover.test.ts -719 tests/server/server-desktop-compatibility-startup.test.ts -647 tests/server/server-generic-oauth-affinity.test.ts +492 tests/server/server-combo-cooldown-fallback.test.ts +929 tests/server/server-combo-cooldown-recording.test.ts +12315 tests/server/server-combo-failover-e2e.test.ts +56 tests/server/server-combo-held-response.test.ts +431 tests/server/server-combo-opaque-error-failover.test.ts +1157 tests/server/server-combo-plan-model-refusal.test.ts +174 tests/server/server-combo-quota-code-provenance.test.ts +4070 tests/server/server-combo-reasoning-replay-eligibility.test.ts +2227 tests/server/server-combo-required-tool-contract.test.ts +448 tests/server/server-combo-selection-keepalive.test.ts +595 tests/server/server-combo-stream-hosted-tool-contract.test.ts +936 tests/server/server-combo-stream-required-tool.test.ts +489 tests/server/server-combo-stream-send-contract.test.ts +5391 tests/server/server-combo-tool-loop-continuation.test.ts +1002 tests/server/server-combo-zero-output-failover.test.ts +521 tests/server/server-dashboard-trusted-proxy.test.ts +755 tests/server/server-desktop-compatibility-startup.test.ts +932 tests/server/server-generic-oauth-affinity.test.ts 13985 tests/server/server-google-antigravity-oauth-401-replay.test.ts -434 tests/server/server-google-antigravity-oauth-429-budget.test.ts -67 tests/server/server-gui-bundle-freshness.test.ts -133 tests/server/server-images-bodyless-content-length.test.ts -203 tests/server/server-images-pool-admission.test.ts -6037 tests/server/server-images.test.ts -360 tests/server/server-jev-combo-e2e.test.ts -331 tests/server/server-jev-model-decision-e2e.test.ts -275 tests/server/server-jev-model-quota-budget.test.ts -178 tests/server/server-jev-session-pin.test.ts -5479 tests/server/server-key-failover-e2e.test.ts -1542 tests/server/server-kiro-completion-e2e.test.ts -191 tests/server/server-kiro-device-login.test.ts -543 tests/server/server-kiro-oauth-401-replay.test.ts -3361 tests/server/server-kiro-refusal-e2e.test.ts -754 tests/server/server-kiro-structured-output-e2e.test.ts -1726 tests/server/server-kiro-usage-log-e2e.test.ts -568 tests/server/server-live-cancel.test.ts -8818 tests/server/server-live-close.test.ts -675 tests/server/server-live-existing-call.test.ts -231 tests/server/server-live-frame-log.test.ts -1077 tests/server/server-live-realtime-fixtures.test.ts -6048 tests/server/server-live.test.ts -41 tests/server/server-loopback-host-gate.test.ts -1802 tests/server/server-management-auth.test.ts -263 tests/server/server-management-log-admission.test.ts -1157 tests/server/server-native-catalog-priority.test.ts -124 tests/server/server-native-final-log.test.ts -64 tests/server/server-native-reasoning-retention-merge.test.ts -296 tests/server/server-native-reasoning-retention.test.ts -670 tests/server/server-new-model-policy-arrival.test.ts -4743 tests/server/server-ollama-inbound-errors.test.ts -781 tests/server/server-ollama-inbound-lifecycle.test.ts -1395 tests/server/server-ollama-inbound.test.ts -113 tests/server/server-ollama-route-policy.test.ts -420 tests/server/server-opencode-go-goal-streaming.test.ts -1499 tests/server/server-rate-limit-retry-e2e.test.ts -893 tests/server/server-request-body-size.test.ts -1799 tests/server/server-search.test.ts -367 tests/server/server-startup-codex-off.test.ts -582 tests/server/server-startup-reconcile-resilience.test.ts -442 tests/server/server-stop-config-hardening.test.ts -153 tests/server/server-telemetry-profile-routes.test.ts -162 tests/server/server-telemetry-routes.test.ts -329 tests/server/server-terminal-refusal-wiring.test.ts -373 tests/server/server-workflow-budget-settings.test.ts -470 tests/server/server-xai-chat-reasoning-streaming.test.ts -369 tests/server/server-xai-header-parity.test.ts -720 tests/server/server-xai-oauth-401-replay.test.ts -564 tests/server/server-xai-responses-streaming.test.ts +521 tests/server/server-google-antigravity-oauth-429-budget.test.ts +119 tests/server/server-gui-bundle-freshness.test.ts +212 tests/server/server-images-bodyless-content-length.test.ts +314 tests/server/server-images-pool-admission.test.ts +6222 tests/server/server-images.test.ts +431 tests/server/server-jev-combo-e2e.test.ts +315 tests/server/server-jev-model-decision-e2e.test.ts +513 tests/server/server-jev-model-quota-budget.test.ts +329 tests/server/server-jev-session-pin.test.ts +7145 tests/server/server-key-failover-e2e.test.ts +1525 tests/server/server-kiro-completion-e2e.test.ts +283 tests/server/server-kiro-device-login.test.ts +910 tests/server/server-kiro-oauth-401-replay.test.ts +4764 tests/server/server-kiro-refusal-e2e.test.ts +1093 tests/server/server-kiro-structured-output-e2e.test.ts +2444 tests/server/server-kiro-usage-log-e2e.test.ts +766 tests/server/server-live-cancel.test.ts +8838 tests/server/server-live-close.test.ts +500 tests/server/server-live-existing-call.test.ts +156 tests/server/server-live-frame-log.test.ts +1258 tests/server/server-live-realtime-fixtures.test.ts +5468 tests/server/server-live.test.ts +90 tests/server/server-loopback-host-gate.test.ts +2283 tests/server/server-management-auth.test.ts +441 tests/server/server-management-log-admission.test.ts +1643 tests/server/server-native-catalog-priority.test.ts +145 tests/server/server-native-final-log.test.ts +165 tests/server/server-native-reasoning-retention-merge.test.ts +232 tests/server/server-native-reasoning-retention.test.ts +1041 tests/server/server-new-model-policy-arrival.test.ts +5088 tests/server/server-ollama-inbound-errors.test.ts +1017 tests/server/server-ollama-inbound-lifecycle.test.ts +1754 tests/server/server-ollama-inbound.test.ts +206 tests/server/server-ollama-route-policy.test.ts +610 tests/server/server-opencode-go-goal-streaming.test.ts +1690 tests/server/server-rate-limit-retry-e2e.test.ts +1158 tests/server/server-request-body-size.test.ts +2213 tests/server/server-search.test.ts +479 tests/server/server-startup-codex-off.test.ts +586 tests/server/server-startup-reconcile-resilience.test.ts +646 tests/server/server-stop-config-hardening.test.ts +274 tests/server/server-telemetry-profile-routes.test.ts +228 tests/server/server-telemetry-routes.test.ts +496 tests/server/server-terminal-refusal-wiring.test.ts +240 tests/server/server-workflow-budget-settings.test.ts +479 tests/server/server-xai-chat-reasoning-streaming.test.ts +531 tests/server/server-xai-header-parity.test.ts +3078 tests/server/server-xai-oauth-401-replay.test.ts +823 tests/server/server-xai-responses-streaming.test.ts 153 tests/server/session-affinity.test.ts -361 tests/server/session-lane-recall-harness.test.ts -145 tests/server/sidebar-routes.test.ts -38 tests/server/sidebar-star-state.test.ts -98 tests/server/spend-instrumentation-log.test.ts -117 tests/server/spend-ledger-lifecycle.test.ts -275 tests/server/spend-ledger-owner-startup.test.ts -80 tests/server/startup-action-control-elevation.test.ts -150 tests/server/startup-action-control.test.ts -11807 tests/server/startup-health-packaged-probe.test.ts -56 tests/server/startup-prompt.test.ts -107 tests/server/stream-aborted-marker.test.ts -144 tests/server/subagent-model-force-api.test.ts -815 tests/server/system-env.test.ts -151 tests/server/system-restart-admission.test.ts -4236 tests/server/system-restart-ownership.test.ts -155 tests/server/system-restart.test.ts -114 tests/server/system-routes.test.ts -8360 tests/server/terminal-guard-server.test.ts -89 tests/server/terminal-guard.test.ts -560 tests/server/turn-state-handles-e2e.test.ts -4075 tests/server/turn-state-handles.test.ts -144 tests/server/update-async-routes.test.ts -105 tests/server/upstream-connect-error.test.ts -1693 tests/server/upstream-error-detail-boundaries.test.ts -43 tests/server/upstream-http-version.test.ts -498 tests/server/v1-hub-state.test.ts -330 tests/server/v2-agent-message-failfast.test.ts -136 tests/service/autostart-health.test.ts -1421 tests/service/connected-stop-capability-auth.test.ts -2070 tests/service/container-bootstrap.test.ts -67 tests/service/crash-guard.test.ts -218 tests/service/doctor-bun-install.test.ts -25214 tests/service/doctor-codex-envkey-readiness.test.ts -111 tests/service/doctor-oauth.test.ts -92 tests/service/doctor-provider-apikey.test.ts -31 tests/service/doctor-service-memory-contract.test.ts -85 tests/service/init-backup-cleanup.test.ts -5243 tests/service/init-eof.test.ts -53 tests/service/launchd-port-fallback.test.ts -409 tests/service/launchd-repair.test.ts -79 tests/service/live-service-manager-guard.test.ts -34 tests/service/managing-cli.test.ts -39 tests/service/ownership-mutation-lease-diagnostics.test.ts -65 tests/service/process-state.test.ts -246 tests/service/service-auth-qualified-localhost.test.ts -68 tests/service/service-child-ownership.test.ts -92 tests/service/service-claim.test.ts -137 tests/service/service-definition-escaping.test.ts -119 tests/service/service-desktop-login-registration.test.ts -92 tests/service/service-desktop-recovery.test.ts -45 tests/service/service-desktop-runtime-preflight.test.ts -83 tests/service/service-desktop-startup-health.test.ts -200 tests/service/service-desktop-startup-linux.test.ts -281 tests/service/service-desktop-startup.test.ts -195 tests/service/service-desktop-supervision-windows.test.ts -34 tests/service/service-handled-signal-exit.test.ts -47 tests/service/service-health-sentinel-launch.test.ts -60 tests/service/service-health-sentinel-linux.test.ts -54 tests/service/service-health-sentinel-policy.test.ts -7911 tests/service/service-health-sentinel-process.test.ts -411 tests/service/service-health-sentinel-runner.test.ts -77 tests/service/service-install-wrapper-cleanup.test.ts -1178 tests/service/service-log.test.ts -125 tests/service/service-multishell-path.test.ts -55 tests/service/service-ownership-compatibility.test.ts -197 tests/service/service-ownership-handover.test.ts -196 tests/service/service-ownership-state.test.ts -171 tests/service/service-pinned-homes.test.ts -31 tests/service/service-probe-docker.test.ts -74 tests/service/service-proxy-env.test.ts -144 tests/service/service-runtime-preflight.test.ts +707 tests/server/session-lane-recall-harness.test.ts +204 tests/server/sidebar-routes.test.ts +51 tests/server/sidebar-star-state.test.ts +134 tests/server/spend-instrumentation-log.test.ts +190 tests/server/spend-ledger-lifecycle.test.ts +748 tests/server/spend-ledger-owner-startup.test.ts +132 tests/server/startup-action-control-elevation.test.ts +227 tests/server/startup-action-control.test.ts +11751 tests/server/startup-health-packaged-probe.test.ts +68 tests/server/startup-prompt.test.ts +139 tests/server/stream-aborted-marker.test.ts +197 tests/server/subagent-model-force-api.test.ts +225 tests/server/system-env.test.ts +241 tests/server/system-restart-admission.test.ts +4166 tests/server/system-restart-ownership.test.ts +237 tests/server/system-restart.test.ts +225 tests/server/system-routes.test.ts +8481 tests/server/terminal-guard-server.test.ts +108 tests/server/terminal-guard.test.ts +651 tests/server/turn-state-handles-e2e.test.ts +1041 tests/server/turn-state-handles.test.ts +283 tests/server/update-async-routes.test.ts +89 tests/server/upstream-connect-error.test.ts +2378 tests/server/upstream-error-detail-boundaries.test.ts +55 tests/server/upstream-http-version.test.ts +994 tests/server/v1-hub-state.test.ts +437 tests/server/v2-agent-message-failfast.test.ts +218 tests/service/autostart-health.test.ts +1462 tests/service/connected-stop-capability-auth.test.ts +3055 tests/service/container-bootstrap.test.ts +172 tests/service/crash-guard.test.ts +316 tests/service/doctor-bun-install.test.ts +25270 tests/service/doctor-codex-envkey-readiness.test.ts +230 tests/service/doctor-oauth.test.ts +125 tests/service/doctor-provider-apikey.test.ts +57 tests/service/doctor-service-memory-contract.test.ts +116 tests/service/init-backup-cleanup.test.ts +7314 tests/service/init-eof.test.ts +131 tests/service/launchd-port-fallback.test.ts +1419 tests/service/launchd-repair.test.ts +121 tests/service/live-service-manager-guard.test.ts +49 tests/service/managing-cli.test.ts +57 tests/service/ownership-mutation-lease-diagnostics.test.ts +133 tests/service/process-state.test.ts +205 tests/service/service-auth-qualified-localhost.test.ts +53 tests/service/service-child-ownership.test.ts +127 tests/service/service-claim.test.ts +164 tests/service/service-definition-escaping.test.ts +158 tests/service/service-desktop-login-registration.test.ts +929 tests/service/service-desktop-recovery.test.ts +279 tests/service/service-desktop-runtime-preflight.test.ts +126 tests/service/service-desktop-startup-health.test.ts +260 tests/service/service-desktop-startup-linux.test.ts +189 tests/service/service-desktop-startup.test.ts +138 tests/service/service-desktop-supervision-windows.test.ts +57 tests/service/service-disconnected-client-restart.test.ts +73 tests/service/service-handled-signal-exit.test.ts +65 tests/service/service-health-sentinel-launch.test.ts +92 tests/service/service-health-sentinel-linux.test.ts +60 tests/service/service-health-sentinel-policy.test.ts +7977 tests/service/service-health-sentinel-process.test.ts +434 tests/service/service-health-sentinel-runner.test.ts +1767 tests/service/service-install-wrapper-cleanup.test.ts +1826 tests/service/service-log.test.ts +134 tests/service/service-multishell-path.test.ts +72 tests/service/service-ownership-compatibility.test.ts +1446 tests/service/service-ownership-handover.test.ts +326 tests/service/service-ownership-state.test.ts +195 tests/service/service-pinned-homes.test.ts +52 tests/service/service-probe-docker.test.ts +61 tests/service/service-proxy-env.test.ts +70 tests/service/service-restart-registration-guard.test.ts +57 tests/service/service-restart-replacement.test.ts +784 tests/service/service-runtime-preflight.test.ts +135 tests/service/service-scheduler-restart-cleanup.test.ts 38599 tests/service/service-scheduler-restart-respawn-refusal.test.ts -198 tests/service/service-secrets.test.ts -269 tests/service/service-sqlite-home.test.ts -34 tests/service/service-start-environment.test.ts -198 tests/service/service-state-isolation.test.ts -2487 tests/service/service-status-json.test.ts -166 tests/service/service-stop-verification.test.ts -339 tests/service/service-tier-capability.test.ts -175 tests/service/service-wsl-home-ownership.test.ts -805 tests/service/service.test.ts -232 tests/service/shutdown-drain.test.ts -8888 tests/service/shutdown-launcher.test.ts -124 tests/service/stale-state-purge.test.ts -37 tests/service/standalone-service.test.ts +209 tests/service/service-secrets.test.ts +257 tests/service/service-sqlite-home.test.ts +69 tests/service/service-start-environment.test.ts +320 tests/service/service-state-isolation.test.ts +2576 tests/service/service-status-json.test.ts +159 tests/service/service-stop-verification.test.ts +496 tests/service/service-tier-capability.test.ts +261 tests/service/service-wsl-home-ownership.test.ts +1757 tests/service/service.test.ts +320 tests/service/shutdown-drain.test.ts +10228 tests/service/shutdown-launcher.test.ts +72 tests/service/stale-state-purge.test.ts +51 tests/service/standalone-service.test.ts 48264 tests/service/stop-deferred-teardown.test.ts -339 tests/service/stop-direct-fetch.test.ts -977 tests/service/stop-restoration-preflight.test.ts -3908 tests/service/stop-restore-history-ownership.test.ts -73 tests/service/systemd-install-cleanup-hardening.test.ts -189 tests/service/winsw.test.ts -3148 tests/storage/api-storage-cleanup.test.ts +384 tests/service/stop-direct-fetch.test.ts +1137 tests/service/stop-restoration-preflight.test.ts +4995 tests/service/stop-restore-history-ownership.test.ts +57 tests/service/systemd-install-cleanup-hardening.test.ts +361 tests/service/winsw.test.ts +3279 tests/storage/api-storage-cleanup.test.ts 1925 tests/storage/api-storage-policy-already-running.test.ts -1615 tests/storage/api-storage-policy-mutation-busy.test.ts -1401 tests/storage/api-storage-policy-put-race.test.ts -1252 tests/storage/api-storage-policy-run.test.ts -684 tests/storage/api-storage-policy.test.ts -835 tests/storage/api-storage.test.ts -770 tests/storage/storage-cleanup.test.ts -6380 tests/storage/storage-mutation-race.test.ts -107 tests/storage/storage-policy-config-race.test.ts -1942 tests/storage/storage-policy-job-responsive.test.ts -134 tests/storage/storage-policy.test.ts -30 tests/storage/storage-restore-job-errors.test.ts -4946 tests/storage/storage-restore-job-responsive.test.ts -176 tests/storage/storage-scanner.test.ts -905 tests/storage/storage-worker-lifecycle.test.ts -28 tests/storage/storage-worker-os-join-settle.test.ts -4305 tests/storage/storage-worker-teardown-isolate.test.ts -443 tests/test-layout-tooling.test.ts -127 tests/test-layout.test.ts -38 tests/update/pnpm-command-isolation.test.ts -38 tests/update/update-badge.test.ts -77 tests/update/update-bounded-json.test.ts -7781 tests/update/update-bun-ownership-lease.test.ts -34 tests/update/update-candidate-id.test.ts -71 tests/update/update-capability-policy.test.ts -325 tests/update/update-checkpoint-codec.test.ts -119 tests/update/update-config-preflight.test.ts -197 tests/update/update-contracts.test.ts -66 tests/update/update-desktop-badge.test.ts -52 tests/update/update-desktop-owner.test.ts -62 tests/update/update-effect-authority.test.ts -121 tests/update/update-external-metadata.test.ts -105 tests/update/update-guarded-ops.test.ts -1002 tests/update/update-home-launcher.test.ts -59 tests/update/update-home-recovery.test.ts -144 tests/update/update-home-worker.test.ts -183 tests/update/update-job-supervised-restart.test.ts -300 tests/update/update-job.test.ts -39 tests/update/update-minisign.test.ts -43 tests/update/update-mise-launcher-target.test.ts -31 tests/update/update-mise-node-runtime.test.ts -284 tests/update/update-mise.test.ts -122 tests/update/update-mutation-boundaries.test.ts -48 tests/update/update-mutation-guard.test.ts -87 tests/update/update-mutation-scanner.test.ts -44 tests/update/update-notify.test.ts -45 tests/update/update-npm-allow-scripts.test.ts -378 tests/update/update-npm-cache-preflight.test.ts -52 tests/update/update-npm-invocation.test.ts -31 tests/update/update-npm-supervisor-exit.test.ts -35 tests/update/update-npm-timeout.test.ts -41 tests/update/update-orchestrated-apply.test.ts -47 tests/update/update-orchestrated-arguments.test.ts -63388 tests/update/update-orchestrated-entry.test.ts -43 tests/update/update-orchestrated-identity.test.ts -75 tests/update/update-orchestrated-plan.test.ts +1595 tests/storage/api-storage-policy-mutation-busy.test.ts +1113 tests/storage/api-storage-policy-put-race.test.ts +1677 tests/storage/api-storage-policy-run.test.ts +806 tests/storage/api-storage-policy.test.ts +693 tests/storage/api-storage.test.ts +1043 tests/storage/storage-cleanup.test.ts +6589 tests/storage/storage-mutation-race.test.ts +122 tests/storage/storage-policy-config-race.test.ts +2250 tests/storage/storage-policy-job-responsive.test.ts +119 tests/storage/storage-policy.test.ts +104 tests/storage/storage-restore-job-errors.test.ts +5154 tests/storage/storage-restore-job-responsive.test.ts +219 tests/storage/storage-scanner.test.ts +975 tests/storage/storage-worker-lifecycle.test.ts +48 tests/storage/storage-worker-os-join-settle.test.ts +4437 tests/storage/storage-worker-teardown-isolate.test.ts +446 tests/test-layout-tooling.test.ts +132 tests/test-layout.test.ts +303 tests/update/pnpm-command-isolation.test.ts +64 tests/update/update-badge.test.ts +101 tests/update/update-bounded-json.test.ts +10869 tests/update/update-bun-ownership-lease.test.ts +52 tests/update/update-candidate-id.test.ts +86 tests/update/update-capability-policy.test.ts +323 tests/update/update-checkpoint-codec.test.ts +169 tests/update/update-config-preflight.test.ts +238 tests/update/update-contracts.test.ts +57 tests/update/update-desktop-badge.test.ts +50 tests/update/update-desktop-headless-acquire.test.ts +79 tests/update/update-desktop-headless-flow.test.ts +66 tests/update/update-desktop-headless-release.test.ts +53 tests/update/update-desktop-headless-runtime.test.ts +50 tests/update/update-desktop-headless-staging.test.ts +70 tests/update/update-desktop-owner.test.ts +66 tests/update/update-effect-authority.test.ts +177 tests/update/update-external-metadata.test.ts +57 tests/update/update-guarded-ops.test.ts +690 tests/update/update-home-launcher.test.ts +54 tests/update/update-home-recovery.test.ts +185 tests/update/update-home-worker.test.ts +163 tests/update/update-job-supervised-restart.test.ts +241 tests/update/update-job.test.ts +98 tests/update/update-minisign.test.ts +65 tests/update/update-mise-launcher-target.test.ts +55 tests/update/update-mise-node-runtime.test.ts +417 tests/update/update-mise.test.ts +136 tests/update/update-mutation-boundaries.test.ts +62 tests/update/update-mutation-guard.test.ts +123 tests/update/update-mutation-scanner.test.ts +118 tests/update/update-notify.test.ts +50 tests/update/update-npm-allow-scripts.test.ts +403 tests/update/update-npm-cache-preflight.test.ts +69 tests/update/update-npm-invocation.test.ts +60 tests/update/update-npm-supervisor-exit.test.ts +57 tests/update/update-npm-timeout.test.ts +84 tests/update/update-orchestrated-apply.test.ts +60 tests/update/update-orchestrated-arguments.test.ts +60699 tests/update/update-orchestrated-entry.test.ts +69 tests/update/update-orchestrated-identity.test.ts +78 tests/update/update-orchestrated-plan.test.ts 25495 tests/update/update-orchestrated-pnpm-entry.test.ts 21190 tests/update/update-orchestrated-pnpm-global-store-entry.test.ts -3417 tests/update/update-orchestrated-session.test.ts -36 tests/update/update-orchestrated-token.test.ts -132 tests/update/update-pnpm.test.ts -59 tests/update/update-reclaim-authorizer.test.ts -75 tests/update/update-recovery-authority.test.ts -290 tests/update/update-recovery-boundaries.test.ts -64 tests/update/update-recovery-host-free.test.ts -283 tests/update/update-refresh.test.ts -35307 tests/update/update-restart-lease.test.ts -42 tests/update/update-root-snapshot.test.ts -43 tests/update/update-service-home-policy.test.ts -114 tests/update/update-service-home.test.ts -151 tests/update/update-signed-supply.test.ts -33 tests/update/update-signed-version.test.ts -137 tests/update/update-standalone.test.ts -1697 tests/update/update-stop-classification.test.ts -8144 tests/update/update-stop-first.test.ts -41 tests/update/update-supervised-recovery.test.ts -18823 tests/update/update-sync-mutex.test.ts -3143 tests/update/update-teardown-handover.test.ts -524 tests/update/update-transactional-leftovers.test.ts -144 tests/update/update-transactional.test.ts -1883 tests/update/update-tray-handoff.test.ts -163 tests/update/update-tree-ownership.test.ts -59 tests/update/update-trust-root.test.ts -41 tests/update/update-windows-wrapper-authority.test.ts -65 tests/update/update-worker-launch.test.ts -42 tests/usage/anthropic2-usage-attribution.test.ts -485 tests/usage/cache-diagnostic-caller-isolation.test.ts -180 tests/usage/cache-diagnostic-hook-compat.test.ts -517 tests/usage/cache-diagnostic.test.ts -268 tests/usage/cost-cap-unknown-evidence.test.ts -93 tests/usage/cost-scoring.test.ts -54 tests/usage/gpt61-terra-pricing.test.ts -50 tests/usage/jev-stats.test.ts -101 tests/usage/key-attribution.test.ts -198 tests/usage/quota-401-recovery-runtime.test.ts -63 tests/usage/quota-401-recovery.test.ts -3137 tests/usage/quota-pool.test.ts -77 tests/usage/quota-reset-account-key.test.ts -432 tests/usage/quota-reset-core-boundary.test.ts -41 tests/usage/quota-reset-detector.test.ts -42 tests/usage/quota-reset-notify-config.test.ts -389 tests/usage/quota-reset-notify.test.ts -482 tests/usage/quota-reset-observation.test.ts -1719 tests/usage/quota-reset-seen-store.test.ts -194 tests/usage/quota-scoring.test.ts -3232 tests/usage/request-decompress.test.ts -40 tests/usage/request-evidence.test.ts -1270 tests/usage/request-history-index.test.ts -3137 tests/usage/request-history-integrity.test.ts -1082 tests/usage/request-history-rebuild-worker.test.ts -98 tests/usage/request-log-attempt-identity.test.ts -74 tests/usage/request-log-conversation.test.ts -120 tests/usage/request-log-error-detail.test.ts -78 tests/usage/request-log-estimate-cap.test.ts -244 tests/usage/request-log-generation-window.test.ts -87 tests/usage/request-log-identity-bounds.test.ts -65 tests/usage/request-log-jev.test.ts -42 tests/usage/request-log-model-filter.test.ts -174 tests/usage/request-log-nonstream.test.ts -267 tests/usage/request-log-normalization.test.ts -97 tests/usage/request-log-protocol-trace.test.ts -88 tests/usage/request-log-served-model.test.ts -223 tests/usage/request-log.test.ts -136 tests/usage/request-outcome-agreement.test.ts -30 tests/usage/request-pacing-provenance.test.ts -199 tests/usage/request-pacing.test.ts -18687 tests/usage/upstream-failure-diagnostics.test.ts -283 tests/usage/usage-aggregate-cache.test.ts -34 tests/usage/usage-anthropic-fast-pricing.test.ts -53 tests/usage/usage-antigravity-55.test.ts -70 tests/usage/usage-attempt-delivery.test.ts -123 tests/usage/usage-client-attribution.test.ts -54 tests/usage/usage-cost.test.ts -42 tests/usage/usage-cursor-fast-pricing.test.ts -114 tests/usage/usage-debug.test.ts -38 tests/usage/usage-failure-fingerprint.test.ts -64 tests/usage/usage-failure-persistence.test.ts -34 tests/usage/usage-failure-projection.test.ts -7741 tests/usage/usage-filter-index.test.ts -53 tests/usage/usage-haiku-5-5-pricing.test.ts -86 tests/usage/usage-ledger-retention.test.ts -176 tests/usage/usage-ledger-scanner.test.ts -35 tests/usage/usage-log-ws-stage.test.ts -2567 tests/usage/usage-log.test.ts -172 tests/usage/usage-partly-measured-cost.test.ts -56 tests/usage/usage-prompt-length-pricing.test.ts -40 tests/usage/usage-provider-label.test.ts -211 tests/usage/usage-shape-extraction.test.ts -64 tests/usage/usage-snapshot-digest-reuse.test.ts -54 tests/usage/usage-spend-cache-provenance.test.ts -104 tests/usage/usage-summary.test.ts -62 tests/usage/usage-surfaces.test.ts -312 tests/usage/usage-telemetry-client.test.ts -116 tests/usage/usage-telemetry-collector-privacy.test.ts -110 tests/usage/usage-telemetry-collector-typecheck.test.ts -114 tests/usage/usage-telemetry-collector-worker.test.ts -287 tests/usage/usage-telemetry-core-boundary.test.ts -76 tests/usage/usage-telemetry-profile-collector.test.ts -45 tests/usage/usage-telemetry-profile-contract.test.ts -242 tests/usage/usage-telemetry-profile-lifecycle.test.ts -93 tests/usage/usage-telemetry-profile-sync.test.ts -36 tests/usage/usage-throughput.test.ts -37 tests/usage/usage-time-range.test.ts -2319 tests/usage/usage-timeline.test.ts -72 tests/usage/user-cost-overlay-coderabbit-regressions.test.ts -1216 tests/usage/user-cost-overlay-live-reconcile.test.ts -116 tests/usage/user-cost-overlay-provider-delete.test.ts -35 tests/videos/fulfill-video.test.ts -53 tests/videos/plan-video.test.ts -55 tests/videos/xai-video-client.test.ts -762 tests/vision/mistral-vision-sidecar.test.ts -134 tests/vision/sidecar-abort.test.ts -132 tests/vision/sidecar-auth.test.ts -70 tests/vision/sidecar-candidates.test.ts -394 tests/vision/sidecar-settings-vision-catalog.test.ts -179 tests/vision/sidecar-settings-vision-controls.test.ts -143 tests/vision/sidecar-settings-vision-filter.test.ts -174 tests/vision/sidecar-settings-web-search-gate.test.ts -259 tests/vision/sidecar-settings-web-search-off.test.ts -332 tests/vision/sidecar-settings-web-search-stream.test.ts -96 tests/vision/sidecar-tracker.test.ts -246 tests/vision/vision-anthropic-instance-sidecar.test.ts -224 tests/vision/vision-anthropic.test.ts -271 tests/vision/vision-backend-union.test.ts -114 tests/vision/vision-cache.test.ts -83 tests/vision/vision-custom-row-precedence.test.ts -64 tests/vision/vision-eligibility.test.ts -87 tests/vision/vision-fail-closed.test.ts -161 tests/vision/vision-reasoning-contract.test.ts -513 tests/vision/vision-routed.test.ts -960 tests/vision/vision-sidecar-e2e.test.ts -55 tests/vision/vision-text-only-predicate.test.ts -78 tests/web-search/devin-web-search.test.ts -116 tests/web-search/fix-search-frame-shapes.test.ts -33 tests/web-search/fix-search-orphan-source.test.ts -31 tests/web-search/fix-search-unicode-clamp.test.ts -49 tests/web-search/format-result.test.ts -158 tests/web-search/web-search-anthropic-instance.test.ts -2507 tests/web-search/web-search-anthropic.test.ts -280 tests/web-search/web-search-backend-union.test.ts -88 tests/web-search/web-search-bridge-replay.test.ts -76 tests/web-search/web-search-candidates.test.ts -69 tests/web-search/web-search-eof.test.ts -93 tests/web-search/web-search-forced-declaration.test.ts -94 tests/web-search/web-search-loop-error-usage.test.ts -79 tests/web-search/web-search-loop-iteration-usage.test.ts -112 tests/web-search/web-search-pacing-deadline.test.ts -62 tests/web-search/web-search-parse.test.ts -285 tests/web-search/web-search-passthrough-bridge.test.ts -4540 tests/web-search/web-search-progress-stream.test.ts -81 tests/web-search/web-search-recovery-kind.test.ts -1593 tests/web-search/web-search-retry-heartbeat.test.ts -263 tests/web-search/web-search-rotation-usage-attribution.test.ts -88 tests/web-search/web-search-run-turn-loop.test.ts -7291 tests/web-search/web-search-sidecar-429.test.ts -225 tests/web-search/web-search-sidecar-replay.test.ts -82 tests/web-search/web-search-sources.test.ts -200 tests/web-search/web-search-terminal-refusal.test.ts -343 tests/web-search/web-search-timeout-contract.test.ts -98 tests/web-search/web-search-timeout-plan.test.ts -5310 tests/web-search/web-search.test.ts -30 tests/windows/coding-agent-native-empty-argv.test.ts -35 tests/windows/tray-proxy-deadline.test.ts -2324 tests/windows/tray-proxy.test.ts -35 tests/windows/win-exec.test.ts -29 tests/windows/win-paths.test.ts -30 tests/windows/windows-acl-start-cost.test.ts -36 tests/windows/windows-atomic-replace.test.ts -68 tests/windows/windows-atomic-write-acl-rearm.test.ts -71 tests/windows/windows-codex-cli-job-store.test.ts -53 tests/windows/windows-config-read-acl-memo.test.ts -336 tests/windows/windows-config-root-async-writers.test.ts -52 tests/windows/windows-deploy-close-regressions.test.ts -291 tests/windows/windows-elevation-spawn.test.ts -35 tests/windows/windows-elevation.test.ts -72 tests/windows/windows-guarded-manager.test.ts -50 tests/windows/windows-lifecycle-root-acl.test.ts -44 tests/windows/windows-native-principal.test.ts -140 tests/windows/windows-popup-fix.test.ts -44 tests/windows/windows-process-priority.test.ts -67 tests/windows/windows-scheduler-errors.test.ts -109 tests/windows/windows-scheduler-install-verification.test.ts -42 tests/windows/windows-secret-acl-diagnostics.test.ts -47 tests/windows/windows-secret-acl-removal-flight.test.ts -356 tests/windows/windows-secret-acl.test.ts -120 tests/windows/windows-service-mutation-lock.test.ts -35 tests/windows/windows-service-wrappers.test.ts -25 tests/windows/windows-text-decoding.test.ts -51 tests/windows/windows-tray-restart-hardening.test.ts -52 tests/windows/windows-tray-run-limit.test.ts -1846 tests/windows/windows-tray.test.ts -72 tests/windows/windows-user-principal-nonascii.test.ts -49 tests/windows/windows-user-principal.test.ts -36 tests/windows/winsw-stop-hardening.test.ts +3329 tests/update/update-orchestrated-session.test.ts +46 tests/update/update-orchestrated-token.test.ts +603 tests/update/update-pnpm-global-store.test.ts +160 tests/update/update-pnpm.test.ts +85 tests/update/update-reclaim-authorizer.test.ts +69 tests/update/update-recovery-authority.test.ts +241 tests/update/update-recovery-boundaries.test.ts +45 tests/update/update-recovery-host-free.test.ts +293 tests/update/update-refresh.test.ts +35479 tests/update/update-restart-lease.test.ts +57 tests/update/update-root-snapshot.test.ts +47 tests/update/update-service-home-policy.test.ts +231 tests/update/update-service-home.test.ts +91 tests/update/update-signed-supply.test.ts +40 tests/update/update-signed-version.test.ts +122 tests/update/update-standalone.test.ts +1613 tests/update/update-stop-classification.test.ts +9093 tests/update/update-stop-first.test.ts +64 tests/update/update-supervised-recovery.test.ts +18724 tests/update/update-sync-mutex.test.ts +3894 tests/update/update-teardown-handover.test.ts +520 tests/update/update-transactional-leftovers.test.ts +210 tests/update/update-transactional.test.ts +1718 tests/update/update-tray-handoff.test.ts +997 tests/update/update-tree-ownership.test.ts +57 tests/update/update-trust-root.test.ts +98 tests/update/update-windows-installer-witness.test.ts +56 tests/update/update-windows-wrapper-authority.test.ts +76 tests/update/update-worker-launch.test.ts +61 tests/usage/anthropic2-usage-attribution.test.ts +749 tests/usage/cache-diagnostic-caller-isolation.test.ts +279 tests/usage/cache-diagnostic-hook-compat.test.ts +638 tests/usage/cache-diagnostic.test.ts +223 tests/usage/cost-cap-unknown-evidence.test.ts +122 tests/usage/cost-scoring.test.ts +116 tests/usage/gpt61-terra-pricing.test.ts +57 tests/usage/jev-stats.test.ts +123 tests/usage/key-attribution.test.ts +112 tests/usage/mistral-budget-reset-identity.test.ts +232 tests/usage/provider-failure-detail.test.ts +252 tests/usage/quota-401-recovery-runtime.test.ts +56 tests/usage/quota-401-recovery.test.ts +2491 tests/usage/quota-pool.test.ts +168 tests/usage/quota-reset-account-key.test.ts +410 tests/usage/quota-reset-core-boundary.test.ts +54 tests/usage/quota-reset-detector.test.ts +69 tests/usage/quota-reset-notify-config.test.ts +463 tests/usage/quota-reset-notify.test.ts +629 tests/usage/quota-reset-observation.test.ts +1708 tests/usage/quota-reset-seen-store.test.ts +147 tests/usage/quota-scoring.test.ts +632 tests/usage/request-body-log.test.ts +593 tests/usage/request-decompress-ratio.test.ts +2402 tests/usage/request-decompress.test.ts +50 tests/usage/request-evidence.test.ts +1736 tests/usage/request-history-index.test.ts +3542 tests/usage/request-history-integrity.test.ts +1446 tests/usage/request-history-rebuild-worker.test.ts +464 tests/usage/request-log-anthropic-account-tag.test.ts +157 tests/usage/request-log-attempt-identity.test.ts +206 tests/usage/request-log-conversation.test.ts +113 tests/usage/request-log-error-detail.test.ts +127 tests/usage/request-log-estimate-cap.test.ts +239 tests/usage/request-log-generation-window.test.ts +129 tests/usage/request-log-identity-bounds.test.ts +105 tests/usage/request-log-jev.test.ts +53 tests/usage/request-log-model-filter.test.ts +205 tests/usage/request-log-nonstream.test.ts +182 tests/usage/request-log-normalization.test.ts +201 tests/usage/request-log-protocol-trace.test.ts +106 tests/usage/request-log-served-model.test.ts +414 tests/usage/request-log.test.ts +157 tests/usage/request-outcome-agreement.test.ts +76 tests/usage/request-pacing-provenance.test.ts +211 tests/usage/request-pacing.test.ts +19337 tests/usage/upstream-failure-diagnostics.test.ts +520 tests/usage/usage-aggregate-cache.test.ts +62 tests/usage/usage-anthropic-fast-pricing.test.ts +62 tests/usage/usage-antigravity-55.test.ts +76 tests/usage/usage-attempt-delivery.test.ts +179 tests/usage/usage-client-attribution.test.ts +93 tests/usage/usage-cost.test.ts +52 tests/usage/usage-cursor-fast-pricing.test.ts +116 tests/usage/usage-debug.test.ts +67 tests/usage/usage-fable-5-2-pricing.test.ts +39 tests/usage/usage-failure-fingerprint.test.ts +114 tests/usage/usage-failure-persistence.test.ts +45 tests/usage/usage-failure-projection.test.ts +7700 tests/usage/usage-filter-index.test.ts +909 tests/usage/usage-filter-paging.test.ts +62 tests/usage/usage-haiku-5-5-pricing.test.ts +136 tests/usage/usage-ledger-retention.test.ts +507 tests/usage/usage-ledger-scanner.test.ts +49 tests/usage/usage-log-ws-stage.test.ts +2613 tests/usage/usage-log.test.ts +103 tests/usage/usage-partly-measured-cost.test.ts +55 tests/usage/usage-prompt-length-pricing.test.ts +57 tests/usage/usage-provider-label.test.ts +317 tests/usage/usage-shape-extraction.test.ts +93 tests/usage/usage-snapshot-digest-reuse.test.ts +63 tests/usage/usage-spend-cache-provenance.test.ts +153 tests/usage/usage-summary.test.ts +65 tests/usage/usage-surfaces.test.ts +387 tests/usage/usage-telemetry-client.test.ts +121 tests/usage/usage-telemetry-collector-privacy.test.ts +187 tests/usage/usage-telemetry-collector-typecheck.test.ts +142 tests/usage/usage-telemetry-collector-worker.test.ts +286 tests/usage/usage-telemetry-core-boundary.test.ts +85 tests/usage/usage-telemetry-profile-collector.test.ts +66 tests/usage/usage-telemetry-profile-contract.test.ts +227 tests/usage/usage-telemetry-profile-lifecycle.test.ts +110 tests/usage/usage-telemetry-profile-sync.test.ts +58 tests/usage/usage-throughput.test.ts +60 tests/usage/usage-time-range.test.ts +2517 tests/usage/usage-timeline.test.ts +105 tests/usage/user-cost-overlay-coderabbit-regressions.test.ts +1354 tests/usage/user-cost-overlay-live-reconcile.test.ts +124 tests/usage/user-cost-overlay-provider-delete.test.ts +59 tests/videos/fulfill-video.test.ts +122 tests/videos/plan-video.test.ts +95 tests/videos/video-outbound-destination.test.ts +122 tests/videos/video-provider.test.ts +97 tests/videos/xai-video-client.test.ts +1044 tests/vision/mistral-vision-sidecar.test.ts +180 tests/vision/sidecar-abort.test.ts +124 tests/vision/sidecar-auth.test.ts +116 tests/vision/sidecar-candidates.test.ts +377 tests/vision/sidecar-settings-vision-catalog.test.ts +231 tests/vision/sidecar-settings-vision-controls.test.ts +279 tests/vision/sidecar-settings-vision-filter.test.ts +354 tests/vision/sidecar-settings-web-search-gate.test.ts +410 tests/vision/sidecar-settings-web-search-off.test.ts +290 tests/vision/sidecar-settings-web-search-stream.test.ts +52 tests/vision/sidecar-tracker.test.ts +360 tests/vision/vision-anthropic-instance-sidecar.test.ts +212 tests/vision/vision-anthropic.test.ts +289 tests/vision/vision-backend-union.test.ts +147 tests/vision/vision-cache.test.ts +110 tests/vision/vision-custom-row-precedence.test.ts +118 tests/vision/vision-eligibility.test.ts +123 tests/vision/vision-fail-closed.test.ts +237 tests/vision/vision-reasoning-contract.test.ts +503 tests/vision/vision-routed.test.ts +1498 tests/vision/vision-sidecar-e2e.test.ts +204 tests/vision/vision-text-only-predicate.test.ts +152 tests/web-search/devin-web-search.test.ts +172 tests/web-search/fix-search-frame-shapes.test.ts +51 tests/web-search/fix-search-orphan-source.test.ts +46 tests/web-search/fix-search-unicode-clamp.test.ts +51 tests/web-search/format-result.test.ts +255 tests/web-search/web-search-anthropic-instance.test.ts +2697 tests/web-search/web-search-anthropic.test.ts +382 tests/web-search/web-search-backend-union.test.ts +180 tests/web-search/web-search-bridge-replay.test.ts +125 tests/web-search/web-search-candidates.test.ts +102 tests/web-search/web-search-eof.test.ts +112 tests/web-search/web-search-forced-declaration.test.ts +1389 tests/web-search/web-search-local-deadline-provenance.test.ts +140 tests/web-search/web-search-loop-error-usage.test.ts +146 tests/web-search/web-search-loop-iteration-usage.test.ts +142 tests/web-search/web-search-memory-citation.test.ts +147 tests/web-search/web-search-pacing-deadline.test.ts +69 tests/web-search/web-search-parse.test.ts +1426 tests/web-search/web-search-passthrough-bridge.test.ts +4602 tests/web-search/web-search-progress-stream.test.ts +103 tests/web-search/web-search-recovery-kind.test.ts +1639 tests/web-search/web-search-retry-heartbeat.test.ts +186 tests/web-search/web-search-rotation-usage-attribution.test.ts +97 tests/web-search/web-search-run-turn-loop.test.ts +7467 tests/web-search/web-search-sidecar-429.test.ts +375 tests/web-search/web-search-sidecar-replay.test.ts +71 tests/web-search/web-search-sources.test.ts +197 tests/web-search/web-search-terminal-refusal.test.ts +472 tests/web-search/web-search-timeout-contract.test.ts +101 tests/web-search/web-search-timeout-plan.test.ts +5376 tests/web-search/web-search.test.ts +54 tests/windows/coding-agent-native-empty-argv.test.ts +54 tests/windows/tray-proxy-deadline.test.ts +2319 tests/windows/tray-proxy.test.ts +60 tests/windows/win-exec.test.ts +42 tests/windows/win-paths.test.ts +52 tests/windows/windows-acl-start-cost.test.ts +49 tests/windows/windows-atomic-replace.test.ts +101 tests/windows/windows-atomic-write-acl-rearm.test.ts +4817 tests/windows/windows-checked-stop-live.test.ts +268 tests/windows/windows-checked-stop.test.ts +63 tests/windows/windows-cli-config-root-startup.test.ts +114 tests/windows/windows-codex-cli-job-store.test.ts +62 tests/windows/windows-config-read-acl-memo.test.ts +405 tests/windows/windows-config-root-async-writers.test.ts +161 tests/windows/windows-config-root-integration-writers.test.ts +65 tests/windows/windows-deploy-close-regressions.test.ts +403 tests/windows/windows-elevation-spawn.test.ts +70 tests/windows/windows-elevation.test.ts +65 tests/windows/windows-guarded-manager.test.ts +72 tests/windows/windows-lifecycle-root-acl.test.ts +58 tests/windows/windows-native-principal.test.ts +164 tests/windows/windows-popup-fix.test.ts +2582 tests/windows/windows-process-evidence.test.ts +51 tests/windows/windows-process-priority.test.ts +82 tests/windows/windows-scheduler-errors.test.ts +201 tests/windows/windows-scheduler-install-verification.test.ts +64 tests/windows/windows-secret-acl-diagnostics.test.ts +59 tests/windows/windows-secret-acl-removal-flight.test.ts +361 tests/windows/windows-secret-acl.test.ts +136 tests/windows/windows-service-mutation-lock.test.ts +389 tests/windows/windows-service-stop-wiring.test.ts +51 tests/windows/windows-service-wrappers.test.ts +99 tests/windows/windows-stop-binding.test.ts +165 tests/windows/windows-stop-callers.test.ts +604 tests/windows/windows-stop-confirm.test.ts +5271 tests/windows/windows-stop-ocx-stop.test.ts +45 tests/windows/windows-text-decoding.test.ts +84 tests/windows/windows-tray-restart-hardening.test.ts +50 tests/windows/windows-tray-run-limit.test.ts +1815 tests/windows/windows-tray.test.ts +48 tests/windows/windows-user-principal-nonascii.test.ts +91 tests/windows/windows-user-principal.test.ts +49 tests/windows/winsw-stop-hardening.test.ts diff --git a/scripts/test-layout/layout-clients.json b/scripts/test-layout/layout-clients.json index 6914d2ed71a..6a3aa8f1bd0 100644 --- a/scripts/test-layout/layout-clients.json +++ b/scripts/test-layout/layout-clients.json @@ -1,4 +1,5 @@ { + "link-served-runtime-trust.test.ts": "clients", "claude-endpoint-lifetime.test.ts": "claude-integration", "omo-responses-loop.test.ts": "clients", "codex-launcher-endpoint.test.ts": "codex-integration", diff --git a/src/link/remote-runtime-trust.ts b/src/link/remote-runtime-trust.ts new file mode 100644 index 00000000000..d116b656ff2 --- /dev/null +++ b/src/link/remote-runtime-trust.ts @@ -0,0 +1,69 @@ +/** + * POSIX census targets are hints, not execution authority. Walk each path before its + * first version probe, including symlink destinations and directory replacement + * authority. Only root and the SSH account may control traversed components; the + * final regular file must belong to the SSH account and have no foreign write bit. + * Sticky shared directories are safe only with the same ownership checks on their + * children. Keep the verified original spelling so package-prefix discovery and + * interpreter entrypoint semantics remain unchanged. + * macOS recorded hints are skipped: mode bits miss ACL grants and system ls can + * conceal ACL read failures. Its existing known-install discovery still runs. + * These checks do not defend against root or unrestricted same-account mutation. + */ +export const REMOTE_SERVED_PATH_TRUST = `served_path_info() { + stat -c '%u %a' "$1" 2>/dev/null || stat -f '%u %Mp%03Lp' "$1" 2>/dev/null +} +trusted_served_path() ( + case "$1" in /*) ;; *) return 1;; esac + # A portable shell cannot prove macOS ACL protection from stat/ls output. + [ "$(uname -s 2>/dev/null)" = Linux ] || return 1 + served_uid=$(id -u 2>/dev/null) || return 1 + case "$served_uid" in ''|*[!0-9]*) return 1;; esac + original=$1; pending=\${1#/}; resolved=/; steps=0; links=0 + # The root is trusted only after the same ownership/mode validation as each directory. + component=/ + while :; do + steps=$((steps + 1)); [ "$steps" -le 512 ] || return 1 + info=$(served_path_info "$component") || return 1 + case "$info" in ''|*[!0-9[:blank:]]*) return 1;; esac + set -- $info + [ "$#" -eq 2 ] || return 1 + case "$2" in ''|*[!0-7]*) return 1;; esac + [ "\${#2}" -le 4 ] || return 1 + [ "$1" = "$served_uid" ] || [ "$1" = 0 ] || return 1 + if [ -L "$component" ]; then + links=$((links + 1)); [ "$links" -le 40 ] || return 1 + # Preserve trailing newlines in a link target instead of validating a different path. + target=$(readlink "$component" 2>/dev/null && printf '.') || return 1 + target=\${target%.} + case "$target" in *' +') target=\${target%?};; *) return 1;; esac + case "$target" in ''|*' +'*) return 1;; esac + [ -z "$pending" ] || target=$target/$pending + case "$target" in /*) resolved=/; pending=\${target#/};; *) pending=$target;; esac + elif [ -d "$component" ]; then + # Group/world write is allowed only on a trusted sticky directory. Its next + # entry must still be root/account-owned, so another account cannot replace it. + [ $((0$2 & 0022)) -eq 0 ] || [ $((0$2 & 01000)) -ne 0 ] || return 1 + resolved=$component + else + [ -z "$pending" ] && [ -f "$component" ] || return 1 + [ "$1" = "$served_uid" ] && [ $((0$2 & 0022)) -eq 0 ] || return 1 + printf '%s\\n' "$original" + return 0 + fi + while :; do + [ -n "$pending" ] || return 1 + name=\${pending%%/*} + case "$pending" in */*) pending=\${pending#*/};; *) pending=;; esac + case "$name" in + ''|.) continue;; + ..) resolved=\${resolved%/*}; [ -n "$resolved" ] || resolved=/; continue;; + esac + component=\${resolved%/}/$name + break + done + done +) +`; diff --git a/src/link/ssh-argv.ts b/src/link/ssh-argv.ts index 4cac04bdf3e..bffbc96f288 100644 --- a/src/link/ssh-argv.ts +++ b/src/link/ssh-argv.ts @@ -21,6 +21,7 @@ import { isRouteClientId, type RouteClientId } from "./route-intent"; import { isAbsolute } from "node:path"; import { ExplicitRouteError, explicitRouteSshOptions, type ExplicitRoute } from "./explicit-route"; +import { REMOTE_SERVED_PATH_TRUST } from "./remote-runtime-trust"; import { POWERSHELL_ENCODED_MAX, PowerShellCommandTooLongError, ROUTE_OVERWRITE_MIN_CHILD_VERSION, windowsGatedOcxArgv, windowsOcxArgv, windowsOverwriteSyncArgv } from "./remote-windows"; export type TunnelDirection = "R" | "L"; @@ -207,7 +208,7 @@ export const REMOTE_PLATFORM_UNSUPPORTED = 125; * unreadable file or a missing awk fails without writing to stderr. * Shared by the ocx discovery, pinned sync and runtime inspection scripts. */ -export const REMOTE_SERVED_RUNTIME = `served_runtime() { +export const REMOTE_SERVED_RUNTIME = `${REMOTE_SERVED_PATH_TRUST}served_runtime() { # The count below reports wc's status, never dd's: a missing dd or an unreadable file ends here, # and a dd that fails anyway counts zero bytes, which is refused like an oversized census. [ -f "$1" ] && [ -r "$1" ] && command -v dd >/dev/null 2>&1 || return 1 @@ -237,7 +238,7 @@ export const REMOTE_SERVED_RUNTIME = `served_runtime() { /** * Tries the served install with \`attempt\`, which must read \`$served_bin\` and honour \`$ocx_entry\`: - * a compiled binary runs alone, and a package pair runs as \`bun \` only while the entry exists. + * a compiled binary runs alone, and both package paths must pass the same trust gate. * The unquoted \`OCX_SERVED\` heredoc is safe only because \`served_runtime\` prints paths without * quotes, backslashes or newlines; relaxing that character class would let a path expand or split. */ @@ -247,9 +248,12 @@ if served=$(served_runtime "\${OPENCODEX_HOME:-$HOME/.opencodex}/serving-runtime { IFS= read -r served_bin; IFS= read -r served_entry; } <`: the global file is disabled with `GlobalKnownHostsFile=none`, and `KnownHostsCommand=none`, `VerifyHostKeyDNS=no` and `CheckHostIP=no` shut out every other source of host-key trust. Command-line options take precedence over `~/.ssh/config`, so a user config cannot re-enable them. `HashKnownHosts=no` preserves alias-prefixed records in these private files without changing the user's normal known_hosts file. Tunnel and exec commands use `StrictHostKeyChecking=yes`; only the probe uses `accept-new`, against an empty temporary file, so an offered key can be shown before it is trusted. The known_hosts path must be absolute and free of ssh expansion syntax. Forwards bind 127.0.0.1 on both ends, and aliases that could be parsed as options are refused. -Every remote `ocx` call goes through `remoteOcxArgv` with the link's platform. On POSIX it is a quoted `sh -c` script. After an ephemeral `ocx-child` (below), it first tries the install that last started serving this home (#8359): every `ocx start` that binds records its relaunch argv at the front of `$OPENCODEX_HOME/serving-runtimes.json` (`src/config/serving-runtimes.ts`), `[ocx]` for a compiled binary or `[bun, cli/index.ts]` for a package install, so a desktop takeover or a service restart moves its own install to the front, and a start that never binds records nothing. The served install wins whatever its version, because it is what the Child runs. The script reads only the first entry's `command`, one or two absolute paths without quotes or backslashes in a file of at most 64 KiB; it runs a pair as `bun ...` only while the entry file exists, and any other shape, a first record without a command, a file cut off before its closing brace, a missing or unreadable file or a failed `--version` falls through. The reader accepts only the complete document in the recorder's own two-space layout. The pinned sync script shares this block, so the served install's own version gates `sync --expect-link`. Runtime inspection (`POSIX_INSPECT_SCRIPT` in `src/link/remote-plant.ts`) reads the same census through `REMOTE_SERVED_RUNTIME`, so `ocx link probe` reports the served install's version and kind. On Windows, discovery (`windowsOcxArgv`) and runtime inspection (`windowsInspectRuntimeArgv`) read the same first record with `ConvertFrom-Json` (#8359): one or two rooted paths without quotes or control characters in a file of at most 64 KiB found where the writer's `getConfigDir()` puts it (a trimmed `OPENCODEX_HOME`, else `%USERPROFILE%\.opencodex`; a Child state there or in the legacy home keeps `ocx-child` first), the served install ahead of every fixed candidate except `ocx-child` under a Child state. A `[bun.exe, cli\index.ts]` npm pair runs as `bun.exe ...` only while the entry exists: the compiled helper's `V` and `Ok` take a CRT-quoted argument prefix for the `--version` probe, and the run passes the entry ahead of the command's arguments. The pinned and overwrite syncs and the gated update plan read the same census, so the served install also answers their version gate (#8359); `Ok` is `V` succeeding, so a candidate must also print at most 256 characters for `--version`. Then it tries executable Desktop and system candidates before generic PATH shims: `$HOME/.opencodex-desktop/bin/ocx`, `/Applications/OpenCodex.app/Contents/MacOS/ocx`, `/usr/bin/ocx`, then inherited PATH plus Bun/local/Homebrew directories. Each candidate must successfully report `--version`; an unrunnable stale shim is skipped. Arguments remain quoted once. The script still exits 125 on a Windows/MSYS/Cygwin `uname`, a guard against POSIX dispatch to a Windows host; exhaustion exits 127 (`remote_ocx_missing`). On Windows, `src/link/remote-windows.ts` builds one `powershell.exe -NoLogo -NoProfile -NonInteractive -EncodedCommand` command whose arguments travel as base64 JSON data, never as shell text, and `quoteRemote` admits only that exact shape. After the served install above, the script tries the Desktop `ocx.exe`, the GOAT-managed `.local/share/goat/opencodex/current/ocx.exe` junction under the user profile, `.local/bin/ocx.exe`, the per-user and Program Files OpenCodex directories, then PATH. Each candidate must answer `--version` within ten seconds, and only the selected one runs the real command with CRT-quoted arguments and inherited standard handles, so the link key still arrives on stdin and the exit status passes through. The whole script travels deflated so the command fits, packed 14 bits per character in U+3400..U+73FF (no ASCII, no smart quotes, no surrogates) with its byte count, and the Child inflates it before anything in it runs; `windowsInflatedScript` is the one test-side decoder. A helper compiled with `Add-Type` (`OCX_JOB_SOURCE`, a quoted literal inside that script, never evaluated as PowerShell) creates that process with `PROC_THREAD_ATTRIBUTE_JOB_LIST`, so it is a member of a Win32 Job with kill-on-close and silent breakaway from the moment it exists: terminating the PowerShell host, which is what the SSH server does with a dropped channel, kills that `ocx.exe`, while a runtime it starts on its own breaks away and survives. One finally block releases the attribute list and the process, thread and Job handles on every path and terminates the child through its own handle if anything fails after creation. If the inflation or `Add-Type` fails (Constrained Language Mode blocks both the stream types and `Add-Type`, for example), the command exits 126 before any `ocx.exe` is probed or started. A failure while the helper creates, waits on or reads the selected process also exits 126, after the finally block above has terminated that process. There is no uncontained fallback. The `--version` probes that choose a candidate run outside the Job, bounded to ten seconds each; only the selected command runs inside it. The inflation guard covers the inflation alone, so the exit status and errors of the inflated script itself pass through unchanged. The encoded command stays under 8,000 characters for cmd.exe's 8,191-character command line. A dropped real OpenSSH channel is a required native release gate: the opt-in case in `tests/clients/link-ssh-argv-discovery.test.ts` runs against a disposable Windows OpenSSH host named by `OCX_WINDOWS_OPENSSH_FIXTURE`. Exhaustion exits 127. Coverage: `tests/clients/link-ssh-argv-discovery.test.ts`. +Every remote `ocx` call goes through `remoteOcxArgv` with the link's platform. On POSIX it is a quoted `sh -c` script. After an ephemeral `ocx-child` (below), it first tries the install that last started serving this home (#8359): every `ocx start` that binds records its relaunch argv at the front of `$OPENCODEX_HOME/serving-runtimes.json` (`src/config/serving-runtimes.ts`), `[ocx]` for a compiled binary or `[bun, cli/index.ts]` for a package install, so a desktop takeover or a service restart moves its own install to the front, and a start that never binds records nothing. The served install wins whatever its version, because it is what the Child runs. The script reads only the first entry's `command`, one or two absolute paths without quotes or backslashes in a file of at most 64 KiB; before any version probe, `src/link/remote-runtime-trust.ts` checks the executable and optional entrypoint as regular files owned by the SSH account without group/world write bits. It resolves at most 40 symlinks and checks at most 512 components, including replacement authority along original and resolved paths: directories and symlinks belong to root or the SSH account, and a writable directory requires its sticky bit plus trusted ownership of its next entry. The ownership/mode gate admits Linux only. On macOS, ACL grants can override mode bits and system `ls -lde` can silently report an unreadable ACL as absent, so recorded census targets are skipped before any probe; existing Desktop/system/PATH discovery continues. Re-enabling macOS census priority requires a native ACL reader that distinguishes absent ACLs from failed reads along the entire path. Unknown or unreadable platforms also skip recorded targets. The checked Linux paths retain their original spelling for package-prefix and entrypoint compatibility. Missing identity/stat/readlink evidence skips the recorded candidate; these ownership/mode checks do not resist root or unrestricted same-account changes. It runs a trusted pair as `bun ...`, and any other shape, a first record without a command, a file cut off before its closing brace, a missing, unreadable or untrusted target, or a failed `--version` falls through. `tests/clients/link-served-runtime-trust.test.ts` covers discovery, pinned sync, inspection and full-install census before either path executes. The reader accepts only the complete document in the recorder's own two-space layout. The pinned sync script shares this block, so the served install's own version gates `sync --expect-link`. Runtime inspection (`POSIX_INSPECT_SCRIPT` in `src/link/remote-plant.ts`) reads the same census through `REMOTE_SERVED_RUNTIME`, so `ocx link probe` reports the served install's version and kind. On Windows, discovery (`windowsOcxArgv`) and runtime inspection (`windowsInspectRuntimeArgv`) read the same first record with `ConvertFrom-Json` (#8359): one or two rooted paths without quotes or control characters in a file of at most 64 KiB found where the writer's `getConfigDir()` puts it (a trimmed `OPENCODEX_HOME`, else `%USERPROFILE%\.opencodex`; a Child state there or in the legacy home keeps `ocx-child` first), the served install ahead of every fixed candidate except `ocx-child` under a Child state. A `[bun.exe, cli\index.ts]` npm pair runs as `bun.exe ...` only while the entry exists: the compiled helper's `V` and `Ok` take a CRT-quoted argument prefix for the `--version` probe, and the run passes the entry ahead of the command's arguments. The pinned and overwrite syncs and the gated update plan read the same census, so the served install also answers their version gate (#8359); `Ok` is `V` succeeding, so a candidate must also print at most 256 characters for `--version`. Then it tries executable Desktop and system candidates before generic PATH shims: `$HOME/.opencodex-desktop/bin/ocx`, `/Applications/OpenCodex.app/Contents/MacOS/ocx`, `/usr/bin/ocx`, then inherited PATH plus Bun/local/Homebrew directories. Each candidate must successfully report `--version`; an unrunnable stale shim is skipped. Arguments remain quoted once. The script still exits 125 on a Windows/MSYS/Cygwin `uname`, a guard against POSIX dispatch to a Windows host; exhaustion exits 127 (`remote_ocx_missing`). On Windows, `src/link/remote-windows.ts` builds one `powershell.exe -NoLogo -NoProfile -NonInteractive -EncodedCommand` command whose arguments travel as base64 JSON data, never as shell text, and `quoteRemote` admits only that exact shape. After the served install above, the script tries the Desktop `ocx.exe`, the GOAT-managed `.local/share/goat/opencodex/current/ocx.exe` junction under the user profile, `.local/bin/ocx.exe`, the per-user and Program Files OpenCodex directories, then PATH. Each candidate must answer `--version` within ten seconds, and only the selected one runs the real command with CRT-quoted arguments and inherited standard handles, so the link key still arrives on stdin and the exit status passes through. The whole script travels deflated so the command fits, packed 14 bits per character in U+3400..U+73FF (no ASCII, no smart quotes, no surrogates) with its byte count, and the Child inflates it before anything in it runs; `windowsInflatedScript` is the one test-side decoder. A helper compiled with `Add-Type` (`OCX_JOB_SOURCE`, a quoted literal inside that script, never evaluated as PowerShell) creates that process with `PROC_THREAD_ATTRIBUTE_JOB_LIST`, so it is a member of a Win32 Job with kill-on-close and silent breakaway from the moment it exists: terminating the PowerShell host, which is what the SSH server does with a dropped channel, kills that `ocx.exe`, while a runtime it starts on its own breaks away and survives. One finally block releases the attribute list and the process, thread and Job handles on every path and terminates the child through its own handle if anything fails after creation. If the inflation or `Add-Type` fails (Constrained Language Mode blocks both the stream types and `Add-Type`, for example), the command exits 126 before any `ocx.exe` is probed or started. A failure while the helper creates, waits on or reads the selected process also exits 126, after the finally block above has terminated that process. There is no uncontained fallback. The `--version` probes that choose a candidate run outside the Job, bounded to ten seconds each; only the selected command runs inside it. The inflation guard covers the inflation alone, so the exit status and errors of the inflated script itself pass through unchanged. The encoded command stays under 8,000 characters for cmd.exe's 8,191-character command line. A dropped real OpenSSH channel is a required native release gate: the opt-in case in `tests/clients/link-ssh-argv-discovery.test.ts` runs against a disposable Windows OpenSSH host named by `OCX_WINDOWS_OPENSSH_FIXTURE`. Exhaustion exits 127. Coverage: `tests/clients/link-ssh-argv-discovery.test.ts`. `src/link/remote-platform.ts` discovers the platform through the pinned host key: `requireRemotePlatform` runs the fixed, locale-independent `cmd /c echo %OS%` (`WINDOWS_OS_PROBE`), treats `Windows_NT` as Windows, and otherwise classifies `uname -s`. An ssh transport failure or an unclassifiable answer throws, so enrollment answers `probe_failed` before it trusts the host or issues a key. The first-contact probe runs the cross-shell `echo ocx-link-probe` and requires that exact output. The probe stores the platform on the pending host, confirmation and apply reuse it, and the link record keeps it as the optional `remotePlatform` in `src/link/store.ts`; a record written before the field existed is discovered again under its pinned key. The optional `childKind` (`"ephemeral" | "full"`) joined the same strict `RECORD_KEYS` set with the ocx-child plant flow, with the same trade-off as `remotePlatform`: a Home downgraded to a release without the field rejects a `links.json` that contains it, so downgrading needs those links disconnected (or the field removed) first. On Windows, enrollment skips the curl preflight and reads the Child's loopback `/healthz` and `/v1/catalog` with a bounded .NET request that ignores proxies, never follows a redirect and caps the body at 4 MiB (`windowsChildHttpArgv`). Ordinary revoke, the Child-initiated issue and revoke in `src/client/link-join.ts` and `src/client/link-teardown.ts`, and the read-only `ocx link cleanup` in `src/cli/link-cleanup.ts` use the same adapter. Coverage: `tests/server/link-enrollment.test.ts`, `tests/server/link-management-routes.test.ts`, `tests/cli/cli-link-cleanup.test.ts`, `tests/clients/link-store.test.ts`. diff --git a/tests/ci-workflows/ci-workflows.test.ts b/tests/ci-workflows/ci-workflows.test.ts index 508f0d6a44a..b8fa9b20e23 100644 --- a/tests/ci-workflows/ci-workflows.test.ts +++ b/tests/ci-workflows/ci-workflows.test.ts @@ -111,12 +111,11 @@ describe("GitHub Actions hardening", () => { }; // Job-scoped: a global count still passes if values are swapped between jobs. - // Pin ownership explicitly. The Windows leg is sharded like the Linux ones - // since 8034cd7c0 — a single leg reached 30m on a green suite and was killed - // in cleanup, so each shard now holds the same 15m a Linux shard holds. A - // shard that needs longer is wedged, not slow. + // The Linux full-suite budget includes setup and cleanup around bounded + // batches. Runs 44462803582 and 44463273114 exhausted 15m with healthy + // progress; only that outer budget changes. Other jobs keep their own bounds. expect(ci.jobs?.["select-windows-runner"]?.["timeout-minutes"]).toBe(2); - expect(ci.jobs?.test?.["timeout-minutes"]).toBe(15); + expect(ci.jobs?.test?.["timeout-minutes"]).toBe(18); expect(ci.jobs?.gates?.["timeout-minutes"]).toBe(15); // 30 with four shards: run 43508374033 cancelled all four at the 20-minute // wall with no failing tests, and no fifth macOS slot exists for another diff --git a/tests/clients/link-child-update-launcher.test.ts b/tests/clients/link-child-update-launcher.test.ts index a04ecf8da64..b79ecf07bf9 100644 --- a/tests/clients/link-child-update-launcher.test.ts +++ b/tests/clients/link-child-update-launcher.test.ts @@ -34,11 +34,13 @@ function stubNode(path: string): void { function install(root: string, options: { version?: string; launcherFile?: boolean } = {}) { const home = mkdtempSync(join(tmpdir(), "ocx-launcher-")); dirs.push(home); const bin = join(home, "bin"); mkdirSync(bin); - for (const command of ["sh", "uname", "mktemp", "sleep", "cat", "awk", "dd", "wc", "rm", "date"]) { + for (const command of ["sh", "mktemp", "sleep", "cat", "awk", "dd", "wc", "rm", "date", "stat", "id", "readlink"]) { const executable = Bun.which(command); if (!executable) throw new Error("Required test tool not found on PATH: " + command); symlinkSync(executable, join(bin, command)); } + // Recorded runtime fixtures exercise Linux policy on either POSIX test host. + writeFileSync(join(bin, "uname"), "#!/bin/sh\nprintf 'Linux\\n'\n", { mode: 0o755 }); const pkg = join(home, root); const entry = join(pkg, "src", "cli", "index.ts"); mkdirSync(join(pkg, "src", "cli"), { recursive: true }); diff --git a/tests/clients/link-gated-ocx-argv.test.ts b/tests/clients/link-gated-ocx-argv.test.ts index 2526ff005f8..08ab8557bfa 100644 --- a/tests/clients/link-gated-ocx-argv.test.ts +++ b/tests/clients/link-gated-ocx-argv.test.ts @@ -27,11 +27,13 @@ function isolated(argv: string[]): string[] { function fixture(prefix: string) { const home = mkdtempSync(join(tmpdir(), prefix)); dirs.push(home); const bin = join(home, "bin"); mkdirSync(bin); - for (const command of ["sh", "uname", "mktemp", "sleep", "cat", "awk", "dd", "wc", "rm", "date"]) { + for (const command of ["sh", "mktemp", "sleep", "cat", "awk", "dd", "wc", "rm", "date", "stat", "id", "readlink"]) { const executable = Bun.which(command); if (!executable) throw new Error("Required test tool not found on PATH: " + command); symlinkSync(executable, join(bin, command)); } + // Recorded runtime fixtures exercise Linux policy on either POSIX test host. + writeFileSync(join(bin, "uname"), "#!/bin/sh\nprintf 'Linux\\n'\n", { mode: 0o755 }); return { home, bin }; } /** A fake executable that logs its arguments and answers --version with the given text. */ diff --git a/tests/clients/link-pinned-sync-argv.test.ts b/tests/clients/link-pinned-sync-argv.test.ts index 75e2ccaaebe..33013a33886 100644 --- a/tests/clients/link-pinned-sync-argv.test.ts +++ b/tests/clients/link-pinned-sync-argv.test.ts @@ -15,11 +15,13 @@ function isolatedArgv(): string[] { } function toolDir(home: string): string { const bin = join(home, "bin"); mkdirSync(bin); - for (const command of ["sh", "uname", "mktemp", "sleep", "cat", "awk", "dd", "wc", "rm"]) { + for (const command of ["sh", "mktemp", "sleep", "cat", "awk", "dd", "wc", "rm", "stat", "id", "readlink"]) { const executable = Bun.which(command); if (!executable) throw new Error(`Required test tool not found on PATH: ${command}`); symlinkSync(executable, join(bin, command)); } + // Recorded runtime fixtures exercise Linux policy on either POSIX test host. + writeFileSync(join(bin, "uname"), "#!/bin/sh\nprintf 'Linux\\n'\n", { mode: 0o755 }); return bin; } function run(version: string) { diff --git a/tests/clients/link-served-runtime-trust.test.ts b/tests/clients/link-served-runtime-trust.test.ts new file mode 100644 index 00000000000..51a8140e829 --- /dev/null +++ b/tests/clients/link-served-runtime-trust.test.ts @@ -0,0 +1,202 @@ +import { afterEach, expect, test } from "bun:test"; +import { chmodSync, existsSync, mkdirSync, mkdtempSync, readFileSync, rmSync, symlinkSync, unlinkSync, writeFileSync } from "node:fs"; +import { tmpdir } from "node:os"; +import { dirname, join } from "node:path"; +import { remoteOcxArgv, remotePinnedSyncArgv } from "../../src/link/ssh-argv"; +import { remoteFullInstallCensusArgv, remoteInspectRuntimeArgv } from "../../src/link/remote-plant"; +import { REMOTE_SERVED_PATH_TRUST } from "../../src/link/remote-runtime-trust"; +import { spawnTestChild } from "../helpers/spawn-test-child"; +import { SPAWN_BUDGET_MS } from "../helpers/test-budget"; + +const posix = test.skipIf(process.platform === "win32"); +const roots: string[] = []; +const active = new Set(); +afterEach(() => { for (const root of roots.splice(0)) if (!active.has(root)) rmSync(root, { recursive: true, force: true }); }); +const q = (text: string) => `'${text.replaceAll("'", "'\\''")}'`; + +function executable(path: string, body: string): void { + mkdirSync(dirname(path), { recursive: true }); + writeFileSync(path, `#!/bin/sh\n${body}\n`, { mode: 0o755 }); +} + +function fixture(platform = "Linux") { + const home = mkdtempSync(join(tmpdir(), "ocx-runtime-trust-")); roots.push(home); + const bin = join(home, "tools"); mkdirSync(bin); + for (const name of ["sh", "mktemp", "sleep", "cat", "awk", "dd", "wc", "rm", "stat", "id", "readlink"]) { + const command = Bun.which(name); + if (!command) throw new Error(`Missing fixture tool: ${name}`); + symlinkSync(command, join(bin, name)); + } + // Exercise the Linux gate on either POSIX host; Darwin fallback has separate cases. + executable(join(bin, "uname"), `printf '%s\\n' ${q(platform)}`); + const served = join(home, "package/bun"); + const entry = join(home, "package/src/cli/index.ts"); + mkdirSync(dirname(entry), { recursive: true }); writeFileSync(entry, "// fixture entry\n"); + executable(served, `printf '%s\\n' "$*" >> "$HOME/served-calls" +for arg do if [ "$arg" = --version ]; then printf 'opencodex 2.99.0\\n'; exit 0; fi; done +printf 'served\\n'`); + executable(join(home, ".opencodex-desktop/bin/ocx"), `if [ "$1" = --version ]; then printf 'opencodex 2.98.0\\n'; exit 0; fi +printf 'fallback\\n'`); + const config = join(home, ".opencodex"); mkdirSync(config); + const record = (command: string[]) => writeFileSync(join(config, "serving-runtimes.json"), JSON.stringify({ runtimes: [{ command }] }, null, 2) + "\n"); + record([served, entry]); + const run = async (argv: string[]) => { + const isolated = [...argv]; + isolated[2] = isolated[2]! + .replace('export PATH="$PATH:$HOME/.bun/bin:$HOME/.local/bin:/opt/homebrew/bin:/usr/local/bin"', 'export PATH="$PATH"') + .replaceAll('"/Applications/OpenCodex.app/Contents/MacOS/ocx"', '"$HOME/missing-app"') + .replaceAll('"/usr/bin/ocx"', '"$HOME/missing-system"'); + active.add(home); + const result = await spawnTestChild(isolated, { cwd: home, deadlineMs: 10_000, env: { HOME: home, OPENCODEX_HOME: config, PATH: bin, TMPDIR: home } }); + if (result.reaped && result.pipesClosed) active.delete(home); + expect(result.timedOut).toBe(false); expect(result.reaped).toBe(true); expect(result.pipesClosed).toBe(true); + expect(result.exitCode).toBe(0); + return result; + }; + return { home, bin, served, entry, record, run }; +} + +const consumers = [ + ["discovery", () => remoteOcxArgv(["link", "port"])], + ["pinned sync", () => remotePinnedSyncArgv("lnk_0123456789abcdef")], + ["inspection", () => remoteInspectRuntimeArgv()], + ["full-install census", () => remoteFullInstallCensusArgv()], +] as const; + +for (const [name, argv] of consumers) { + posix(`${name} refuses a writable recorded binary before its version probe`, async () => { + const f = fixture(); chmodSync(f.served, 0o777); + const result = await f.run(argv()); + expect(existsSync(join(f.home, "served-calls"))).toBe(false); + expect(result.stderr).not.toContain("not found"); + }, SPAWN_BUDGET_MS); + posix(`${name} refuses a writable recorded entrypoint before starting its interpreter`, async () => { + const f = fixture(); chmodSync(f.entry, 0o666); + await f.run(argv()); + expect(existsSync(join(f.home, "served-calls"))).toBe(false); + }, SPAWN_BUDGET_MS); +} + +posix.each(["binary", "entry"] as const)("a foreign-owned recorded %s is not executed", async target => { + const f = fixture(); + const foreign = process.getuid?.() === 0 ? 65534 : 0; + const path = target === "binary" ? f.served : f.entry; + const realStat = Bun.which("stat")!; + unlinkSync(join(f.bin, "stat")); + executable(join(f.bin, "stat"), `for last do :; done +if [ "$last" = ${q(path)} ]; then printf '${foreign} 755\\n'; else exec ${q(realStat)} "$@"; fi`); + await f.run(remoteOcxArgv(["link", "port"])); + expect(existsSync(join(f.home, "served-calls"))).toBe(false); +}, SPAWN_BUDGET_MS); + +posix.each(["binary", "entry"] as const)("a replaceable ancestor of the recorded %s is refused", async target => { + const f = fixture(); + // The entry's immediate parent differs from the interpreter's parent. + chmodSync(target === "binary" ? dirname(f.served) : dirname(f.entry), 0o777); + await f.run(remoteOcxArgv(["link", "port"])); + expect(existsSync(join(f.home, "served-calls"))).toBe(false); +}, SPAWN_BUDGET_MS); + +posix("trusted sticky ancestors and owned symlinked package paths remain usable", async () => { + const f = fixture(); + chmodSync(dirname(f.served), 0o1777); + const linked = join(f.home, "current-package"); symlinkSync("package", linked); + f.record([join(linked, "bun"), join(linked, "src/cli/index.ts")]); + const result = await f.run(remoteOcxArgv(["link", "port"])); + expect(result.stdout).toBe("served\n"); + expect(readFileSync(join(f.home, "served-calls"), "utf8")).toContain(join(linked, "src/cli/index.ts")); +}, SPAWN_BUDGET_MS); + +posix("symlink destinations cannot conceal a replaceable ancestor", async () => { + const f = fixture(); + const linked = join(f.home, "current-package"); symlinkSync("package", linked); + f.record([join(linked, "bun"), join(linked, "src/cli/index.ts")]); + chmodSync(dirname(f.served), 0o777); + await f.run(remoteOcxArgv(["link", "port"])); + expect(existsSync(join(f.home, "served-calls"))).toBe(false); +}, SPAWN_BUDGET_MS); + +posix("a symlink loop is skipped within the bounded resolver", async () => { + const f = fixture(); + symlinkSync("loop", join(f.home, "loop")); f.record([join(f.home, "loop")]); + expect((await f.run(remoteOcxArgv(["link", "port"]))).stdout).toBe("fallback\n"); + expect(existsSync(join(f.home, "served-calls"))).toBe(false); +}, SPAWN_BUDGET_MS); + +posix("a trailing newline in a symlink target cannot substitute the checked path", async () => { + const f = fixture(); + const newlineTarget = f.served + "\n"; + executable(newlineTarget, 'printf "unexpected\\n" >> "$HOME/served-calls"; printf "opencodex 2.99.0\\n"'); + chmodSync(newlineTarget, 0o777); + symlinkSync("package/bun\n", join(f.home, "linked-bun")); + f.record([join(f.home, "linked-bun")]); + const result = await f.run(remoteOcxArgv(["link", "port"])); + expect(result.stdout).toBe("fallback\n"); + expect(existsSync(join(f.home, "served-calls"))).toBe(false); +}, SPAWN_BUDGET_MS); + +posix.each(["stat", "id"])("missing %s skips the recorded install without running it", async tool => { + const f = fixture(); unlinkSync(join(f.bin, tool)); + const result = await f.run(remoteOcxArgv(["link", "port"])); + expect(result.stdout).toBe("fallback\n"); expect(result.stderr).toBe(""); + expect(existsSync(join(f.home, "served-calls"))).toBe(false); +}, SPAWN_BUDGET_MS); + +posix("a missing symlink reader never treats the link as a regular executable", async () => { + const f = fixture(); unlinkSync(join(f.bin, "readlink")); + symlinkSync("package/bun", join(f.home, "linked-bun")); + f.record([join(f.home, "linked-bun"), f.entry]); + const result = await f.run(remoteOcxArgv(["link", "port"])); + expect(result.stdout).toBe("fallback\n"); expect(result.stderr).toBe(""); + expect(existsSync(join(f.home, "served-calls"))).toBe(false); +}, SPAWN_BUDGET_MS); + +posix("BSD stat preserves sticky ancestors and zero-padded permission bits", async () => { + const f = fixture(); const realStat = Bun.which("stat")!; + chmodSync(dirname(f.served), 0o1777); + unlinkSync(join(f.bin, "stat")); + executable(join(f.bin, "stat"), `if [ "$1" = -c ]; then exit 1; fi +[ "$1" = -f ] || exit 1 +format=$2 +shift 2 +${process.platform === "darwin" ? `exec ${q(realStat)} -f "$format" "$@"` : `info=$(${q(realStat)} -c '%u %a' "$@") || exit 1 +set -- $info +mode=$((0$2)) +case "$format" in + '%u %Lp') printf '%s %o\\n' "$1" "$((mode & 0777))";; + '%u %Mp%Lp') printf '%s %o%o\\n' "$1" "$((mode >> 9 & 7))" "$((mode & 0777))";; + '%u %Mp%03Lp') printf '%s %o%03o\\n' "$1" "$((mode >> 9 & 7))" "$((mode & 0777))";; + *) exit 1;; +esac`}`); + expect((await f.run(remoteOcxArgv(["link", "port"]))).stdout).toBe("served\n"); + // Darwin reserves sticky regular files for root; an owned directory needs no privilege. + const stickyDirectory = join(f.home, "sticky-padding"); mkdirSync(stickyDirectory); + try { + for (const [path, mode] of [[stickyDirectory, 0o1007], [f.entry, 0o4005]] as const) { + chmodSync(path, mode); + const result = await f.run(["sh", "-c", `${REMOTE_SERVED_PATH_TRUST}\nserved_path_info ${q(path)}`]); + expect(result.stdout).toBe(`${process.getuid!()} ${mode.toString(8)}\n`); + } + } finally { + chmodSync(stickyDirectory, 0o700); // Restore owner access for recursive fixture cleanup. + } +}, SPAWN_BUDGET_MS); + +for (const [name, argv] of consumers) { + posix.each(["binary", "package"] as const)(`Darwin ${name} skips recorded %s hints before any version probe`, async kind => { + const f = fixture("Darwin"); + if (kind === "binary") f.record([f.served]); + const result = await f.run(argv()); + expect(existsSync(join(f.home, "served-calls"))).toBe(false); + if (name === "discovery") expect(result.stdout).toBe("fallback\n"); + if (name === "pinned sync") expect(result.stderr).toContain("ocx-fanout:selected:2.98.0"); + if (name === "inspection") expect(result.stdout).toContain("ocx-inspect:version:opencodex 2.98.0"); + if (name === "full-install census") expect(result.stdout).toContain("ocx-census:full"); + }, SPAWN_BUDGET_MS); +} + +posix.each(["FreeBSD", ""])("an unverified platform %s skips recorded hints", async platform => { + const f = fixture(platform); + expect((await f.run(remoteOcxArgv(["link", "port"]))).stdout).toBe("fallback\n"); + expect(existsSync(join(f.home, "served-calls"))).toBe(false); +}, SPAWN_BUDGET_MS); diff --git a/tests/clients/link-ssh-argv-discovery.test.ts b/tests/clients/link-ssh-argv-discovery.test.ts index 4e1722c0f02..aed44095081 100644 --- a/tests/clients/link-ssh-argv-discovery.test.ts +++ b/tests/clients/link-ssh-argv-discovery.test.ts @@ -114,8 +114,9 @@ test.skipIf(process.platform === "win32").each(["Windows_NT", "MSYS_NT-10.0-2263 * The census is written by the real recorder, so a format change on that side breaks these cases. */ function servedFixture(tools = ["awk", "dd", "wc"]) { - const f = fixture(); - for (const tool of tools) symlinkSync(Bun.which(tool)!, join(f.home, "remote-bin", tool)); + const f = fixture("Linux"); // Recorded hints require the Linux ownership/mode gate. + // Keep trust evidence available when a case removes one of the census reader's tools. + for (const tool of new Set([...tools, "stat", "id", "readlink"])) symlinkSync(Bun.which(tool)!, join(f.home, "remote-bin", tool)); f.install(0); // a runnable Desktop copy that must lose to the served install const census = (command: string[]) => recordServingRuntime( { command, version: "2.99.0", servedAt: "2026-11-09T00:00:00.000Z" }, @@ -504,7 +505,8 @@ test.skipIf(process.platform === "win32")("runtime inspection reports the served writeFileSync(cli, "// entry\n"); recordServingRuntime({ command: [bun, cli], version: "2.99.0", servedAt: "2026-11-09T00:00:00.000Z" }, join(home, ".opencodex")); const bin = join(home, "tools"); mkdirSync(bin); - for (const tool of ["sh", "uname", "awk", "dd", "wc"]) symlinkSync(Bun.which(tool)!, join(bin, tool)); + for (const tool of ["sh", "awk", "dd", "wc", "stat", "id", "readlink"]) symlinkSync(Bun.which(tool)!, join(bin, tool)); + executable(join(bin, "uname"), "printf 'Linux\\n'"); const result = Bun.spawnSync(remoteInspectRuntimeArgv("posix"), { env: { HOME: home, PATH: bin }, stdout: "pipe", stderr: "pipe" }); const lines = result.stdout.toString().split("\n"); expect(result.exitCode).toBe(0); diff --git a/tests/fixtures/test-layout-expected.json b/tests/fixtures/test-layout-expected.json index 3da1e01f510..19fb964d217 100644 --- a/tests/fixtures/test-layout-expected.json +++ b/tests/fixtures/test-layout-expected.json @@ -1,4 +1,4 @@ -{ "provider-upstream-deadlines.test.ts": "responses", "web-search-local-deadline-provenance.test.ts": "web-search", "responses-combo-unavailable-cause.test.ts": "responses", "responses-native-sse-stall.test.ts": "responses", "client-restart-sync-fence.test.ts": "clients", "service-scheduler-restart-respawn-refusal.test.ts": "service", "route-to-home-sync-review.test.ts": "routing", "route-intent-connect-post-commit.test.ts": "clients", "route-intent-file-originals.test.ts": "clients", "route-to-child-defaults.test.ts": "routing", "route-to-home-live-flags.test.ts": "routing", "route-to-home-native-truth.test.ts": "routing", "route-to-home-decisions.test.ts": "routing", "route-to-ephemeral.test.ts": "server", "link-pinned-sync-overwrite.test.ts": "clients", "cli-sync-fanout-ephemeral.test.ts": "cli", "route-intent-home-consent.test.ts": "clients", "management-route-intent-native-errors.test.ts": "server", "route-intent-offline-mode-switch.test.ts": "clients", "route-intent-parity-withdrawal.test.ts": "clients", "service-scheduler-restart-cleanup.test.ts": "service", "route-to-retirement-review.test.ts": "server", "route-to-policy-review.test.ts": "server", "management-route-intent-native-review.test.ts": "server", "route-to-home-off-review.test.ts": "routing", "codex-journal-provider-reserialization.test.ts": "codex-integration", "route-intent-parity-fallback.test.ts": "clients", "route-intent-native-originals.test.ts": "clients", "route-intent-native-review.test.ts": "clients", "route-intent-connected-capabilities.test.ts": "clients", "route-intent-connected-review.test.ts": "clients", "route-intent-connect-recovery.test.ts": "clients", "client-disconnect-field-snapshot.test.ts": "clients", "cli-route-to-confirmation.test.ts": "cli", "route-intent-runtime-stop.test.ts": "clients", "route-intent-codex-connect-disabled.test.ts": "clients", "route-intent-codex-transitions.test.ts": "clients", "route-to-live-settings.test.ts": "server", "route-intent-claude-surface.test.ts": "clients", "route-intent-local-receipt.test.ts": "clients", "route-intent-scheduler.test.ts": "clients", "route-intent-watch-client.test.ts": "clients", "route-intent-watch-boundary.test.ts": "server", "route-intent-watch-waiters.test.ts": "server", "home-route-intent-upgrade.test.ts": "clients", "route-intent-overwrite.test.ts": "clients", "codex-disconnect-owned-recovery.test.ts": "codex-integration", "service-restart-registration-guard.test.ts": "service", "client-disconnect-config-recovery.test.ts": "clients", "route-intent-aside.test.ts": "clients", "route-intent-connected.test.ts": "clients", "cli-link-route-intent.test.ts": "cli", "cli-route-to-aliases.test.ts": "cli", "cli-route-to.test.ts": "cli", "client-disconnect-edited-codex.test.ts": "clients", "codex-disconnect-fields.test.ts": "codex-integration", "link-home-route-intent.test.ts": "clients", "link-route-intent.test.ts": "server", "route-intent-desktop.test.ts": "clients", "route-intent-materializer.test.ts": "clients", "route-intent-parity.test.ts": "clients", "route-intent-reporter.test.ts": "clients", "route-intent-state.test.ts": "clients", "route-intent.test.ts": "clients", "route-to-routes.test.ts": "server", "route-to-sync-child.test.ts": "routing", "service-disconnected-client-restart.test.ts": "service", "responses-forward-client-headers-live.test.ts": "responses", "pool-retry-client-metadata.test.ts": "responses", "responses-websocket-workflow-ceiling.test.ts": "responses", "responses-workflow-send-ceiling.test.ts": "responses", "kimi-monthly-quota.test.ts": "providers", "sync-fanout.test.ts": "cli", "sync-command-fanout.test.ts": "cli", "link-pinned-sync-argv.test.ts": "clients", "sync-link-status.test.ts": "cli", "sync-fanout-process.test.ts": "cli", "codex-installation-acl.test.ts": "codex-integration", "codex-installation-id.test.ts": "codex-integration", "codex-installation-wire.test.ts": "codex-integration", "codex-installation-failover.test.ts": "responses", "lmstudio-system-policy.test.ts": "config", "openai-chat-single-system.test.ts": "adapters/openai", "update-reclaim-authorizer.test.ts": "update", "update-capability-policy.test.ts": "update", "update-service-home.test.ts": "update", "update-service-home-policy.test.ts": "update", "update-home-recovery.test.ts": "update", "update-recovery-authority.test.ts": "update", "update-recovery-boundaries.test.ts": "update", "update-home-launcher.test.ts": "update", "update-home-worker.test.ts": "update", "update-mutation-boundaries.test.ts": "update", "update-mutation-guard.test.ts": "update", "update-guarded-ops.test.ts": "update", "update-effect-authority.test.ts": "update", "update-windows-wrapper-authority.test.ts": "update", "update-mutation-scanner.test.ts": "update", "refreshed-upstream-deadlines.test.ts": "responses", "local-upstream-deadlines.test.ts": "responses", "service-desktop-recovery.test.ts": "service", "provider-input-modalities.test.ts": "providers", "turn-membership.test.ts": "responses", "turn-membership-ingress.test.ts": "responses", "workbuddy-quota.test.ts": "providers", "workbuddy-login.test.ts": "oauth", "workbuddy-adapter.test.ts": "adapters", "workbuddy-provider.test.ts": "providers", "link-tunnel-history.test.ts": "clients", "link-readiness.test.ts": "clients", "link-tunnel-status.test.ts": "clients", "link-diagnostics.test.ts": "clients", "combo-description.test.ts": "routing", "combo-description-catalog.test.ts": "codex-integration", "catalog-auto-review-override.test.ts": "codex-integration", "management-auto-review-settings.test.ts": "server", "management-auto-review-auth.test.ts": "server", "prefer-model-alias-ids.test.ts": "server", "responses-mimo-envelope.test.ts": "responses", "responses-call-id-linkage.test.ts": "responses", "responses-chat-raw-summary.test.ts": "responses", "responses-phase-inference.test.ts": "responses", "cli-message-mcp-resume.test.ts": "cli", "messaging-mcp-resume.test.ts": "codex-integration", "link-diagnostics-read.test.ts": "clients", "cli-link-diagnostics.test.ts": "cli", "link-diagnostics-route.test.ts": "server", "provider-passive-wire-model.test.ts": "providers", "passive-key-observation.test.ts": "providers", "responses-passive-key-limits.test.ts": "responses", "passive-key-limits.test.ts": "providers", "terminal-safe-text.test.ts": "lib", +{ "link-served-runtime-trust.test.ts": "clients", "provider-upstream-deadlines.test.ts": "responses", "web-search-local-deadline-provenance.test.ts": "web-search", "responses-combo-unavailable-cause.test.ts": "responses", "responses-native-sse-stall.test.ts": "responses", "client-restart-sync-fence.test.ts": "clients", "service-scheduler-restart-respawn-refusal.test.ts": "service", "route-to-home-sync-review.test.ts": "routing", "route-intent-connect-post-commit.test.ts": "clients", "route-intent-file-originals.test.ts": "clients", "route-to-child-defaults.test.ts": "routing", "route-to-home-live-flags.test.ts": "routing", "route-to-home-native-truth.test.ts": "routing", "route-to-home-decisions.test.ts": "routing", "route-to-ephemeral.test.ts": "server", "link-pinned-sync-overwrite.test.ts": "clients", "cli-sync-fanout-ephemeral.test.ts": "cli", "route-intent-home-consent.test.ts": "clients", "management-route-intent-native-errors.test.ts": "server", "route-intent-offline-mode-switch.test.ts": "clients", "route-intent-parity-withdrawal.test.ts": "clients", "service-scheduler-restart-cleanup.test.ts": "service", "route-to-retirement-review.test.ts": "server", "route-to-policy-review.test.ts": "server", "management-route-intent-native-review.test.ts": "server", "route-to-home-off-review.test.ts": "routing", "codex-journal-provider-reserialization.test.ts": "codex-integration", "route-intent-parity-fallback.test.ts": "clients", "route-intent-native-originals.test.ts": "clients", "route-intent-native-review.test.ts": "clients", "route-intent-connected-capabilities.test.ts": "clients", "route-intent-connected-review.test.ts": "clients", "route-intent-connect-recovery.test.ts": "clients", "client-disconnect-field-snapshot.test.ts": "clients", "cli-route-to-confirmation.test.ts": "cli", "route-intent-runtime-stop.test.ts": "clients", "route-intent-codex-connect-disabled.test.ts": "clients", "route-intent-codex-transitions.test.ts": "clients", "route-to-live-settings.test.ts": "server", "route-intent-claude-surface.test.ts": "clients", "route-intent-local-receipt.test.ts": "clients", "route-intent-scheduler.test.ts": "clients", "route-intent-watch-client.test.ts": "clients", "route-intent-watch-boundary.test.ts": "server", "route-intent-watch-waiters.test.ts": "server", "home-route-intent-upgrade.test.ts": "clients", "route-intent-overwrite.test.ts": "clients", "codex-disconnect-owned-recovery.test.ts": "codex-integration", "service-restart-registration-guard.test.ts": "service", "client-disconnect-config-recovery.test.ts": "clients", "route-intent-aside.test.ts": "clients", "route-intent-connected.test.ts": "clients", "cli-link-route-intent.test.ts": "cli", "cli-route-to-aliases.test.ts": "cli", "cli-route-to.test.ts": "cli", "client-disconnect-edited-codex.test.ts": "clients", "codex-disconnect-fields.test.ts": "codex-integration", "link-home-route-intent.test.ts": "clients", "link-route-intent.test.ts": "server", "route-intent-desktop.test.ts": "clients", "route-intent-materializer.test.ts": "clients", "route-intent-parity.test.ts": "clients", "route-intent-reporter.test.ts": "clients", "route-intent-state.test.ts": "clients", "route-intent.test.ts": "clients", "route-to-routes.test.ts": "server", "route-to-sync-child.test.ts": "routing", "service-disconnected-client-restart.test.ts": "service", "responses-forward-client-headers-live.test.ts": "responses", "pool-retry-client-metadata.test.ts": "responses", "responses-websocket-workflow-ceiling.test.ts": "responses", "responses-workflow-send-ceiling.test.ts": "responses", "kimi-monthly-quota.test.ts": "providers", "sync-fanout.test.ts": "cli", "sync-command-fanout.test.ts": "cli", "link-pinned-sync-argv.test.ts": "clients", "sync-link-status.test.ts": "cli", "sync-fanout-process.test.ts": "cli", "codex-installation-acl.test.ts": "codex-integration", "codex-installation-id.test.ts": "codex-integration", "codex-installation-wire.test.ts": "codex-integration", "codex-installation-failover.test.ts": "responses", "lmstudio-system-policy.test.ts": "config", "openai-chat-single-system.test.ts": "adapters/openai", "update-reclaim-authorizer.test.ts": "update", "update-capability-policy.test.ts": "update", "update-service-home.test.ts": "update", "update-service-home-policy.test.ts": "update", "update-home-recovery.test.ts": "update", "update-recovery-authority.test.ts": "update", "update-recovery-boundaries.test.ts": "update", "update-home-launcher.test.ts": "update", "update-home-worker.test.ts": "update", "update-mutation-boundaries.test.ts": "update", "update-mutation-guard.test.ts": "update", "update-guarded-ops.test.ts": "update", "update-effect-authority.test.ts": "update", "update-windows-wrapper-authority.test.ts": "update", "update-mutation-scanner.test.ts": "update", "refreshed-upstream-deadlines.test.ts": "responses", "local-upstream-deadlines.test.ts": "responses", "service-desktop-recovery.test.ts": "service", "provider-input-modalities.test.ts": "providers", "turn-membership.test.ts": "responses", "turn-membership-ingress.test.ts": "responses", "workbuddy-quota.test.ts": "providers", "workbuddy-login.test.ts": "oauth", "workbuddy-adapter.test.ts": "adapters", "workbuddy-provider.test.ts": "providers", "link-tunnel-history.test.ts": "clients", "link-readiness.test.ts": "clients", "link-tunnel-status.test.ts": "clients", "link-diagnostics.test.ts": "clients", "combo-description.test.ts": "routing", "combo-description-catalog.test.ts": "codex-integration", "catalog-auto-review-override.test.ts": "codex-integration", "management-auto-review-settings.test.ts": "server", "management-auto-review-auth.test.ts": "server", "prefer-model-alias-ids.test.ts": "server", "responses-mimo-envelope.test.ts": "responses", "responses-call-id-linkage.test.ts": "responses", "responses-chat-raw-summary.test.ts": "responses", "responses-phase-inference.test.ts": "responses", "cli-message-mcp-resume.test.ts": "cli", "messaging-mcp-resume.test.ts": "codex-integration", "link-diagnostics-read.test.ts": "clients", "cli-link-diagnostics.test.ts": "cli", "link-diagnostics-route.test.ts": "server", "provider-passive-wire-model.test.ts": "providers", "passive-key-observation.test.ts": "providers", "responses-passive-key-limits.test.ts": "responses", "passive-key-limits.test.ts": "providers", "terminal-safe-text.test.ts": "lib", "responses-estimated-usage.test.ts": "responses", "responses-combo-estimated-usage-spend.test.ts": "responses", "codex-installation-live-content.test.ts": "codex-integration", diff --git a/tests/helpers/codex-cli-apply-fixture.ts b/tests/helpers/codex-cli-apply-fixture.ts index 59c59f6c5e5..5cf138bef32 100644 --- a/tests/helpers/codex-cli-apply-fixture.ts +++ b/tests/helpers/codex-cli-apply-fixture.ts @@ -60,8 +60,10 @@ export function privateNpm(root: string, args: string[]) { const env = node ? { PATH: [work, dirname(node), "/usr/bin", "/bin"].join(":"), NODE_COMPILE_CACHE: isolation.env.NODE_COMPILE_CACHE } : isolation.env; + // npm config and package caches stay fresh per command; only compiled Node + // code is reused inside this owned fixture, as it is by the launcher below. const result = spawnSync(bin, target.args, { ...target.options, encoding: "utf8", timeout: 60_000, - env: { ...env, HOME: root, TMPDIR: root } }); + env: { ...env, HOME: root, TMPDIR: root, NODE_COMPILE_CACHE: join(root, "node-compile-cache") } }); if (result.error || result.status !== 0) throw new Error(`private npm failed: ${result.status} ${result.error?.message ?? ""}\n${result.stderr}`); return result; } @@ -106,12 +108,16 @@ export function createCodexCliApplyFixture(root: string, platform: NodeJS.Platfo if (name !== "package.json") chmodSync(join(source, name), 0o755); } } - const pack = (source: string) => { - const info = JSON.parse(privateNpm(root, ["pack", source, "--json", "--pack-destination", source]).stdout); - const path = join(source, info[0].filename); + // Pack both real local packages in one process, with a fresh npm cache + // for each version. The archives still come from npm, not synthetic tar. + const packed = JSON.parse(privateNpm(root, ["pack", mainSource, backingSource, + "--json", "--pack-destination", root]).stdout); + if (!Array.isArray(packed) || packed.length !== 2) throw new Error("fixture npm pack did not return both packages"); + const archive = (index: number) => { + const path = join(root, packed[index].filename); return { path, bytes: readFileSync(path) }; }; - const main = pack(mainSource), backing = pack(backingSource); + const main = archive(0), backing = archive(1); const artifacts = { ...fixture.artifacts, main: fixtureArtifact(main.bytes, version), backing: fixtureArtifact(backing.bytes, fixture.artifacts.backing.version, fixture.artifacts.backing.installName) }; return { artifacts, main, backing, mainManifest: fixture.mainManifest };