Permit the Writes: A Weekend Outbox for Agent Side Projects
说明与用途
通过许可文件和 outbox 控制代理写入,只允许一次批准的写入,消除了测试中的不可预测文件更改。
问题
Agent demos often fail when the model mutates the working tree during exploration, causing unintended writes and test failures.
结果
The demo now produces a single, explicit write that a test can verify, eliminating flaky failures caused by unintended file mutations.
工作流
- Load a static allowlist of write paths from permits.json
- Intercept attempted writes and append them to outbox.jsonl instead of touching the tree
- Flush one approved record to the write root via a command that a test can run twice
证据
Catch attempted writes and append them to outbox.jsonl instead of touching the tree.
Flush one approved record through a command that a test can run twice.
- 记录日期: 2026-09-21T00:45:30.638Z