# Independence Gate
The independence certificate at `emit.rs:63` is MANDATORY. Every generated
test passes through `verify_test_independence()` before being written to disk.
A test that references its own op's `cpu_fn` path in the expected-value
binding is a tautology — it compares the op against itself. The independence
check detects this by walking the syn AST of the generated test and flagging
any path that resolves to the op under test's CPU reference.
This gate cannot be bypassed. The `emit_and_verify()` function returns
`Err(EmitError::IndependenceViolation)` for tautological tests. The error
message names the specific path that violated independence.
For hand-written tests: agents do not submit hand-written test files directly.
All tests go through the generator pipeline, which enforces independence.
If this changes (agents submit raw .rs test files), the independence check
must be added to the CI acceptance path.