Verify native Mac apps, window by window.

Drive native macOS controls through Accessibility, wait for expected state, and retain paired window screenshots and AX outlines. Runs inside isolated SwiftVM clones so agents test desktop apps without taking over your screen.

Native macOS · Accessibility & Window Capture

changes#92 Redraw the disk gauge for Retina ui/gauge-redraw

run 2

2c7e85bCI ↗ 3 flows queued running3 passed3 unchanged
  1. waitingrunningpassed
  2. Zoom into a folder and back3 steps · not started3/3 · 10.0s
  3. Switch to the Blocks view2 steps · not started2/2 · 6.3s
  4. Empty the cache folder3 steps · not started3/3 · 9.8s
  5. unchanged · 3
  6. not run again; earlier results carried over
flows/zoom-and-back.md · read onlynot run yet3 lines passed
  1. ---
  2. title: Zoom into a folder and back
  3. providers:
  4. app: {use: MacOSApp, binding: macos-app}
  5. ---
  6. # Zoom into a folder and back
  7. A person opens the disk overview, zooms into the largest folder and returns to the whole disk.
  8. ## Open the disk overview
  9. The app launches from an isolated copy and shows the whole folder, 61 MB, in the flame view.
  10. ```rfl step="Open the disk overview"
  11. ```
  12. ## Zoom into Projects
  13. Pressing Projects fills the view with its two folders, alpha and beta.
  14. ```rfl step="Zoom into Projects"
  15. ```
  16. ## Return to the whole folder
  17. The breadcrumb takes the view back to reflow-demo, and the Projects crumb goes away.
  18. ```rfl step="Return to the whole folder"
  19. ```

waitingrunningpassedZoom into a folder and back

A person opens the disk overview, zooms into the largest folder and returns to the whole disk.

not started · 3 steps planned following live viewing step passed · 10.0s · earlier run: main, 2 days ago

1 · Open the disk overview

not startedrunningpassed · 2.7s

The app launches from an isolated copy and shows the whole folder, 61 MB, in the flame view.

This step has not started. What it keeps appears here when it ends.

This step is running. What it keeps appears here when it ends.

EARLIER RUNmain · 2 days ago
this runNOW
What this step didWhat this step doesWhat this step does

line 161 of 1

Ran 3 actions, captured launched, quit the app

app.run scenario="{\"version\":1,\"actions\":[{\"do\":\"waitFor\",\"state\":\"present\",\"selector\":{\"identifier\":\"diskmap.plot\"}},{\"do\":\"expect\",\"state\":\"present\",\"selector\":{\"identifier\":\"diskmap.breadcrumb.0\"},\"value\":\"reflow-demo\"},{\"do\":\"capture\",\"name\":\"launched\"}]}" checkpoint="launched"
Status
passed
Time
took 2.7s, starting 0ms into the step
What it kept · launched
earlier run · main
AXUnknown “Disk 56 percent full”
AXButton “Flame” selected
AXStaticText “reflow-demo” (breadcrumb 0)
AXGroup diskmap.plot “reflow-demo, 61 MB”
window/launched-1.png
this run
AXUnknown “Disk 56 percent full”
AXButton “Flame” selected
AXStaticText “reflow-demo” (breadcrumb 0)
AXGroup diskmap.plot “reflow-demo, 61 MB”
window/launched-1.png

2 · Zoom into Projects

not startedrunningpassed · 3.4s

Pressing Projects fills the view with its two folders, alpha and beta.

This step has not started. What it keeps appears here when it ends.

running: Zoom into Projects. The picture is the page after step 1, Open the disk overview.
EARLIER RUNmain · 2 days ago
this runNOW
What this step didWhat this step doesWhat this step does

line 241 of 1

Ran 5 actions, captured zoomed, quit the app

app.run scenario="{\"version\":1,\"actions\":[{\"do\":\"waitFor\",\"state\":\"present\",\"selector\":{\"identifier\":\"diskmap.plot\"}},{\"do\":\"press\",\"selector\":{\"role\":\"AXButton\",\"label\":\"Projects, 33.6 MB\"}},{\"do\":\"waitFor\",\"state\":\"present\",\"selector\":{\"role\":\"AXButton\",\"label\":\"alpha, 25.2 MB\"}},{\"do\":\"expect\",\"state\":\"present\",\"selector\":{\"identifier\":\"diskmap.breadcrumb.1\"},\"value\":\"Projects\"},{\"do\":\"capture\",\"name\":\"zoomed\"}]}" checkpoint="zoomed"
Status
passed
Time
took 3.4s, starting 0ms into the step
What it kept · zoomed
earlier run · main
AXUnknown “Disk 56 percent full”
AXButton “Flame” selected
AXStaticText “Projects” (breadcrumb 1)
AXButton “alpha, 25.2 MB”
window/zoomed-1.png
this run
AXUnknown “Disk 56 percent full”
AXButton “Flame” selected
AXStaticText “Projects” (breadcrumb 1)
AXButton “alpha, 25.2 MB”
window/zoomed-1.png

