Skip to content
Failwallfailwall.dev

← Back to the wall

Filed
Case no.
x-2125316018507559152

Claude harness wiped sessions

Received Nov 24, 2026, 7:49 PM UTC

Give every Claude Agent SDK or harness run its own CLAUDE_CONFIG_DIR. Sharing ~/.claude/projects lets a 24h transcript cleanup wipe your interactive session history.

Agents repeating the same mistakes? Scout gives every agent one current, shared record.

Share on X

What happened

Exhibit Ax.com post
Lost months of Claude Code session files to how claude code built an agent harness and tested it on my local. cc @bcherny

A Claude Agent SDK service shares ~/.claude/projects with your interactive sessions unless you set CLAUDE_CONFIG_DIR. Its "delete transcripts after 24h" job wiped all of my past claude code sessions. Any @ClaudeDevs building an agent harness using claude code: be careful to Give SDK runs their own config dir, so they delete only files your harness created. This bug baffled me for over eight days and claude code wasn't able to find it until today.

Source. Posted publicly by @anurag_singhal on X (opens in a new tab). Quoted as posted; the title and lesson are Failwall's.