fix(ios): report fill into a non-echoing field as unconfirmed
Summary
From e2e feedback: fill into an OTP field announcing "6 of 6 digits" retyped the code, then failed with TEXT_ENTRY_MISMATCH.
Now, on the accessibility-driven route, when the same field's value moves off its post-clear baseline and settles on a non-echo, fill succeeds with verification: "unconfirmed" plus requested/before/after/target. Android already returns this shape. Nothing is retyped. Any degraded copy of baseline plus request is still an echo and is repaired, so dropped characters and stale prefixes still fail. fill 6 into "0 of 6 digits" is not retyped. The value gets up to 1s to move, then 1s to settle on value plus element identity.
agent-device fill 'id=otp-input' 123456 --json
# data.verification: "unconfirmed", before: "0 of 6 digits", after: "6 of 6 digits"
Help, docs, and MCP schema cover Apple fields. 12 files.
Validation
Tested commit: 68cf55e97.
pnpm check:affected --run --base upstream/main: all runnable checks passed.- 43 text-entry runner XCTests pass on an iOS 27.0 sim. The new stale-baseline row in
testEveryOtherReplacementMismatchStaysAFailurefails on e1dbe8737 and passes here. - Live CLI, iOS 27 sim, SwiftUI OTP fixture:
fill id=otp-input 123456returns unconfirmed (before"0 of 6 digits",after"6 of 6 digits"), and the app holds "123456".fill ... 6returns unconfirmed (after"1 of 6 digits"), and the app holds "6". runner.log has 0REPAIR_TEXT_ENTRYlines. Name field verifies normally. Output in the PR comment. - CI: all checks pass on 68cf55e97, including iOS Smoke Tests.
Known limit: the coordinate fill route still requires an exact match.