perf(ios): speed up deep snapshots and keep first taps reliable
Merged
TH
2mo ago+743+743+012345678901234567890123456789-68-68-01234567890123456789
Summary
Recover rejected deep iOS snapshots with bounded lower-depth requests and complete withheld branches. Preserve zero-based depth limits, reuse unchanged native trees, and fall back with non-launch failure codes when recovery cannot finish.
Contain optional coordinate-tap probe issues without penalizing later taps or granting an invalid typing witness. Required queries and mutation failures remain visible.
26 files across Apple capture, runner, tests and packaging/CI enforcement. No app-specific logic or public API change. Size comparison uses the measured revision's asset policy.
Validation
Tested head: 7c84acfe684fbb45191460766ac8e9f6d739aa95.
pnpm check:affected --runpassed.- Rebased onto #2391; Capture/launch/circuit tests passed, including 31 compiled native cases. Planted failures prove recovery and non-retry classification.
- Before the rebase, eight native iOS tests and iOS/macOS builds passed; native sources are unchanged. Immediate tap-then-type recovery is covered.
- Live Settings depths 0/1/4/64 and instrumented Bluesky frontiers verified. Missing/invalid boundary evidence fails closed. Independent review clear; follow-up #2424.
- Earlier benchmark at
8e402a0ac4: warm startup to a verified Bluesky post averaged 11.14s vs 16.13s on 0.21, two warm samples each. This fixture-specific benchmark has not been repeated after review adjustments. - Updated GitHub CI pending.