ztd v1.10.2 Zero-trust execution layer Source available · BSL 1.1

Zero Trust Data

Verify, then execute.

We build ztd, a zero-trust execution layer for AI agents and the infrastructure they touch. AI systems propose actions; they never get direct control of real systems. The model can ask. The machine that owns the workload decides.

// ztd is Zero Trust Data: typed intent, independent verification, governed execution, and local evidence.

01 / The problem

Agents that think, approve, act, and log in one process

Most AI agent stacks collapse four separate jobs into a single process. That is a dangerous mix. ztd pulls them apart so the thing that reasons is never the thing that authorizes or executes.

Typical agent stack

Reasoning
Authorization
Execution
Audit

→ one process, one trust boundary. Whatever the model decides is what runs, and the record of it lives in the same place.

With ztd

  • Modelproposes typed intent
  • Gatewaygoverns: policy, consensus, human approval
  • Operatorverifies again and executes locally
  • Evidencerecorded at the execution boundary

This is not a sandbox. It is a governance boundary.

02 / How ztd works

A control plane for AI-driven operations

A client or agent submits a typed intent. The Gateway validates policy and applies human or quorum approvals when needed. The Operator opens an outbound-only mTLS connection, pulls its assigned work, verifies the request independently, executes only the approved action, and records signed evidence locally.

Ingress

AI client

MCP, A2A, governed HTTP dispatch, direct envelope, or CLI.

expresses intent
Policy Decision Point

Governance Gateway

Authenticates over mTLS, builds a canonical GovernanceEnvelope, runs L1–L3, and routes it to one Operator session.

ztd gw start
Policy Execution Point

Governed Operator

Opens the connection outbound; no inbound listeners. Pulls assigned work, re-verifies it at L4, and executes at L5.

ztd operator start
Evidence

Signed receipts

EXECUTING and COMPLETED/FAILED receipts, plus a hash-chained commitment ledger on the host.

local-first audit

Gateway decides, never executes on your hosts

The Gateway admits transactions, manages PKI, and coordinates deliberation. It publishes each envelope to one exact session channel. There is no broadcast.

Operators verify for themselves

Each Operator recomputes the transaction hash, checks the replay nonce, expiry, and state root, and re-runs doctrine locally. It doesn't take the Gateway's word for it.

Receipts you can check

The Actuator signs a receipt before and after every action and appends to a hash-chained ledger. The host's local evidence is authoritative; Gateway copies are only mirrors.

Humans approve mutations

Under human-approval postures, mutating actions suspend until someone approves with a WebAuthn passkey or the enrolled CLI certificate (ztd auth approve --cli). Read-only actions don't need that step.

Quorum, signed

L2 Consensus requires K-of-N Ed25519 signatures from enrolled member keys over the transaction hash and decision.

Doctrine, always on

L1 Doctrine screens every envelope for forbidden patterns and ATT&CK-style heuristics in every posture, on the Gateway and again on the Operator.

03 / The interlock

Five layers between intent and execution

Every operation on a governed path crosses the same five-layer pipeline. A rule violation, or a proof the posture requires but the transaction lacks, rejects it.

L1

Doctrine

Forbidden-pattern matching, MITRE ATT&CK heuristics, and command safety analysis for things like reverse shells, privilege escalation, destructive disk operations, and credential theft.

OwnerGateway + Operator
L2

Consensus

K-of-N multi-signature Ed25519 authorization from enrolled member keys, each signing the transaction hash and its decision.

OwnerGateway + Operator
L3

Notary

Human authorization for mutations: the transaction suspends until a person approves it with a WebAuthn passkey or, via ztd auth approve --cli, the enrolled CLI certificate. An outbound Operator re-verifies the recorded approval and its Ed25519 signature over the transaction hash.

OwnerGateway + Operator
L4

Warden

Pre-dispatch gate on the target host: durable nonce reservation, expiry, typed payload decode, local doctrine, hash recomputation, state Merkle root, and posture-required proofs.

OwnerExecuting Operator
L5

Actuator

The single execution boundary. Signs an EXECUTING receipt, appends a signed commitment, mints a short-lived capability bound to the transaction hash, runs the typed handler, dissolves the capability, and signs the final receipt.

OwnerExecuting Operator
Governance postures · fixed at Gateway startup
PostureL1L2L3
doctrineenforcedauditedaudited
consensusenforcedenforcedaudited
ratifyenforcedauditedmutations
notaryenforcedenforcedmutations

Fail closed under every posture

  • L1 doctrine violation
  • transaction hash ≠ envelope id ≠ recomputed hash
  • replayed nonce
  • expired transaction
  • state Merkle root mismatch
  • invalid action type or undecodable payload

04 / Design lineage

An old idea, pointed at AI

The 1972 reference monitor said every access should pass a mediator that is always invoked, tamper resistant, and small enough to verify. Replace subjects and objects with agents and actions, and you get the shape ztd is built around.

// 01

Always invoked

every governed path → five layers

Every operation entering a governed path goes through L1–L5, and the L5 Actuator is the only place execution happens. Operators take work from one session channel and expose nothing inbound.

// 02

Tamper evident

signed receipts · hash-chained ledger

Receipts are signed at the execution site, commitments chain together in a local ledger, nonces are reserved durably to stop replays, and sensitive results are encrypted at rest with AES-256-GCM.

// 03

Verifiable

independent re-check · public source

The executing Operator recomputes hashes and re-checks proofs without trusting the Gateway. The code is published and the documented invariants carry stable IDs, so you can audit claims against the source.

05 / Zero trust, all the way down

Identity on every hop

Transport
TLS 1.3 + mutual TLSRequired on protected routes and pub/sub channels.
Workload identity
SPIFFE URIsOperators, CLIs, apps, and users each have their own identity.
Certificates
ECDSA P-256 · 7-day leavesSeparate intermediates; revocation checked per request.
Topology
Outbound-only OperatorsNo inbound management ports into target environments.
Signatures
Ed25519Consensus votes and approval proofs over the transaction hash.
At rest
AES-256-GCM vaultThree-tier keys: master key, HKDF-derived KEK, wrapped DEK.
Human auth
WebAuthn passkeys, CLI certificatesPasskeys for the console; the enrolled CLI certificate for ztd auth approve --cli.
Revocation
Immediate cut-offRevoking an enrollment adds it to the CRL and drops live sockets.

06 / Local-first, air-gap ready

Your hosts keep the truth

Under ztd's Local-First Events Architecture, the host where an action runs is the authoritative record of what happened there.

  • One static Go binary. The same ztd binary runs as the Gateway and as each Operator.
  • Sovereign audit. Each runtime owns its SQLite events database, vault, and state root.
  • Air-gapped deployment guide. Stage native binaries, or source builds with vendored dependencies, for offline transfer.
  • Bring your own models. An Inference Operator can serve local models through Ollama, so inference can stay inside your network.

Ways in · all governed

POST /mcpModel Context Protocol over HTTP, or stdio via ztd mcp stdio POST /api/v1/a2a/callAgent-to-agent skill calls POST /api/v1/operators/commandsGoverned HTTP dispatch for enrolled apps POST /api/v1/operators/intentsPlain-language intent; the Gateway Tribunal authors typed run_shell_command arguments that pass through MCP_CALL governance POST /api/v1/governance/envelopesPre-built envelopes; missing proofs are never synthesized ztd operator runCLI dispatch to bound Operators
Claude CodeCodexGemini CLIGooseDevin CLI

32 typed native tools in the reference binary: database triage, logs, processes, containers, filesystem, network and TLS, Git, cloud/Kubernetes inspection, denylist-screened shell commands, Operator deployment, and event receipt queries.

07 / Quick start

First governed action in one command

Install the signed ztd binary, start a Gateway, sign in, and run a first governed action. Safe to rerun. Evaluation and other non-production use are free under BSL 1.1. Production use needs a commercial license plan below.

No root, no admin, no toolchain. Checksums verified before install. Binaries and Sigstore bundles: Releases.

./ztd tuiWatch live governance envelopes
./ztd login webOpen the console
# read it first. Never calls sudo. Checksum before the binary is written.
$ curl -fsSL https://zerotrustdata.io/start.sh -o /tmp/ztd-start.sh
$ sh /tmp/ztd-start.sh
# Keychain item ztd-platform: your Mac login password, then Always Allow.
# Require Sigstore: ZTD_REQUIRE_SIGSTORE=1  (brew install cosign)

08 / Proofs

A real run, signed on the host

Goose, with Ollama serving qwen2.5:0.5b on CPU, called run_shell_command twice through ztd mcp agent run. The Gateway admitted each call as a GovernanceEnvelope. The embedded Operator re-checked it. One call ran. One was refused before execution. Doctrine posture: L2 and L3 are recorded as not required. This is a signed evidence log. It is not proof of work, and it is not a TEE or any other hardware attestation.

