feat(interaction): report readiness wait on a successful press, click, or longpress
Summary
A successful press, click, or longpress that had to wait for its selector target now reports the wait as data.readiness ({ polls, waitedMs }). The field appears only when the wait took more than one poll, so first-capture hits are unchanged. The daemon response builder adds it after warning composition, so existing warnings stay intact. Replay waits remain visible as interaction_target_readiness diagnostics under --debug.
agent-device press 'label="Checkout"' # slow screen: data.readiness = { polls: 3, waitedMs: ... }
Docs updated: client-api.md, replay-e2e.md.
Part of #3077. Part of #3069. 9 files touched. Stacked on #3072 (proto/reliability-contract; #3071 is feat/dispatch-disclosure).
Validation
Tested commit: 9794df64a1d4564aab398219b7f217c469058074
pnpm check:affected --run: every lane passed except one vitest-related failure. Of 627 files, 626 passed. The failure was test/integration/provider-scenarios/android-lifecycle.test.ts ("Android test IME recovery records could not be persisted"), which took about 7s under host load. Run alone it passes (6/6). The branch diff does not touch that file, so I count it as a contention failure. Fallow reported one unused export (runtimeScrollSnapshot in an untouched test-utils file) but audited 76 files against origin/main, so its scope is not this diff. It did not fail the gate. No fixes or commits were made.
Contention reruns: test/integration/provider-scenarios/android-lifecycle.test.ts.
Live evidence: not device-facing.
Unresolved risks:
- The direct iOS corroborated-tap route carries no readiness, because no runtime result exists there.
- The replay runner discards successful step responses, so the evidence shows on the daemon response and request log, not in the replay result.
- The soak and keep-or-drop decision for #3077 is not code and stays open.