Skip to Content

Set a project up

A project PitaFix can't capture as it is gets a rig: a small folder that says how to build it, start it and walk it. A coding agent writes it from your brief.

3 tasks, 2 questions answered.

  1. PitaFix
    Write the brief

    Say what you know and the code doesn't: what the app needs running, how a test person signs in, which journeys to draw first.

  2. Your agent
    The agent writes the rig

    It works in a worktree on the branch pitafix/set-up-capture. PitaFix checks what it wrote and sends back what fails.

  3. PitaFix
    Install and capture

    Read what the rig runs, sets, reaches and asks, then trust it. Capture asks next, as for any project.

Write the brief

A project nothing has captured shows its setup where the map would be.

  1. Read the first page: the stack PitaFix read from the folder, its flow tests, and whether a capture core fits.
  2. Fill in what you know under Write the Brief. Leave a field empty and the brief tells the agent to find out.
  3. The right column is the brief word for word; press Edit to change it by hand.

Wrong turn? Put the setup away by mistake? File › Set Up Capture… brings it back.

Give the brief to an agent

The agent writes the rig; PitaFix holds it to what it claims.

  1. Press Give To… and pick an agent. The sheet shows its exact command and where it works.
  2. Or Copy the brief, or Write Task File, for an agent you start yourself; then press Check Now when the rig is there.
  3. PitaFix walks each journey of the rig in a throwaway copy of the project. What fails goes back to the agent, three times at most before you are asked.
  4. Answer the agent's questions in its session, beside the map.

Wrong turn? You can leave the window: a notice says when the rig is ready or the agent asks you something.

Install the rig

A capture runs with the copy of the rig PitaFix installed.

  1. Press Install… to read what the rig runs, sets, reaches and asks, and the check that passed.
  2. Press Trust and Install.
  3. A project that already holds a rig in .pitafix/rig offers Install Rig… on the first page.

Wrong turn? The rig changed in the project? Capture… opens its sheet to say so, with Update Rig… beside it.

How it works

What is a rig, and what is a core?

A core knows a stack; a rig knows one project.

  • A core builds and captures every project of its stack, such as Next.js or Kotlin Multiplatform.
  • A rig is one folder in the project, .pitafix/rig: how its test build is made and started, the state it opens in, and the journeys to walk.
  • File › Install Rig from Folder… installs a rig kept anywhere else.
  • Capture Without a Rig puts the setup away when a core fits the project as it is.

What does checking a rig run?

The project's own code, in a throwaway copy.

  • Each journey of the rig is walked, and a state the rig says a step shows must be a step the walk passed, with a picture.
  • The same check runs from a terminal: see Test a rig.

On this page