Skip to content

chore: bump claude_version to 2.1.251 - #1097

Merged
max-sixty merged 1 commit into
mainfrom
chore/bump-claude-2.1.251
Aug 30, 2026
Merged

max-sixty merged 1 commit into
mainfrom
chore/bump-claude-2.1.251

Conversation

@tend-agent

@tend-agent tend-agent commented Aug 30, 2026 •

Copy link
Copy Markdown
Collaborator

Moves the pinned claude binary from 2.1.241 to 2.1.251, npm's current latest dist-tag (stable still sits at 2.1.236, and CLAUDE.md pins latest). A stale pin resolves --model opus/sonnet to a superseded alias target, so the bump is what keeps the harness on the model the workflows name. uv run pytest passes (763).

CHANGELOG skim, 2.1.242 → 2.1.251

Seven releases carry notes (2.1.243, .245, .246, .247, .248, .250, .251), skimmed for the paths this action exercises — plugin/skill loading, slash-command dispatch, headless -p, --model alias resolution, first-run onboarding, and sandboxing. Nothing in the range changes an agent path tend exercises. Item by item:

Plugin and skill loading (2.1.246, 2.1.251). Three entries look like they land on tend-ci-runner's layout and none of them reaches this action. /reload-plugins reporting 0 skills for skills/*/SKILL.md plugins (2.1.246) — /reload-plugins appears nowhere in the repo; shared/steps/install-tend-plugins.sh runs claude plugin marketplace add then claude plugin install. The doubled <plugin>: prefix in the slash menu (2.1.246) — no plugins/tend-ci-runner/skills/*/SKILL.md frontmatter name carries the prefix, and headless -p renders no slash menu to double it in. The plugin-skills race (2.1.251) is scoped upstream to background sessions racing a concurrent marketplace refresh; the action starts one one-shot claude -p per job.

2.1.245 has a single entry: a startup crash on distributions shipping glibc 2.44 (Arch, CachyOS, Fedora Rawhide). Jobs run on ubuntu-24.04 (glibc 2.39), so it doesn't apply.

Sandbox items (2.1.243, 2.1.251). 2.1.243 stopped listing allowed network hosts in the sandboxed Bash prompt and stopped dropping network-violation detail when a blocked command still exits 0; 2.1.251 changed how sandboxed commands' output files are created and now requires approval for server-managed settings that route sandbox traffic through a proxy or inject credentials. All of these are Claude Code's own Bash sandbox. This action doesn't use it: isolation is a separate non-sudo OS user, and the proxy is wired through the environment by proxy/setup-sandbox.sh, not through managed settings.

Security fixes that read as relevant (2.1.247, 2.1.251). Marketplace names containing control or invisible characters are now rejected (2.1.247) — both tend marketplaces use plain ASCII names. The file-tool symlink swap and the plugin path-traversal fix (2.1.251) harden Claude Code's permission check, which isn't the boundary here: claude/action.yaml documents the run as permissions.defaultMode: bypassPermissions, so the non-sudo sandbox user and the proxy are what contain it.

Project settings (2.1.251). .claude/settings.json env no longer sets CLAUDE_CONFIG_DIR, CLAUDE_CODE_TMPDIR, or TMPDIR. No-op here — the repo's .claude/settings.local.json has no env block, and shared/steps/install-claude-binary.sh pins the XDG dirs through sudo -u ... env.

Neutral to this action: --restricted (2.1.248), the PreModelSwitch/PostModelSwitch hooks and /cost cache reporting (2.1.251), and the plan-mode fix for claude -p --continue/--resume (2.1.246), since runs here are one-shot -p and never resumed. 2.1.250 is "Bug fixes and reliability improvements" with no itemised notes.

