Capture & maintain
Trust a project and capture it, run diff-scoped captures, record by hand, read Capture Log, heal broken scripts, and read honest proof labels.
4 tasks, 2 questions answered.
A capture executes your project's .pitafix/capture.json command, so PitaFix asks for explicit approval before the first run.

- Press ⌘R (or click Capture › Capture…) and verify the commit shown at the top of the sheet.
- Open What runs to inspect the exact Capture command and Folders.
- Click Trust and Capture. Captured screens stream onto the map as the run progresses.
Wrong turn? Unsure about a command? Click Cancel to close the sheet without approving.
first capture, trust, run code, permission, what runs, capture command, start a capture, cmd r
Re-capture at any commit, limit runs to journeys touched by your diff, or select multiple screen sizes before starting.

- Click Capture beside the project name (or choose Capture › Capture Options…).
- Keep the latest commit, or select Other… in the commit pop-up and type a SHA or ref.
- Select the full capture or Changed since last capture (available when
diffScoped: true), and check any device sizes to capture (the first checked device is your Default Device; compare them in Devices, looks & Live). - Click Capture (or press ⌘R on a trusted project to start immediately).
Wrong turn? Captured the wrong commit? Run capture again on the right commit; each run replaces only the journeys it re-captured.
recapture, capture again, another commit, latest, diff-scoped, changed since last capture, devices, capture options
Click through the app yourself in an isolated device view while PitaFix records each step onto the map.
- Choose Capture › Record by Hand… (⇧⌘R) and review the commit and What runs.
- Click Trust and Start (or Start once trusted). PitaFix opens an isolated device view inside the pane without stealing focus.
- Tap and navigate inside the device view to grow the journey step by step, then stop to keep the capture.
Wrong turn? Typed sensitive text? Typed text stays out of saved records unless you mark it safe.
record by hand, manual capture, emulator, device view, click through, mirror
When a capture breaks after a UI refactor—or after adding new routes—inspect Capture Log or let an agent repair and extend the script.
- Click Capture failed under the project name and select Capture Log to inspect phase timings and the last 120 log lines.
- Click Heal with Agent… in that popover (or choose Capture › Heal Capture With Agent…) to send the failure log, recent
git diff, and recording MCP tools to an agent. - After adding new screens, choose Capture › Explore New Screens With Agent… to cover newly uncaptured routes.
- For an external terminal agent, click Copy for Agent in the Capture Log header.
Wrong turn? Closed the log pane? Reopen it anytime via Capture › Capture Log while the project is open.
capture failed, error, log, heal with agent, explore new screens, copy for agent, timeline, phase
How it works
What does a capture run, and what does it replace?
Your .pitafix/capture.json command runs in a cached copy or against a fixture server, replacing only the journeys re-captured in that run.
- PitaFix leaves your working checkout untouched; cached build copies live in
~/Library/Caches/pitafix. - Captures run with your user permissions; changing the command or adding external
allowedHostsprompts for approval again (manage grants in Trust & troubleshooting). - Journeys from older captures remain until deleted, comments stay attached with refreshed linked code, and boards update to the newest screenshots automatically.
sandbox, permissions, allowedHosts, loopback, cache, replace, old journeys, keep comments
What do proof labels mean?
How much real execution a captured screen proves. Read the label before treating a journey as an end-to-end test.
- Fixture · no device: fixture data rendered by UI tests on this Mac, with no device or server.
- Fixture · emulator / Fixture · simulator: fixture data rendered by the app on an emulator or iOS simulator, with no server.
- Real tap / Real input (
· fixtureor· local server): actions ran through real device or browser input. - Server confirmed: real input confirmed by recorded server responses.
- Logic only: app logic ran without rendering UI. Proof unknown: proof level was not recorded.
- Unreached routes stay listed under Not reached in the Screens tab with the recorded reason for each.
proof, fixture, no device, emulator, simulator, real input, server confirmed, logic only, not reached, label
