This repo is a pattern library for operating agents around a codebase — triage, babysit PRs, sweep CI, keep deps current. It is not a “finish my feature / rewrite the module” button.
| I want to… | Start here | Do not start here |
|---|---|---|
| Keep a repo healthy (issues, CI, deps, changelog) | Quickstart → daily-triage |
Unattended L3 on day one |
| Run a loop as one GitHub Action with almost no files | Thin loop | Expecting a high Loop Ready score |
| Land and babysit pull requests | PR Babysitter | Merging from the loop |
| Fix a red build | CI Sweeper | Patching flakes forever |
| Upgrade dependencies safely | Dependency Sweeper | Major bumps without a human |
| Ship a feature or refactor (break work into todos, run them) | Refactor / change path | A single “refactor the repo” loop |
| Run until a scoped objective is done | Goal Engineering (/goal) |
Pretending daily-triage is a task runner |
| Persist memory across sessions | Memory Engineering | Stuffing everything into STATE.md |
| Govern many agents | Fleet Engineering | One LOOP.md for a whole org |
Week-one rule still applies: report only. Read what the loop writes before you let it act.
npx @cobusgreyling/loop init . --pattern daily-triage --tool claude
npx @cobusgreyling/loop doctor .--tool defaults to claude. Swap for grok, codex, or opencode. Unsure which pattern? Pattern picker.