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

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Proof-Carrying Agent Work: Evidence-Gated Execution and Spec-Bound Behaviour Proofs

Ayhem Kahri
Zenodo (CERN European Organization for Nuclear Research)
Security and Verification in Computing
article

Proof-Carrying Agent Work: Evidence-Gated Execution and Spec-Bound Behaviour Proofs

Ayhem Kahri
article en

Abstract

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.

Zenodo (CERN European Organization for Nuclear Research)
Security and Verification in Computing
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
Proof-Carrying Agent Work: Evidence-Gated Execution and Spec-Bound Behaviour Proofs — Ayhem Kahri · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS