Repository navigation
chore: bump claude_version to 2.1.251 - #1097
Conversation
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
left a comment
There was a problem hiding this comment.
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-pluginsreporting 0 skills (2.1.246) —shared/steps/install-tend-plugins.shrunsclaude plugin marketplace addthenclaude plugin install./reload-pluginsappears nowhere in the repo.- The doubled
<plugin>:prefix (2.1.246) — noplugins/tend-ci-runner/skills/*/SKILL.mdfrontmatternamecarries the prefix, and headless-prenders 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 -pper 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.
|
Rewrote the PR body against the upstream CHANGELOG. All three corrections hold:
The bump itself is unchanged. |
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]>
Moves the pinned
claudebinary from 2.1.241 to 2.1.251, npm's currentlatestdist-tag (stablestill sits at 2.1.236, andCLAUDE.mdpinslatest). A stale pin resolves--model opus/sonnetto a superseded alias target, so the bump is what keeps the harness on the model the workflows name.uv run pytestpasses (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,--modelalias 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-pluginsreporting 0 skills forskills/*/SKILL.mdplugins (2.1.246) —/reload-pluginsappears nowhere in the repo;shared/steps/install-tend-plugins.shrunsclaude plugin marketplace addthenclaude plugin install. The doubled<plugin>:prefix in the slash menu (2.1.246) — noplugins/tend-ci-runner/skills/*/SKILL.mdfrontmatternamecarries the prefix, and headless-prenders 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-shotclaude -pper 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.yamldocuments the run aspermissions.defaultMode: bypassPermissions, so the non-sudo sandbox user and the proxy are what contain it.Project settings (2.1.251).
.claude/settings.jsonenvno longer setsCLAUDE_CONFIG_DIR,CLAUDE_CODE_TMPDIR, orTMPDIR. No-op here — the repo's.claude/settings.local.jsonhas noenvblock, andshared/steps/install-claude-binary.shpins the XDG dirs throughsudo -u ... env.Neutral to this action:
--restricted(2.1.248), thePreModelSwitch/PostModelSwitchhooks and/costcache reporting (2.1.251), and the plan-mode fix forclaude -p --continue/--resume(2.1.246), since runs here are one-shot-pand never resumed. 2.1.250 is "Bug fixes and reliability improvements" with no itemised notes.