Repository navigation
fix: apply the Claude Code 2.1.325 changelog handoffs - #17591
Conversation
…ions Claude Code 2.1.325 starts Claude Code on the web, cloud scheduled tasks and Cowork cloud sessions despite sandbox.failIfUnavailable. The Windows surfaces record now says the exit holds for local sessions. Refs: #16035 Co-Authored-By: Claude Opus 5.5 <[email protected]>
- source-control worktree cleanup: after the session removes its own worktree the shell's directory is gone; run later commands with git -C or an absolute path and re-issue a failed one that way. - performance go-faster catalog: the sandbox auto-allow remedy names sandbox.autoAllowBashIfSandboxed: true (highest-ranked managed source under managed settings); the pointer gains its section anchor. - ADR 0052: a remote-marketplace plugin counts as the organization's once managed settings enable it, declare its marketplace and list it in prependPlugins or appendPlugins. - harness-ops audit-skill-visibility: the CLAUDE_CODE_MAX_CONTEXT_TOKENS rule assumes a recognized model ID; pin --context-window for a gateway alias. Engine behavior unchanged. Refs: #16035 Co-Authored-By: Claude Opus 5.5 <[email protected]>
… cap The model-ID note now takes one added line, so SKILL.md stays below the 500-line hard cap. Refs: #16035 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Five Corrected rows for the component fixes in this pull request (three of them cite the docs section that settles a docs-lag pair) and a 2.1.325 docs-lag subsection with four rows, each with its page and recheck trigger. The read marker is unchanged. Refs: #16035 Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8b50a1bb76
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Lane run report
Failed GitHub API calls
|
|
claude-review reviewed Code review (incremental, blocking only): no findingsThis lane already reviewed an earlier head (8b50a1b), so this pass reports blocking findings only. I read every hunk of all 5 files listed for this update. What changed since the last review:
Other checks:
Loosened-check verdict: fail (the default, because the prompt has no Verifier dropped 0 of 0 candidates. |
|
claude-security-review reviewed Security review: PR #17591 (head 3a4f1d7), incremental since 8b50a1bI found no security issues. This review covers only the changes since 8b50a1b, and I read every hunk of all 5 files in the incremental diff. This lane has already reviewed an earlier head, so the review was blocking only: it reports CRITICAL and IMPORTANT findings only. Each edit drops a restated 2.1.325 behavior and points at the upstream settings reference section that documents it:
What I checked:
critical-findings: 0 |
….325 behavior The go-faster sandbox auto-allow remedy and setup's Windows surfaces record restated upstream defaults, managed-settings placement and the hosted-session startup exception. Both now keep the local decision (flag-only remedy, hosted sessions outside the record) and read the behavior live from the settings reference sections. The audit-skill-visibility window comment and effect string state the engine's own rule instead of product behavior. Refs: #16035 Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01KeBVgf4hSWe3ViMaDA9Fp9
Post-merge mutation testingKilled 2, survived 3, timeout 0, no coverage 0, invalid 0, not run 0.
Surviving mutants
The run's summary has the full report. |
Refs: #16035
Summary
Applies the Claude Code 2.1.325 changelog handoffs on #16035 that are plain text corrections, against the done-when the owner approved there ("Each of the 17 handoff items is fixed, settled with evidence, or recorded as docs-lag with its docs page and recheck trigger"). Items are numbered in the issue's order (1-9 correct, 10-16 docs-lag, 17 native-drift). Changelog and docs pages were read as raw markdown on 2026-11-20.
docs/upstream/claude-code.md, each with its page and recheck trigger: items 11, 13, 15 and 16.Fix
Changelog source for every item: changelog 2.1.325.
correct:plugins/source-control/skills/worktree/context/cleanup.md, 2.1.325-010): Step 4b no longer says the session "carries on from a directory that still exists" after removing its own worktree; later commands run withgit -Cor an absolute path, and a command that failed because its directory is gone is re-issued that way. Source: "Fixed shell commands running in the launch directory after the working directory was deleted; the command now fails with a message and can be re-issued". tools-reference, Bash tool behavior states nothing for a deleted directory, so the edit cites the changelog.correct:plugins/performance/skills/go-faster/reference/catalog/harness.md, 2.1.325-096, -097): rowbash-prompts-sandbox-could-runnamessandbox.autoAllowBashIfSandboxed: true, set in the highest-ranked managed source under managed settings; it stays flag-only. Pointer moved to settings-reference,sandbox.autoAllowBashIfSandboxed: "Default:false. Before v2.1.324, the default wastrue".scripts/docs-anchor-baseline.txtdrops that file's anchorless-link count from 6 to 5. Source: "Changed sandboxed Bash commands to follow the normal permission flow by default; setsandbox.autoAllowBashIfSandboxed: trueto keep running them without prompts" and "setsandbox.autoAllowBashIfSandboxed: truein your highest-ranking managed source".correct:docs/adr/0052-adopt-claude-code-mods.md, 2.1.325-104): ADR 0052 says a remote-marketplace plugin counts as the organization's once managed settings enable it, declare its marketplace and list it inprependPluginsorappendPlugins. Source: "Changed plugins of a remote marketplace that managed settings declare, enable and list inprependPluginsorappendPluginsto count as the organization's"; mods admin, Install your organization's mods: "To make a mod from a remote marketplace, such as a GitHub repository, count as yours on v2.1.324 or later, do all of these in managed settings". The decision in ADR 0052 is unchanged.correct:plugins/harness-ops/skills/audit-skill-visibility, 2.1.325-111):SKILL.md, the script's comment, its--context-windowhelp and the ignored-variable effect string now say theDISABLE_COMPACTcondition assumes a model ID Claude Code recognizes, and that a gateway alias is pinned with--context-window; they point at model config, Which IDsCLAUDE_CODE_MAX_CONTEXT_TOKENSapplies to: "For an ID such asclaude-sonnet-latest, this requires Claude Code v2.1.324 or later." Source: "ChangedCLAUDE_CODE_MAX_CONTEXT_TOKENSto also set the context window of unrecognized model IDs that start withclaude-". The window arithmetic is unchanged.correct:plugins/autonomy/skills/setup/context/windows-surfaces.md, 2.1.325-117): thesandbox.failIfUnavailablestartup exit holds for local sessions; Anthropic-hosted sessions start anyway. Source: "Changed Claude Code on the web, cloud scheduled tasks and Cowork cloud sessions to start despitesandbox.failIfUnavailable"; settings-reference,sandbox.failIfUnavailable: "A session in an Anthropic-hosted environment can start anyway, with a warning".docs/upstream/claude-code.md: five Corrected rows (items 1, 4, 6, 8, 9; the rows for 4, 6 and 8 cite the docs section that settles items 10, 12 and 14) and a 2.1.325 docs-lag subsection with four rows (items 11, 13, 15, 16). Lines 10-55 (the marker and its prose) are untouched.Settled with evidence:
sandboxing/sandbox-autoallowbashifsandboxed, 096, 097): settings-reference now states thefalsedefault (quote above), and sandboxing, Sandbox modes says "Sandboxed commands still go through the regular permission flow unless you choose auto-allow mode".plugins/mods/admin/organization-plugins, 104): the admin page now states the remote-marketplace route (quote above).model-config/max-context-tokens-claude-prefix, 111): model-config now states theclaude-case (quote above).Docs-lag rows (page fetched 2026-11-20, behavior not yet stated):
sandboxing/sandbox-failifunavailable-hosted, 117): sandboxing, Enforce sandboxing with managed settings still says Claude Code "refuses to start", with no hosted exception; settings-reference already states it. Recheck when the sandboxing page names the hosted exception.monitoring-usage/user-prompt-event, 060): monitoring-usage, User prompt event names nodelivery.mode. Recheck when it does.skills/nested-discovery-plugin-dir, 106): skills, Discovery from parent and nested directories states no--plugin-direxception. Recheck when it does.tools-reference/bash-deleted-working-directory, 010): tools-reference, Bash tool behavior states nothing for a deleted working directory. Recheck when it does.Version note: the docs pages give v2.1.324 as the version for items 10, 12 and 14; the changelog lists these changes under 2.1.325 and has no 2.1.324 block. No component text carries either version.
Verification
scripts/check-affected.sh: "check-affected: 19 passed, 1 skipped over 11 changed files since a3cc2f4". An earlier run failedchanged-skillsbecauseaudit-skill-visibility/SKILL.mdreached the 500-line cap; commit 92cb8a1 shortens the added note. The pre-push hook's check-affected passed on both pushes (head 8b50a1b); because the branch editsscripts/docs-anchor-baseline.txt, the hook ran from the merge-base copy and skippedchanged-skills, which the manual run above covered.python3 plugins/harness-ops/skills/audit-skill-visibility/scripts/test_audit_skill_visibility.py: 212 tests OK.test_max_context_tokens_is_honoured_only_with_disable_compactstill assertsDISABLE_COMPACTin the effect string, which the new string keeps.plugins/).Related
Remaining
harness-ops/skills/behavior-probes/records.mdrecord 8) and item 3 (behavior-probes/cases/sandboxfixtures): they rest on a live probe run against the installed Claude Code.harness-ops/skills/observabilityturn count overuser_promptevents, 060): needs a live OTEL store to confirmdelivery.mode.harness-config/skills/audit-permission-grants, 106): two open pull requests edit itsreference/criteria.md.CLAUDE_CODE_MAX_CONTEXT_TOKENSwithoutDISABLE_COMPACT(or add it to the window band) when the model ID may be unrecognized. That is a design choice; model-config states both cases ("If Claude Code doesn't recognize the ID and the ID doesn't contain[1m], the variable applies on its own"; "If the ID resolves to a model Claude Code recognizes, the variable takes effect only when you also setDISABLE_COMPACT"), and the script cannot see the ID.inventory-broken): needs a/harness-ops:inventoryrun on the host.docs/upstream/claude-code.mdlines 19-22: waits for every row to be final and for Claude Code v2.1.323 changelog: 23 handoffs #15693.🤖 Generated with Claude Code