fix(android): report dispatched no for adb host refusals
Summary
An adb failure that adb itself prints before any device-side work now reports dispatched: "no". The classifier marks a host refusal (device_unauthorized, device_offline, multiple_devices, no_devices, device_not_found) only when the whole adb output is the refusal: empty stdout, a first stderr line that is exactly the refusal, and only adb's fixed trailer lines after it. Mixed output, server_version_mismatch, install_*, connection_dropped and timeouts stay unknown. attachAdbFailureHint stamps details.adbHostRefusal. discloseAdbInputDispatch and the one-shot touch helper read that stamp, so there is no string matching at the producers.
Closes #3075. Part of #3069. Stacked on #3071. Touches 6 files.
Validation
Tested commit: df909a1308d159a6663b691126d5769b2a16b3c6. Not device-facing, so no live evidence.
Every lane passed except vitest-related. There, 5 of 1324 test files failed, each with a 5000ms timeout, and each passed when rerun alone. The passing lanes were format, lint, typecheck, layering, di-seams, fallow, mcp-metadata, build, package, integration-node and macos-coverage. The 5 files are:
- runner-recovery-wiring
- runner-session-lifecycle
- runner-session
- apple-ci-impact
- screenshot-density
screenshot-density passed alone, but took 4.95s against the 5s timeout. The same file is untouched by the branch diff against 6165953, so this is a slow test under host load rather than a regression. No code changes or commits were made.
Contention reruns passed alone:
- packages/platform-apple/src/runner/tests/runner-recovery-wiring.test.ts
- packages/platform-apple/src/runner/tests/runner-session-lifecycle.test.ts
- packages/platform-apple/src/runner/tests/runner-session.test.ts
- scripts/tests/apple-ci-impact.test.ts
- packages/platform-apple/src/core/tests/screenshot-density.test.ts
Unresolved risk: fill at zero dispatched steps (text-input.ts) is unchanged. The one-shot helper failure now also carries the classifier's adbFailure, hint and retriable.