What Can Be Enforced? A Theory of Certified Runtime Safety for Tool-Using Agents

Shawn Ray
7/24/2026
cs.AIcs.CRcs.LG

No confident code implementation found for this paper.

Abstract

Runtime guardrails act before irreversible tool calls, but their guarantees depend on what policy state is representable, what a judge observes, and whether intervention changes future behavior. We separate three questions.

Show full abstract

First, relative to fixed oracle predicates, a deterministic gate enforces exactly the nonempty safety policies whose good prefixes its register model recognizes; policy nontriviality is undecidable with two decrementable counters but in PSPACE for a separable monotone fragment. Second, under a fixed exogenous law, Neyman-Pearson gives the exact false-block/miss frontier and conformal calibration gives a finite-sample marginal certificate, possibly via block-all. Third, once blocking changes future proposals, static scores and ungated trajectories need not identify the closed-loop frontier; a specified finite controlled model instead yields an occupancy program. Bounded representation attacks add a robustness margin, so benign calibration alone does not transfer. Experiments target these distinctions through static diagnostics, controlled-model enumeration, representation rewrites, and paired closed-loop reruns.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ray2026what,
  title  = {What Can Be Enforced? A Theory of Certified Runtime Safety for Tool-Using Agents},
  author = {Shawn Ray},
  year   = {2026},
  eprint = {2607.22868},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.22868v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.22868.svg)](https://codeofpaper.com/paper/2607.22868)

Discussion