arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.22504cs.CRcs.AIcs.SE
收藏

挥之不去的权限:面向编码智能体的可撤销资源与效果能力

Lingering Authority: Revocable Resource-and-Effect Capabilities for Coding Agents

International University of La Rioja(拉里奥ja国际大学)

Igor Santos-Grueiro

AI总结:

针对编码智能体中临时权限残留问题,提出PORTICO监控器,通过可撤销能力生命周期管理,在保持任务成功率的同时消除越权副作用。

摘要:

编码智能体通常在整个任务中获得广泛的工具访问权限,即使某个资源仅用于一个子目标。我们将这种差距称为挥之不去的权限:在证明其合理性的情节结束后,临时的资源/效果能力仍然暴露。PORTICO是一个针对暴露给规划器的可撤销能力的引用监控器。它将显式的任务契约编译为初始能力、授权规则、可信关闭谓词和全局拒绝规则。请求-授权-调用生命周期将扩展实现为不透明的、受纪元限制的句柄。关闭操作从下一个规划器接口中移除这些句柄,并在副作用发生前拒绝过时的重放。监控器假设中介工具和健全的类型化目录。在受控的编码智能体任务中,PORTICO在评估的运行中没有记录任何执行契约禁止的效果,而受控授权恢复了被固定窄边界封锁的边界工作。一个非撤销比较器在相同的轮次接收相同的初始边界和相同的授权。在关闭切片上,两个系统在任务成功、范围合规性和所有关闭前决策上匹配;然后PORTICO拒绝10/10的后关闭重用,而比较器允许10/10。确定性过期写入审计记录0/6对比6/6的执行禁止效果。脚本化轨迹和六个实时模型轨迹在文件写入、git变异和网络出口上显示相同的分裂。在一个四情节同策略诊断中,广泛请求暴露保持了零执行禁止效果,但将阻止的提议从67增加到84。冻结的真实仓库运行,记录了提交和轨迹,在真实项目布局上执行相同的生命周期。

英文摘要:

Coding agents often receive broad tool access for an entire task, even when a resource is needed only for one subgoal. We call this gap lingering authority: a temporary resource/effect capability remains exposed after the episode that justified it has closed. PORTICO is a reference monitor for revocable capabilities exposed to the planner. It compiles an explicit task contract into initial capabilities, grant rules, trusted closure predicates, and global deny rules. A request-grant-invoke lifecycle materializes expansions as opaque, epoch-bound handles. Closure removes those handles from the next planner interface and rejects stale replay before side effects. The monitor assumes mediated tools and a sound typed catalog. In controlled coding-agent tasks, PORTICO records no executed contract-forbidden effects in the evaluated runs, while controlled grants recover boundary work blocked by a fixed narrow envelope. A non-revoking comparator receives the same initial envelope and the same grants at the same turns. On the closure slice, both systems match task success, scope compliance, and all pre-closure decisions; PORTICO then rejects 10/10 post-closure reuses, while the comparator permits 10/10. A deterministic stale-write audit records 0/6 versus 6/6 executed forbidden effects. Scripted traces and six live model traces over file writes, git mutation, and network egress show the same split. In a four-episode same-policy diagnostic, broad request exposure preserves zero executed forbidden effects but raises blocked proposals from 67 to 84. Frozen real-repository runs, with commits and traces recorded, exercise the same lifecycle on real project layouts.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