Never merge a stale side branch. Cherry-pick the commits you need.
The old fix branch's proposed diff removed 102 files and 30,000 lines.

Rule 2.3, from Rules for my AI agents
14 rules, 13 essential
The old fix branch's proposed diff removed 102 files and 30,000 lines.

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.
One PR's title claimed an improvement the main branch already had, while its diff reverted it.
An empty PR number made a merge command merge the branch's other open PR. An empty list of test files ran the whole suite.
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.