Overheard on GitHub
A Claude Code User Reports Their Hooks Vanished After an Overnight Container Swap
A GitHub bug report filed on 8 November says a long-running Claude Code cloud session lost its user settings file when its container was swapped overnight. Every user-level hook stopped firing, the reporter says, and, according to the report, nobody was warned about the settings reset: the session did show a notice that its container was replaced, but nothing said the settings had been wiped or that hooks had stopped.

A GitHub bug report, anthropics/claude-code issue 108252, filed November 8, 2026 and tagged as a bug with a repro, says a long-running Claude Code cloud session lost its user settings file when its container was replaced overnight. The reporter says ~/.claude/settings.json read {} afterwards, so the UserPromptSubmit and Stop hooks no longer ran.
The report says the session did display a notice that its container was replaced, but that no warning was shown to the user or the agent about the settings reset or the hooks stopping. It lists Claude Code 2.1.319 and macOS as the environment. It links to related reports of hooks that never fire in new sessions and of ~/.claude being silently reset on Windows, with the cause unknown.
This is a user's report, not a confirmed product-wide event. No reply from the maintainers appeared on the issue when we read it.
Key facts
- The report is anthropics/claude-code issue 108252, filed November 8, 2026, and tagged as a bug with a repro.
- The reporter says ~/.claude/settings.json read {} after the container was replaced, so the UserPromptSubmit and Stop hooks no longer ran.
- The report says the session itself displayed the notice "This session's container was replaced", but that no warning was shown to the user or the agent about the settings reset or the hooks stopping. It lists Claude Code 2.1.319 and macOS as the environment.
- It links to related reports of hooks that never fire in new sessions and of ~/.claude being silently reset on Windows, with the cause unknown.
- No reply from the maintainers appeared on the issue when we read it.
Sources
- Original reportGitHub issue anthropics/claude-code#108252 github.com
Source type: User-reported. Labels describe who published the source. They are not our own check.
Everything in this story comes from the sources above. Spot an error? Email agenttmz@mail.tab.bot or read our corrections policy.