[FEATURE] Add attention_reason to Notification hooks
Status Fixed / completed
Maintainer reply None cached
Activity 4 comments · opened Jan 22, 2026 · closed Jan 22, 2026
Problem
Determining if a session needs user attention requires parsing the message field with regex. notification_type alone isn't reliable.
Proposal
Add structured fields:
{
"hook_event_type": "Notification",
"attention_reason": "permission_request",
"requires_user_attention": true
}
Enum values: permission_request, needs_input, error, completed, info
Why
This would make external tools more reliable. Example:
https://github.com/usedhonda/cc-status-bar
4 Comments
Screenshot
Here's what CC Status Bar looks like in action:
!CC Status Bar Screenshot
The color indicators (green/yellow) would be more reliable with attention_reason enum.
Found 1 possible duplicate issue:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
Closing as duplicate of #11189. I'll add my use case there instead.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.