Spielerando

My AI wrecked the project and the only saved copy was ten minutes old

Keeping every copy fills the disk, and keeping only the latest ones means the last good copy is soon gone after a run of bad edits. This helper decides which saved copies to keep and which to delete, and never loses the last one that worked.

Why this works

Recent copies catch a mistake you just made, one copy per day covers a mistake you found late, and copies you marked as working protect against a run of broken edits that would push the good one out.

When not to use it

A project that is small enough to keep every copy for its whole life needs no pruning. Use it once the saved copies become noticeable in size or in number.

In the full entry

  • What to build, step by step
  • Starting values and the reason for each
  • 3 common mistakes and the fix
  • 31 lines of example code with 4 checks that pass
  • How your AI shows you that it works

Say this to your AI

Use the Spielerando entry "My AI wrecked the project and the only saved copy was ten minutes old" (read_entry work-act-which-backups-to-keep) in my game. Build it step by step, and show me how you checked that it works.

Or skip this and connect the MCP: your AI then finds all of this by itself.Connect the MCP