Skip to content

Prove

Trust comes from the record.

Mandible produces signed, attributed evidence of what agents did, what they declined, and what they could not have done. Evidence is an output of every run, not a log someone assembles later.

What every record carries

Each action an agent takes, or declines to take, leaves one record. Every link in it is attributed to an identity and anchored in a tamper-evident ledger, so the question is never whose recollection to trust.

Who acted

Every actor and controller holds a workload identity. The record names it, with the model and tier where one was used.

Where it ran

In every deployment profile, the sandbox is attested by the hypervisor before it receives credentials, secrets or model access, and the kernel image it booted from is pinned by digest.

What was decided

The proposed action, the context it reasoned over, and the gate it was permitted at. A decision to do nothing is recorded with its reasons.

What was approved

Where the gate required a person, the approval as it happened at the gate your team already uses: the merge on your forge, recorded as a change with its external reference.

What happened

The controller action, carrying the fence token issued when the decision was recorded, so a stale or superseded decision cannot be acted on.

What it changed

The outcome, verified by an independent check rather than asserted by the agent that acted.

Runtime attestation

Evidence starts with knowing what ran. Every actor acts as a SPIFFE identity, so every record names who did it. In every deployment profile, each sandbox is attested by the hypervisor that isolates it before it receives credentials, secrets or model access, and the attestor pins the kernel image it booted from by digest.

One action, end to end

The record follows the same loop the runtime enforces. Each stage writes its link before the next can begin, and the evidence emitter writes to the ledger only; nothing reads the ledger back into working memory, so evidence cannot become justification for the next decision.

  1. 01Observed

    What the agent saw, from which source, and when.

  2. 02Decided

    What it proposed or declined, with its reasons, under which identity, model and tier.

  3. 03Gated

    Which gate the capability held, which policy bundle allowed or refused it, and whether the fence was still valid.

  4. 04Acted

    What the controller did, fenced to the recorded decision.

  5. 05Verified

    What an independent check confirmed, and when the record closed.

One link in the chain: a change statement, as the evidence controller emits it. Field names are the implementation's; values are illustrative.
{
  "payloadType": "application/vnd.in-toto+json",
  "payload": {
    "_type": "https://in-toto.io/Statement/v1",
    "subject": [{ "name": "phage:episode:<id>", "digest": { "sha256": "<episode digest>" } }],
    "predicateType": "https://mandible.dev/phage/change/v1",
    "predicate": {
      "controller": "pr",
      "action": "open_pr",
      "gate": "propose",
      "policy_bundle_hash": "<sha256 of the Cedar bundle>",
      "policy_decision": "allow",
      "outcome": "acted",
      "external_ref": "https://<forge>/<org>/<repo>/pull/<n>",
      "shadow": false,
      "fence": "<token minted when the work was claimed>",
      "recorded_at": "<timestamp>"
    }
  },
  "signatures": [{ "keyid": "<emitter key id>", "sig": "<signature over the payload>" }]
}

Each statement is an in-toto Statement in a DSSE envelope, signed by the emitting identity. A completed episode carries one statement per decision, one per change, and a closure; a decline carries a verdict instead. Every one of them names the fence token and the hash of the policy bundle that allowed or refused it.

Negative evidence

A system is judged as much by what it declined to do as by what it did. When an agent decides not to act, it writes that disposition with its reasons and the evidence it relied on. A declined action is as auditable as a completed one, and it is reviewed by the same people.

Actions attempted outside the declared gate.

The other kind of negative evidence is a number computed from the ledger, with a target of zero. “Could the agent have done it?” is answered by the import graph. “Did it?” is answered by the ledger. Neither depends on anyone's recollection.

How the guardrail metric is governed

Exported where your reviewers already look

The record is exported in the format your audit or compliance system consumes, with the whole chain attached. A reviewer does not have to trust the model. They accept the pipeline design (the stages, the gates, and the proof that every run honored them), which is a conversation they already know how to have.

In Phage, the record chains into OSCAL, so a closed vulnerability becomes a closed POA&M item with its evidence attached, not a ticket someone marked done.

OSCAL
Assessment results and a plan-of-action-and-milestones entry, per episode, in OSCAL 1.1.2.
Signed statements
The chain itself: in-toto statements in DSSE envelopes, verifiable with standard tooling.
Scanner formats
SARIF, CycloneDX and OpenVEX are read on the way in. Emitting VEX statements is designed, not shipped.
How Phage uses the record for authorization

Where this stands

The statements, the fence, the policy hash and the OSCAL export run in the reference deployment today. Three things are designed and in progress: signing with the sandbox's workload identity rather than a local key, linking each statement to its predecessor by hash, and anchoring the chain in the evidence ledger's signed Merkle batches. We will update this page as each one ships.

See the record on your own work

Phage is the first application on Mandible, and the quickest way to see evidence produced end to end.