Let autopilot work your backlog
Set up autopilot once, start a run, and stay in charge of reviews, pausing and stopping.
What you'll do
Set up autopilot, then start a run over the ready items in your roadmap backlog. Each item builds in its own worktree. Autopilot stops where you told it to, so you review and approve before anything ships. You can pause or stop the run at any time.
Steps
Set autopilot up once on this machine. It asks which agent to use, how many items build at once, a cost cap, where to pause for your review and where to stop:
aidlc autopilot setupTo answer with flags instead, use
--agent,--parallel,--cost-cap,--pause-after,--stop-atand--release.aidlc init --autopilotruns the same setup at the end ofinit.See what autopilot would pick first. This writes nothing:
aidlc roadmap next --autopilotAn item marked
run: attendedin its roadmap file is never picked. Use that for work you want to do yourself.Start a run. It starts in the background and returns at once:
aidlc autopilot run --items 3Use
--allinstead of--itemsto keep going until nothing is ready. To change where this run stops, add--stop-at pr,--stop-at checked-merge,--stop-at mergeor--stop-at release. To change the phases it pauses after, add--pause-after requirements,design.Under
prandchecked-merge, once CI passes an agent that did not build the item checks its pull request against the item's acceptance criteria. It posts PASS or REJECT on the pull request, with evidence for each criterion, and adds the same text topr-check.mdin the instance's state folder. Underprthe verdict only informs: the item still waits for you to merge it. Underchecked-mergea PASS merges it with no release. A first REJECT sends the findings back to the agent once; a second parks the item.Watch it. Add
--watchto keep the view live;qleaves and the run keeps going:aidlc autopilot status --watchWhen an item waits for your review,
aidlc autopilot statusprints each decision it left open under it: the question, why it matters, the options with the recommended one marked, and the file to answer in. Write your choice after that question's[Answer]:, or read the artifact in the item's worktree. Then approve it. Only a person can run this command; an agent is refused:aidlc autopilot approve <instance>When an item waits at its pull request with open questions, the agent made calls it thinks are yours. In the item's worktree, walk through every call it logged, then merge:
aidlc autopilot review <instance>Keep a call, reject it (then reopen the phase with
aidlc amend <instance> --impact), or promote it into.aidlc/guidance/decisions.md, which every later item reads.With several items to review, walk all of them in one go:
aidlc autopilot review --pendingOr ask your agent to prepare the review. It writes a proposal file with a verdict for each call and a plain-words explanation for each one that needs you. Accept it in one step:
aidlc autopilot review --from <file>The command checks the whole proposal before it writes anything. It keeps the routine calls at once, marked as accepted from the agent's proposal, and stops only on open questions and proposed rejects or promotes. What you answer there is marked as judged by you.
To freeze the run, for example before you close the laptop, pause it. Resume it later:
aidlc autopilot pause aidlc autopilot resumeTo end the run, stop it. Agents already running finish their work first:
aidlc autopilot stopIf you finished or abandoned an item by hand, tell autopilot to stop tracking it:
aidlc autopilot forget <instance>
Check it worked
Run aidlc autopilot status. You should see the run and each item's step. When no run is
active, it prints run: none active.
If the run's process died with items still in flight — a crash, a closed terminal, a restart —
it prints run: ended without finishing with how many items it left and the run's log. Run
aidlc autopilot run --items 1: the new run carries those items on before it ends, and they do
not count toward the 1.