Eight tests could not fail for a reason worth hearing. Each was checked against
its production owner, its callers, and the stronger test that already covers it.
- `ax-digest.test.ts`: `computeAxDigest(nodes)` compared against a second call to
the same pure function — true by construction. The empty-array case kept its
`nodeCount` assertion and lost its self-comparison.
- `ios-snapshot-engine/conformance.test.ts`: replayed
`contracts/fixtures/ios-snapshot-capture-hint.json` through
`createIosSnapshotRequest` + `deriveIosCaptureHint` with the same four
assertions `ios-snapshot-planning.test.ts` makes one file away. The golden table
keeps its owning leg; only the second copy goes.
- `replay-coordinator-ownership.test.ts`: the divergence-chain import ban is a
strict subset of the `src/daemon/replay/`-wide scan beside it, same module and
same predicate, so it cannot fire without that one firing first.
- `device-claim-rule.test.ts`: compared production against a hand-copied test
table of the three rules the same file already asserts directly. Exhaustiveness
is production's own default-less switch.
- `snapshot-viewport-root.test.ts`: over the complete 31-name iOS vocabulary the
preceding case fixes, "equals `Application` or `Window`" is the same
proposition as "filters to exactly those two".
- `install-source-public.test.ts`: asserted the URL its sibling asserts at the
owner, plus a `typeof` probe. The subpath is proven by `package-exports` and by
the installed-tarball probe that calls through it.
- `metro-protocol-public.test.ts`: its runtime half repeated `metro-public.test.ts`
verbatim; the compile-time wire fixtures it also carried move there, so the
public metro surface has one test file mirroring `src/sdk/metro.ts`.
- `session-replay-command-trust.test.ts`: mocked the replay façade and read the
command field back. `session-replay-maestro-remote-evalscript.test.ts` drives
the same two real handlers and asserts the terminal `trustedScripts` the engine
receives. Proven by mutation: dropping the mapping in
`replay-dispatch-envelope.ts` turns that suite's two remote cases red.
Summary
Eight tests could not fail for a reason worth hearing. Net −203 test lines, 0 production
lines changed. Each was checked against its production owner and the stronger test that
already covers it:
ax-digest.test.tscomputeAxDigest(nodes)vs a second call to the same pure function; the empty-array case keeps itsnodeCountpin, loses the self-comparisonios-snapshot-engine/conformance.test.tsios-snapshot-capture-hint.jsonthroughcreateIosSnapshotRequest+deriveIosCaptureHintwith the same four assertionsios-snapshot-planning.test.tsmakes; the golden table keeps its owning legreplay-coordinator-ownership.test.tssrc/daemon/replay/-wide scan beside it (same module, same predicate)device-claim-rule.test.tsswitchsnapshot-viewport-root.test.tsApplicationorWindow" is the same proposition as the preceding "filters to exactly those two"install-source-public.test.tstypeofprobe; subpath proven bypackage-exportsand the installed-tarball probemetro-protocol-public.test.tsmetro-public.test.tsverbatim; its compile-time wire fixtures move there, sosrc/sdk/metro.tshas one public-surface testsession-replay-command-trust.test.tstrustedScriptsTwo candidates I proposed to myself and rejected while editing —
click-runtime-execution.test.ts'stoBe(deep-equal on lines 20-21 does not subsume strict identity, and the file's comment saysthe #1900 claim rests on that identity) and
snapshot-quality-backend-capabilities.test.ts:80(its
forceablesubset is derived at the type level from kernelSnapshotPreferredBackend, so thepin has a real failure mode). Both kept.
Validation
Tested at
a836be12e.internal.publicNetworkOnlymapping in
replay-dispatch-envelope.tsturnssession-replay-maestro-remote-evalscript.test.ts's two remote cases red(
2 failed | 2 passed). Reverted;git diffon that file is empty.pnpm check:affected --run— all runnable checks passed.oxlint . --deny-warnings, repo-wideoxfmt, packagetsc -b, roottsc -p tsconfig.json.Not device-facing: no production path moves, so no device lane is selected.