Worktree-isolated sessions refuse claude plugin eval (guard reads 'eval' as shell eval)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 62/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- shell
- 領域
- cli, documentation, tooling
調査の方向性
この repo では Claude Code binary guard を変更できない。/evals:plugin-eval skill(plugin evals)を探し、worktree で隔離されたセッションが claude plugin eval を拒否することを文書化する。guard が eval を shell builtin として扱うためである。回避策を述べる: Claude Code の外の別ターミナルで同じコマンドを実行する。issue に記載のとおり、新しい Claude Code リリースで再確認する。
索引モデルが issue の本文から書いたものです。
説明
Summary
In a worktree-isolated Claude Code session, the Bash tool refuses any command that contains eval as a word, including claude plugin eval and claude plugin eval --help. The guard reads the subcommand as the shell builtin eval. Plugin skills that run plugin evals (/evals:plugin-eval) therefore cannot run from an isolated worktree session.
The guard is built into Claude Code: its message text is in the 2.1.285 binary, not in any plugin in this repo. Per our rule against filing on Anthropic's repositories, this issue tracks the limitation here.
Repro
- Start a session isolated in a git worktree (Claude Code 2.1.285, Linux/WSL2).
- Have the model run
claude plugin eval --help. - Observed: refused with "this command runs a string through eval, which can't be verified to stay inside the worktree."
- Expected:
claude plugin evalis a CLI subcommand, not shelleval, so it should run.
claude --version and claude plugin --help pass. Another message from the same guard: "uses a subshell in a command inside a construct too complex to verify".
Workaround
Run the command in a separate terminal outside Claude Code. The ! prefix does not work: the user's own ! command in the same session is refused with the identical message (verified 2026-10-01). Do not bypass the guard with wrapper scripts.
Follow-ups
/evals:plugin-evalshould name this limitation and give the user the exact command to run in a separate terminal when it runs in a worktree-isolated session.- The refusal message ends "a worktree-isolated session's git operations must target its own worktree", which is misleading because this command is not a git operation.
- Recheck on each Claude Code release: run
claude plugin eval --helpfrom an isolated worktree session, and close this issue once it passes.
Found while running an approved observation run during the eval-design/hillclimbing digest interview (branch feat/eval-design-hillclimbing-digest).
🤖 Generated with Claude Code
- 主要言語
- Shell
- スター
- 22
- フォーク
- 2
- 平均マージ
- 1時間 29分
- マージ済み PR(30日)
- 895
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
melodic-software/claude-code-plugins のほかの issue
-
agent-ready priority: medium status: ready work-class: scoped
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
melodic-software/claude-code-plugins#12762 ·
メンテナーはふだん 1 日以内に返信
-
agent-ready priority: medium status: ready work-class: scoped
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
melodic-software/claude-code-plugins#12716 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
melodic-software/claude-code-plugins#9179 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
priority: low status: confirmed
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
melodic-software/claude-code-plugins#8799 ·
メンテナーはふだん 1 日以内に返信
-
priority: low status: ready work-class: scoped
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
melodic-software/claude-code-plugins#12776 ·
メンテナーはふだん 1 日以内に返信
melodic-software/claude-code-plugins の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
suitenumerique/find#205 ·
メンテナーはふだん 2 日以内に返信
-
README em inglêsオープンgood first issue help wanted priority:p2 type:docs
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
lucacasanova/homedeck#122 ·
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信