What problem does it solve? Running a multi-phase engineering objective end to end often loses state on interruption, lets the same context that wrote code approve it, and loops without clear stop criteria. This Skill enforces a gated, resumable, compounding loop with independent review and explicit stop conditions. ## Core Features & Use Cases - Gated five-phase cycle: Runs BRAINSTORM → PLAN → BUILD → REVIEW → IMPROVE with entry and exit gates backed by concrete evidence, delegating to existing mode skills like plan, execute, critic-gate, and phase-wrap. - Generator/verifier separation: Independent reviewer and critic contexts approve the actual diff; any post-approval edit invalidates the approval and triggers re-review. - Durable resumable state: Loop control state persists under .swarm/loop/<run-id>/state.json with validation, retention pruning, and resume support, so interrupted runs continue without losing work. - Defense-in-depth stop conditions: Stops on objective met, cycle budget, plateau, oscillation, unrecoverable error, or explicit user request, and captures learnings so each cycle compounds. - Use Case: Ask the agent to add rate limiting to a public API with max 3 cycles in checkpoint mode; the loop writes a spec, plans, implements, independently reviews the diff, captures learnings, and stops when the success criteria pass. ## Quick Start Run the loop mode with an objective like "add rate limiting to the public API" and let it iterate through gated cycles until the success criteria are met or a stop condition fires.