Glass-Box AI¶
Learning objectives
By the end of this module you should be able to:
- Distinguish provenance from explainability and say why the former is the achievable, auditable one.
- Explain what it means for inspectability to be a structural property rather than a feature.
- Describe the role of a trusted rendering surface in keeping an AI system's output accountable.
Provenance is not explainability¶
It is worth separating two ideas that get blurred together, because a sovereign system can deliver one of them rigorously and cannot honestly promise the other.
Explainability asks: why did the model produce this output? What in its weights and training led here? This is genuinely hard, often underdetermined, and for large models still an open research problem. A platform that claims to fully explain a model's reasoning is usually overclaiming.
Provenance asks a narrower, answerable question: what went in? Which source documents were retrieved and placed in the context that produced this answer? Which tools were called, with what inputs, and what did they return? Which capability tier synthesized the final text? Provenance is not about the model's inner life; it is about the inputs and actions that surrounded the model, all of which the platform itself controls and can therefore record exactly.
A glass-box system makes the strong, honest claim — full provenance — and does not pretend to the weaker-to-verify one. For a decision that matters, "here are the exact documents this answer was built from, and here is every tool the system called to build it" is both achievable and often more useful than a speculative story about the model's internals.
Inspectability as a structural property¶
The tempting way to add provenance is as an afterthought: run the system, then attach a log that tries to reconstruct what happened. This is fragile. A log bolted on after the fact records what someone remembered to log, drifts from the real execution as the code changes, and can be silently incomplete in exactly the cases that matter.
The structural approach makes provenance a property of how the answer is produced, not a parallel record of it. Recall the layered design from the seven-layer framework: every retrieval crosses the tool boundary, every tool call re-crosses a policy check, and the synthesis step consumes a context whose contents were assembled through those very steps. Because the answer is built by traversing these boundaries, the boundaries are the natural place to emit the trace. The provenance record is a byproduct of the real control flow, not a reconstruction of it — so it cannot drift from the execution, because it is the execution, observed.
Concretely, this shows up as a trace attached to each answer: the intent that was detected, the retrieval that was planned, the tool calls and their allow/deny decisions, the tier that synthesized the result. An answer arrives with its reasoning path, not as an opaque string you must take on faith.
The trusted rendering surface¶
Provenance that no one can see is provenance in name only. The last layer of the glass box is the presentation surface — and in a sovereign design this surface has a job beyond display.
We call it the Workspace Fabric: an operator-facing environment whose purpose is to keep the human inside a trusted, auditable context. It is not a thin skin over an API that happens to show model output. Its responsibilities include making the provenance trace visible at the point of decision — so that when an answer informs a real choice, the person making that choice can see, without leaving the surface, which sources it rests on and which policy decisions shaped it.
This matters for a subtle reason. An AI system's outputs are most dangerous precisely when they are most fluent, because fluency invites trust that the content may not have earned. A trusted rendering surface counteracts this by making the provenance as present as the answer itself: the sources are not buried in a separate audit tool a diligent reviewer might consult later, they are part of what the operator sees now. The design goal is that trusting an answer and verifying it are the same gesture, not two different workflows one of which usually gets skipped.
Key takeaways¶
- Provenance — what documents and tool actions produced an answer — is achievable and auditable; full explainability of a model's internals is not, and claiming it is usually overclaiming.
- Inspectability is strongest when it is a structural byproduct of the control flow, emitted at the layer boundaries the answer is actually built across — so the trace cannot drift from the execution.
- A trusted rendering surface (the Workspace Fabric) makes provenance present at the point of decision, so that verifying an answer and trusting it become the same act.
For further study¶
- The module claims a structural trace "cannot drift from the execution." Under what conditions could it still drift — and what discipline in the layer boundaries is required to prevent those conditions?
- Design the minimum provenance record for a single answer such that an auditor, months later, could reconstruct exactly which sources informed it. What must be captured, and what must be stably referenced (rather than copied) for the record to remain valid as the underlying documents change?
- "Trusting an answer and verifying it should be the same gesture." This is a user-interface claim with a security purpose. Sketch how a rendering surface could achieve it, and identify the failure mode where provenance is technically present but practically invisible.
Next: The Messenger Persona — why an integration/messenger agent gets its own terminal surface, and how it inherits the same identity guarantees applied to command dispatch.