Loops: refine until it's good
A loop is Mastery HQ’s quality machine: it takes a goal, has an agent produce a draft, scores the draft with a judge, feeds the critique back, and repeats — until the work clears your score bar or the pass limit hits. You state the destination; the loop does the iterating.
Start one in one line
Section titled “Start one in one line”In the command bar (typed or spoken):
loop: write punchy hero copy until score 9
The top-most agent picks it up; the loop announces its terms (“refining until 9/10, max 5 passes”). Or start from work that already exists: every agent window has a Loop this button that turns the last exchange into a loop.
The dials
Section titled “The dials”| Dial | Default | In the one-liner |
|---|---|---|
| Score bar | 8 / 10 | “…until score 9” |
| Max passes | 5 (cap 12) | “…until 6 rounds” |
| Lens | standard | add “karpathy” or “roast” for a different judging personality |
Watching and managing loops
Section titled “Watching and managing loops”The Loops Dock shows every live loop with its pass count and latest score; the Loop pane (say open loop) is the full console. Stop anytime from either.
When to use a loop vs. a single task
Section titled “When to use a loop vs. a single task”Single task: mechanical work with an objective done-state (“rename this function everywhere”). Loop: anything with a quality gradient — copy, design language, refactoring style, test coverage narratives — where the third pass is reliably better than the first and you’d rather not be the one asking for it three times.