The autonomous workflow previously had two extremes: full auto-answer mode (--auto discuss, lean context but no user input) or manager mode (interactive but bloated context from accumulating everything inline). The --interactive flag bridges this gap: - Discuss runs inline via gsd:discuss-phase (asks questions, waits for user answers — preserving all design decisions) - Plan and execute dispatch as background agents (fresh context per phase — no accumulation in the main session) - Pipeline parallelism: discuss Phase N+1 while Phase N builds in the background This keeps the main context lean (only discuss conversations accumulate) while preserving user input on all decisions. Particularly helpful for users hitting context limits with /gsd:manager on multi-phase milestones. Usage: /gsd:autonomous --interactive /gsd:autonomous --interactive --from 3 /gsd:autonomous --interactive --only 5 Also adds --only N flag parsing to the upstream workflow (previously only in PR #1444's branch). Closes #1413 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
45 lines
1.8 KiB
Markdown
45 lines
1.8 KiB
Markdown
---
|
|
name: gsd:autonomous
|
|
description: Run all remaining phases autonomously — discuss→plan→execute per phase
|
|
argument-hint: "[--from N] [--only N] [--interactive]"
|
|
allowed-tools:
|
|
- Read
|
|
- Write
|
|
- Bash
|
|
- Glob
|
|
- Grep
|
|
- AskUserQuestion
|
|
- Task
|
|
---
|
|
<objective>
|
|
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.
|
|
</objective>
|
|
|
|
<execution_context>
|
|
@~/.claude/get-shit-done/workflows/autonomous.md
|
|
@~/.claude/get-shit-done/references/ui-brand.md
|
|
</execution_context>
|
|
|
|
<context>
|
|
Optional flags:
|
|
- `--from N` — start from phase N instead of the first incomplete 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.
|
|
</context>
|
|
|
|
<process>
|
|
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).
|
|
</process>
|