npm latest dist-tag. A stale pin resolves --model opus/sonnet to a superseded
alias target. The span fixes three plugin-skill loading bugs, one of which hit
the skills/*/SKILL.md layout tend-ci-runner uses.

@tend-agent tend-agent left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

The bump itself checks out: 2.1.251 is npm's current latest (stable is still 2.1.236, per the rule in CLAUDE.md), it's the only occurrence of the version string in the repo, no test or regtest fixture pins the old value, and shared/steps/install-claude-binary.sh passes it straight through to install.sh. Nothing to fix in the diff.

The CHANGELOG skim is the part I'd correct. .claude/skills/running-tend/SKILL.md keeps it in the PR body so a later reader can trust it as the record for why the pin moved, and two of its claims don't hold against upstream's CHANGELOG.

2.1.245 is misattributed. Both sandbox-network entries the body places there — the allowed-hosts prompt change and the dropped network-violation detail when a blocked command still exits 0 — are under ## 2.1.243. ## 2.1.245 has exactly one entry, a startup crash on glibc 2.44 (Arch, CachyOS, Fedora Rawhide), which the body doesn't mention. It's a non-issue on ubuntu-24.04 (glibc 2.39), but that's the sentence 2.1.245 should carry.

None of the three "fixes in tend's favour" reaches a path this action runs, so that heading overstates them:

  • /reload-plugins reporting 0 skills (2.1.246) — shared/steps/install-tend-plugins.sh runs claude plugin marketplace add then claude plugin install. /reload-plugins appears nowhere in the repo.
  • The doubled <plugin>: prefix (2.1.246) — no plugins/tend-ci-runner/skills/*/SKILL.md frontmatter name carries the prefix, and headless -p renders no slash menu to double it in.
  • The plugin-skills race (2.1.251) — upstream scopes it to background sessions racing a concurrent marketplace refresh. The action starts one one-shot claude -p per job.

The honest framing for this range is the one #1038 used for its own: nothing in 2.1.242–2.1.251 changes an agent path tend exercises. Worth rewriting the body that way before it lands, since the next bump reads it back.

How I checked

Upstream CHANGELOG pulled with gh api repos/anthropics/claude-code/contents/CHANGELOG.md -H "Accept: application/vnd.github.raw", then sliced to ## 2.1.251 … ## 2.1.241. The seven-releases-carry-notes count in the body is right (2.1.243, .245, .246, .247, .248, .250, .251), as are the 2.1.247 marketplace-hardening, 2.1.248 --restricted, 2.1.251 sandbox-output-file and managed-settings items, and the 2.1.246 plan-mode -p --continue/--resume entry. I also re-read 2.1.243 and 2.1.248 in full for --model alias resolution, headless -p exit behaviour, Stop-hook handling, and Skill/slash-command dispatch — nothing there touches this action.

The 2.1.251 project-settings change that stops .claude/settings.json env from setting CLAUDE_CONFIG_DIR/CLAUDE_CODE_TMPDIR/TMPDIR is also a no-op here: the repo's .claude/settings.local.json sets no env block, and shared/steps/install-claude-binary.sh pins the XDG dirs through sudo -u ... env, not through settings.

The 2.1.251 file-tool symlink and plugin path-traversal fixes look tend-relevant at first glance but aren't: claude/action.yaml documents the run as permissions.defaultMode: bypassPermissions, so Claude Code's permission check isn't the boundary here — the non-sudo sandbox user and the proxy are.

@tend-agent

Copy link
Copy Markdown
Collaborator Author

Rewrote the PR body against the upstream CHANGELOG. All three corrections hold:

  • The two sandbox-network entries are under ## 2.1.243, not 2.1.245 — moved, and 2.1.245's actual single entry (startup crash on glibc 2.44) now appears with the reason it doesn't apply on ubuntu-24.04 (glibc 2.39).
  • Dropped the "fixes in tend's favour" heading. The three plugin/skill-loading entries are now listed with why each misses this action: /reload-plugins appears nowhere in the repo, no bundled skill's frontmatter name carries the <plugin>: prefix (and headless -p renders no slash menu), and the 2.1.251 race is scoped upstream to background sessions racing a marketplace refresh.
  • The body now states plainly that nothing in 2.1.242–2.1.251 changes an agent path tend exercises, and keeps the per-item basis for that.

