Skip to content

Commit 72c8969

Browse files
basiclinesCopilot
andcommitted
docs: update README with new autopilot approach (SDK-driven, no custom loop)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent b35c673 commit 72c8969

1 file changed

Lines changed: 12 additions & 11 deletions

File tree

README.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ Optional:
197197
--effort <level> Reasoning effort: low | medium | high | xhigh
198198
--verbose Show full agent transcript (raw streaming)
199199
--no-lock Prevent the agent from locking components
200-
--autopilot Use SDK autopilot mode (agent runs autonomously, max: specs + 5 passes)
200+
--autopilot Use SDK autopilot mode (agent runs fully autonomously)
201201
--all-targets Compile all targets sequentially
202202
```
203203

@@ -213,28 +213,29 @@ bun run compile build --target bun
213213
# 3. Or compile non-interactively with all options
214214
bun run compile build --target bun --model claude-sonnet-4 --out dist/bun-claude
215215

216-
# 4. Or fire-and-forget with autopilot (auto-runs multiple passes)
216+
# 4. Or fire-and-forget with autopilot (SDK handles everything)
217217
bun run compile build --target bun --model claude-sonnet-4 --autopilot
218218
```
219219

220220
### Multi-pass compilation
221221

222-
The compiler supports multiple passes within a single session. Each pass builds
223-
on the previous output — the agent reviews, fixes, and extends its own work.
222+
The compiler supports two modes, controlled by the `--autopilot` flag:
223+
224+
**Interactive mode** (default): The SDK agent runs in `interactive` mode.
225+
After the initial compilation pass, the compiler asks whether to continue with
226+
another pass. Each pass sends an improvement prompt — the agent reviews, fixes,
227+
and extends its own work. You see a boxed markdown summary after each pass.
228+
229+
**Autopilot mode** (`--autopilot`): Sets the SDK agent mode to `autopilot`.
230+
The agent runs fully autonomously — it decides when to iterate, how many passes
231+
to make, and when the work is complete. No user confirmation is needed.
224232

225233
| Pass | Focus | Typical outcome |
226234
| ---- | ----- | --------------- |
227235
| **1st** | Initial generation | Core tokens, first components fully wired into interactive demo. |
228236
| **2nd** | Extend & fix | More components added, test failures fixed, demo polished. |
229237
| **3rd** | Polish | Catches subtle spec violations, hardens edge cases. |
230238

231-
**Interactive mode** (default): The agent runs in the SDK's `interactive` mode.
232-
After each pass, the compiler asks whether to continue. You see a boxed markdown
233-
summary of what the agent accomplished.
234-
235-
**Autopilot mode** (`--autopilot`): Sets the SDK agent mode to `autopilot`.
236-
The agent runs autonomously without user confirmation between actions.
237-
238239
The agent is instructed to follow a **depth-over-breadth** philosophy: it fully
239240
completes each component (implementation + tests + interactive demo) before
240241
moving to the next one.

0 commit comments

Comments
 (0)