Skip to content

quality-gate slash invocation dies silently in headless sessions when its gh preflight is denied #290

Description

@kyle-sexton

Found during V1 pilot fixture probes (not introduced by that branch).

claude -p "/review:quality-gate …" in a non-interactive session produces empty output, exit 0: the skill's pre-computed context line runs gh pr list, the permission is denied headlessly, and the slash invocation dies without any model output. Prose invocation ("use the quality-gate skill…") degrades gracefully instead.

Candidate fixes: guard the preflight (gh … || echo unknown already exists — investigate why denial still kills the invocation), or drop gh from pre-computed context, or document allowed-tools frontmatter for the preflight.

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumReal value, no hard deadline; normal backlog flow.status: readyTriaged, unblocked, and fully specified; eligible to pick up.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions