Soei:面向多智能体人工智能软件工程的证据与意图结构化可观测性
Soei: Structured Observability of Evidence and Intent for Multi-Agent AI Software Engineering
AI总结:
本研究针对多智能体AI软件工程的可观测性问题,验证了Agenttrail工具的漏洞,在真实会话上开展测试,提出Soei结构化可观测性方案,实现高效验证与篡改检测,定义了自主级别。
摘要:
当前AI编码智能体可在极少监督下完成长周期、多步骤、多会话的软件开发工作。当开发者后续查看该工作时,有价值的问题并非模型说了什么,而是实际完成了什么、由谁完成以及是否已完成。我们从三个部分展开研究:第一,针对开源本地编码智能体可观测性工具Agenttrail,基于其commit e4ba2da的源代码进行验证,发现9个已记录的常量和机制在文件与行级别成立,2个事件管道从未统一,且其Map服务存在未认证的本地变更面;第二,在45个真实编码智能体会话(含102233条记录、20577次工具执行、2336次人与智能体交互回合)上运行我们系统的原型,采用盲审分类器(精确率分别为83.3%和96.7%)估算,23.4%(95%置信区间17.1至35.7)的代码编辑回合在最后一次编辑后无独立检查,且智能体标记为完成的待办事项中,57.8%在中间无证据支持;用于会话交接的10分钟计时启发式方法可恢复内容谱系链接的24个会话对中的6个,42%的会话运行时长超过24小时,48.1%的转录字节超出2MiB重放限制,16个会话中的1326条记录包含类似凭证的字符串;第三,我们提出Soei(Structured Observability of Evidence and Intent):一种感知确认的事件模式、哈希链式本地账本、符合W3C PROV标准的图谱、用于归因与谱系的校准推理,以及将完成声明与证据分离的验证层。在同一语料库上,该账本大小为原始数据的20%,不存储内容或凭证,验证速度约为126000事件/秒,可确定性检测篡改与重放。我们将该工作与同期2026年提案进行定位,并基于我们的数据定义带有证据门控和基准度量的自主级别。
英文摘要:
AI coding agents now do long, multi-step and multi-session software work with little supervision. When a developer comes back to that work, the useful question is not what the model said but what was actually done, by whom, and whether it is finished. We study this in three parts. First, we verify Agenttrail, an open-source local observability tool for coding agents, against its source at commit e4ba2da: nine documented constants and mechanisms hold at file-and-line level, two event pipelines are never unified, and its Map service has an unauthenticated local mutation surface. Second, we run a prototype of our system on 45 real coding-agent sessions (102,233 records, 20,577 tool executions, 2,336 human-to-agent episodes). With a blind-audited classifier (precision 83.3% and 96.7%) we estimate that 23.4% (95% CI 17.1 to 35.7) of code-editing episodes end with no independent check after the last edit, and that 57.8% of to-dos the agent marked complete after editing had no proof in between. A 10-minute timing heuristic for session hand-offs recovers 6 of the 24 session pairs that content lineage links. 42% of sessions run longer than 24 hours, 48.1% of transcript bytes lie past a 2 MiB replay bound, and 1,326 records in 16 sessions contain credential-like strings. Third, we propose Soei (Structured Observability of Evidence and Intent): an acknowledgement-aware event schema, a hash-chained local ledger, a W3C PROV-aligned graph, calibrated inference for attribution and lineage, and a verification layer that keeps a claim of completion apart from proof. On the same corpus the ledger is 20% of raw size, holds no content or credentials, verifies at about 126k events/s, detects tampering and replays deterministically. We position the work against concurrent 2026 proposals and define autonomy levels with evidence gates and harness metrics baselined on our data.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。