What the terminal showed

The launcher enrolled the goose application, then Goose issued echo with args ztd-smoke-ok and rm -rf /. The allow returned exit 0. The deny came back as TX_DOCTRINE_L1_FAILED with a signed receipt in the tool error.

Terminal transcript of ztd mcp agent run goose against Ollama qwen2.5:0.5b, showing the echo tool call and the L1 denial of rm -rf /. ztd audit verify reporting Audit chain OK, and ztd report verify reporting Verification PASSED.

Click a screenshot to expand and zoom.

Denied call · L1 doctrine

status is EXECUTION_STATUS_FAILED. rejectionCode is GOVERNANCE_REJECTION_CODE_L1_DOCTRINE. The stage evidence outcome for L1 and L4 is DETERMINISTIC_STAGE_OUTCOME_FAILED. Nothing was executed.

{
  "actionType": "MCP_CALL",
  "deterministicStageEvidence": [
    {
      "actingAppId": "spiffe://ztd.local/app/goose",
      "actionType": "MCP_CALL",
      "clockDomain": "ztd-operator-process",
      "doctrineBundleHash": "b31668e1fc93e2db2de8579c71b2feeb078b63d533600c4b76e8989e04337af4",
      "doctrineBundleVersion": "ztd-l1-doctrine-v1",
      "investigationId": "917d1a94-0614-408b-9a0a-d60b65a70fb5",
      "kind": "DETERMINISTIC_STAGE_KIND_L1_DOCTRINE",
      "monotonicEndNs": "6998434637",
      "monotonicStartNs": "6998301256",
      "operatorId": "embedded-operator",
      "operatorSessionId": "0d025cc5-f003-4814-95d1-0a59fb27ceca",
      "outcome": "DETERMINISTIC_STAGE_OUTCOME_FAILED",
      "parentStageId": "45ee11aab730edb87b029b14e2aea8a0e4e5aace3424b71685dffda80ee0f412:DETERMINISTIC_STAGE_KIND_L4_VERIFICATION",
      "requestorUserId": "b2a9b50a-2aaa-4aac-9822-a44e39960eea",
      "stageId": "45ee11aab730edb87b029b14e2aea8a0e4e5aace3424b71685dffda80ee0f412:DETERMINISTIC_STAGE_KIND_L1_DOCTRINE",
      "stateRootBefore": "19797e2f432d6b418a2dfc3035f26213670d403d9b140e22373a4bd801fda1a7",
      "timingSource": "go_monotonic",
      "transactionHash": "45ee11aab730edb87b029b14e2aea8a0e4e5aace3424b71685dffda80ee0f412",
      "transactionId": "45ee11aab730edb87b029b14e2aea8a0e4e5aace3424b71685dffda80ee0f412"
    },
    {
      "actingAppId": "spiffe://ztd.local/app/goose",
      "actionType": "MCP_CALL",
      "clockDomain": "ztd-operator-process",
      "investigationId": "917d1a94-0614-408b-9a0a-d60b65a70fb5",
      "kind": "DETERMINISTIC_STAGE_KIND_L4_VERIFICATION",
      "monotonicEndNs": "6998490493",
      "monotonicStartNs": "6998089130",
      "operatorId": "embedded-operator",
      "operatorSessionId": "0d025cc5-f003-4814-95d1-0a59fb27ceca",
      "outcome": "DETERMINISTIC_STAGE_OUTCOME_FAILED",
      "requestorUserId": "b2a9b50a-2aaa-4aac-9822-a44e39960eea",
      "stageId": "45ee11aab730edb87b029b14e2aea8a0e4e5aace3424b71685dffda80ee0f412:DETERMINISTIC_STAGE_KIND_L4_VERIFICATION",
      "stateRootBefore": "19797e2f432d6b418a2dfc3035f26213670d403d9b140e22373a4bd801fda1a7",
      "timingSource": "go_monotonic",
      "transactionHash": "45ee11aab730edb87b029b14e2aea8a0e4e5aace3424b71685dffda80ee0f412",
      "transactionId": "45ee11aab730edb87b029b14e2aea8a0e4e5aace3424b71685dffda80ee0f412"
    }
  ],
  "eventType": "ztd.v1.operator.mcp.call.requested",
  "executedAtUnixMs": "1793214966774",
  "failureCode": "RECEIPT_FAILURE_CODE_GOVERNANCE_REJECTED",
  "finalPersistenceAttestation": {
    "auditRecordId": "45ee11aab730edb87b029b14e2aea8a0e4e5aace3424b71685dffda80ee0f412",
    "persistedAtUnixMs": "1793214966774",
    "receiptSignatureDigest": "35101f57fb3160e34182e709efc0b4e564f1d12e28ba226cf40df68a88b2ef15",
    "signature": "af43c84a4d8834ff300597d0da214cbc45b2d66658f6c59a206f33e16e36699e09a044b3e66324dca1f57305ce56a5305a57c3762b47697f83f9a07c8ce59e08",
    "signerKeyId": "5172ae5ebd2b6860ce1da43c3f77cc8adc378c02ff3684412c187a7b374a6f16",
    "transactionId": "45ee11aab730edb87b029b14e2aea8a0e4e5aace3424b71685dffda80ee0f412"
  },
  "l2Status": "L2_STATUS_NOT_REQUIRED",
  "l3Status": "L3_STATUS_NOT_REQUIRED",
  "rejectionCode": "GOVERNANCE_REJECTION_CODE_L1_DOCTRINE",
  "resultSummary": "rejected: TX_DOCTRINE_L1_FAILED: typed payload violates Doctrine (L1Doctrine) forbidden patterns: command threat detected: destroy_rm_rf_root (category: data_destruction, MITRE: T1485), command threat detected: destroy_rm_recursive_wide_target (category: data_destruction, MITRE: T1485)",
  "signature": "c1fc5f588bcf5ce81db23c1aebe0152dfd8ee98decc5faed3c74c68109814a626ce6dec57047a92ddb6a77478c7329377a4c3281c6c18e7165ddeda7b754450b",
  "signerKeyId": "5172ae5ebd2b6860ce1da43c3f77cc8adc378c02ff3684412c187a7b374a6f16",
  "stateRootBefore": "19797e2f432d6b418a2dfc3035f26213670d403d9b140e22373a4bd801fda1a7",
  "status": "EXECUTION_STATUS_FAILED",
  "transactionHash": "45ee11aab730edb87b029b14e2aea8a0e4e5aace3424b71685dffda80ee0f412",
  "transactionId": "45ee11aab730edb87b029b14e2aea8a0e4e5aace3424b71685dffda80ee0f412"
}

