Part 8 of 13 · 1 min read
Mistakes that defeat offloading or the sandbox
Common mistakes, and what the example does not do.
- A stub that contains the answer, or no title at all. The first wastes the saving; the second makes the agent open every file.
- Letting
readreturn the whole file. One call undoes the saving. - Filling notes with raw output. Notes are in every request; keep decisions and findings.
- Trusting
".." not in path. Symlinks anda/../../xget through; resolve first. - Writing in place. A crash or a concurrent reader sees half a file.
- Treating file contents as instructions. A file the agent saved from a web page is still a web page.
- Offloading things the agent needs on every step. The stub then costs a read each time; keep those in the window.