3 · Return to the whole folder

not startedrunningpassed · 3.9s

The breadcrumb takes the view back to reflow-demo, and the Projects crumb goes away.

This step has not started. What it keeps appears here when it ends.

running: Return to the whole folder. The picture is the page after step 2, Zoom into Projects.
EARLIER RUNmain · 2 days ago
this runNOW
What this step didWhat this step doesWhat this step does

line 321 of 1

Ran 6 actions, captured back, quit the app

app.run scenario="{\"version\":1,\"actions\":[{\"do\":\"waitFor\",\"state\":\"present\",\"selector\":{\"identifier\":\"diskmap.plot\"}},{\"do\":\"press\",\"selector\":{\"role\":\"AXButton\",\"label\":\"Projects, 33.6 MB\"}},{\"do\":\"waitFor\",\"state\":\"present\",\"selector\":{\"role\":\"AXButton\",\"label\":\"alpha, 25.2 MB\"}},{\"do\":\"press\",\"selector\":{\"identifier\":\"diskmap.breadcrumb.0\"}},{\"do\":\"waitFor\",\"state\":\"absent\",\"selector\":{\"identifier\":\"diskmap.breadcrumb.1\"}},{\"do\":\"capture\",\"name\":\"back\"}]}" checkpoint="back"
Status
passed
Time
took 3.9s, starting 0ms into the step
What it kept · back
earlier run · main
AXUnknown “Disk 56 percent full”
AXButton “Flame” selected
AXStaticText “reflow-demo” (breadcrumb 0)
breadcrumb 1 absent
window/back-1.png
this run
AXUnknown “Disk 56 percent full”
AXButton “Flame” selected
AXStaticText “reflow-demo” (breadcrumb 0)
breadcrumb 1 absent
window/back-1.png
Agent reviewon pull request #92In scope

Every step passed. The gauge did not.

The accessibility snapshots match the earlier run on main, but in every capture one small region differs: the gauge needle is drawn mirrored. The disk is more than half full and the needle now leans left. Was the gauge drawing meant to change?

← → steps · 1 2 3 earlier / split / nowThe agent compares the two runs and judges; Reflow keeps what each step saw.

Drive native controls and capture every window state.

Scenarios click controls, set values, and wait for Accessibility elements to appear or update before capturing a named window. Each run launches a clean app instance, quits it cleanly, and verifies process teardown.

  • Named window screenshots
  • Accessibility (AX) tree snapshots
  • Action outcomes and clean process teardown status

Inspect pixels and accessibility trees side by side.

Visual controls—gauges, charts, custom Canvas views, or icons—can regress while every Accessibility label stays unchanged. Pairing window screenshots with AX snapshots separates rendering bugs from structural regressions.

A rendering refactor mirrors a disk gauge needle while leaving every Accessibility label untouched. Every step passes and the AX trees match, while the paired window capture diff isolates the exact redrawn region for PR review.

Land this evidence in PR review

Press a control, wait for state, and capture the window

MacOSApp executes inside provisioned SwiftVM clones with Accessibility and Screen Recording permissions verified on preflight before each journey runs, keeping your host desktop untouched.

Your coding agent inspects installed plugin commands via MCP, authors flows against your application knowledge, and pins versions in the application lock.

Flow excerptMacOSApp
---
providers:
  app: MacOSApp
---

app.run scenario="{\"version\":1,\"actions\":[{\"do\":\"press\",\"selector\":{\"role\":\"AXButton\",\"label\":\"Blocks\"}},{\"do\":\"waitFor\",\"state\":\"present\",\"selector\":{\"identifier\":\"mode-label\"},\"value\":\"Mode: Blocks\"},{\"do\":\"capture\",\"name\":\"blocks\"}]}"

Plugin locks and private target bindings are managed separately from flow source.

Check the rest
of the application.