Skip to content

Releases

MAV v0.36.0

Choose a tag to compare

@github-actions github-actions released this 04 Dec 09:29
40f878a

MAV 0.36.0

This release closes most of the gaps found while porting Maestro flows to mav.
Nothing is removed that a flow uses: preferred_ui_driver was never read, and a
config that still has it loads.

Run without a backend

Record the app's traffic once, then replay it with no network:

- network.mock: { record: mocks/search.har }   # against the real backend
- network.mock: { replay: mocks/search.har }   # no backend at all

A replay that reaches a server fails with network_mock_not_hermetic. The same
lifecycle is open to any helper: exec: { background: true, name: mock, port: 8080 }
keeps a process up until the run ends.

Suites

mav run flows/ --include-tags smoke --junit report.xml runs a folder of flows
by tag and writes a JUnit report, even when the suite fails.

Flows

  • open takes its own args, env and permissions, so the app never shows
    the permission prompts.
  • repeat: { times: N }, and when with equals / notEquals on a bound value.
  • inside: selects an element by an ancestor.
  • type can pause between characters (delayPerChar).
  • wait and assert take textContains and its siblings directly; press: enter
    and erase: { characters: N } work as in Maestro.
  • New simulator steps: sim.keychain.clear, sim.media.add, sim.push,
    sim.memoryWarning.

Reliability

  • Waits read a fresh tree on every poll. Before, a wait inside mav run could
    time out on a screen that had already changed.
  • A run claims its simulator, so a run of another project cannot take it.
  • An empty tree after an XCUITest session fails with ax_tree_stuck_empty and
    the reboot command, not with a bare timeout.
  • With AXe 2.1.0 or later, a --text tap reaches web pages and sign-in sheets.
  • mav setup --install deps installs AXe 2, baguette and idb, and checks each
    against mav's version floor.

The changelog has
the details of every change.

What's Changed

  • Use generic app names in the changelog and the install retry test by @bitomule in #174
  • Add counted repeat and value conditions on when by @bitomule in #164
  • Read a fresh tree on every poll of wait, waitUntil, scrollUntil and stable by @bitomule in #162
  • Install every simulator driver with setup deps and drop preferred_ui_driver by @bitomule in #172
  • Let exec steps start a helper that lives until the run ends by @bitomule in #169
  • Add an opt-in per-character delay to type by @bitomule in #166
  • Let a flow open step pass its own launch arguments and environment by @bitomule in #167
  • Give the test suite a temp dir of its own so concurrent runs stop sharing simulator claims by @bitomule in #176
  • Keep killing an exec step's group until it is empty when mav dies by @bitomule in #177
  • Record the app's traffic once and replay it with no backend (#150) by @bitomule in #178
  • v0.36.0: network mocks, suites, permissions on open and fresh waits by @bitomule in #179

Full Changelog: v0.35.0...v0.36.0

MAV v0.35.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 11:16

MAV 0.35.0

mav goal now handles navigation and action objectives through one engine.
goto is retired in this version. Old invocations fail with a migration
command and perform no input; update scripts and flows before upgrading.

Before:

mav goto "the settings screen" --arrived-when 'title:"Settings"'

After:

mav goal "the settings screen" --mode navigation \
  --succeeded-when 'title:"Settings"'

YAML before:

- goto:
    goal: the settings screen
    arrivedWhen: 'title:"Settings"'

YAML after:

- goal:
    goal: the settings screen
    mode: navigation
    succeededWhen: 'title:"Settings"'

Flow lint diagnoses both the old step and arrivedWhen, including included
files and nested blocks. The command line uses --succeeded-when; YAML uses
succeededWhen and requires an explicit condition.

The default action mode also offers supported scrolling and caller-declared
text for focused fields:

mav goal "Create a note saying 'Sample note' and save it" \
  --succeeded-when 'title:"Saved"'

Success must be verified against fresh, stable application evidence. A model's
completion declaration remains separate. A condition true at entry returns
already_satisfied with zero actions. Navigation retains the 12-action and
90-second budgets, refusal policies and explicit permission-dismissal rule.
Partial or unknown input is never replayed.

MAV owns the loop; it does not run AXe's autonomous agent. AXe simulator input
uses checked snapshot references. Other drivers retain their documented
guarantees, including the limits of ordinary tree preflight.

Read the migration guide,
engine contract
and controlled evaluation.

AXe 2 command corrections

Ordinary input commands keep native JSON off stdout unless --raw is requested;
read commands still print their data, and flow evidence retains the envelope.
The ui tree node count now matches its printed, deduplicated elements.

An ambiguous ordinary ID tap can recover when a fresh AXe tree shows the same
ID on structural ancestors and one innermost button. Type filters, active
ancestry and containing frames are required. Other ambiguity and selected
display/process refusals remain errors. This coordinate fallback has ordinary
read-before-input guarantees; goal's checked reference executor does not use it.

