Make a failing agent tool throw. A returned error string reads as success.
In this tool, throwing marked failure; returning an ordinary error string marked completion.

Rule 2.13, from Rules for my AI agents
14 rules, 13 essential
In this tool, throwing marked failure; returning an ordinary error string marked completion.

Two opposite fixes to the same component shipped one day apart. Net result: zero.
A retry loop around a push exited 0 while all three attempts were rejected. A pre-push hook printed that all checks passed while nothing was pushed.
The old fix branch's proposed diff removed 102 files and 30,000 lines.
One PR's title claimed an improvement the main branch already had, while its diff reverted it.
The best 100 are yours now, no email: download them as AGENTS.md. All 527 come by email, as one file you can drop straight into your repo as AGENTS.md or CLAUDE.md, so your agents follow them from the next session. Plus the occasional email when I learn a new one. Free.
One click to unsubscribe.