Skip to content

fix(hookify): include hook-specific output for warnings#52668

Open
YspritanHyzygy wants to merge 1 commit intoanthropics:mainfrom
YspritanHyzygy:fix/hookify-warn-hook-output
Open

fix(hookify): include hook-specific output for warnings#52668
YspritanHyzygy wants to merge 1 commit intoanthropics:mainfrom
YspritanHyzygy:fix/hookify-warn-hook-output

Conversation

@YspritanHyzygy
Copy link
Copy Markdown

Summary

  • Return hook-specific output for Hookify warn actions on PreToolUse and PostToolUse events.
  • Preserve existing systemMessage output while adding additionalContext so warnings reach Claude context.
  • Keep non-tool warning output and blocking behavior unchanged.

Fixes #40380

Test plan

  • python -m unittest discover plugins/hookify/tests
  • git diff --check

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] PreToolUse/PostToolUse warn hook systemMessage silently dropped without hookSpecificOutput

1 participant