Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(scripts): document fix for assistant file creation reliability

Steven Enamakeldbf4ad454d17
diff --git a/scripts/life-scenarios/FINDINGS.md b/scripts/life-scenarios/FINDINGS.md
index b609278c77..de28b8fbf6 100644
--- a/scripts/life-scenarios/FINDINGS.md
+++ b/scripts/life-scenarios/FINDINGS.md
@@ -73,10 +73,19 @@ Ordered by severity.
---
-## 1. The assistant cannot reliably create a file
+## 1. The assistant cannot reliably create a file — FIXED
**Severity: high. The cause of four of the six empty scenarios.**
+**Fixed** by, in order of how much each mattered: unpacking `file_write` from
+the `files` pack (`tools/toolpacks/registry.rs`) so `close_handed_off_packs` can
+no longer deny the orchestrator its only file creator; granting the configured
+`action_dir` as a `ReadWrite` trusted root in `SecurityPolicy::from_config`;
+`strip_quoted_heredoc_bodies` (`policy_command/quoting.rs`), so a `&` in a
+`<< 'EOF'` body is data rather than a background operator; an `apply_patch`
+create mode (empty `old_string` on a path that does not exist); and
+`[autonomy] enabled`, now defaulting to `false`. See the post-fix table above.
+
Four mechanisms compose so that the orchestrator has no working route to
writing a new file. Full trace, with the transcript for each step, in
[`DIAGNOSIS.md`](DIAGNOSIS.md) — summarised here: