State-Diff as the Universal Agent Score

Read full text
Authors: Rogério Figurelli
Cited by: 0

Abstract

Tool-using agents increasingly act across heterogeneous systems — tickets, codebases, documents, databases, calendars, CRMs — yet their evaluation often remains narrative: a judge model reads an agent’s explanation and decides whether the task “sounds done.” This creates a systematic failure mode: false positives where the narrative is coherent but the world-state remains unchanged, partially changed, or changed incorrectly. Our work proposes State-Diff (SD) as a universal outcome contract and score for agents: define success in terms of a measurable, typed change between a pre-state S₀ and a target state S★, scored by a field-aligned distance on the resulting diff. SD is designed to be portable across tools, replayable for governance, and resistant to ambiguity laundering and post-hoc rationalization. We formalize state schemas, a diff operator, and a universal scoring function U(S₀, S_T, S★) that supports abstention under partial observability. We argue that SD reduces narrative-induced false positives by replacing “story completion” with “state completion,” aligning evaluation with audit requirements and risk management.

Fields of Study & Subjects

Artificial Intelligence Applications Ethics and Social Impacts of AI AI-based Problem Solving and Planning

Publication details

Journal / source
Zenodo (CERN European Organization for Nuclear Research)
Publication date
15 February 2026
Language
EN
Document type
Preprint