Skip to content

provenance audit: compound pre-compute lines refused in worktree-isolated sessions #4580

Description

@kyle-sexton

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageNot yet classified. Floor until a type and one priority tier are set.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions