Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.308 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.238 ·

Directory tracking for backgrounded commands no longer breaks early

Directory tracking keeps working for backgrounded Bash commands instead of breaking partway through.

You'll notice Bug Fixes
JSON All of v2.1.238
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Bash ToolArea: what it touches
Bug FixesKind: in v2.1.238,
Bug FixesSection of the release
What

The temporary helper file Claude Code uses to notice when a Bash command changes directory is no longer deleted while the command is still running. Cleanup now waits for the process to exit if it is still alive, which matters for backgrounded commands where the settle callback can fire long before the process finishes.

Details
  • Cleanup is deferred to the child process's exit event when it still has a pid and has neither exited nor been signalled; otherwise it is awaited inline as before.
Evidence

tengu_shell_set_cwd

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

See this entry in the whole of v2.1.238 →

Feedback