You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
plugin-diagnostics: hook-failure-audit says Claude Code shows hook failures to nobody (2.1.327) #17903
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:
Changelog 2.1.327 (items 2.1.327-065 and -066): failures of more events are now shown (SubagentStop in background agents, SessionEnd at /clear and /resume, CwdChanged and FileChanged in fullscreen). The hooks page does not state this per event yet (docs-lag).
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).
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.
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.
Activity
github-actions commentedon Nov 21, 2026
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.
melodic-automation-lanes commentedon Nov 21, 2026
{"v":1,"actor_id":337595936,"title_sha256":"c2d7a194d21cb2f12c45783ad332f476969555a94538ac7665d5f09ba46a15c2","body_sha256":"971ea2768b6f8c099e1cecd576d5db449072635ec81306121461be3cbe56c51d"}
melodic-automation-lanes commentedon Nov 21, 2026
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-readystarted, 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 addedagent-readyback 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 thekill-switchwait.github-actions commentedon Nov 21, 2026