Harness Autonomous Loop

•
3.2k
•

Orchestrates multi-cycle, long-running autonomous development tasks with scheduled wake-ups and clean context re-entry.

Harness Loop is an autonomous execution meta-skill designed for Claude Code that pairs dynamic mode looping with scheduled wake-ups to execute extensive development backlogs. By restarting each execution cycle with a clean context and rehydrating state through structured checkpoints, it completely eliminates context window pollution and degradation across long development sessions. The runner automatically selects upcoming tasks from project plans, verifies sprint contracts, executes implementations inside isolated git worktrees, triggers automated code reviews, and consults advisor agents when high-risk patterns or plateaus are detected.

主要功能

01Built-in review plateau detection and advisor consultation to gracefully escalate blockers
02Dynamic pacing modes (worker, CI, plateau, night) optimized for 1-hour prompt caching
03Automated lead code reviews that cherry-pick approved commits or iterate on requested changes
043,189 GitHub stars
05Fresh context re-entry on every wake-up cycle to prevent token exhaustion and context drift
06Isolated git worktree execution with sprint contract validation and definition-of-done checks

使用场景

01Large-scale refactoring and migrations that require isolated testing and review per task
02Overnight autonomous batch implementation of multi-step project roadmaps and feature backlogs
03Hands-free autonomous software development with strict guardrails, contracts, and verification