BaCheWork and records of a photonics research workhorse
Language

Claude Code 2.1.318 → 2.1.319 upgrade test: “not seen” does not mean “not there”

Reconciled on 2026-11-07: while I was rerunning the compaction test, the detector said one behavior had disappeared; adding a positive control showed it was still there. PostToolUse hooks now also run on interrupted tool calls, and a Bash rule gap involving quoted commands was fixed, while the desktop app stayed on its old bundled version.

Type
Note
Published
2026-11-11
Updated
2026-11-11
Status
Ongoing

Reconciliation date: 2026-11-07. The terminal Claude Code went from 2.1.318 to 2.1.319, a single-version step. The desktop app went to 4.23118.0, but the Claude Code it bundles is still 2.1.317. So the changes in this post took effect only in the terminal on the day of reconciliation; the desktop app caught up on 11-10, when it bundled 2.1.321 (see the fourth post).

What to check this time

  • The desktop app did not keep up: the terminal was upgraded, but the Code tab of the desktop app is still on the old version.
  • Does your PostToolUse hook finish within 10 seconds?
  • Do you have Bash deny or ask rules? Before this version, commands containing quotes could slip past them.
  • When you retested, did you include a positive control? Without one, “this is fixed now” may only mean it was not measured.

1. “Not seen” does not mean “not there”

This is the most important point of this round, and it has nothing to do with the changelog; it is a problem with the measurement method.

What changed: in the previous post, I measured that the text printed by a PreCompact hook is read by the summary model during automatic compaction. This time I upgraded to 2.1.319 and reran the same test, and the detector reported that the text was no longer in the summary. It looked as if this version had changed it, but the changelog does not mention it for either version.

How I checked: I first went back over the measurement method and found that the two earlier readings relied only on the summary model’s own report of whether it had seen the text. There was no positive control, each version was run only once, and the conversation content was not fixed. So I built a calibrated version: in each compaction instruction, I also included a control marker that the summary is certain to keep. Only when the control marker appeared was that summary counted as valid and used to judge whether the hook’s text had been read.

The result overturned the “not seen” reading: on 2.1.319, and on the 2.1.317 bundled with the desktop app, every valid summary did read the hook’s text. The earlier “disappearance” was the detector missing it. Evidence: tested live (with a positive control).

A reminder for you:

  • When you retest and see nothing new, first rule out that the measurement method missed it. The cheapest way is to add a positive control: something you are sure should appear. If it does not appear, that run’s measurement does not count.
  • Behavior the changelog does not mention can only be seen by measuring it again, but a re-measurement without a positive control can lead you to the opposite conclusion.
  • A PreCompact hook that returns “block” still blocks both manual and automatic compaction; this did not change this time either.

2. The desktop app is still on the old bundled version

What changed: the desktop app went to 4.23118.0, but its changelog still lists the bundled Claude Code as 2.1.317.

How I checked: inside a desktop-app session I read the environment variable for the host program’s version, and it was indeed 2.1.317. Evidence: tested live.

A reminder for you: an app update does not mean the Claude Code inside it has been updated. For the several 2.1.319 fixes below, the desktop app will get them only in a later bundled version (it caught up on 11-10).

3. PostToolUse hooks also run on interrupted tool calls

What changed: a tool call that finishes only after a new message has interrupted the turn now also runs PostToolUse hooks, for up to 10 seconds. Official wording: “on tool calls that finish after a new message interrupts the turn” (2.1.319).

How I checked: I looked at several PostToolUse hooks that do post-processing after I write a file, and they are all short. Evidence: changelog only.

A reminder for you: when you interrupted an edit before, post-processing could have been skipped; now it will run, which is good. But the official notes give only the 10-second limit and do not say what happens past it, so a new PostToolUse hook should finish within 10 seconds.

4. Bash rules that missed commands with quotes are fixed

What changed: fixed Bash deny and ask rules that missed commands containing quoted words; several ways of bypassing the permission check were also fixed (2.1.319).

How I checked: my ask rules contain no quotes, so they were not affected. Evidence: changelog only.

A reminder for you: if you rely on deny or ask rules to guard dangerous commands, before this version a quoted form may have slipped past a rule. After upgrading, it is worth trying your rules once with a quoted example.

5. New setting: permission prompts become outright denials

What changed: adds permissions.denyInsteadOfPrompting: a call that would have stopped to wait for your answer to a permission prompt is now denied outright and the turn continues (applies to the terminal, subagents, and teammates).

How I checked: my normal interactive sessions never stop at a permission prompt, so I do not need it yet. Evidence: changelog only.

A reminder for you: if you often leave background subagents running and find them stuck on a permission prompt when you come back, this setting lets them be denied and continue instead of waiting.

Other things worth knowing

  • A self-paced /loop that stops at the end of a turn without rescheduling no longer gets an automatic extra wake-up. To keep the old behavior, set CLAUDE_CODE_LOOP_KEEPALIVE=1.
  • After a subagent is blocked by a safety mechanism, Claude now retries with a smaller prompt or tells you, instead of doing the work itself.
  • Fixed a bug where manual edits made to a settings file a few seconds after Claude Code wrote it were ignored. If a settings change does not take effect, check this first.
  • Fixed lost output from background Bash commands that finish almost instantly.

Sources

  1. Anthropic. (n.d.). Claude Code changelog. GitHub. Retrieved November 7, 2026. (Official changelog (terminal build, 2.1.319))
  2. Anthropic. (n.d.). Claude desktop changelog. Retrieved November 7, 2026. (Official changelog (desktop app, 4.23118.0))