/AI5h ago

Anthropic's Gian Segato used Claude to recover a lost document by parsing raw SQLite database overflow pages

Claude recovered the deleted draft from Alfred's clipboard history

--0--
Quote posts
Comments
Original post
martin_casado@martin_casado#470inAI

Holy shit ....

gian@giansegato

spent my 11-hour flight back from europe working on a very long report. started as a slack message but morphed into a several pages long doc. wifi was as shitty as it gets. after finally making it home i realized that the computer had forcefully restarted. opened slack: draft was gone :(

hail mary: claude pls save me, no clue how but pls try

it checked APFS snapshots, time machine, slack indexeddb, write-ahead logs, service worker / http caches, local storage, app logs, hibernation image... nothing. all gone

but then... it realized i have alfred installed. so it checked the clipboard snapshots alfred keeps in sqlite. sad news: alfred clipboard memory gets deleted after 24h. aggressive retention policy. however! when sqlite runs DELETE, nothing gets actually deleted. it only marks pages as reusable, but it doesn't override the physical bytes. so claude decided to do a raw-scan of the db, reverse eng alfred data format, figure out the portion containing the timestamp, stitched everything back together across overflow pages... and handed me the exact final version of my report, the last one i cmd+C'd

all this, in a single shot

... day 200 of "what if you had an elite hacker you can ask anything to"

10:09 PM · May 31, 2026 · 31.3K Views
Sentiment
Sentiment unavailable for this story.
Cluster Engagement
-
Views
-
Comments
-
Reposts
-
Bookmarks
Expand data
Posts from X
Most Activity
Most ActivityTimeline
VIEWS1.9KLIKES14RETWEETS1
Nick Dobos@NickADobos

computers are fundamentally different objects than 9 months ago

gian@giansegato

spent my 11-hour flight back from europe working on a very long report. started as a slack message but morphed into a several pages long doc. wifi was as shitty as it gets. after finally making it home i realized that the computer had forcefully restarted. opened slack: draft was gone :(

hail mary: claude pls save me, no clue how but pls try

it checked APFS snapshots, time machine, slack indexeddb, write-ahead logs, service worker / http caches, local storage, app logs, hibernation image... nothing. all gone

but then... it realized i have alfred installed. so it checked the clipboard snapshots alfred keeps in sqlite. sad news: alfred clipboard memory gets deleted after 24h. aggressive retention policy. however! when sqlite runs DELETE, nothing gets actually deleted. it only marks pages as reusable, but it doesn't override the physical bytes. so claude decided to do a raw-scan of the db, reverse eng alfred data format, figure out the portion containing the timestamp, stitched everything back together across overflow pages... and handed me the exact final version of my report, the last one i cmd+C'd

all this, in a single shot

... day 200 of "what if you had an elite hacker you can ask anything to"

2hViews 1.9KLikes 14Bookmarks 0