Files
claude-mem/src/cli
Albert Hui 42adfe29c8 fix: gracefully handle missing input fields in hook handlers (#1098)
The summarize (Stop) and observation (PostToolUse) handlers throw
blocking errors (exit code 2) when optional input fields like
transcriptPath, toolName, or cwd are missing. This causes visible
hook errors on every session stop and after some tool uses.

Replace throws with graceful returns matching the existing pattern
used for worker-unavailable checks.

Fixes #1097

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 00:25:55 -05:00
..