Skip to content
EffortlessSteven
All terms

Guardrail

Mechanical counting

Using deterministic tools (scripts, calculators, hashes) for anything that must be exact instead of trusting model-generated counts.

Also known as: kernel-truth, tool-verification

Definition

Mechanical counting is the habit of using deterministic tools for anything that must be exact—counts, lists, hashes, diffs—instead of trusting a model’s “best effort” narration.

It’s the smallest useful form of a trust boundary.

Why it matters

LLMs are often directionally correct and occasionally precisely wrong. If “precisely” matters, you need a tool.

Mechanical counting turns “are you sure?” into “here’s the command.”

Examples

How it shows up in receipts

A build receipt should prefer:

Failure mode it prevents

Practical rule

If it can be measured, measure it. If it must be exact, measure it mechanically.

Related Terms