Allowed call · completed receipt

resultSummary is the Operator's record of echo: exit 0 and stdout ztd-smoke-ok. transactionHash is the canonical hash of the GovernanceEnvelope. The audit API returns this signed receipt; it does not re-export the envelope body.

{
  "actionType": "MCP_CALL",
  "deterministicStageEvidence": [
    {
      "actingAppId": "spiffe://ztd.local/app/goose",
      "actionType": "MCP_CALL",
      "clockDomain": "ztd-operator-process",
      "doctrineBundleHash": "b31668e1fc93e2db2de8579c71b2feeb078b63d533600c4b76e8989e04337af4",
      "doctrineBundleVersion": "ztd-l1-doctrine-v1",
      "investigationId": "cf22dfeb-9bd5-46e0-b4bf-002431bc4e1b",
      "kind": "DETERMINISTIC_STAGE_KIND_L1_DOCTRINE",
      "monotonicEndNs": "6989050812",
      "monotonicStartNs": "6988791371",
      "operatorId": "embedded-operator",
      "operatorSessionId": "0d025cc5-f003-4814-95d1-0a59fb27ceca",
      "outcome": "DETERMINISTIC_STAGE_OUTCOME_VERIFIED",
      "parentStageId": "ab33fd72b941d9d879c872d38b6f0169b936e0f5e21d5731fabf408a2b8b64fc:DETERMINISTIC_STAGE_KIND_L4_VERIFICATION",
      "requestorUserId": "b2a9b50a-2aaa-4aac-9822-a44e39960eea",
      "stageId": "ab33fd72b941d9d879c872d38b6f0169b936e0f5e21d5731fabf408a2b8b64fc:DETERMINISTIC_STAGE_KIND_L1_DOCTRINE",
      "stateRootBefore": "19797e2f432d6b418a2dfc3035f26213670d403d9b140e22373a4bd801fda1a7",
      "timingSource": "go_monotonic",
      "transactionHash": "ab33fd72b941d9d879c872d38b6f0169b936e0f5e21d5731fabf408a2b8b64fc",
      "transactionId": "ab33fd72b941d9d879c872d38b6f0169b936e0f5e21d5731fabf408a2b8b64fc"
    },
    {
      "actingAppId": "spiffe://ztd.local/app/goose",
      "actionType": "MCP_CALL",
      "clockDomain": "ztd-operator-process",
      "investigationId": "cf22dfeb-9bd5-46e0-b4bf-002431bc4e1b",
      "kind": "DETERMINISTIC_STAGE_KIND_PROTOCOL_L2",
      "monotonicEndNs": "6989057371",
      "monotonicStartNs": "6989056140",
      "operatorId": "embedded-operator",
      "operatorSessionId": "0d025cc5-f003-4814-95d1-0a59fb27ceca",
      "outcome": "DETERMINISTIC_STAGE_OUTCOME_NOT_REQUIRED",
      "parentStageId": "ab33fd72b941d9d879c872d38b6f0169b936e0f5e21d5731fabf408a2b8b64fc:DETERMINISTIC_STAGE_KIND_L4_VERIFICATION",
      "requestorUserId": "b2a9b50a-2aaa-4aac-9822-a44e39960eea",
      "stageId": "ab33fd72b941d9d879c872d38b6f0169b936e0f5e21d5731fabf408a2b8b64fc:DETERMINISTIC_STAGE_KIND_PROTOCOL_L2",
      "stateRootBefore": "19797e2f432d6b418a2dfc3035f26213670d403d9b140e22373a4bd801fda1a7",
      "timingSource": "go_monotonic",
      "transactionHash": "ab33fd72b941d9d879c872d38b6f0169b936e0f5e21d5731fabf408a2b8b64fc",
      "transactionId": "ab33fd72b941d9d879c872d38b6f0169b936e0f5e21d5731fabf408a2b8b64fc"
    },
    {
      "actingAppId": "spiffe://ztd.local/app/goose",
      "actionType": "MCP_CALL",
      "clockDomain": "ztd-operator-process",
      "investigationId": "cf22dfeb-9bd5-46e0-b4bf-002431bc4e1b",
      "kind": "DETERMINISTIC_STAGE_KIND_L3_NOTARY",
      "monotonicEndNs": "6989058786",
      "monotonicStartNs": "6989057726",
      "operatorId": "embedded-operator",
      "operatorSessionId": "0d025cc5-f003-4814-95d1-0a59fb27ceca",
      "outcome": "DETERMINISTIC_STAGE_OUTCOME_NOT_REQUIRED",
      "parentStageId": "ab33fd72b941d9d879c872d38b6f0169b936e0f5e21d5731fabf408a2b8b64fc:DETERMINISTIC_STAGE_KIND_L4_VERIFICATION",
      "requestorUserId": "b2a9b50a-2aaa-4aac-9822-a44e39960eea",
      "stageId": "ab33fd72b941d9d879c872d38b6f0169b936e0f5e21d5731fabf408a2b8b64fc:DETERMINISTIC_STAGE_KIND_L3_NOTARY",
      "stateRootBefore": "19797e2f432d6b418a2dfc3035f26213670d403d9b140e22373a4bd801fda1a7",
      "timingSource": "go_monotonic",
      "transactionHash": "ab33fd72b941d9d879c872d38b6f0169b936e0f5e21d5731fabf408a2b8b64fc",
      "transactionId": "ab33fd72b941d9d879c872d38b6f0169b936e0f5e21d5731fabf408a2b8b64fc"
    },
    {
      "actingAppId": "spiffe://ztd.local/app/goose",
      "actionType": "MCP_CALL",
      "clockDomain": "ztd-operator-process",
      "investigationId": "cf22dfeb-9bd5-46e0-b4bf-002431bc4e1b",
      "kind": "DETERMINISTIC_STAGE_KIND_L4_VERIFICATION",
      "monotonicEndNs": "6989059658",
      "monotonicStartNs": "6988506297",
      "operatorId": "embedded-operator",
      "operatorSessionId": "0d025cc5-f003-4814-95d1-0a59fb27ceca",
      "outcome": "DETERMINISTIC_STAGE_OUTCOME_VERIFIED",
      "parentStageId": "ab33fd72b941d9d879c872d38b6f0169b936e0f5e21d5731fabf408a2b8b64fc:DETERMINISTIC_STAGE_KIND_L5_EXECUTION",
      "requestorUserId": "b2a9b50a-2aaa-4aac-9822-a44e39960eea",
      "stageId": "ab33fd72b941d9d879c872d38b6f0169b936e0f5e21d5731fabf408a2b8b64fc:DETERMINISTIC_STAGE_KIND_L4_VERIFICATION",
      "stateRootBefore": "19797e2f432d6b418a2dfc3035f26213670d403d9b140e22373a4bd801fda1a7",
      "timingSource": "go_monotonic",
      "transactionHash": "ab33fd72b941d9d879c872d38b6f0169b936e0f5e21d5731fabf408a2b8b64fc",
      "transactionId": "ab33fd72b941d9d879c872d38b6f0169b936e0f5e21d5731fabf408a2b8b64fc"
    },
    {
      "actingAppId": "spiffe://ztd.local/app/goose",
      "actionType": "MCP_CALL",
      "auditRecordId": "ab33fd72b941d9d879c872d38b6f0169b936e0f5e21d5731fabf408a2b8b64fc",
      "clockDomain": "ztd-operator-process",
      "investigationId": "cf22dfeb-9bd5-46e0-b4bf-002431bc4e1b",
      "kind": "DETERMINISTIC_STAGE_KIND_RECEIPT_PERSISTENCE",
      "monotonicEndNs": "6989789921",
      "monotonicStartNs": "6989169106",
      "operatorId": "embedded-operator",
      "operatorSessionId": "0d025cc5-f003-4814-95d1-0a59fb27ceca",
      "outcome": "DETERMINISTIC_STAGE_OUTCOME_COMPLETED",
      "parentStageId": "ab33fd72b941d9d879c872d38b6f0169b936e0f5e21d5731fabf408a2b8b64fc:DETERMINISTIC_STAGE_KIND_L5_EXECUTION",
      "receiptSignatureDigest": "676ee78be0297e70a7a7af2bd0ebabfaed06cd4819275d41718333bca77b96fa",
      "requestorUserId": "b2a9b50a-2aaa-4aac-9822-a44e39960eea",
      "signerKeyId": "5172ae5ebd2b6860ce1da43c3f77cc8adc378c02ff3684412c187a7b374a6f16",
      "stageId": "ab33fd72b941d9d879c872d38b6f0169b936e0f5e21d5731fabf408a2b8b64fc:DETERMINISTIC_STAGE_KIND_RECEIPT_PERSISTENCE",
      "stateRootBefore": "19797e2f432d6b418a2dfc3035f26213670d403d9b140e22373a4bd801fda1a7",
      "timingSource": "go_monotonic",
      "transactionHash": "ab33fd72b941d9d879c872d38b6f0169b936e0f5e21d5731fabf408a2b8b64fc",
      "transactionId": "ab33fd72b941d9d879c872d38b6f0169b936e0f5e21d5731fabf408a2b8b64fc"
    },
    {
      "actingAppId": "spiffe://ztd.local/app/goose",
      "actionType": "MCP_CALL",
      "clockDomain": "ztd-operator-process",
      "commitmentHash": "090c9a4d3e83928d717931d8c57a6097100a103b81380ec9b2b10d46a349de87",
      "investigationId": "cf22dfeb-9bd5-46e0-b4bf-002431bc4e1b",
      "kind": "DETERMINISTIC_STAGE_KIND_COMMITMENT_APPEND",
      "monotonicEndNs": "6989791548",
      "monotonicStartNs": "6989169106",
      "operatorId": "embedded-operator",
      "operatorSessionId": "0d025cc5-f003-4814-95d1-0a59fb27ceca",
      "outcome": "DETERMINISTIC_STAGE_OUTCOME_COMPLETED",
      "parentStageId": "ab33fd72b941d9d879c872d38b6f0169b936e0f5e21d5731fabf408a2b8b64fc:DETERMINISTIC_STAGE_KIND_L5_EXECUTION",
      "priorCommitmentHash": "cf7a6798bd9a26a74988f57a36082cec2f8fcf26a41e244d488aa2734698d590",
      "requestorUserId": "b2a9b50a-2aaa-4aac-9822-a44e39960eea",
      "signerKeyId": "4c8648bf2ab752af43a8452fd70423f98cbb63a12d22d63189baaf03bb1425cb",
      "stageId": "ab33fd72b941d9d879c872d38b6f0169b936e0f5e21d5731fabf408a2b8b64fc:DETERMINISTIC_STAGE_KIND_COMMITMENT_APPEND",
      "stateRootBefore": "19797e2f432d6b418a2dfc3035f26213670d403d9b140e22373a4bd801fda1a7",
      "timingSource": "go_monotonic",
      "transactionHash": "ab33fd72b941d9d879c872d38b6f0169b936e0f5e21d5731fabf408a2b8b64fc",
      "transactionId": "ab33fd72b941d9d879c872d38b6f0169b936e0f5e21d5731fabf408a2b8b64fc"
    },
    {
      "actingAppId": "spiffe://ztd.local/app/goose",
      "actionType": "MCP_CALL",
      "clockDomain": "ztd-operator-process",
      "investigationId": "cf22dfeb-9bd5-46e0-b4bf-002431bc4e1b",
      "kind": "DETERMINISTIC_STAGE_KIND_L5_EXECUTION",
      "monotonicEndNs": "6991054277",
      "monotonicStartNs": "6989791700",
      "operatorId": "embedded-operator",
      "operatorSessionId": "0d025cc5-f003-4814-95d1-0a59fb27ceca",
      "outcome": "DETERMINISTIC_STAGE_OUTCOME_COMPLETED",
      "requestorUserId": "b2a9b50a-2aaa-4aac-9822-a44e39960eea",
      "stageId": "ab33fd72b941d9d879c872d38b6f0169b936e0f5e21d5731fabf408a2b8b64fc:DETERMINISTIC_STAGE_KIND_L5_EXECUTION",
      "stateRootAfter": "19797e2f432d6b418a2dfc3035f26213670d403d9b140e22373a4bd801fda1a7",
      "stateRootBefore": "19797e2f432d6b418a2dfc3035f26213670d403d9b140e22373a4bd801fda1a7",
      "timingSource": "go_monotonic",
      "transactionHash": "ab33fd72b941d9d879c872d38b6f0169b936e0f5e21d5731fabf408a2b8b64fc",
      "transactionId": "ab33fd72b941d9d879c872d38b6f0169b936e0f5e21d5731fabf408a2b8b64fc"
    }
  ],
  "eventType": "ztd.v1.operator.mcp.call.requested",
  "executedAtUnixMs": "1793214966767",
  "finalPersistenceAttestation": {
    "auditRecordId": "ab33fd72b941d9d879c872d38b6f0169b936e0f5e21d5731fabf408a2b8b64fc",
    "persistedAtUnixMs": "1793214966767",
    "receiptSignatureDigest": "d437d5b5245fe1539271ea53385d2cf3a4198640aa05a51a66b839276ffa5382",
    "signature": "c22dd8219beab88f9feb8dc5ac44b61e9ace7ac1df87edc1b5ff23c2fcc6201c224d235b70ceeb4bc99d3e99c478e9112ee63c11df3f5e18162b3e770bb5870d",
    "signerKeyId": "5172ae5ebd2b6860ce1da43c3f77cc8adc378c02ff3684412c187a7b374a6f16",
    "transactionId": "ab33fd72b941d9d879c872d38b6f0169b936e0f5e21d5731fabf408a2b8b64fc"
  },
  "l2Status": "L2_STATUS_NOT_REQUIRED",
  "l3Status": "L3_STATUS_NOT_REQUIRED",
  "resultSummary": "{\"exit_code\":0,\"stdout\":\"ztd-smoke-ok\\n\",\"stderr\":\"\",\"timed_out\":false,\"hostname\":\"localhost\"}",
  "signature": "7b6d5105e92d0790adf5d2ff6cac5236d4adb568559366cb22405b4f04c01a51567326d3a329e3fd6941390b581fdf5b00325de0085ca8329d83867479020501",
  "signerKeyId": "5172ae5ebd2b6860ce1da43c3f77cc8adc378c02ff3684412c187a7b374a6f16",
  "stateRootAfter": "19797e2f432d6b418a2dfc3035f26213670d403d9b140e22373a4bd801fda1a7",
  "stateRootBefore": "19797e2f432d6b418a2dfc3035f26213670d403d9b140e22373a4bd801fda1a7",
  "status": "EXECUTION_STATUS_COMPLETED",
  "transactionHash": "ab33fd72b941d9d879c872d38b6f0169b936e0f5e21d5731fabf408a2b8b64fc",
  "transactionId": "ab33fd72b941d9d879c872d38b6f0169b936e0f5e21d5731fabf408a2b8b64fc"
}

