That's where it matters most. An agent reads AGENTS.md once and then drifts, but a failing test stops it on every run. v3 already does this for one rule: the nav icon rule in AGENTS.md is backed by NavIconSetsTest, so no agent has to remember it.
Other AGENTS.md rules are checkable and still prose only. "Do not modify todo.txt unless the user explicitly requests" has no test; a check that fails when a branch touches todo.txt would enforce it, with the user's request as the override. I can go through AGENTS.md and list which rules could become tests.