Skip to content

Every run is auditable

In Xratu, auditability is a property of how a run executes. Nobody switches it on, and nobody can switch it off for one run. A run cannot start without a fingerprint that names its code and its law. A policy hook cannot fire without emitting its decision. A production run whose telemetry cannot be written stops being trusted. A change to the platform cannot be made without a record of who made it. This page covers what the promise covers, and the design choices that make it hold.

What the promise covers

For any run, from its id alone:

You can establish Because
Exactly which code ran Every block is a sealed capsule, pinned by digest into the run-plan and named in the fingerprint
That the code was reviewed before it shipped Each capsule's publication is attested and signed, and reached by its digest
Exactly which law governed it The effective policy was compiled, signed and frozen before the run, and named in the fingerprint
Why each step was allowed, changed, paused or stopped Every policy hook firing is a PolicyDecision naming the rule, its bundle, the level it was attached at, and the reason
Which model answered, from which weights Every model call records the model version, and every model version's evidence names its engine and weights
Who did what around it Every change to the platform is an audit record with an actor, a reason, and the state before and after
That none of this has been altered Records are hash-chained where they are kept, and bodies are checked against their digests

Why it holds

Everything is fixed before it runs. A run executes a sealed run-plan: the flow compiled, the code pinned by hash, the policy resolved and frozen. Nothing is resolved while the run executes, so nothing about what ran is a matter of reconstruction. See The sealed run-plan.

The kernel records what only it can see. Enforcement and evidence both live in the kernel, which is the only layer that observes every step of a run. The record is written where the decision is made, as it is made. See Enforcement in the kernel.

Missing evidence stops the run being trusted. Telemetry failure in production fails the run closed; a gap in the record is itself recorded. See What an audit is never missing.

Bypass is signed. The only way to loosen policy is a signed, time-bounded exemption, named in every decision it touched. A quiet exception does not exist to be found later. See Exemptions.

Workflows, agents and models alike

The promise is the same whatever the run contains. A workflow's structure is compiled into the fixed project execution composition. An agent's choices, its task graph, its delegations, what it put in front of the model on each call, are recorded as it makes them. A model call records the version that answered. See Auditing agents and workflows and Auditing a model.