Test native macOS apps in isolated, off-screen VMs.

Boot a fresh, networkless copy-on-write clone of a sealed macOS template for every run. Drive native UI journeys, execute Swift and Go test suites, collect window captures and LLVM coverage, and verify clean teardown while your desktop stays untouched.

Optional plugin · installed on demand on Apple Silicon Macs

changes#118 Point the gauge needle the right way fix/gauge-needle

run 1

4e9a1d3CI ↗ 2 flows queued running2 passed2 unchanged
  1. waitingrunningpassed
  2. Zoom into a folder and back, in a fresh Mac2 steps · not started2/2 · 360.3s
  3. Switch to the Blocks view1 steps · not started1/1 · 182.6s
  4. unchanged · 2
  5. not run again; earlier results carried over
flows/disk-overview.md · read onlynot run yet2 lines passed
  1. ---
  2. title: Zoom into a folder and back, in a fresh Mac
  3. providers:
  4. vm: {use: SwiftVM, binding: mac-guest}
  5. inputs:
  6. campaignTarSha256: {type: string, private: false}
  7. pinBundleSha256: {type: string, private: false}
  8. guestExecTarSha256: {type: string, private: false}
  9. guestJourneySha256: {type: string, private: false}
  10. exportPrefix: {type: string, private: false}
  11. ---
  12. # Zoom into a folder and back, in a fresh Mac
  13. A person opens the disk overview, zooms into the largest folder and returns to the whole disk. Each journey runs in its own clone of a sealed macOS template, off-screen and without a network.
  14. ## Launch at the whole folder
  15. The guest checks out the app at the pinned commit, launches it on the hidden display and captures the flame view of reflow-demo, 61 MB.
  16. ```rfl step="Launch at the whole folder"
  17. ```
  18. ## Zoom into Projects and back
  19. Pressing Projects fills the view with alpha and beta; the reflow-demo crumb takes it back to the whole folder.
  20. ```rfl step="Zoom into Projects and back"
  21. ```

waitingrunningpassedZoom into a folder and back, in a fresh Mac

A person opens the disk overview, zooms into the largest folder and returns to the whole disk. Each journey runs in its own clone of a sealed macOS template, off-screen and without a network.

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

1 · Launch at the whole folder

not startedrunningpassed · 171.4s

The guest checks out the app at the pinned commit, launches it on the hidden display and captures the flame view of reflow-demo, 61 MB.

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.

What this step didWhat this step doesWhat this step does

line 221 of 1

Ran checkout and journey in a fresh clone; exported launched, cleanup confirmed

vm.guest_run inputs="[{\"name\":\"campaign.tar\",\"sha256\":\"${inputs.campaignTarSha256}\"},{\"name\":\"pin.bundle\",\"sha256\":\"${inputs.pinBundleSha256}\"},{\"name\":\"guest-exec.tar\",\"sha256\":\"${inputs.guestExecTarSha256}\"},{\"name\":\"guest-journey.sh\",\"sha256\":\"${inputs.guestJourneySha256}\"}]" files="{\"scenario.json\":{\"version\":1,\"actions\":[{\"do\":\"waitFor\",\"selector\":{\"identifier\":\"gigahog.plot\"},\"state\":\"present\"},{\"do\":\"expect\",\"selector\":{\"identifier\":\"gigahog.breadcrumb.item.0\"},\"state\":\"present\",\"value\":\"reflow-demo\"},{\"do\":\"expect\",\"selector\":{\"identifier\":\"gigahog.mode.flame\"},\"state\":\"present\"},{\"do\":\"capture\",\"name\":\"launched\"}]}}" jobs="[{\"name\":\"checkout\",\"timeoutMs\":300000,\"argv\":[\"/usr/bin/git\",\"clone\",\"-q\",\"inputs/artifacts/pin.bundle\",\"src\"]},{\"name\":\"journey\",\"timeoutMs\":1200000,\"argv\":[\"/bin/sh\",\"inputs/artifacts/guest-journey.sh\",\"src\",\"inputs/artifacts/campaign.tar\",\"inputs/artifacts/guest-exec.tar\",\"inputs/files/scenario.json\",\"J01-launch-root\",\"scanned\",\"1\",\"1\",\"0\",\"out\"]}]" exportName="${inputs.exportPrefix}-j01-launch-root" timeoutMs=1500000
Status
passed
Time
took 171.4s, starting 0ms into the step
What it kept · launched
earlier run · main
AXUnknown “Disk 56 percent full”
AXButton gigahog.mode.flame “Flame” selected
AXStaticText gigahog.breadcrumb.item.0 “reflow-demo”
AXGroup gigahog.plot “Flame view of …/reflow-demo, 61 MB”
window/launched-1.png
clone stopped and removed
this run
AXUnknown “Disk 56 percent full”
AXButton gigahog.mode.flame “Flame” selected
AXStaticText gigahog.breadcrumb.item.0 “reflow-demo”
AXGroup gigahog.plot “Flame view of …/reflow-demo, 61 MB”
window/launched-1.png
clone stopped and removed

2 · Zoom into Projects and back

not startedrunningpassed · 188.9s

Pressing Projects fills the view with alpha and beta; the reflow-demo crumb takes it back to the whole folder.

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

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

line 301 of 1

Ran checkout and journey in a fresh clone; exported zoomed and back, cleanup confirmed