Commitment for the allowed call

The Auditor appended this row to the local commitment ledger. prior_commitment_hash links it to the previous row. ztd report verify recomputed the chain, the hashes, and the Auditor signatures. The denied call has a signed receipt and a persistence attestation. It is not a commitment: a commitment records a transaction that was authorized to execute.

{
  "seq": "5",
  "committed_at_utc": "2026-10-28T19:16:06Z",
  "transaction_id": "ab33fd72b941d9d879c872d38b6f0169b936e0f5e21d5731fabf408a2b8b64fc",
  "transaction_hash": "ab33fd72b941d9d879c872d38b6f0169b936e0f5e21d5731fabf408a2b8b64fc",
  "prior_commitment_hash": "cf7a6798bd9a26a74988f57a36082cec2f8fcf26a41e244d488aa2734698d590",
  "hash": "090c9a4d3e83928d717931d8c57a6097100a103b81380ec9b2b10d46a349de87",
  "state_root_at_commit": "19797e2f432d6b418a2dfc3035f26213670d403d9b140e22373a4bd801fda1a7",
  "action_type": "MCP_CALL",
  "auditor_key_id": "4c8648bf2ab752af43a8452fd70423f98cbb63a12d22d63189baaf03bb1425cb",
  "signature": "72e1a4bfd29d7ee37b5dca34120ef03e5668b376851d7a8eba04e5030ebf31ceb835897ef95f430b5bdf76af3b2aeda356d0b15955fecc8c1bf5fea3ed316f09"
}
transactionHashCanonical hash of the GovernanceEnvelope. The receipt and the commitment both bind this value. Changing the request changes the hash.
signatureEd25519 signature over the canonical receipt fields and the stage-evidence hash. signerKeyId is the Actuator public key id. It is not a hardware quote.
finalPersistenceAttestationA second signature that the receipt was written into the Operator's local events store, with the audit record id and the time it was persisted.
stateRootBefore / AfterState Merkle roots around the call. The denial has no after-root: execution did not run, so the root did not move.
l2Status / l3StatusUnder doctrine, consensus and human approval are not required. The receipt says NOT_REQUIRED. It does not claim a quorum or a passkey.
rejectionCodeOn the denial, GOVERNANCE_REJECTION_CODE_L1_DOCTRINE names the check that refused the payload: recursive deletion of a wide target (destroy_rm_rf_root, MITRE T1485).

