# Claude Code 2.1.322 → 2.1.325 upgrade test: this time the desktop app ran ahead of the terminal

> Reconciled on 2026-11-13 and 11-15: the Claude Code bundled in the desktop app moved to 2.1.325 first, while the terminal was still on 2.1.323. Most of these changes tighten permissions: in a repo that is not the project's own, read-only git commands now ask first, and a schedule that runs a skill now asks first.

Published 2026-11-15 · Updated 2026-11-15 · URL https://wizerdbache.com/en/notes/cc-upgrade-2-1-322-to-325/


Reconciliation dates: 2026-11-13 (2.1.323) and 2026-11-15 (2.1.325). Upstream did not publish 2.1.324; the skipped number is not a missed release. The order this time is the reverse of [the fourth post](https://wizerdbache.com/en/notes/cc-upgrade-2-1-319-to-322/): there the desktop app **caught up** with the terminal, while this time the desktop app went first. The Claude Code bundled in desktop app 5.11492.5 **reached 2.1.325 first**; my terminal was still on 2.1.323 at that point and was updated later the same day. So both are on 2.1.325 now.

The fourth post left one thing open: mods the AI writes load before I review them, and I was thinking about whether to warn at the moment a mod is written. That was settled on 11-10, the same day: yes. Now, in auto or bypass mode, when Claude uses the file-writing tool to write a mod into the folder where I keep AI-written mods, a reminder appears first, once per mod per session, so the review does not have to wait until the next session start. Copies made with the shell are not covered.

## What to check this time

- Do you operate on other repos from inside a session? Read-only git commands may now ask first.
- Do you have scheduled tasks that run skills? A skill that declares tools or hooks will stop and ask before a scheduled run.
- Does your settings file set the model to `haiku` or `opusplan`? A subagent that brings its own model may previously have been switched to the model used in plan mode, and not run on the model you specified.
- Do you depend on compaction-related hooks? After upgrading, re-measure them yourself.

## 1. The desktop app reached 2.1.325 first, the terminal a step behind

**What changed**: the Claude Code bundled in desktop app 5.11492.5 jumped from 2.1.321 straight to 2.1.325; at that point the terminal's `claude --version` was still 2.1.323, and you have to run `claude update` yourself to catch up.

**How I checked**: the desktop app changelog states that this release bundles 2.1.325. Inside a desktop-app session I read the environment variable for the host program's version, and it was indeed 2.1.325. After the terminal updated, I also reran the compaction block test and the mod check on the terminal's version. Evidence: **tested live**.

**A reminder for you**: on the same computer, the desktop app and the terminal may run different Claude Code versions, and which one is ahead is not fixed. A behavior you find on one side does not necessarily apply to the other.

## 2. In repos that are not the project's own, read-only git also asks first

**What changed**: in a repo that is not the current project and that you have not trusted, even read-only commands such as `git status` now ask first (2.1.325). To skip the prompt, add that folder to the session with `--add-dir`; putting it in the `additionalDirectories` setting does not count.

**How I checked**: I often open a session from one working folder and then operate on another repo, so this one hit me directly. This reconciliation itself ran git several times inside that repo, and on desktop app 2.1.325 in auto mode it did not raise any prompt; it looks as if auto mode's judgment overrides this layer. I did not measure whether manual mode prompts. Evidence: **tested live (auto mode only)**.

**A reminder for you**: if you do not use auto mode and often work across repos, more git prompts after the upgrade are expected. For a repo you always work in, bring it in when you open the session with `--add-dir`.

## 3. Schedules that run a skill now stop to ask first

**What changed**: when a scheduled task or `/loop` is about to run a skill that declares `allowed-tools` or hooks, it asks first (2.1.325). To run it unattended, add `Skill(skill 名稱)` under `permissions.allow`. In addition, the desktop app's “Always allow” offers a single-rule option only when the rule it saves would actually allow the call again, so a schedule that used to depend on it may also stop and wait for you.

**How I checked**: my two desktop schedules do not run any skill, and the others run through Windows Task Scheduler, which does not go through this layer, so this did not affect me. Evidence: **changelog only, checked against local settings**.

**A reminder for you**: if a schedule did not run one day, first check whether it is stuck on a permission prompt. To schedule a skill, first add `Skill(…)` to allow.

## 4. Subagent models: earlier runs may have been switched to the plan-mode model

**What changed**: when settings set the model to `opusplan` or `haiku`, a subagent that brings its own model may have been switched to the model used in plan mode (the changelog does not say it was limited to plan mode); this is fixed in this version (2.1.325). The same version also fixed subagents of a different model using the main session's model to decide file-read size, and subagents returning only the tail of an answer when they hit the output limit.

**How I checked**: my settings happen to be `haiku`, and the subagents I dispatch mostly bring their own model, so some earlier dispatched work may not have run on the model I assumed. I did not go back and measure which model actually ran during that time. Evidence: **changelog only, checked against local settings**.

**A reminder for you**: if you have compared subagent models under these two settings, results from before 2.1.325 should be read with a question mark.

## 5. Compaction hooks: the re-measured result

**What changed**: the changelog does not mention any change to compaction hooks.

**How I checked**: the hook notes' rule to rerun after upgrading past the previous version was triggered again. This time the desktop app ran 2.1.325, so I reran six sessions on the version bundled with the desktop app, including two calibrated runs with a positive control. Results: a PreCompact hook that returns “block” still blocks both manual and automatic compaction; the SessionStart hook's output after compaction is delivered as before. During automatic compaction, text printed by PreCompact was carried into the summary by the summary model in 7 of 8 cases, the same as in the 2.1.323 round. Evidence: **tested live (with a positive control)**.

**A reminder for you**: both rounds missed one in eight, so I now treat this path as “likely to arrive, but not guaranteed every time.” What the model must see after compaction should not depend only on text that PreCompact prints.

## 6. 2.1.323: Code Mode and type checking for mods

**What changed**: 2.1.323 is the largest recent release, with about 290 entries. Two of them matter to me: first, the experimental Code Mode, which lets Claude write JavaScript that calls its own tools, is off by default; second, `claude plugin validate` now type-checks the TypeScript of mods, issuing warnings only and not blocking loading.

**How I checked**: the official Code Mode documentation page would not open during my 11-13 reconciliation, so only the changelog was available. That page has since appeared, and I have not read it yet. My gatekeeping works by judging each tool call individually. I cannot tell whether each underlying call under Code Mode would pass through those judgments on its own, so I have not turned it on. I did run the type check: my two mods each produced a few type warnings. Those are old problems that the new check now surfaces, not something the upgrade caused. Evidence: **tested live** (validate) and **changelog only** (Code Mode).

**A reminder for you**: if you care about gatekeeping hooks, before turning on Code Mode, test with a hook that blocks something whether tool calls made from inside JavaScript get blocked.

## Other things worth knowing

- `/cost` and usage statistics now count the cost of model calls that a mod makes itself (2.1.325). One of my mods calls a model, and earlier usage figures did not include it.
- Windows: `/resume` no longer fails to find a session, or hides one, just because the drive letter's case or the slash style differs (2.1.325).
- On one computer, the limit on sessions messaging each other without your involvement rose from about 20 messages to 100,000 (2.1.323). That removes a natural brake.
- Desktop app: when the sandbox is on, add, move, and remove operations on `git worktree` fail. I am on Windows with the sandbox off, and my own operations worked normally (5.11492.5).

## Sources

- [Anthropic. (n.d.). Claude Code changelog. GitHub. Retrieved November 15, 2026.](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md) (Official changelog (terminal build, 2.1.323 and 2.1.325))
- [Anthropic. (n.d.). Claude desktop changelog. Retrieved November 15, 2026.](https://claude.com/docs/cowork/claude-desktop-changelog) (Official changelog (desktop app, 5.11492.0–5.11492.5))
