Loading...
Loading...
FORGE Autopilot — Intelligent autonomous mode. FORGE analyzes the project state, automatically decides the next action, and orchestrates all agents until completion. Configurable checkpoints for human review. Usage: /forge-auto or /forge-auto "specific objective"
npx skill4agent add fwehrling/forge forge-autoThe user provides an objective → FORGE handles EVERYTHING else.
Planning → Architecture → Stories → Code → Tests → Verification → Deployment.forge/memory/MEMORY.md.forge/memory/sessions/.forge/sprint-status.yaml.forge/config.yml~/.claude/scripts/forge-memory/forge-memory search "<current objective>" --limit 3IF no artifacts exist:
→ Start with /forge-plan (generates the PRD)
IF PRD exists BUT no architecture:
→ Launch /forge-architect
IF architecture exists BUT no UX design:
→ Launch /forge-ux
IF UX exists BUT no stories:
→ Launch /forge-stories
IF stories exist with "pending" status:
→ Count unblocked pending stories
→ IF 2+ unblocked stories AND Agent Teams available (CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1):
→ Delegate to /forge-team build [STORY-IDs] (parallel execution)
→ Wait for team completion, then continue with QA verdicts
→ ELSE:
→ Pick the next unblocked story
→ Launch /forge-build STORY-XXX (sequential)
IF an "in_progress" story exists:
→ Resume /forge-build STORY-XXX
IF story is implemented (Dev tests pass):
→ Launch /forge-verify STORY-XXX
IF QA verdict = FAIL:
→ Increment failure counter for this story
→ IF failure counter < 3:
→ Fix and relaunch /forge-verify
→ IF failure counter >= 3:
→ Escalate to /forge-loop "Fix STORY-XXX: [QA failure summary]" --mode hitl
→ forge-loop iterates autonomously with sandbox guardrails until tests pass
→ On success: reset failure counter, continue with /forge-verify
IF QA verdict = PASS:
→ Move to the next story
IF all stories are "completed":
→ Propose /forge-deploy or new storiesreferences/agents/docs/src/CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1/forge-team build/forge-loop.forge/memory/MEMORY.md.forge/memory/sessions/YYYY-MM-DD.md.forge/sprint-status.yaml--no-pause--pause-stories--pause-each# Full autopilot — FORGE decides everything
/forge-auto
# Autopilot with a specific objective
/forge-auto "Implement the authentication system"
# Autopilot without pauses (warning: fully autonomous)
/forge-auto --no-pause
# Autopilot with pause after stories
/forge-auto --pause-stories
# Autopilot with pause after each story
/forge-auto --pause-each
# Resume autopilot after a pause
/forge-auto --resumeFORGE AUTOPILOT — Progress
──────────────────────────────
Phase : Development (Story 3/8)
Last : STORY-002 ✓ (QA: PASS)
Current : STORY-003 — Implementation
Next : STORY-004 (pending)
Metrics:
Stories : 2 completed / 1 in_progress / 5 pending
Tests : 47 pass / 0 fail
Coverage : 87%
Memory : .forge/memory/MEMORY.md (up to date)
Session : .forge/memory/sessions/2025-01-15.md| Situation | Autopilot delegates to | Condition |
|---|---|---|
| 2+ unblocked stories ready | | Agent Teams enabled |
| 1 story ready | | Always |
| 3 consecutive failures on a story | | Always |
| forge-loop also fails | Pause + report to user | Ultimate circuit breaker |
| Aspect | /forge-loop | /forge-auto |
|---|---|---|
| Scope | A specific task | The entire project |
| Decision | The user chooses the task | FORGE decides the next action |
| Agents | A single one (usually Dev) | All agents depending on the phase |
| Memory | Local fix_plan.md | Persistent project memory |
| Progression | Linear (iterations) | Full pipeline (plan → deploy) |
| Use case | "Implement this feature" | "Build this project from A to Z" |
| Relation | Standalone or called by auto | Calls /forge-loop on difficult stories |
/forge-auto/forge-auto --resume/forge-status/forge-init