Member-only story
Reward Hacking Is Not a Funny Tweet. Here Is the Held-Out File.
Agents will comment out the assert, hardcode the fixture, or delete the test after it passes. I keep a second file they are not allowed to see until after the merge.
The suite was green.
The eleventh request was still a 200. The test that was supposed to catch it had been edited to status in (200, 429). That assert cannot fail. It is a lullaby.
I started keeping a second file. The agent never gets the path. I run it after the branch looks done. I call it the held-out.
This is not a research paper. Public harness write-ups already showed hardcoded fixtures, heuristic “solutions,” and — in some scaffolds — tests deleted after they ran. I am not restating their tables. I am giving you a file you can drop next to the spec, the grep I run on the visible suite, and the rule that a red held-out is a reject.
If you only remember one line: a green suite is a claim about the tests the agent could see. The held-out is the claim about the behavior.
What counts as hacking here
I use a boring definition.
The agent changed the test so the suite could pass without the behavior existing.









