Skip to content

fix: apply the Claude Code 2.1.325 changelog handoffs - #17591

Merged
kyle-sexton merged 5 commits into
mainfrom
fix/16035-claude-code-2-1-325-handoffs
Nov 20, 2026
Merged

kyle-sexton merged 5 commits into
mainfrom
fix/16035-claude-code-2-1-325-handoffs

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

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.

  • Fixed: items 1, 4, 6, 8 (text only; see Remaining for the engine) and 9.
  • Settled with evidence (the docs page now states the release's behavior): items 10, 12 and 14.
  • Recorded as docs-lag rows in docs/upstream/claude-code.md, each with its page and recheck trigger: items 11, 13, 15 and 16.
  • Remaining: items 2, 3, 5, 7, 17 and the read-marker step.

Fix

Changelog source for every item: changelog 2.1.325.

  • Item 1 (key 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 with git -C or 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.
  • Item 4 (key correct:plugins/performance/skills/go-faster/reference/catalog/harness.md, 2.1.325-096, -097): row bash-prompts-sandbox-could-run names sandbox.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 was true". scripts/docs-anchor-baseline.txt drops that file's anchorless-link count from 6 to 5. Source: "Changed sandboxed Bash commands to follow the normal permission flow by default; set sandbox.autoAllowBashIfSandboxed: true to keep running them without prompts" and "set sandbox.autoAllowBashIfSandboxed: true in your highest-ranking managed source".
  • Item 6 (key 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 in prependPlugins or appendPlugins. Source: "Changed plugins of a remote marketplace that managed settings declare, enable and list in prependPlugins or appendPlugins to 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.
  • Item 8 (key correct:plugins/harness-ops/skills/audit-skill-visibility, 2.1.325-111): SKILL.md, the script's comment, its --context-window help and the ignored-variable effect string now say the DISABLE_COMPACT condition assumes a model ID Claude Code recognizes, and that a gateway alias is pinned with --context-window; they point at model config, Which IDs CLAUDE_CODE_MAX_CONTEXT_TOKENS applies to: "For an ID such as claude-sonnet-latest, this requires Claude Code v2.1.324 or later." Source: "Changed CLAUDE_CODE_MAX_CONTEXT_TOKENS to also set the context window of unrecognized model IDs that start with claude-". The window arithmetic is unchanged.
  • Item 9 (key correct:plugins/autonomy/skills/setup/context/windows-surfaces.md, 2.1.325-117): the sandbox.failIfUnavailable startup 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 despite sandbox.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:

  • Item 10 (docs-lag sandboxing/sandbox-autoallowbashifsandboxed, 096, 097): settings-reference now states the false default (quote above), and sandboxing, Sandbox modes says "Sandboxed commands still go through the regular permission flow unless you choose auto-allow mode".
  • Item 12 (docs-lag plugins/mods/admin/organization-plugins, 104): the admin page now states the remote-marketplace route (quote above).
  • Item 14 (docs-lag model-config/max-context-tokens-claude-prefix, 111): model-config now states the claude- case (quote above).

Docs-lag rows (page fetched 2026-11-20, behavior not yet stated):

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 failed changed-skills because audit-skill-visibility/SKILL.md reached 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 edits scripts/docs-anchor-baseline.txt, the hook ran from the merge-base copy and skipped changed-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_compact still asserts DISABLE_COMPACT in the effect string, which the new string keeps.
  • No test pins the other edited strings (git grep across plugins/).

Related

Remaining

  • Item 2 (harness-ops/skills/behavior-probes/records.md record 8) and item 3 (behavior-probes/cases/sandbox fixtures): they rest on a live probe run against the installed Claude Code.
  • Item 5 (harness-ops/skills/observability turn count over user_prompt events, 060): needs a live OTEL store to confirm delivery.mode.
  • Item 7 (harness-config/skills/audit-permission-grants, 106): two open pull requests edit its reference/criteria.md.
  • Item 8, engine: whether audit-skill-visibility should honor CLAUDE_CODE_MAX_CONTEXT_TOKENS without DISABLE_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 set DISABLE_COMPACT"), and the script cannot see the ID.
  • Item 17 (native-drift inventory-broken): needs a /harness-ops:inventory run on the host.
  • The read marker text at docs/upstream/claude-code.md lines 19-22: waits for every row to be final and for Claude Code v2.1.323 changelog: 23 handoffs #15693.

🤖 Generated with Claude Code

kyle-sexton and others added 4 commits November 19, 2026 22:21
…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]>
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 20, 2026 05:15

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-20T05:16:51.626460Z 8b50a1b Draft marked ready
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-refine/fix-docs
Model rung 0
Leg handoff
Run job success
Activity step success
Commits pushed none (read lane)
Run 44679881034

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed 3a4f1d726da79c4f9f10f41df7024c583775fad6: read 5 of 5 changed file(s); 0 finding(s), 0 as inline comments.

Code review (incremental, blocking only): no findings

This 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:

  • windows-surfaces.md. The record no longer describes what sandbox.failIfUnavailable: true does locally or in hosted sessions. It now says to read that live from the sandbox.failIfUnavailable settings-reference link in its Basis, and it drops the 2.1.325 changelog link. The claim's other facts and its recheck trigger are unchanged.
  • harness.md row bash-prompts-sandbox-could-run. The remedy still names sandbox.autoAllowBashIfSandboxed. It now points at the linked section for the default and for where managed settings set it, instead of restating either. The row stays flag-only, and the recheck trigger now fires when the linked section moves or renames the setting.
  • audit_skill_visibility.py. Only a comment and one effect string changed. The new string is "ignored: DISABLE_COMPACT is not set; for a gateway alias pin --context-window". It still contains DISABLE_COMPACT, which is what test_max_context_tokens_is_honoured_only_with_disable_compact asserts (the PR says so; I didn't run the test). The window-resolution logic is unchanged. Other mentions of gateway aliases in this skill (SKILL.md:222, script line 3606) still agree with the new wording.
  • Both changelog fragments. They now describe the pointer-based edits, and both keep bump: patch, which fits documentation and strings.

Other checks:

  • Closing issue. The PR only says Refs: #16035, with no closing keyword, so there are no acceptance criteria to check.
  • Plugin manifests. None changed.
  • Spend. Nothing in this update affects cost.
  • Prior findings. The only earlier post is the no-findings summary comment, so nothing carries over.

Loosened-check verdict: fail (the default, because the prompt has no loosened_check_verdict: or loosened_check_patterns: line); patterns: 0. The update loosens no check. The prompt also has no loosened_check_decision_record: line, so I didn't check the citation requirement.

Verifier dropped 0 of 0 candidates.

@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 3a4f1d726da79c4f9f10f41df7024c583775fad6: read 5 of 5 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #17591 (head 3a4f1d7), incremental since 8b50a1b

I 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:

  • Changelog fragments (.changes/autonomy/…failifunavailable…, .changes/performance/…sandbox-autoallow…): only the wording of the Fixed entries changes.
  • plugins/autonomy/skills/setup/context/windows-surfaces.md: the record no longer states what failIfUnavailable: true does at startup, locally or in a hosted session. It now says to read that live from the linked section. Setup still records neither case as a boundary, and the sandbox.enabled / failIfUnavailable default claims are unchanged. No standing rule is removed or loosened.
  • plugins/harness-ops/skills/audit-skill-visibility/scripts/audit_skill_visibility.py: only a comment block and one effect string literal in resolve_windows change. Branch conditions, inputs and execution paths are unchanged.
  • plugins/performance/skills/go-faster/reference/catalog/harness.md row bash-prompts-sandbox-could-run:
    • The remedy now reads the sandbox.autoAllowBashIfSandboxed default and its managed-settings placement from the linked section instead of hard-coding : true.
    • The row is still flag-only: changes what runs without a human; the user decides, and it still excludes native Windows. No auto-apply path is added.

What I checked:

  • Trust controls: the incremental diff touches none of them: no trusted-actor list, trusted-trigger check, lane token, kill switch, broker, merge hold or workflow.
  • Instruction surfaces: I read both skill and reference edits under the instruction-surface lens. Neither one removes or narrows a guardrail, so I did not consult the instruction exception register.
  • Plugin manifests: none changed.
  • Prior findings: the earlier summary reported 0 findings, so there is nothing to carry forward.

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
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 20, 2026
Merged via the queue into main with commit 8fbf9d0 Nov 20, 2026
52 checks passed
@kyle-sexton
kyle-sexton deleted the fix/16035-claude-code-2-1-325-handoffs branch November 20, 2026 06:26
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 20, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Post-merge mutation testing

Killed 2, survived 3, timeout 0, no coverage 0, invalid 0, not run 0.
Covered-code score 40%; mutation score 40%.

File Killed Survived Timeout No coverage Invalid Not run
plugins/harness-ops/skills/audit-skill-visibility/scripts/audit_skill_visibility.py 2 3 0 0 0 0

Surviving mutants

Location Operator Disposition Cause
plugins/harness-ops/skills/audit-skill-visibility/scripts/audit_skill_visibility.py:1735 other productive no-assertion
plugins/harness-ops/skills/audit-skill-visibility/scripts/audit_skill_visibility.py:3605 other productive no-assertion
plugins/harness-ops/skills/audit-skill-visibility/scripts/audit_skill_visibility.py:3606 other productive no-assertion

The run's summary has the full report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-path: owner-agent Post-merge accounting record (README.md, Merge paths)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant