Enforce all checks before agent stop
Run verification commands until all pass, preventing Check Agent from stopping prematurely.
# Ralph Loop Quality enforcement mechanism for Check Agent. --- ## Overview Ralph Loop prevents Check Agent from stopping until all verification commands pass. ┌─────────────────────────────────────────────────────────────────────────┐ │ RALPH LOOP │ │ │ │ Check Agent completes │ │ │ │ │ ▼ │ │ SubagentStop hook fires ──► ralph-loop.py runs │ │ │ │ │ ▼ │ │ ┌─────────────────────────────────────────────────────────────────┐ │ │ │ Run verify commands from worktree.yaml: │ │ │ │ │ │ │ │ pnpm lint → exit 0 ✓ │ │ │ │ pnpm typecheck → exit 0
claude-code
More ci loops
CI pipeline speedup
Profile the CI pipeline and cut wall-clock time under a target by improving caching, splitting slow jobs, and removing redundant steps, verifying every run stays green.
/goal the CI pipeline completes in under 10 minutes on a typical PR — analyze the slowest recent runs with `gh run view`, apply one speedup per turn (better dependency caching, job parallelization, removing duplicated steps, trimming artifacts), push to a test branch, and confirm the workflow still passes; stop at the target or after 10 turns
Wait for CI so you don't have to
Poll gh pr checks every 10 minutes and get told when the PR is ready to merge, or a summary of which checks failed and why.
/loop 10m run `gh pr checks 1234`; if all pass, tell me it's ready to merge; if any fail, summarize which and why
Ship specs through code review
Run spec-driven workflow loop every 10 minutes: plan work, collect reviews, execute tasks, open pull requests.
/loop 10m /flow-next:pilot # build loop: ready spec → plan → reviews → work → draft PR Cap the run at 15 passes.