Service restarted from inside a Claude Code session stops saving transcripts: strip inherited CLAUDE_CODE_* variables
This story is from 2026-11-15. It is preserved in the archive; the latest stories are on the live feed.
Fix: if you restart a long-running Claude Code service from inside a Claude Code session, the new process inherits that session's CLAUDE_CODE_* environment variables and can run as the session's child, with transcript saving off. Strip the inherited CLAUDE_CODE_* variables in the launcher (keep onl…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-11-15 10:26 · DEV Community — AI
Service restarted from inside a Claude Code session stops saving transcripts: strip inherited CLAUDE_CODE_* variables