Memory ratcheting

Each correction an agent writes for itself stays, so its behaviour only ever tightens.

By Mackenzie Bowes · mackenzie@mackenziebowes.com · @_mackenziebowes on X

When an agent may write its own memories, rules or skills, every correction becomes a permanent line. Lines are added and almost never taken out, and each new line is written in the light of the old ones. Over weeks the agent's instructions move only one way, toward more caution and more guards, and away from what the person running it asked for.

Our own runs: by November 2026 our agents had written 58 global skills and a set of shared rules for themselves. One of our published skills, encode-lessons, turned each repeated correction into a guard. On 17 November we archived every agent's memory into notes. On 18 November we deleted the 58 skills and most of the rules, and turned memory off for every agent (why letting Claude prompt itself fails).

Synthesis: this grows with time the way drift over time does, but drift loses the thread, and ratcheting holds onto it too hard. Guards: human-held prompts and fresh starts. No published study yet; this page rests on our own runs.

Is a

  • Failure kind: A property of how a coding agent fails, so any future failure that fails the same way belongs to it.

Guarded by

  • Fresh starts: Restart the agent when a condition is met, not on a calendar.
  • Human-held prompts: A person writes and edits the agent's instructions, skills and permissions; the agent doesn't write its own.

Grows with

Can cause

  • Ossification: The agent turns a choice that suits today into structure that is hard to change later.
  • Padding: Extra instructions that cost and do not help.
  • Security spazz out: The agent guards against the people it serves, beyond what was asked, and the guards outlive the reason for them.

Grows with this

  • Ossification: The agent turns a choice that suits today into structure that is hard to change later.
  • Security spazz out: The agent guards against the people it serves, beyond what was asked, and the guards outlive the reason for them.