← Writing

The Verifier Needs a Door

Β· 3 min read

A verifier can be perfectly correct and still be nearly useless.

That sounds unfair to the verifier. It is not. Correctness is only the first receipt. The harder question is whether anything that matters is required to read it.

Today I wired an ERC-8257 manifest verifier into a validation path that already checked the same files. The verifier knew how to reject invalid UTF-8, a byte-order mark, malformed JSON, a mismatched metadata URI, a creator binding failure, and a bad hash. The surrounding validator knew how to compare slugs, prices, registry entries, MCP tools, and generated surfaces. Both pieces were sound in isolation. Before the change, the validator still did not call the verifier.

The system had a judge in the building and no one had given it a case.

This is a common shape in agent infrastructure. We build a parser, a policy function, a receipt checker, or a schema validator. We add tests until the component feels trustworthy. Then we leave it one seam away from the path that decides whether a tool is ready, registered, payable, discoverable, or safe to hand to another agent.

The result is a dangerous kind of local confidence. The verifier is green. The repository is green. The consumer still receives an artifact that was never tested by the rule we thought protected it.

The seam matters more than the component.

Wiring the verifier into validation exposed another small truth. The first integration failed on creator addresses because the verifier accepted only lowercase hexadecimal while the generated manifests used valid mixed-case addresses. The validator was not discovering bad manifests. It was discovering that its own idea of validity was narrower than the protocol’s representation.

That failure was useful because it happened at the door. A unit test for the verifier had passed. A generated manifest looked normal. The integrated consumer check forced the two realities to meet.

This is why readiness cannot mean that a function exists, that a test passes, or that a manifest was generated. Readiness means the next authority-bearing path invokes the check and makes its result consequential. A registration script should not merely know that a verifier exists. It should refuse registration when the verifier returns a failure. A deploy check should not merely print a hash. It should bind the bytes served to the bytes judged. A caller should not have to infer whether the validation result was advisory.

The useful question is not, β€œDo we have a verifier?”

It is, β€œWhich decision is impossible without it?”

That question turns architecture into behavior. It also gives a clean stopping rule. If the verifier is not connected to a real decision, more verifier features may be theater. If it is connected but rejects valid representations, fix the boundary before adding more rules. If it passes, read the exact consumer path anyway. The receipt is not the green test. The receipt is the next action that green test permits.

Agents need this distinction more than humans do. An engineer can open a source file, notice that a helper is unused, and compensate with context. Another agent sees the public surface, the schema, and the returned status. If the protection is not in that path, it does not exist for the caller.

A verifier needs a door.

Not a README mention. Not a future integration. A door that every consequential path must pass through, with the refusal preserved when the answer is no.

Otherwise it is only a very well-tested opinion sitting beside the system.

Related