Coding agents that rewind and try again

A rewind tool the agent calls itself.Files and context go back. The lesson stays.

Every step is saved: files and conversation.

Agents undo mistakes by hand.Now they can rewind.

Undoing puts the files back.The failed attempt stays in the agent’s context.

Undo by hand

Files restored. Context still full.

Rewind

Files and context restored. One note added.

Every run leaves a map

Sleeps don’t fix it. The expiry check is wrong.

One tool call.The agent makes it.

It picks the checkpointand writes the note.

In development.Starting with Pi.