[BUG] Bug Report: SessionEnd Hook Not Triggering in Claude Code
Resolved 💬 3 comments Opened Jan 16, 2026 by kyakumithis Closed Jan 19, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
BUG_REPORT_SessionEnd_Hook_Not_Triggering.md
What Should Happen?
trying to use the session end hook to write the session chat to a file for storage.
Error Messages/Logs
Steps to Reproduce
BUG_REPORT_SessionEnd_Hook_Not_Triggering.md
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
Claude Code version: 2.1.9
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