Skip to content

fix(claude-ops): hook-failure-audit launch-failure signature misses 'Executable not found in $PATH' #5657

Closed

Description

@kyle-sexton

Refs #3708 (closed by owner decision Q2 = C).

Summary

plugins/claude-ops/hooks/hook-failure-audit.sh classifies a hook launch failure by the regex execvpe|execve\(|exec format error. Claude Code 2.1.285 words a missing executable as Executable not found in $PATH: "<name>", which matches none of them. A node spawn failure is therefore reported as "completed non-zero exit ... nothing here points at the launch path" instead of a launch failure.

Fix

Add Executable not found in \$PATH to the launch-failure signature in the class classification, with a test fixture using the verbatim 2.1.285 transcript record from the #3708 Q2 evidence comment (#3708 (comment)).

Verification

Run the detector on a transcript holding that record and expect the launch-failure class and message; the existing detector tests still pass.

Related

#3708, #1416, #2577.

Activity

  1. added
    agent-ready
    on Oct 1, 2026
  2. added
    needs-triage
    on Oct 1, 2026
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

    agent-readyneeds-triage

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions