Original: Simon Willison · 19/02/2026
Summary
Reached the stage of parallel agent psychosis where I’ve lost a whole feature. Reached the stage of parallel agent psychosis where I’ve lost a whole feature - I know I had it yesterday, but I can’t seem to find the branch or worktree or cloud instance or checkout with it in.Key Insights
“Reached the stage of parallel agent psychosis where I’ve lost a whole feature.” — Describing the frustration of losing a feature’s code.
“Turns out I’d been hacking on a random prototype in /tmp.”
— Explaining how the code was lost due to a computer crash.
“It’s all still there in ~/.claude/projects/ session logs and Claude Code can extract it out.”
— Highlighting Claude Code’s ability to recover lost code from session logs.
Topics
Full Article
Published: 2026-02-19
Source: https://simonwillison.net/2026/Feb/19/recovering-lost-code/#atom-everything
Reached the stage of parallel agent psychosis where I’ve lost a whole feature - I know I had it yesterday, but I can’t seem to find the branch or worktree or cloud instance or checkout with it in. … found it! Turns out I’d been hacking on a random prototype in
/tmp and then my computer crashed and rebooted and I lost the code… but it’s all still there in ~/.claude/projects/ session logs and Claude Code can extract it out and spin up the missing feature again.
Key Takeaways
Notable Quotes
Reached the stage of parallel agent psychosis where I’ve lost a whole feature.Context: Describing the frustration of losing a feature’s code.
Turns out I’d been hacking on a random prototype in /tmp.
Context: Explaining how the code was lost due to a computer crash.
It’s all still there in ~/.claude/projects/ session logs and Claude Code can extract it out.
Context: Highlighting Claude Code’s ability to recover lost code from session logs.
Related Topics
- [[topics/prompt-engineering]]
- [[topics/agent-native-architecture]]
- [[topics/claude-code]]
Related Articles
AI coding tools are perhaps our new terminal emulators
Geoffrey Huntley · explanation · 65% similar
My AI Had Already Fixed the Code Before I Saw It
Dan Shipper (Every) · explanation · 65% similar
How I Use Claude Code to Ship Like a Team of Five
Dan Shipper (Every) · explanation · 65% similar
Originally published at https://simonwillison.net/2026/Feb/19/recovering-lost-code/#atom-everything.