Skip to content

Support AXe 2 and real iOS devices - #141

Merged
bitomule merged 1 commit into
mainfrom
worktree-t-mav-axe2-support
Nov 13, 2026
Merged

bitomule merged 1 commit into
mainfrom
worktree-t-mav-axe2-support

Conversation

@bitomule

@bitomule bitomule commented Nov 13, 2026 •

Copy link
Copy Markdown
Owner

MAV 0.34.0 requires AXe 2.0.4+ for iOS automation and exposes ordinary AXe 2 features through MAV's typed commands and YAML flows. Real iPhones/iPads use AXe for UI and capture, and CoreDevice for installation and launch; the normal workflow no longer requires idb.

  • Add keyboard sequences/combos, touch, drawing, sliders, gesture presets, settings, location scenarios, display/readiness diagnostics, shutdown and typed batches.
  • Preserve native JSON errors, delivery receipts and explicit display/PID conditions. Sent or uncertain input is not replayed by flow retries or stale-target recovery, including after a verification/evidence failure.
  • Keep AXe coordinates in the current orientation and remove the old idb foldable routing workaround. Alternative drivers retain richer gesture and timed-hinge operations.
  • Add physical-device MP4 recording and binary video streaming, graceful cancellation, verified recorder startup and retained cleanup tracking.
  • Render the Homebrew formula from packaging/homebrew for both publication workflows, with AXe as a dependency. Include migration notes, the API coverage matrix and updated skill/help.

Validation: the complete Go suite, focused safety/driver tests, Homebrew renderer tests and formula syntax. Regression tests were also checked by removing each fix and observing failure before restoring it: version floor, CoreDevice PID parsing, physical-device filtering, lifecycle argument preservation, partial batch delivery, recorder readiness, post-action replay protection and recorder cleanup tracking.

Real AXe 2.0.4 smoke testing on iOS 27.0 passed an 11-step evidence flow, verified navigation, selected-display input, tree/point queries, a batch, screenshots and video. The accepted recording contains 301 frames over 34.34 seconds; recording and streaming cancellation left no AXe children. Hardware was available only for discovery/readiness, so connected-device UI/lifecycle is covered by synthetic tests and upstream implementation rather than a live-device run. AXe's appearance readback changed to dark while the running Settings UI remained light in both AXe and simctl screenshots; that observed limitation is documented.

Release work continues after merge: publish v0.34.0, verify its assets/checksums and Homebrew formula, then install and check the published version. Goal-engine and snapshot/ref agent work follows separately; existing goto behavior remains in this release.

Public content review: reviewed the English README, CLI help, skill, API guide and release notes. Public additions use synthetic identifiers and contain no personal paths or private app names. No new public images are included.

Selected regression output with workspace paths redacted:

Post-action retry guard removed:
--- FAIL: TestFlowNeverReplaysActionAfterVerificationFails (0.01s)
    automation_cli_test.go:234: fields=map[attempts:3 driver:axe evidence:<WORKTREE>/.scratch/tmp/TestFlowNeverReplaysActionAfterVerificationFails2009633184/001/.mav/runs/82d50e88/step-1-automation.json] err=observe_invalid
FAIL
FAIL	github.com/bitomule/mav/internal/mav	0.325s
FAIL
Restored:
ok  	github.com/bitomule/mav/internal/mav	0.217s

Recorder tracking guard removed:
--- FAIL: TestFailedRecorderStopRetainsProcessLedger (6.04s)
    automation_cli_test.go:280: tracking lost: fail code=video_not_written file=<WORKTREE>/.scratch/tmp/TestFailedRecorderStopRetainsProcessLedger790792313/001/.mav/runs/eb5b3b4c/video.mp4 log=<WORKTREE>/.scratch/tmp/TestFailedRecorderStopRetainsProcessLedger790792313/001/.mav/runs/eb5b3b4c/video.log run=eb5b3b4c
FAIL
FAIL	github.com/bitomule/mav/internal/mav	6.359s
FAIL
Restored:
ok  	github.com/bitomule/mav/internal/mav	0.213s

Recorder readiness removed:
--- FAIL: TestAXeEvidenceStartRequiresRecorderReadiness (0.01s)
    --- FAIL: TestAXeEvidenceStartRequiresRecorderReadiness/missing_recording (0.00s)
        axe_evidence_readiness_test.go:45: err=<nil> output=ok cmd=evidence.start file=<WORKTREE>/.scratch/coredevice-go-tmp/TestAXeEvidenceStartRequiresRecorderReadinessmissing_recording1513349181/001/.mav/runs/dab742a8/video.mp4 pid=123 run=dab742a8 target_kind=simulator target_source=config udid=SIM
    --- FAIL: TestAXeEvidenceStartRequiresRecorderReadiness/error_log (0.00s)
        axe_evidence_readiness_test.go:45: err=<nil> output=ok cmd=evidence.start file=<WORKTREE>/.scratch/coredevice-go-tmp/TestAXeEvidenceStartRequiresRecorderReadinesserror_log171296507/001/.mav/runs/0b276ac3/video.mp4 pid=123 run=0b276ac3 target_kind=simulator target_source=config udid=SIM
    --- FAIL: TestAXeEvidenceStartRequiresRecorderReadiness/readiness_failure (0.00s)
        axe_evidence_readiness_test.go:45: err=<nil> output=ok cmd=evidence.start file=<WORKTREE>/.scratch/coredevice-go-tmp/TestAXeEvidenceStartRequiresRecorderReadinessreadiness_failure1849072203/001/.mav/runs/96666eed/video.mp4 pid=123 run=96666eed target_kind=simulator target_source=config udid=SIM
FAIL
Restored:
ok  	github.com/bitomule/mav/internal/mav	0.237s

@bitomule
bitomule merged commit bcce929 into main Nov 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant