计算机科学 > 密码学与安全
[提交于 2026年11月30日]
标题:No Decision Without a Record: Fail-Closed Evidence Completeness and Its Cost in an Agent Policy Decision Point
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:AI agents act through tool calls. A governance layer decides whether each call may run and keeps a tamper-evident record of the decision. Tamper evidence does not imply completeness: a hash chain that has lost its newest entries still verifies. We measure whether such a record stays complete when the system fails. The system studied is a policy decision point (PDP) that commits each decision to a per-tenant hash chain in PostgreSQL before it answers, and answers HTTP 503 instead when it cannot. We state five properties of the record and check them with a client-side oracle that compares every request with the chain. In 70 runs with 13 kinds of injected fault (crash, freeze, network partition, slowness, full storage; 155,946 requests), the oracle found no returned decision missing from the chain, none recorded twice and no record without a request. A control with asynchronous commit lost 7 acknowledged decisions in 5/5 runs while every chain still verified. The faults did leave records of decisions that never reached the client in time (287 unanswered, 4,548 late), so the chain lists decisions, not executions. Through the client library (SDK), under three of the faults, no call of a fail-closed enforcing role ran without a recorded ALLOW. The price is a per-tenant limit: the append holds a row lock and takes about 45% of a decision's server time at low load, and one tenant sustained a median of 58.5 decisions per second with a 99th-percentile latency of at most 500 ms. All measurements come from one laptop and describe this design on that machine, not a general capacity.
提交历史
来自:Animesh Shaw[v1] 2026年11月30日 星期一 09:39:20 UTC (7,604 KB)