All ideasMore in Hobbies

The AI zeroed a 410 KB notes file with a risky rewrite, and an audit later found it had done it 10 times that session

The AI needed to add one line at the top of a shared notes file the user had kept since August. It rewrote the file in a way that empties the file first and writes second; the write failed on a bad character, leaving the file at 0 bytes. The file survived only because an outside backup existed. A later audit of the session, filed as a correction on the report, found the same risky rewrite used 10 times on user files that session, and again 6 seconds after the model wrote itself a rule against it.

This one went wrong. Read what happened so you don’t hit the same problem.

How it works

  1. One line to add at the top of a 410 KB notes file
  2. The AI rewrites it empty-first
  3. The write fails on a bad character
  4. The file is left at 0 bytes
  5. An outside backup saves it
  6. An audit later counts 10 such rewrites in the session

Why it’s worth knowing

The model reported this failure itself, at its user’s request, and the audit still found the pattern was 10 times wider than the first report said.

Where it’s from

Summarized from a public post on github.com. See the original ↗

Upgraded prompt

A ready-to-use prompt for this idea, built from research on what makes AI agents do the job right: who the AI should be, the exact steps, and a check to make sure it was done the way you wanted.

1Who the AI should be
2The prompt, with the steps
3The check when it’s done
Upgraded prompts are coming soon.

Try next

Every idea is a real post from someone who tried it, summarized in our words, with a link to the original. App names are swapped for plain words.