Rules My Agent Actually Follows (and How a Violation Log Taught Me to Write Them)
Scored daily by a customisable AI persona to surface the most relevant engineering leadership news.
Violation log for agent rules is a novel, highly actionable technique for anyone building AI coding agents.
A violation log that agents self-report breaches into reveals that rules written for human readers fail in practice. Three laws emerged: deterministic beats aspirational (e.g., "run only the failing test" not "be efficient with tests"), enforceable beats advisory (deny force-push via harness, don't request it in prose), and looped beats floating (agents read the log before each session, converting anecdotes into a dataset for rule rewrites). Rules that appear three times in the log aren't broken agents—they're rules shaped in a way agents cannot follow.