Agents talk. Verifiers check. In Benzene every cell produces proposals, and every proposal passes through the same gate: the verifier queue. Benzene ships more than forty verifier types (41 today, VERIFIER_TYPES in benzene/manifest.py) so that quality controls map directly to engineering realities rather than abstract prompts. Opinion becomes executable. Ambiguity becomes math.
Each verifier type answers a specific question about the workspace state. Some run compilers. Some diff outputs against templates. Some enforce strict size limits on generated assets. All but one are scripts; the exception, image_judge, is a vision model, and it is never bound to a hook. A task is either verified or it is not, and that binary outcome drives the entire ratchet mechanism. Below we walk through the taxonomy and explain why rigid types save more projects than flexible scoring ever could.
Compile-time and lint-time guards
Two verifiers operate before an agent touches higher-level logic. In Benzene's own genome, verify:compiles is a build check: the project's compiler or build script (compileall, go build, cargo check, npm run build) has to exit 0. verify:no-rewrite is a diff check that enforces change discipline: one task may change at most 600 lines, added and removed, so an agent edits a file instead of rewriting it. The lint type runs the linter of each written file's kind. These gates prevent cascading failures where syntactic mistakes propagate across repositories, forcing downstream offices to clean up upstream messes. By catching syntax at the edge, the ratchet keeps the workspace parseable at all times. Agents can explore freely within boundaries, knowing that catastrophic syntax drift will halt execution instantly.
Structure and contract enforcement
Agents frequently violate implied contracts when generating boilerplate or documentation. Benzene counters this with pattern matching and schema validation. The sections type scans generated documents and fails when mandated headings or front-matter fields are absent or empty. file_pattern requires a workspace file to match a pattern and not a forbidden one. schema validates a JSON or YAML file against a JSON Schema, raising alarms on drifting types. Together these verifiers preserve architectural integrity without requiring human review of every artifact. Contracts stay sharp because the system treats them as hard constraints, not suggestions.
Runtime behavior and resource budgets
Beyond static correctness, Benzene tracks dynamic execution costs. size caps every file matching a glob at max_bytes, gzipped if you ask: a weight budget against silent growth. ui runs a Playwright audit of a page against standards/ui-standards.yaml (WCAG, Core Web Vitals, tap targets). finance requires a document's yaml block to price every active office and reconcile with the ledger, and arithmetic checks that totals and percentages add up. These sensors protect production environments from silent bloat, inaccessible pages, and accounting errors. Resource consumption stays predictable, and a sheet that does not add up fails a check.
Picking the toolchain
The auto type makes one small infrastructure decision: it runs the TypeScript compiler when the touched project has a tsconfig.json, and a Node syntax and import check otherwise. Which tools a host can run at all is a separate question, answered by benzene instruments. That keeps a check from failing on a missing binary rather than on the work. Combined with the explicit guardrails above, it lets cells focus on business logic while the system manages boring operational details. When every verification path is automated, the feedback loop shrinks to the length of one run. Engineers ship faster because verification stops being a bottleneck and starts acting like seatbelts—unseen until needed, then absolutely essential.