Worktree-isolated sessions refuse claude plugin eval (guard reads 'eval' as shell eval)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 62/100
- Tipo di issue
- Documentazione
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- shell
- Ambito
- cli, documentation, tooling
Direzione di ricerca
Il Claude Code binary guard non può essere modificato in questo repo. Individua la skill /evals:plugin-eval (plugin evals) e documenta che le sessioni isolate nel worktree rifiutano claude plugin eval perché il guard tratta eval come lo shell builtin. Indica il workaround: esegui il comando esatto in un terminale separato fuori da Claude Code. Ricontrolla sulle nuove release di Claude Code come descritto nell'issue.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Shell
- Stelle
- 22
- Fork
- 2
- Merge medio
- 1h 38m
- PR unite (30g)
- 911
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di melodic-software/claude-code-plugins
-
host-run priority: medium status: ready work-class: scoped
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
melodic-software/claude-code-plugins#12083 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
melodic-software/claude-code-plugins#9179 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
priority: low status: confirmed
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
melodic-software/claude-code-plugins#8799 ·
I maintainer di solito rispondono entro 1 giorno
-
admission-deferred priority: medium status: ready work-class: scoped
Difficoltà 4/5 3-5 giorni Idoneità per principianti 40/100
melodic-software/claude-code-plugins#12299 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
rendered-views: migrate the grandfathered HTML-emitting surfaces to the convention (fleet ladder sweep + evals reconciliation) - part 1 of 3Forse già presa @melodic-automation-lanes l’ha presa oggi. Apertaagent-ready priority: medium status: ready work-class: scoped
Difficoltà 5/5 Più di una settimana Idoneità per principianti 18/100
melodic-software/claude-code-plugins#12296 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di melodic-software/claude-code-plugins
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
weekly-report.sh: REPORT_PY defaults to a non-portable $HOME/workspaces pathForse già presa @rubambiza l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
rossoctl/automation#126 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 78/100
VMAFx/vmafx#3260 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
smswithoutborders/RelaySMS-Publisher#227 ·
I maintainer di solito rispondono entro 1 giorno
-
mirror/uberon.owl is built from a stale uberon.obo when one is already in src/envoForse già presa @turbomam l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
EnvironmentOntology/envo#1699 ·
I maintainer di solito rispondono entro 1 giorno