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