The bump itself is unchanged.

@max-sixty
max-sixty merged commit acae750 into main Aug 30, 2026
10 checks passed
@max-sixty
max-sixty deleted the chore/bump-claude-2.1.251 branch August 30, 2026 14:52
max-sixty pushed a commit that referenced this pull request Aug 30, 2026
Moves the pinned `claude` binary from 2.1.241 to 2.1.251, npm's current
`latest` dist-tag (`stable` still sits at 2.1.236, and `CLAUDE.md` pins
`latest`). A stale pin resolves `--model opus`/`sonnet` to a superseded
alias target, so the bump is what keeps the harness on the model the
workflows name. `uv run pytest` passes (763).

<details><summary>CHANGELOG skim, 2.1.242 → 2.1.251</summary>

Seven releases carry notes (2.1.243, .245, .246, .247, .248, .250,
.251), skimmed for the paths this action exercises — plugin/skill
loading, slash-command dispatch, headless `-p`, `--model` alias
resolution, first-run onboarding, and sandboxing. **Nothing in the range
changes an agent path tend exercises.** Item by item:

**Plugin and skill loading (2.1.246, 2.1.251).** Three entries look like
they land on `tend-ci-runner`'s layout and none of them reaches this
action. `/reload-plugins` reporting 0 skills for `skills/*/SKILL.md`
plugins (2.1.246) — `/reload-plugins` appears nowhere in the repo;
`shared/steps/install-tend-plugins.sh` runs `claude plugin marketplace
add` then `claude plugin install`. The doubled `<plugin>:` prefix in the
slash menu (2.1.246) — no `plugins/tend-ci-runner/skills/*/SKILL.md`
frontmatter `name` carries the prefix, and headless `-p` renders no
slash menu to double it in. The plugin-skills race (2.1.251) is scoped
upstream to *background sessions* racing a concurrent marketplace
refresh; the action starts one one-shot `claude -p` per job.

**2.1.245** has a single entry: a startup crash on distributions
shipping glibc 2.44 (Arch, CachyOS, Fedora Rawhide). Jobs run on
`ubuntu-24.04` (glibc 2.39), so it doesn't apply.

**Sandbox items (2.1.243, 2.1.251).** 2.1.243 stopped listing allowed
network hosts in the sandboxed Bash prompt and stopped dropping
network-violation detail when a blocked command still exits 0; 2.1.251
changed how sandboxed commands' output files are created and now
requires approval for server-managed settings that route sandbox traffic
through a proxy or inject credentials. All of these are Claude Code's
*own* Bash sandbox. This action doesn't use it: isolation is a separate
non-sudo OS user, and the proxy is wired through the environment by
`proxy/setup-sandbox.sh`, not through managed settings.

**Security fixes that read as relevant (2.1.247, 2.1.251).** Marketplace
names containing control or invisible characters are now rejected
(2.1.247) — both tend marketplaces use plain ASCII names. The file-tool
symlink swap and the plugin path-traversal fix (2.1.251) harden Claude
Code's permission check, which isn't the boundary here:
`claude/action.yaml` documents the run as `permissions.defaultMode:
bypassPermissions`, so the non-sudo sandbox user and the proxy are what
contain it.

**Project settings (2.1.251).** `.claude/settings.json` `env` no longer
sets `CLAUDE_CONFIG_DIR`, `CLAUDE_CODE_TMPDIR`, or `TMPDIR`. No-op here
— the repo's `.claude/settings.local.json` has no `env` block, and
`shared/steps/install-claude-binary.sh` pins the XDG dirs through `sudo
-u ... env`.

**Neutral to this action:** `--restricted` (2.1.248), the
`PreModelSwitch`/`PostModelSwitch` hooks and `/cost` cache reporting
(2.1.251), and the plan-mode fix for `claude -p --continue`/`--resume`
(2.1.246), since runs here are one-shot `-p` and never resumed. 2.1.250
is "Bug fixes and reliability improvements" with no itemised notes.

</details>

Co-authored-by: tend-agent <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants