diff --git a/AGENTS.md b/AGENTS.md index c0ea6e3f5f..addaff81fa 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -70,6 +70,12 @@ loader that maps the game's executable and resolves its imports to shims. Nothin - Frame rates of the D3D12 runtime (`d3d12/`): search [d3d12/docs/findings.md](d3d12/docs/findings.md) for the switch or function before measuring it, and measure as [docs/measuring_fps.md](docs/measuring_fps.md) says (a switch by turns inside one run). The variables are listed in [d3d12/docs/switches.md](d3d12/docs/switches.md). +- Show the test **fails without the fix**, not just that it passes with it. Run the new case on `main`, or revert + only the source the change touches and run again: a test that has never seen the old behaviour proves the test + compiles, nothing about the fix. Say which of the two you did. +- Check the instrument before trusting the number: rebuild before `ctest` after switching branches (a stale binary + is indistinguishable from a bug), compare the **change** between two branches rather than the file (a file diff + carries their different bases), and read the test's own header before describing what it proves. ## Test without the game first