The same feed, published for anyone to read: https://feed.opendevops.ai/pointer.json (the signed pointer naming the current read model) and https://feed.opendevops.ai/live/status.json (live run status). The read model names each settled run's bundle by digest, so ztd public verify-proof checks a run from the signed pointer down. These files are not a substitute for the Operator's local receipt.

ztd is source-available under the Business Source License 1.1. You may copy, modify, and run it for development, evaluation, and non-production use. Production use needs a commercial license from Lateralus Labs, LLC. Each version converts to the Apache License 2.0 four years after release, and no later than 2030-08-18. The commercial terms describe that license.

09 / Track record

Why serious infrastructure teams trust Lateralus Labs

ztd wasn't built by prompt engineers guessing how production works. It was architected from the ground up in static Go by a Principal SRE and Storage Architect who has commissioned warship IT from bare steel, operated Nike's global backup infrastructure for 15 years, and scaled multi-petabyte SaaS reliability from 0-to-1 through acquisition and public IPO.

  • Verify it yourselfRun ./ztd eval conformance run, the governance conformance suite, to check every L1–L5 claim locally. It needs no model.
  • Air-Gap & Edge NativeSingle static Go binary with local SQLite ledger, AES-256-GCM vault, and zero inbound ports on managed hosts.
  • U.S. & EU Deployment ReadyLed by a U.S. Navy Veteran and Dual U.S./German Citizen available for remote async architecture or forward-deployed engagements across North America and Europe.

// end of transmission

Let the model ask.
Let the machine decide.

Clone the repo and run a governed action on your own machine. The receipt below is from one of those runs. Email Danny directly.

10 / Contact

No SDRs. No discovery calls. Just engineering.

Send a short email with what you're building or what production fire you need fixed. You'll get a direct written response from Danny Barbour within one business day.

Terminal screenshot 100%