Harness Loop

•
3.2k
•

Orchestrates long-running, autonomous task execution cycles across Claude Code sessions using fresh context wake-ups and structured sprint contracts.

Harness Loop is an autonomous orchestrator skill designed for long-running development workflows within Claude Code. By pairing Claude Code dynamic mode (/loop) with scheduled wake-up intervals, it prevents context window degradation by re-entering each cycle with clean context while preserving progress via memory checkpoints and sprint contracts. Each cycle delegates execution to isolated worker agents, performs automated lead reviews with cherry-picking, evaluates progress plateau conditions, and consults advisor agents when high-risk hurdles emerge—making it ideal for overnight refactoring, backlogged plan execution, and multi-phase migrations.

주요 기능

01Isolated git worktree execution delegating single tasks to worker agents
023,223 GitHub stars
03Configurable pacing modes for immediate warm caches, CI jobs, or overnight runs
04Context-safe loop execution re-entering with fresh context on every wake-up
05Automated lead code review and cherry-picking into main upon approval
06Intelligent plateau and drift detection with automatic escalation stops

사용 사례

01Running unattended overnight batch refactoring or migrations across complex codebases
02Executing multi-step feature implementation plans sequentially without context degradation
03Automating continuous test-fix cycles with strict quality contracts and lead code reviews