Proof-Carrying Agent Work: Evidence-Gated Execution and Spec-Bound Behaviour Proofs
Public technical disclosure. This technical note discloses, in reproducible detail, the methods implemented by the KOAN agent runtime and the Agent Foundry specification compiler, and is published as a dated, citable record of the work. KOAN makes the runtime, not the model, the author of the evidence: the model requests a command, the runtime executes it without a shell or pipes inside a kernel-enforced sandbox, records the literal argv, raw exit status, repository diff hash and changed-file set, and refuses completion unless the work is observable, fresh, backed by an eval on the same agent-spec hash, and consistent with a fresh code-graph impact gate. Every step is appended to a BLAKE3 hash chain; code-intelligence context is bound into the chain as hashed blobs; verification is offline and reports the first altered event. KOAN is model-agnostic: any OpenAI-compatible provider — a hosted API such as OpenCode, DeepSeek or a Claude gateway, or a local server — can drive it. Keys stay on the machine, and the runtime, not the model, produces the evidence. Agent Foundry binds an agent's behaviour to bytes: a spec content hash, the hash of every compiled target, the probe-set hash and the judge's identity and sampling policy are sealed with Ed25519 into a portable proof that verifies offline and gates promotion. Its ablation procedure deletes one spec unit at a time, re-runs probes, and reports paired per-probe deltas with a seeded cluster-bootstrap interval and a token report, so a behaviour claim names the line that carries it. The deposit contains the paper (Markdown, HTML, PDF), the exact source trees at named commits, a SHA-256 manifest and an OpenTimestamps proof. Hash chains, signatures, sandboxing, evaluation and ablation are prior art and are not claimed as such; the disclosure is their specific binding into one verifiable unit (constructs C1–C7 in the paper). Licence: paper CC BY 4.0; KOAN AGPL-3.0-or-later; Agent Foundry Apache-2.0.
Authors
- Ayhem Kahri
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-01
- DOI
- https://doi.org/10.5281/zenodo.24721210
- Primary Topic
- Security and Verification in Computing
- Type
- article
- Field-Weighted Citation Impact
- 0.00