Skip to content

docs(evals): record the 2.1.316 recheck of the worktree eval guard - #11567

Merged
kyle-sexton merged 2 commits into
mainfrom
docs/5696-eval-guard-2.1.316
Oct 31, 2026
Merged

kyle-sexton merged 2 commits into
mainfrom
docs/5696-eval-guard-2.1.316

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Refs: #5696

Summary

In a worktree-isolated session the Bash guard refuses claude plugin eval, reading the subcommand as shell eval. Claude Code 2.1.314 shipped a worktree-isolation fix (sandbox protections for a worktree entered by claude -p --resume), which meets the recorded recheck trigger. On 2.1.316 the guard still refuses in a --worktree session, so this PR records the recheck and leaves the issue open.

Fix

  • plugins/evals/skills/plugin-eval/SKILL.md: the worktree guard verification row cites 2.1.316, checked 2026-10-31.
  • plugins/evals/skills/plugin-eval/reference/records.md, Worktrees: the recheck line now names 2.1.316 and the result per session shape.
  • A patch changelog fragment for evals.

Verification

  • Probe on Claude Code 2.1.316, Linux/WSL2, subscription login, --permission-mode auto, echo ok control in each shape: claude -p --worktree ran echo ok and refused claude plugin eval --help with the same "runs a string through eval" message; a plain claude -p session in a git worktree add worktree ran both and printed the eval usage.
  • scripts/check-changelog-fragments.sh --check: all 7 fragments valid. scripts/check-affected.sh --tests: 6 passed, 9 skipped, 1 failed on the fragment name, fixed by recreating it with scripts/new-changelog-fragment.sh.
  • Left out: nothing.

Related

Remaining

🤖 Generated with Claude Code

https://claude.ai/code/session_01Vcupon6E9kRk7hZ4kYbmP2

kyle-sexton and others added 2 commits October 31, 2026 10:52
On Claude Code 2.1.316 a `claude -p --worktree` session still refuses
`claude plugin eval --help`; a normal session in a git worktree runs it.

Refs: #5696

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Vcupon6E9kRk7hZ4kYbmP2
@kyle-sexton
kyle-sexton marked this pull request as ready for review October 31, 2026 14:55
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-31T14:56:50.677459Z b63dee4 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

claude-review reviewed b63dee441a8e952371f540be13053dcd1029efc4: 0 finding(s), 0 as inline comments.

No findings. The change is docs-only: it updates the 2.1.316 recheck date and version in plugin-eval/SKILL.md (Sources row) and reference/records.md (Worktrees), and adds a patch changelog fragment.

  • The only remaining 2.1.312 reference under plugins/evals is the already-released entry in CHANGELOG.md, which should stay as written.
  • The fragment's bump: patch fits a docs-only edit.
  • I could not run the 2.1.316 probe, so the claim that a --worktree session still refuses claude plugin eval --help is author-claimed and unverified.
  • No closing issue applies: the PR says Refs #5696 and leaves the issue open.
  • The trusted-path scan matched nothing: none of the 3 changed files falls under a listed glob.
  • No manifest items were hit.
  • No cost hold applies.

@github-actions

Copy link
Copy Markdown
Contributor

claude-security-review reviewed b63dee441a8e952371f540be13053dcd1029efc4: 0 finding(s), 0 as inline comments.

No security issues found.

The PR changes three files: a changelog fragment (.changes/evals/docs-5696-eval-guard-2.1.316-6aa5873c.md), one verification-table row in plugins/evals/skills/plugin-eval/SKILL.md, and one recheck line in plugins/evals/skills/plugin-eval/reference/records.md. The edits only change the cited Claude Code version (2.1.312 to 2.1.316) and the recheck date (2026-10-29 to 2026-10-31).

  • The diff touches no trusted path, trust control, manifest, workflow, token scope, kill switch or merge hold.
  • No standing instruction is deleted, narrowed or softened. The edited text is a verification record, not a rule that guards an action. I did not consult the instruction exception register.
  • The PR description contains no embedded instructions aimed at the reviewer.
  • The change spends no billed resource.

No manifest items are hit.

critical-findings: 0

@kyle-sexton
kyle-sexton added this pull request to the merge queue Oct 31, 2026
Merged via the queue into main with commit c003b5a Oct 31, 2026
55 of 68 checks passed
@kyle-sexton
kyle-sexton deleted the docs/5696-eval-guard-2.1.316 branch October 31, 2026 15:06
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.

1 participant