uak-loop · git:20261110.75ba884 · 2026-11-10 · sha256 78b952788df26395

uak-loop git:20261110.75ba884A

Immutable. This exact content never changes and is served at /api/v1/blob/78b952788df26395.

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_dl7szchsdlbkl2su/78b952788df26395cbcd03943cf9e862a8f05d460594d35ef1cd26060e4a61b0.json

Then /plugin install uak-loop@markdownregistry-dl7szchsdlbkl2su in Claude Code. It installs this exact version, the one graded A here, pinned to the commit it was graded at, and leaves it there.

---
name: uak-loop
description: "Use while implementing a criterion: implement, run Verify, fix, with a budget and stuck detection; for long mechanical fixes it can run unattended with uak loop. Run this only when the user invokes it by name ($uak-loop or /uak-loop); never start it on your own."
disable-model-invocation: true
---
<!-- Generated by scripts/gen_harness.py from .claude/commands/uak-loop.md; edit that file, not this one. -->
Arguments (what the user typed after the command, `<arguments>` below): [Verify command]
Verifier: the arguments you were given (none: the task's `Verify`). Loop rules (`.uak/docs/LOOPS.md`):
1. Make the smallest change toward the criterion. For new behavior, the test comes first and fails on its assertion (skill `test-first`, `uak red ID`).
2. `bash .uak/bin/q <verifier>`. If OK, go to step 5.
3. On failure, read only the tail `q` printed. Find the root cause before editing (skill `systematic-debugging`). Never weaken, skip or delete a test or the verifier to make it pass.
4. Repeat, up to 5 attempts. If the same error appears twice, consult the advisor (or `/uak-advise stuck`) ONCE and apply its single experiment. If it fails again, STOP: `bash .uak/bin/uak log ID --state BLOCKED "<exact error>"` (ID = your task), or run `uak decision ID --option "TEXT" --why "TEXT" --reversible yes --authorized yes --class routine` (the reversible fallback), and tell the human in 1 line.
5. Before claiming it works (skill `verification-before-completion`), re-run the verifier and smoke, then commit and push. `bash .uak/bin/uak checkpoint ...` with the next criterion.
Long mechanical loops (lint, types, a flaky failure with a clear error) can run unattended: `bash .uak/bin/uak loop --verify "<cmd>" --agent "claude -p --permission-mode acceptEdits" --max 5 --task ID`.