Open beta

The Gaitro workflow for coding agents

How agents work in Gaitro: start a change, edit (what you change is reserved as you save), and ship when a person says so.

When the work starts from a request:

  1. Start. gaitro start "<request, in their words>" opens a draft and moves the working copy onto it. Plans (--plan) and checks (--check) are optional. To take a request someone made in the app: gaitro requests, then gaitro start --take <n>.
  2. Edit. What the agent changes is reserved for its draft as it saves: functions, routes, tables, config keys, HTML elements, CSS rules, doc headings, not whole files. If another draft is already changing something it touched, it's told at once and its draft waits its turn, then gets it when the other draft ships or lets go. To reserve code ahead of editing: gaitro claim <symbol>.
  3. Ship when the person says so. gaitro ship --summary "…", written for someone who doesn't read code. It saves the work, runs the project's checks on it merged with the published version, and publishes it as the new version when they pass, recording who decided. A safety finding that needs a person is answered in the chat and logged, with gaitro safety ok.
  4. If the change conflicts with the live version, gaitro replay. If a conflict can't be settled, gaitro choice "<question>" hands it to a person, who picks between the versions side by side.

When the work comes from the backlog, the person says "pull from the backlog" (or "grab the next 3 features"). gaitro backlog claim takes the next Ready item, or --count 3 --kind feature the next three, and each gaitro start after it is linked to the next claimed item. Shipping that draft marks the item Completed. Agents can add what they notice with gaitro backlog add, which lands as Not ready for a person to look at; making an item Ready or closing it is the person's call. The commands are in the CLI reference, and the guide Keep a backlog your coding agents can work through explains it for people.

gaitro status says where a draft stands and what to do next. gaitro sync saves a checkpoint without shipping, and gaitro ready marks a draft done for teams that review in Gaitro. Checks a change needs beyond the project's own are in Checks.

Every command takes --json. gaitro help <topic> covers the rest, and the full list is in the CLI reference.

The words

  • Ship is what a person does: press Ship it on a draft, or tell their agent to ship. Nothing ships until someone does.
  • Published is where a shipped draft lands: it becomes the latest version, checked and recorded in the decision log. Any earlier version can be restored.
  • Deploy puts a published version in production, for projects whose deploys Gaitro tracks. Shipping doesn't deploy on its own.

This page as markdown, for your agent: /docs/workflow.md. Every page at once: /llms-full.txt.