refactor(ios-runner): restrict the tap-witness synthesized type route to the bare submit key
Summary
Stacked on https://github.com/callstack/agent-device/pull/2834.
The tap-witness synthesized route now admits only what the daemon sends it: no mode plus "\n". Ordinary text uses append mode and keeps its production path. The dormant commit wait and its tests are deleted. fill's replacement wait and shared helpers stay.
Tests now send daemon request shapes: append text asserting field values, plus no-mode "\n" route and refusal tests. Touched tests live in UnitTests/. The hint and commands.md now name only type "\n".
Issue line refs have moved; the facts still hold. 13 files. Closes #2800
Validation
Rebased onto main at a913cb222. Signed macOS host lane: 233/233 at 60e533284. check:affected --run is green at this head. The evidence below is from before the rebase.
SHA 7af257bee.
pnpm check:affected --run(base #2834) passed, includingcheck:xctest-selection.- macOS host lane: 231/231 pass. Planting the old gate turns the gate test red.
- iOS sim: the build compiles and non-launching tests pass. The runner host app traps without UIScene on every local iOS 27 runtime, including untouched tests, so CI
ios.ymlowns the app-launching tests. - Live on iPhone 17 Pro, fresh runner, Settings search:
- Keyboard visible:
type wif, thentype i;get textreadwifi. - Hardware keyboard, soft keyboard hidden:
type blue, thentype toothābluetooth. type "\n"submitted the search.- Gap: the runner counted the minimized keyboard as visible, so the tap-witness route was not reached live.
- Keyboard visible:
- Review: fixed the hint, witness asserts, refusal test, mid-test skip, duplicate test and issue refs. Rejected a golden table and helper inlining (the issue fixes both), and
1874-diagnose.yml(#2080).
š¤ Generated with Claude Code