Problem
skills/audit/SKILL.md "Pre-computed context" (lines 27-28 in 0.5.15) runs two compound commands of the form script --show-config >/dev/null 2>&1 && { script --show-config 2>/dev/null | head -10; :; } || echo "detector unavailable". A worktree-isolated Claude Code session refuses both as "too complex to verify that it stays inside the worktree". The skill's own "Repository context" note (lines 20-23) already explains this refusal for git commands, but the pre-compute lines still use the compound form.
Evidence
melodic-software/.github#153, provenance step: both lines were refused. The run re-ran each script as a plain script --show-config call, which succeeded.
Fix
Make each pre-compute line a single plain invocation, or have --show-config exit 0 and print its own "unavailable" line so no &&/|| chain is needed.
Problem
skills/audit/SKILL.md"Pre-computed context" (lines 27-28 in 0.5.15) runs two compound commands of the formscript --show-config >/dev/null 2>&1 && { script --show-config 2>/dev/null | head -10; :; } || echo "detector unavailable". A worktree-isolated Claude Code session refuses both as "too complex to verify that it stays inside the worktree". The skill's own "Repository context" note (lines 20-23) already explains this refusal for git commands, but the pre-compute lines still use the compound form.Evidence
melodic-software/.github#153,
provenancestep: both lines were refused. The run re-ran each script as a plainscript --show-configcall, which succeeded.Fix
Make each pre-compute line a single plain invocation, or have
--show-configexit 0 and print its own "unavailable" line so no&&/||chain is needed.