fix(ios): never tap a target the keyboard covers
Summary
iOS Maestro tapOn checks the resolved point against the same keyboard policy as press and click. A refusal preserves the form state. Optional taps warn and continue, and explicit retries re-resolve the target. Required taps outside a retry fail with the typed reason. The checkout examples reveal each target by selector and the iOS Maestro flow sends Return on Email.
Part of #5015. Live triage
Before / after
tapOn {id: shipping-pickup} with its point under the iOS keyboard
Before → tap dispatched at (164, 651), email changed to ada@example.comf
After → COMMAND_FAILED, reason=tap_keyboard_occludes_target, dispatched=no
Validation
Head 10eb67fd777d0a75d00ca306322016e56fd369e7 rebased on 58c76a620f. Frozen install, build, typecheck, lint, and 3,559 focused tests passed on the rebase. After compacting selector help to restore both byte budgets, the exact-head affected gate passed 43 checks and skipped 29. The iOS native replay still waits for stable geometry before tapping Pickup.
On e2e-apex (iOS 26.2), the coordinator’s e2d4cc8 packs passed Maestro checkout and the corrected native replay (63b3291 script). The kit’s blocked tap reported COMMAND_FAILED and tap_keyboard_occludes_target. Email stayed ada@example.com. The outer REPLAY_DIVERGENCE reported dispatched: unknown after 10 earlier dispatches.
agent-device replay examples/test-app/maestro/checkout-form.yaml --maestro --platform ios --timeout 180000 --json
agent-device test examples/test-app/replays/checkout-form.ad --platform ios --timeout 180000 --json
Core, Maestro, and Replay packs from 10eb67f are installed. Live cases 3 and 4 still need a binding that can use those packs. T3 currently pins the device runtime to 0.21.36.

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