Skip to content

v1.62.0 ·

The autopilot that never waited for a person

Nothing in autopilot waited for a person. aidlc autopilot setup asked about the agent, parallelism, cost cap and release step. The agent was told to run through every phase up to the release boundary. The driver merged each pull request as soon as CI was green and ran the release step. An agent that stopped early was parked as a failure. On this repository every item was merged and published with no review at any point.

What changed

Autopilot now stops where a person says, and those stops are the recommended defaults in setup.

It can pause after chosen phases. The agent gets the phases through AIDLC_PAUSE_AFTER and stops at a review boundary: commit, release the claim, end the session. The item waits as awaiting-review, which is not parked, and aidlc autopilot approve <instance> carries it on. Autopilot judges this from the worktree's phase files, not from the agent's word, so an agent that ignores the variable still cannot reach a pull request.

It can stop at the pull request. With stop_at: pr it opens the pull request, watches CI and waits. My merge is the approval. Autopilot then closes the instance on main and runs no release. Before, a hand-merged pull request was dropped and the instance never closed. A pull request closed unmerged is dropped. stop_at: merge merges on green and skips the release step whatever is configured.

The stops come from stop_at and pause_after in .aidlc/config.yaml, overridden by the machine's config.json, overridden by aidlc autopilot run --stop-at or --pause-after for the items that run starts. Setup and init gain two questions, six now, recommending pauses after requirements and design and a stop at the pull request.

The hard decision

I was asked to make the stops on by default, and I gave up part of that. For anyone already running autopilot without them, it would halt at a review nobody had mentioned, with no one watching. I weighed a one-time notice and dropped it, because it needs its own record of having been shown and the first run stalls anyway. So a saved setup that names no stops behaves exactly as 1.61.0 did. The stops arrive as recommended answers the next time someone answers the setup questions.

The price is plain. Until then a project keeps merging and releasing with no review, which is the complaint this began with. Each aidlc autopilot run now prints a stops: line, and with neither key set it says so in words and names aidlc autopilot setup. I did not choose the stops for this repository. That is its owner's call.

Two more choices. An item's stops are fixed when it starts, because an item can outlive the run that began it, and one already building would otherwise suddenly wait on a phase it finished hours ago. The cost is that changing the saved setup does nothing to work under way. And a waiting item gives up its build slot, so two items awaiting review cannot hold up everything behind them. That costs a limit on clutter: the separate copies of the code that waiting items sit in can pile up, bounded only by how many items a run may start.

If someone merges an item autopilot meant to merge itself, it is still just dropped. That is how a person takes over a run gone wrong.

This is a minor release: a new subcommand, four flags and two config keys. Every default is the old behaviour until somebody chooses.