vm.guest_run inputs="[{\"name\":\"campaign.tar\",\"sha256\":\"${inputs.campaignTarSha256}\"},{\"name\":\"pin.bundle\",\"sha256\":\"${inputs.pinBundleSha256}\"},{\"name\":\"guest-exec.tar\",\"sha256\":\"${inputs.guestExecTarSha256}\"},{\"name\":\"guest-journey.sh\",\"sha256\":\"${inputs.guestJourneySha256}\"}]" files="{\"scenario.json\":{\"version\":1,\"actions\":[{\"do\":\"waitFor\",\"selector\":{\"identifier\":\"gigahog.plot\"},\"state\":\"present\"},{\"do\":\"press\",\"selector\":{\"role\":\"AXButton\",\"label\":\"Projects, 33.6 MB\"}},{\"do\":\"waitFor\",\"selector\":{\"role\":\"AXButton\",\"label\":\"alpha, 25.2 MB\"},\"state\":\"present\"},{\"do\":\"expect\",\"selector\":{\"identifier\":\"gigahog.breadcrumb.item.1\"},\"state\":\"present\"},{\"do\":\"capture\",\"name\":\"zoomed\"},{\"do\":\"press\",\"selector\":{\"identifier\":\"gigahog.breadcrumb.item.0\"}},{\"do\":\"waitFor\",\"selector\":{\"identifier\":\"gigahog.breadcrumb.item.1\"},\"state\":\"absent\"},{\"do\":\"capture\",\"name\":\"back\"}]}}" jobs="[{\"name\":\"checkout\",\"timeoutMs\":300000,\"argv\":[\"/usr/bin/git\",\"clone\",\"-q\",\"inputs/artifacts/pin.bundle\",\"src\"]},{\"name\":\"journey\",\"timeoutMs\":1200000,\"argv\":[\"/bin/sh\",\"inputs/artifacts/guest-journey.sh\",\"src\",\"inputs/artifacts/campaign.tar\",\"inputs/artifacts/guest-exec.tar\",\"inputs/files/scenario.json\",\"J03-zoom-and-back\",\"scanned\",\"1\",\"1\",\"0\",\"out\"]}]" exportName="${inputs.exportPrefix}-j03-zoom-and-back" timeoutMs=1500000
Status
passed
Time
took 188.9s, starting 0ms into the step
What it kept · zoomed, back
earlier run · main
zoomed: AXStaticText gigahog.breadcrumb.item.1 “Projects”
zoomed: AXButton “alpha, 25.2 MB” present
back: gigahog.breadcrumb.item.1 absent
window/zoomed-1.png, window/back-1.png
8 actions passed; app quit through its own Quit command
clone stopped and removed
this run
zoomed: AXStaticText gigahog.breadcrumb.item.1 “Projects”
zoomed: AXButton “alpha, 25.2 MB” present
back: gigahog.breadcrumb.item.1 absent
window/zoomed-1.png, window/back-1.png
8 actions passed; app quit through its own Quit command
clone stopped and removed
Agent reviewon pull request #118In scope

The needle points the right way again.

Both journeys passed in fresh clones, and the accessibility snapshots match the earlier run on main, which they should: the gauge always reported 56 percent full. The captures differ in one small region. On main the needle was drawn mirrored and leaned left on a disk more than half full; in this run it leans right, as this pull request intends.

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

Boot a clean copy-on-write machine for every run.

vm.guest_run stages digest-addressed inputs, launches an off-screen, networkless clone of a sealed macOS template, runs the declared guest jobs, and verifies exported artifacts on the host by hash—leaving the base template untouched.

  • Named window captures and matching accessibility snapshots
  • Guest job results and exported files, re-hashed on the host
  • Go and Swift/LLVM coverage profiles exported from instrumented runs
  • Verified VM teardown status and export receipts

Pair window pixels, AX snapshots, and code coverage.

Inside the guest, MacOSApp clicks controls, waits for expected state, and captures named windows alongside Accessibility snapshots and Go/Swift coverage profiles for cross-run comparison.

Each run produces paired window captures, Accessibility trees, host-verified artifact exports, and Go or Swift coverage profiles—connecting visible desktop regressions directly to the executed code lines.

Land this evidence in PR review

Run a native guest journey through Reflow

reflow init --upgrade SwiftVM \
  --collection <collection-id>

Runs on Apple Silicon Macs against a sealed macOS VM template configured in your private SwiftVM binding. reflow init --upgrade SwiftVM installs the prebuilt signed package once; the template’s guest agent provisions Accessibility and Screen Recording grants, verified on preflight in every clone.

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

Flow excerptSwiftVM
vm.guest_run (
  inputs=json(
    [{"name":"campaign.tar","sha256":"${inputs.campaignTarSha256}"},
     {"name":"pin.bundle","sha256":"${inputs.pinBundleSha256}"},
     {"name":"guest-exec.tar","sha256":"${inputs.guestExecTarSha256}"},
     {"name":"guest-journey.sh","sha256":"${inputs.guestJourneySha256}"}]
  )
  files=json(
    {"scenario.json":{"version":1,"actions":[
      {"do":"waitFor","selector":{"identifier":"gigahog.plot"},"state":"present"},
      {"do":"capture","name":"launched"}]}}
  )
  jobs=json(
    [{"name":"checkout","timeoutMs":300000,
      "argv":["/usr/bin/git","clone","-q","inputs/artifacts/pin.bundle","src"]},
     {"name":"journey","timeoutMs":1200000,
      "argv":["/bin/sh","inputs/artifacts/guest-journey.sh","src",
        "inputs/artifacts/campaign.tar","inputs/artifacts/guest-exec.tar",
        "inputs/files/scenario.json","J01-launch-root","scanned","1","1","0","out"]}]
  )
  exportName="${inputs.exportPrefix}-j01-launch-root"
  timeoutMs=1500000
)

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

Check the rest
of the application.