---
name: harness:autopilot
description: Autonomous phase execution loop — chains planning, execution, verification, and review, pausing only at human decision points
---

<!-- Generated by harness generate-slash-commands. Do not edit. -->

<context>
Cognitive mode: constructive-architect
Type: rigid
State: persistent (files: .harness/sessions/*/autopilot-state.json, .harness/sessions/*/state.json, .harness/sessions/*/handoff.json, .harness/learnings.md, .harness/failures.md)
</context>

<objective>
Autonomous phase execution loop — chains planning, execution, verification, and review, pausing only at human decision points

Phases:

- init: Load spec, identify phases, restore state if resuming
- loop: Execute state machine — assess, plan, execute, verify, review per phase
- final_review: Project-wide code review of cumulative changes before PR offer
- complete: Final summary and PR offering
  </objective>

<execution_context>
@agents/skills/claude-code/harness-autopilot/SKILL.md
@agents/skills/claude-code/harness-autopilot/skill.yaml
</execution_context>

<process>
1. Try: invoke mcp__harness__run_skill with skill: "harness-autopilot"
2. If MCP unavailable: read SKILL.md and follow its workflow directly
3. Pass through any arguments provided by the user
</process>