Native receipts take precedence over command error codes. Earlier delivered or
uncertain input survives aggregation, and unknown cleanup or quarantine prevents
replay. Without a receipt, only source-checked tap failures can prove that input
was not sent. A slider error remains uncertain because resolution can fail after
the drag.

What's Changed

  • Prepare worker socket permissions before announcing readiness by @bitomule in #142
  • Add verified goal engine and controlled agent comparison by @bitomule in #143
  • Replace goto with the verified goal command on main by @bitomule in #146
  • Keep AXe 2 JSON compact and recover duplicate tap IDs safely by @bitomule in #144

Full Changelog: v0.34.0...v0.35.0

MAV v0.34.1

Choose a tag to compare

@github-actions github-actions released this 13 Nov 11:15

MAV 0.34.1

Fixes found while driving a real app with AXe 2.0.4 on an iOS 26.4 simulator.

  • ui tap --id works again when an app repeats an id on a container and on the
    button inside it, as design-system navigation bars do. AXe 2 rejects any id
    that matches more than once. When every match is nested in the previous one,
    MAV taps the centre of the innermost and reports selector_via=tree nested=true matches=N. Matches in different places still fail with
    ambiguousElement, and no input is sent.
  • Stdout carries only MAV's own ok or fail line. The AXe result envelope no
    longer follows it; pass --raw to see it. Flow evidence still keeps it in the
    run directory.
  • A tap or slider that AXe refuses before sending input (elementNotFound,
    ambiguousElement, elementNotHittable) reports delivery=notSent, so it is
    safe to retry. The same codes from gestures, swipes and batches stay
    uncertain, because AXe can return them after it has already scrolled.
  • ui tree's nodes= counts the nodes it prints.
  • The worker prepares its socket's permissions before it announces it is ready
    (#142).

Cut from v0.34.0 with only these fixes. The goal engine and the retirement of
goto on main ship in 0.35.0.

Full Changelog: v0.34.0...v0.34.1

MAV v0.34.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 07:20

MAV 0.34.0

MAV now requires AXe 2.0.4 or newer for iOS automation. Homebrew installs AXe as
a dependency. AXe 1 is rejected with instructions to upgrade.

Real iPhones and iPads use AXe 2 for UI, gestures, screenshots and video, and
CoreDevice for app installation and launch. The normal workflow no longer needs
idb or an idb companion. Existing launch recipes retain app arguments and
environment variables on hardware.

MAV adds its own typed API for keyboard sequences/combos, low-level touch,
drawing, slider values, all gesture presets, settings, location scenarios,
status-bar operations, displays, readiness, shutdown and batches. These operations
also work in YAML flows. See the API and coverage matrix.

AXe coordinates stay in the current orientation. Open-foldable capture and input
use AXe's native display routing. Sent or uncertain input is not automatically
replayed after errors. Video capture supports physical devices; streaming keeps
binary stdout separate from diagnostics.

Agent modes and the replacement of goto by goal are separate follow-up work.
This release preserves the existing goto command and MAV's compact tree mode.

We ran an 11-step simulator flow against AXe 2.0.4 and obtained accepted
MP4 evidence, selected input and recording/stream cancellation without leftover
children. Physical-device discovery and readiness were checked; connected-device
UI/lifecycle testing was unavailable. An observed upstream appearance-refresh
limitation is documented in the API guide.

What's Changed

Full Changelog: v0.33.3...v0.34.0

MAV v0.33.3

Choose a tag to compare

@github-actions github-actions released this 04 Nov 12:11

What's Changed

  • v0.33.3: doctor reports an idb or a baguette mav refuses by @bitomule in #140

Full Changelog: v0.33.2...v0.33.3

MAV v0.33.2

Choose a tag to compare

@github-actions github-actions released this 03 Nov 11:45

What's Changed

  • v0.33.2: doctor notices an axe that cannot run by @bitomule in #139

Full Changelog: v0.33.1...v0.33.2

MAV v0.33.1

Choose a tag to compare

@github-actions github-actions released this 03 Nov 11:21

What's Changed

  • v0.33.1: the app gets its launch arguments, and Bazel apps install by @bitomule in #138

Full Changelog: v0.33.0...v0.33.1

MAV v0.33.0

Choose a tag to compare

@github-actions github-actions released this 05 Oct 11:27
0a830e4

What's Changed

  • v0.33.0: pick the simulator when you open, not in the config by @bitomule in #137

Full Changelog: v0.32.3...v0.33.0

MAV v0.32.3

Choose a tag to compare

@github-actions github-actions released this 05 Oct 06:05
94c5843

What's Changed

  • v0.32.3: warn when Simulator.app runs next to Device Hub by @bitomule in #136

Full Changelog: v0.32.2...v0.32.3

MAV v0.32.2

Choose a tag to compare

@github-actions github-actions released this 04 Oct 22:29
2355ceb

What's Changed

Full Changelog: v0.32.1...v0.32.2