Skip to content

plugin-diagnostics: hook-failure-audit says Claude Code shows hook failures to nobody (2.1.327) #17903

Description

@kyle-sexton

Refs: #16982

Split from the changelog release issue(s) above under the owner's decision of 2026-11-21 (melodic-software/architecture#148): one issue per handoff row, rows that edit the same file grouped.

Route: lane work. Basis: text correction to match current upstream.

Problem

plugins/plugin-diagnostics/hooks/hook-failure-audit.sh:2-3 and :7, and plugins/plugin-diagnostics/README.md:21 and :34-36, say a failing hook is recorded only as a hook_non_blocking_error transcript attachment that nobody sees. What is true now:

The hook's rationale over-states the gap it fills. This issue edits text only. Whether the hook stays is a separate native-overlap question, and the owner's direction is that it stays for now.

Done when

  • The header comment and README say what Claude Code now shows, pointing at hooks#exit-code-output and citing changelog 2.1.327 for the per-event fixes, and name the failures the hook still reports that Claude Code does not show (for example, launch failures with no notice).
  • The hook's detection logic is unchanged.

Activity

  1. added
    needs-triage
    on Nov 21, 2026
  2. github-actions commented on Nov 21, 2026

    @github-actions
    Contributor

    Size: Small
    Complexity: Low
    Uncertainty: Known
    Flags: none
    Blocked by: none
    Blast radius: the header comment of hook-failure-audit.sh and two spots in the plugin-diagnostics README; readers of those texts only, and the hook's detection logic stays unchanged.
    Reversible: yes; revert the text edit.
    Open questions: none
    Understood: the hook's header and the README say Claude Code shows hook failures to nobody, but current upstream shows a notice with the first stderr line (hooks#exit-code-output), and 2.1.327 adds more events. The text should say what Claude Code shows now, cite 2.1.327, and name the failures only this hook still reports. No duplicate or merged fix found. Related: #16982.

    Automated triage. A maintainer reviews it.

  3. removed
    needs-triage
    on Nov 21, 2026
  4. melodic-automation-lanes commented on Nov 21, 2026

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"c2d7a194d21cb2f12c45783ad332f476969555a94538ac7665d5f09ba46a15c2","body_sha256":"971ea2768b6f8c099e1cecd576d5db449072635ec81306121461be3cbe56c51d"}

  5. melodic-automation-lanes commented on Nov 21, 2026

    @melodic-automation-lanes
    Contributor

    This records a re-fire of an earlier stop, not a new one. The start gate stopped run 44892583715, the work-resolve-issue run that agent-ready started, before any model turn, because the GITHUB_TOKEN budget was under its start-gate share, or the window was projected to have under its start-project share of the header's limit left by the run's expected end (github-token start-gate, start-project and start-run-minutes in rate-limits.json; the run's start-gate notice names which); that run ended at 2026-11-21T10:06:36Z. work-unblock has now removed and added agent-ready back to start a fresh run. A budget stop is the lanes' load, not a fault in this issue: it never counts toward limits.limit-stops-per-issue or the kill-switch wait.

  6. github-actions commented on Nov 21, 2026

    @github-actions
    Contributor
    No description provided.
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

    No labels
    No labels

    Type

    Fields

    Work status

    needs-triage

    Priority

    low

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions