Skip to Content

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.

Review what runs and trust a capture

A capture executes your project's .pitafix/capture.json command, so PitaFix asks for explicit approval before the first run.

The capture sheet
The capture sheetThe commit line, What runs, and Trust and Capture on a first run.The capture sheet
  1. Press ⌘R (or click Capture › Capture…) and verify the commit shown at the top of the sheet.
  2. Open What runs to inspect the exact Capture command and Folders.
  3. 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.

Capture another commit, scope, or device set

Re-capture at any commit, limit runs to journeys touched by your diff, or select multiple screen sizes before starting.

Capture's panel
Capture's panelThe Capture trigger, commit selector, scope options, and the button that starts the run.Capture's panel
  1. Click Capture beside the project name (or choose Capture › Capture Options…).
  2. Keep the latest commit, or select Other… in the commit pop-up and type a SHA or ref.
  3. 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).
  4. 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.

Record by hand

Click through the app yourself in an isolated device view while PitaFix records each step onto the map.

  1. Choose Capture › Record by Hand… (⇧⌘R) and review the commit and What runs.
  2. Click Trust and Start (or Start once trusted). PitaFix opens an isolated device view inside the pane without stealing focus.
  3. 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.

Read Capture Log and heal failures

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.

  1. Click Capture failed under the project name and select Capture Log to inspect phase timings and the last 120 log lines.
  2. 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.
  3. After adding new screens, choose Capture › Explore New Screens With Agent… to cover newly uncaptured routes.
  4. 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 Log
Capture LogPhase-by-phase capture progress and error output opening side by side with the map.Capture Log

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 allowedHosts prompts 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.

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 (· fixture or · 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.

On this page