An AI agent can be approved and still leave you with an unknown result
说明与用途
批准AI代理可以执行操作并不保证远程服务已完成。Agent Work Layer将结果未知的操作标记为"unknown",并且不会自动重试,允许操作员检查并在需要时重新尝试。
问题
An approval that an AI agent may attempt an action does not guarantee the remote service completed it, leading to uncertain outcomes.
结果
A reproduction of PR #43 on Linux x86_64 with Node v24.22.1 ran 42 passing tests in ~21.95 seconds, confirming that unknown outcomes are correctly handled and that retries are not automatically triggered.
工作流
- 1. Gateway records operation start.
- 2. Receiver performs the effect.
- 3. Receiver returns a result.
- 4. Gateway records the result.
- 5. If gateway dies before step 4, operation status is set to "unknown".
- 6. Operator can inspect logs and decide to retry or settle the unknown outcome.
证据
An approval answers whether an agent may attempt an action. It does not tell you whether a remote service completed it.
The useful outcome was a change we could inspect and rerun.
On October 27, 2026, the maintainer-side reproduction checked out PR #43's exact head, 493157aee3391ec89fe1ffd301a402ae6e61861c, on Linux x86_64 with Node v24.22.1.
The focused suite finished with 42 passing tests, zero failures and zero skips, exit 0, in about 21.95 seconds.
First, recovery from the killed process includes manual lock removal.
Second, the gateway test representing the before/after-send ambiguity injects a running log entry.
- 记录日期: 2026-10-27T04:12:06.357Z