Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.234 Home All releases olderv2.1.233 v2.1.235newer
Claude Code v2.1.234

Auto-mode classifier failures write a debug dump that ages out with the session

You'll notice
Useful3 Signal3
Auto Mode

When auto mode's classifier errors, a debug dump lands beside your transcript and gets cleaned up later.

What

When the classifier behind auto mode errors, Claude Code now writes a diagnostic file next to the session transcript capturing what it was asked to classify, and the normal session cleanup sweep deletes those files on the usual retention schedule so they do not accumulate. This gives you something concrete to attach to a bug report about a misclassified action without leaving debris in the transcript directory.

Details
  • The dump is written to auto-mode-classifier-error.txt in the session's transcript directory, owner-readable only.
  • It contains the system prompt, the transcript prompt, the error itself, and a context comparison section covering token counts, message counts and the action being classified.
  • Nothing is written when session persistence is off, including when CLAUDE_CODE_SKIP_PROMPT_HISTORY is set, so on those setups the dump never appears.
  • The per-session cleanup sweep now removes auto-mode-classifier-error.txt and any file named auto-mode-dump.*.json, including partially written .json.tmp. staging files, alongside the ccr-tip.json and precompact.json files it already handled.
  • That cleanup runs unconditionally under the existing cleanupPeriodDays retention setting, with no separate switch for the auto-mode files.
Evidence

=== CONTEXT COMPARISON ===, auto-mode-classifier-error.txt

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.234 →