test(interaction): stop the interaction-contract lane waiting real time

Merged
TH
10d ago
+306-239

Summary

  • The lane's daemon scenarios each paid the post-open first-screen stabilization on every open: the next capture polled on a 200ms schedule, so each scenario scripted and absorbed two settling runner reads. The harness's open now passes the product flag postGestureStabilization: false and scripts the one read its own snapshot performs. The lane proves dispatch shape, not the first-screen wait, which the provider-scenarios lane owns with its own scripted settling pair.
  • Three --settle contract tests slept the settle loop's quiet windows on the wall clock; they now pass the harness's existing createContractClock, so the loop polls on the contract clock.
  • The daemon-backed scenarios that lacked the documented parallel-budget exception now carry PARALLEL_PROVIDER_SCENARIO_TIMEOUT_MS, matching their siblings; coordinate errorTaxonomy timed out at the 5s default on main (run 44134141716).

Validation

  • vitest run --project interaction-contract: 11 files / 98 tests pass. Whole-lane duration 15.1โ€“16.0s โ†’ 9.5โ€“10.0s (three runs each, unloaded host). The three settleObservation tests go from ~1.5s each to under 6ms; the per-daemon-test floor drops from ~530ms to ~340ms.
  • tsc -b, oxlint --deny-warnings, oxfmt --check clean on the touched files.

๐Ÿค– Generated with Claude Code


Autofix with [code]smith
Open in [code]smith ยท Need help on this PR? Tag @codesmith-bot with what you need.