Files
msd-core/commands/gsd/autonomous.md
Tom Boucher 1e43accd95 feat(autonomous): add --to N flag to stop after specific phase (#1646)
Allows users to run autonomous mode up to a specific phase number.
After the target phase completes, execution halts instead of advancing.

Closes #1644

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-04 07:58:27 -04:00

1.9 KiB

name, description, argument-hint, allowed-tools
name description argument-hint allowed-tools
gsd:autonomous Run all remaining phases autonomously — discuss→plan→execute per phase [--from N] [--to N] [--only N] [--interactive]
Read
Write
Bash
Glob
Grep
AskUserQuestion
Task
Execute all remaining milestone phases autonomously. For each phase: discuss → plan → execute. Pauses only for user decisions (grey area acceptance, blockers, validation requests).

Uses ROADMAP.md phase discovery and Skill() flat invocations for each phase command. After all phases complete: milestone audit → complete → cleanup.

Creates/Updates:

  • .planning/STATE.md — updated after each phase
  • .planning/ROADMAP.md — progress updated after each phase
  • Phase artifacts — CONTEXT.md, PLANs, SUMMARYs per phase

After: Milestone is complete and cleaned up.

<execution_context> @/.claude/get-shit-done/workflows/autonomous.md @/.claude/get-shit-done/references/ui-brand.md </execution_context>

Optional flags: - `--from N` — start from phase N instead of the first incomplete phase. - `--to N` — stop after phase N completes (halt instead of advancing to next phase). - `--only N` — execute only phase N (single-phase mode). - `--interactive` — run discuss inline with questions (not auto-answered), then dispatch plan→execute as background agents. Keeps the main context lean while preserving user input on decisions.

Project context, phase list, and state are resolved inside the workflow using init commands (gsd-tools.cjs init milestone-op, gsd-tools.cjs roadmap analyze). No upfront context loading needed.

Execute the autonomous workflow from @~/.claude/get-shit-done/workflows/autonomous.md end-to-end. Preserve all workflow gates (phase discovery, per-phase execution, blocker handling, progress display).