Freeze Agent-Patch Tests Against Fixture Content Hashes, Not Test Names
A proposed testing protocol argues that test freezes should be tied to the SHA-256 digest of fixture bytes rather than pytest node names, preventing agent patches from silently invalidating existing test skips. When an agent patch modifies a fixture file, any freeze referencing the old digest should immediately expire, forcing re-evaluation rather than inheriting a stale mute. The protocol stores each freeze as a structured triple — a stable property ID, a fixture digest, and an evidence window of independent reruns — recorded in a human-readable JSONL ledger. A digest mismatch between a live fixture and a locked freeze must be treated as fixture drift and block the merge, not silently pass. The goal is to ensure that a green CI suite continues to measure the actual properties it was designed to verify, even as agent patches evolve the underlying code and data.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.



Discussion (0)
Log in to join the discussion and vote.
Log in