Skip to main content
Kevin Mastriano
// Building

The Web Made Explicit

The Web Made Explicit

Part 2 of a series on running a calibration company with AI in the loop.

The standards are already deterministic.

Open ISO 17025. Open an ASME spec. Open AMS2750. What you find is math, tables, and a wall of "you shall." If this, then that. The measurement shall be performed under these conditions. The tolerance shall be this. There is very little wiggle in a good standard, and that is by design. The determinism is not something I have to invent. It is sitting right there in the document.

Which matters, because in Part 1 I said the fix for a probabilistic tool writing controlled documents is to stop asking it to write and start asking it to look things up. Make the work deterministic. Most people hear that and picture a mountain of translation work, turning fuzzy prose into hard rules. That is not the job. The rules are already hard.

The problem is that the rules are a spider web.

A web that lives in your head

A single statement in one of my calibration methods might be governed by a clause in ISO 17025, constrained by an environmental condition from an ASME spec, and bounded by an uncertainty from my own CMC scope. Three documents, three places, one requirement. And the only thing connecting them is a person who knows they are connected.

That is how almost every lab runs. The web is real, but it lives in someone's head, or in a footnote that says "per section such-and-such" and trusts the reader to go trace it. Nothing enforces the link. Nothing checks it. When a spec changes, someone has to remember every document it touches and go fix them by hand, one at a time, hoping they catch them all.

An AI reading that setup as prose is in the same position as a human, except worse, because it will confidently fill any gap it finds. That is how a caliper procedure ended up with a temperature boundary of 20 degrees Celsius plus or minus one. The number was just text in a document. Nothing stopped the model from typing a plausible wrong value, because nothing in the structure knew what the right value was supposed to be connected to.

Making the web explicit

So we are making the web explicit.

Every standard we use gets broken into sections, and every section gets its own stable ID. We store it as structured JSON, not rich text, so each piece is addressable. Then our own documents, the quality manual, the procedures, the calibration methods, are also JSON. And when a statement in one of my procedures is governed by a section of ISO 17025, I draw an actual link between them. Not a footnote. A real, machine-readable edge from this statement to that clause.

The connection stops being something a human interprets and becomes something the system holds.

You can see what that does in something as ordinary as the temperature and humidity conditions in a method. In the old world, those were numbers typed into a procedure. In the new world, that section of the method does not contain the numbers at all. It contains a link, to the database that holds our environmental conditions, our CMCs, our uncertainties. The value is resolved from the one source with the authority to set it.

That is the answer to Part 1. The AI cannot invent plus or minus one anymore, because it is no longer writing a number, it is resolving a reference. There is no blank left for it to fill with a confident guess. The failure mode from the caliper story does not get caught by a better reviewer. It becomes structurally impossible.

And because everything is linked, the system is alive. Change the source, and every method connected to it changes with it. No more hunting through documents asking how this one affects that one. The web does that for you now.

What it costs

This is a lot of work, and I am not going to pretend otherwise. Converting a spec into structured, ID'd, linked JSON is real groundwork, and we have a lot of specs. The obvious objection is that this is over-engineering for a four-person lab, and that I should just be careful instead.

But you only do the conversion once. Once a spec is in, it is in forever, and adding the next one is easy. What you buy with that one-time cost is something a small lab has never been able to afford: continuous, one hundred percent internal audit.

Not a sample, and not a scramble the week before the assessor shows up. Every calibration, every test point, every piece of equipment, checked against every requirement it is connected to, every single day. Was the right procedure used. Was the right equipment used. Was the correct uncertainty applied. Is the technician competent to perform it. On everything, all the time, because when the data is deterministic and connected the AI can work through volumes no human team could ever touch.

I want to be precise about what this does and does not do. It does not tighten my measurement uncertainty. My CMCs come from the physics and the standards, not from how I store a document. What the system guarantees is that the correct uncertainty is applied every time, to every measurement, without exception. That is a quality management gain, not a metrology one. I keep that line clean, because claiming the database improved my k equals 2 confidence is the kind of confident, wrong statement this whole series is about avoiding.

Validation versus context

One last distinction, and it is the reason this is not just a database project.

A lot of what I described, right procedure, right equipment, right uncertainty, competent technician, is deterministic checking. You could do most of that with plain Python and some binary validations against the database. Pass, fail, pass, fail. You do not need a language model to tell you a rule was broken.

But binary code only gives you validation. It tells you that something failed. It cannot tell you what it means, why it happened, which method and technician and customer and clause it touches, or what to do next. That is context, and context is the one thing a pile of if-statements will never produce.

So the stack tells the whole story. The deterministic system holds the truth. Binary checks handle validation. The AI sits on top and provides context and interpretation, reasoning across a web that is now fully connected and fully visible to it.

Notice what did not change from Part 1. I am still not trusting the AI to know things. I built a system that holds the truth, and I let the AI interpret it. You do not trust the instrument. You give it something solid to stand on, and then you let it do the one thing it is good at.

More to come.

One honest post a week, straight to your inbox.

← Building