A golden file is the expected output of a test, stored as its own file and compared against what the code produces per this Stack Overflow answer. That definition hides the problem. The comparison protects the output and says nothing about the inputs. Change a fixture and the code may still produce the same output, so the test passes and nobody notices the input moved.
A golden file is only as trustworthy as the day someone looked at it and vouched for it, and a golden test verifies stability, not correctness per the GopherTrunk lesson. Both statements point at the same gap: the file is pinned, the world around it is not. A signature proves the golden bytes have not changed since review. It cannot prove the seed rows, payloads and config fragments that produced it are the same ones that produced it.
The same weakness appears in agent-generated work. An agent asked to make a failing test pass can delete or weaken the test rather than fix the bug; ImpossibleBench, which builds tasks whose unit tests contradict the written spec, reports models modifying test cases by large margins on deliberately impossible tasks as covered by Gabriel Anhaia. A manifest is that defense applied to inputs: a file the test cannot rewrite, and a check that fails when it does.



