Skip to content

The run fingerprint

Every run has a run_id that names that execution and a fingerprint that names exactly what it executed: the compiled project execution composition, the sealed code of every block, the effective policy, the bundle versions that policy came from, and any exemption that loosened it. The kernel computes the fingerprint once from a fixed native projection of the admitted code and law. run_id is not part of that hash. Every record the kernel emits for the run carries both values, so an auditor can move from one execution to its exact code and governing policy. This page covers what the fingerprint contains, when it is fixed, what references it, and what it proves.

What the fingerprint names

flowchart TB
  subgraph PLAN["SEALED RUN-PLAN, hash-verified on the node"]
    direction LR
    FL[("Project execution composition<br/>lowered from project authoring")]
    CB[("Pinned block artifacts<br/>capsule digests")]
    EP[("Effective policy<br/>per step")]
    BV[("Bundle versions")]
    EX[("Signed exemptions")]
  end
  FP{{"Run fingerprint<br/>exact executable composition<br/>and governing policy"}}
  RID{{"RunId<br/>this execution"}}
  subgraph REC["EVERY KERNEL RECORD OF THE RUN"]
    direction LR
    R1["PolicyDecision"]
    R2["Primitive events"]
    R3["Suspend and resume"]
    R4["Errors and faults"]
    R5["Score reports"]
  end
  FL --> FP
  CB --> FP
  EP --> FP
  BV --> FP
  EX --> FP
  FP --> REC
  RID --> REC
Constituent Names
Project execution composition The complete native execution compiled from the project's workflow, agents and other authoring
Reusable block identities The qualified target, interface, capsule and closure identities for every block it can execute
Governing policy The effective policy resolved for the execution boundaries
Policy provenance The version of every policy bundle that contributed a rule
Exemptions Every signed exemption that applies to the run

Fixed once, for the whole run

The kernel's fixed identity projection computes the fingerprint after the exact executable composition and governing policy are admitted and before the first executable run command. Run authority binds the projection and fingerprint beside the separately allocated run_id, and never rewrites them. Nothing about a running run can change what the fingerprint names: project authoring has already been compiled, block versions are pinned by hash, and policy was resolved and frozen before the run was dispatched. A policy change attached while a run is executing applies to the next run; the running one keeps the policy its fingerprint names. See Mid-run stability.

A project that opts into automatic version tracking still produces a fixed fingerprint. The run-plan records the exact version resolved when the run was built, and the fingerprint names that version.

Everything the kernel records references it

Every PolicyDecision, every primitive event, every suspend and resume, every error and every score report the kernel emits for a run carries both run_id and the fingerprint. The kernel's telemetry journal is ordered, monotonic, append-only and hash-chained, so those records remain correlated to one execution without making run_id part of code-and-law identity.

A PolicyDecision is the public evidence projection of an ACE command-formation or settlement receipt. It is not a second policy evaluator. It shows both references in use:

{
  "run_id": "run_01J...",
  "trace_id": "trc_5b10",
  "run_fingerprint": "sha256:4c1e...",
  "hook": "pre_call",
  "target": {"capability": "payment.refund", "step_id": "refund_1"},
  "rule_id": "human_required",
  "bundle": "org.acme.refund-governance",
  "bundle_version": 2,
  "attachment_level": "workspace",
  "input_hash": "sha256:9b0f...",
  "effect": "require_approval",
  "effect_args": {"approver": "role:finance_manager", "sla": "24h"},
  "decided_at": "2026-05-14T14:23:11Z",
  "reason": "amount £250 ≥ £50 threshold",
  "references": ["FCA SYSC 9.1.1R"],
  "exemption_ref": null
}

What an audit log proves

With the fingerprint on every record, an auditor can establish from records:

Claim Established by
This run executed this exact code The project execution composition against the capsule digests in the catalog, each with its publication attestation
This code was reviewed before it shipped The capsule's publication record and signer, reached by its digest
This run was governed by this exact law The governing-policy identity and bundle versions against the signed bundles
This rule fired because this level attached it The PolicyDecision's bundle, bundle_version and attachment_level
Nothing was quietly bypassed Every loosening is a signed exemption named in the fingerprint and in each decision it applied to
Two runs ran the same code under the same law Equal fingerprints

Equal fingerprints do not claim that two runs had the same input, execution environment, evidence, outcome or run_id. Those identities and records are bound separately. The fingerprint identifies the code and the law. The run's input is kept in the run record, and what the run produced is recorded in its evidence and state; together with the fingerprint they are what a replay compares. See Replay mechanics.

Reading it

xratu run inspect $RUN_ID

run inspect returns the run identifier, fingerprint, its code-and-law constituents and its PolicyDecision evidence. See Verify a run fingerprint.