AI 编程 4.0 · 优秀 2026-10-29 · 论文

Soei: Structured Observability of Evidence and Intent for Multi-Agent AI Software Engineering

AI 编码 agent 的长程多会话工作缺少"实际做了什么"的可核查记录。作者先对照源码审计开源观测工具 Agenttrail,发现其 Map 服务有未认证本地修改面;再在 45 个真实编码会话(102,233 记录、20,577 工具执行)上跑原型:盲审分类器估计 23.4% 的代码编辑 episode 在最后一次编辑后无独立检查,57.8% 被标完成的 todo 中间无证据,42% 会话超 24 小时,16 个会话含 1,326 条疑似凭据字符串。提出 Soei:ack 感知事件 schema、哈希链本地账本、W3C PROV 对齐图谱,把完成声明与证据分开;账本仅占原始大小 20%,不存凭据,验证约 12.6 万事件/秒。

打开原文回到归档

Soei: Structured Observability of Evidence and Intent for Multi-Agent AI Software Engineering

中文导读

AI 编码 agent 的长程多会话工作缺少“实际做了什么”的可核查记录。作者先对照源码审计开源观测工具 Agenttrail,发现其 Map 服务存在未认证的本地修改面;再在 45 个真实编码会话(102,233 条记录、20,577 次工具执行)上运行原型:盲审分类器估计 23.4% 的代码编辑 episode 在最后一次编辑后没有独立检查,57.8% 被标记完成的 todo 缺少中间证据,42% 的会话超过 24 小时,16 个会话含 1,326 条疑似凭据字符串。据此提出 Soei:ack 感知的事件 schema、哈希链本地账本、与 W3C PROV 对齐的图谱,把“完成声明”与“证据”分开;账本只占原始数据约 20%。

为什么值得关注

AI 编码 agent 的长程多会话工作缺少"实际做了什么"的可核查记录作者先对照源码审计开源观测工具 Agenttrail,发现其 Map 服务有未认证本地修改面.

先审计工具、再量化盲区、再给协议的完整链条很少见;20% 的账本开销让“要不要为可审计性付出存储”有了直接依据,对 agent 工作留痕与合规审计都有参考价值。

关键信息

  • 论文标题: Soei: Structured Observability of Evidence and Intent for Multi-Agent AI Software Engineering
  • 作者: Mohammed Nayeem Khan, K S Sarun Kumar
  • arXiv: https://arxiv.org/abs/2610.39468
  • 发布时间: 2026-10-29
  • arXiv 分类: Software Engineering (cs.SE); Artificial Intelligence (cs.AI); Multiagent Systems (cs.MA)
  • 关联标签: coding-agents, observability, provenance, audit

English Abstract

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.

English Summary

AI coding agents now do long, multi-session software work with little supervision; the useful question when a developer returns is what was actually done, by whom, and whether it is finished. The authors audit the open-source observability tool Agenttrail against its source (documented mechanisms hold, but its Map service has an unauthenticated local mutation surface), then run a prototype on 45 real coding-agent sessions (102,233 records, 20,577 tool executions, 2,336 human-to-agent episodes): a blind-audited classifier (precision 83.3%/96.7%) estimates 23.4% of code-editing episodes end with no independent check after the last edit, 57.8% of todos marked complete after editing had no proof in between, 42% of sessions run longer than 24 hours, and 1,326 records contain credential-like strings....

Obsidian Notes

  • 内容在 opencli arxiv paper 返回 HTTP 429 后,改由 opencli web read 抓取 arXiv 官方 abs 页面的可见元数据(标题、作者、提交日期、摘要、Subjects)生成;opencli 优先已尝试。
  • 中文导读与价值判断均锚定在条目已有摘要、论文摘要、作者、日期与分类信息上;未补充论文摘要之外的实验细节。