← Reddit

Thanks to a Redditor, I recovered the 2 days I thought I lost

Reddit · softdeveloper23 · June 19, 2026
A user recovered two days of work from a lost Cowork session by retrieving locally saved .jsonl files that contained the complete conversation history. Another Redditor identified that Cowork and Claude Code store session data locally, allowing the lost content to be reconstructed even after a rollback. The recovered data yielded 300 messages representing the full two-day work session.

Detailed Analysis

A Reddit user on r/ClaudeAI successfully recovered two days of lost work from a Cowork session after a rollback, thanks to community knowledge shared by fellow user u/SleepyWulfy. The recovery was made possible by a largely undocumented but consequential architectural detail: both Cowork and Claude Code automatically persist every session — including chat messages and tool calls — as append-only `.jsonl` log files stored locally on the user's machine. By locating the correctly dated file under `~/Library/Application Support/Claude/local-agent-mode-sessions/` (or `~/.claude/projects/` for Claude Code), the original poster was able to direct Claude to parse the file, filter out the voluminous tool-call entries, and reconstruct a clean transcript of approximately 300 messages spanning the full two-day session.

The significance of this recovery lies partly in the gap between what users assume about AI session persistence and what is actually happening at the system level. The original poster had believed the verbatim transcript was the one irretrievable artifact of the rollback — yet it had been silently written to local disk the entire time. The `.jsonl` format, which appends each event as a discrete JSON line rather than overwriting a single file, is a standard pattern in distributed systems for exactly this reason: it prioritizes durability and recoverability. That this mechanism existed and functioned correctly, but remained unknown to the user until a community member surfaced it, points to a meaningful documentation gap in how Anthropic communicates the data lifecycle of agentic sessions to end users.

This episode is representative of a broader dynamic emerging around Claude's agentic tooling products, including Claude Code, which has seen rapid adoption among developers using it for extended, multi-session coding workflows. As these tools are used for increasingly long and consequential work sessions, the stakes of session loss rise substantially. The community's role in surfacing recovery procedures — rather than official documentation or in-product guidance — reflects a pattern common in the early stages of developer tooling ecosystems, where power users collectively build institutional knowledge faster than official channels can codify it. The r/ClaudeAI subreddit effectively functioned here as a peer support network filling a product knowledge gap.

More broadly, the incident underscores a tension in the design of AI-native development environments: the tools are powerful enough to support multi-day, high-stakes workflows, yet their durability and recovery characteristics are not yet prominently surfaced to users. The append-only log architecture is a robust foundation — it is precisely the kind of design choice that enables recovery scenarios like this one — but its value is entirely contingent on users knowing it exists. As Anthropic continues to develop and market Claude Code and related agentic products for professional use, clearer communication about session persistence, log locations, and recovery procedures would reduce the risk of users experiencing unnecessary data loss anxiety and would reinforce trust in the platform's reliability for serious work.

Read original article →