Files
claude-mem/src/hooks/CLAUDE.md
T
Alex Newman a2ab45a461 feat: move development commands to plugin distribution (#666)
* feat: move development commands to plugin distribution

Move /do, /make-plan, and /anti-pattern-czar commands from project-level
.claude/commands/ to plugin/commands/ so they are distributed with the
plugin and available to all users as /claude-mem:do, /claude-mem:make-plan,
and /claude-mem:anti-pattern-czar.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* chore: Update CLAUDE.md and package version; fix bugs and enhance tests

- Updated CLAUDE.md to reflect changes and new entries for January 2026.
- Bumped package version from 9.0.2 to 9.0.3 in package.json.
- Refactored worker-service.cjs for improved error handling and process management.
- Added new bugfix documentation for critical issues identified on January 10, 2026.
- Cleaned up integration test logs and removed outdated entries in tests/integration/CLAUDE.md.
- Updated server test documentation to reflect recent changes and removed old entries.
- Enhanced hook response patterns and added new entries in hooks/CLAUDE.md.

* fix: keep anti-pattern-czar as internal dev tool

The anti-pattern-czar command relies on scripts that only exist in
the claude-mem development repository, so it shouldn't be distributed
with the plugin. Moving it back to .claude/commands/ for internal use.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 18:22:08 -05:00

5.4 KiB

# Recent Activity

Dec 9, 2025

ID Time T Title Read
#23126 6:40 PM Removed SKIP_TOOLS Check from saveHook Function ~288
#23125 " 🔵 SKIP_TOOLS Reference Still Present in saveHook Function ~224
#23124 " Removed SKIP_TOOLS Constant from save-hook.ts ~297
#23123 6:39 PM 🔵 Current SKIP_TOOLS Implementation in save-hook.ts ~397
#23122 " 🔴 Hardened Spinner Stop Mechanism with Timeout and Logging ~361
#23121 " 🔵 Current Spinner Stop Implementation in summary-hook.ts ~348
#23118 6:38 PM Phase 6: StopInput Interface Type Safety Restored ~248
#23117 6:37 PM Phase 6: PostToolUseInput Interface Type Safety Restored ~222
#23116 " Phase 6: UserPromptSubmitInput Interface Type Safety Restored ~216
#23115 " Phase 6: SessionStartInput Interface Type Safety Restored ~341
#23114 " 🔵 Current State of context-hook.ts Interface ~409
#23113 " 🔵 Current State of summary-hook.ts Interface and Spinner Stop ~397
#23112 " 🔵 Current State of save-hook.ts Interface and SKIP_TOOLS ~395
#23111 " 🔵 Current State of new-hook.ts Interface ~381
#23076 6:27 PM Added Comment Explaining Exit Code 3 in user-message-hook.ts ~245
#23075 6:26 PM Deleted Expired Announcement Code from user-message-hook.ts ~354
#23074 " Replaced Verbose Manual Mode Help with Error in cleanup-hook.ts ~222
#23073 " Removed cwd from cleanup-hook Debug Logging ~177

Dec 10, 2025

ID Time T Title Read
#23407 2:14 PM 🔵 New Hook Implementation Structure ~264

Dec 13, 2025

ID Time T Title Read
#25389 9:30 PM 🔴 Save Hook Error Logging Enhanced With Tool Context ~361
#25388 " 🔴 New Hook Now Logs SDK Agent Start Errors ~344
#25387 9:29 PM 🔴 New Hook Now Logs Session Initialization Errors ~350
#25386 " 🔴 Context Hook Now Logs Error Text Before Throwing ~338
#25385 " Added Logger Import to New Hook ~249
#25384 " Added Logger Import to Context Hook ~223
#25383 " 🔵 New Hook Has Two Silent Failure Points ~392
#25382 9:28 PM 🔵 Save Hook Has Partial Error Logging ~351
#25381 " 🔵 Summary Hook Has Partial Error Logging ~345
#25380 " 🔵 Context Hook Silent Failure Pattern Confirmed ~354

Dec 14, 2025

ID Time T Title Read
#26730 11:24 PM 🔵 Context Hook TypeScript Source Shows EnsureWorkerRunning as First Action ~441
#26729 " 🔵 Context Hook TypeScript Source Calls ensureWorkerRunning Before API Requests ~411
#26260 8:32 PM 🔵 User Message Hook Calls Context Inject with colors=true Parameter ~300
#26244 8:29 PM 🔵 Context Hook Delegates to Worker API Context Endpoint ~260
#25692 4:24 PM 🔵 Summary hook extracts last user and assistant messages from transcript file before sending to worker ~465

Dec 17, 2025

ID Time T Title Read
#28449 4:23 PM 🔵 New Hook Session Initialization Flow ~385

Dec 19, 2025

ID Time T Title Read
#30105 8:11 PM 🔵 Hook Response Utility Standardizes Hook Output Format ~387
#30103 8:10 PM 🔵 Context Hook Injects Mode-Based Memory Context During SessionStart ~460

Dec 20, 2025

ID Time T Title Read
#31085 7:59 PM 🔵 Summary Hook Uses session_id from Hook Input ~315

Dec 27, 2025

ID Time T Title Read
#33216 9:07 PM 🔵 UserPromptSubmit Hook (new-hook.ts) Initializes Session and Starts SDK Agent via Two HTTP Endpoints ~735
#33211 9:04 PM 🔵 User Message Hook Displays Context Info via stderr in Parallel with Context Injection ~476
#33210 9:03 PM 🔵 Summary Hook (summary-hook.ts) Extracts Messages and Triggers Summarization ~479
#33209 " 🔵 SessionStart Hook (context-hook.ts) Fetches Context Injection via HTTP ~520

Jan 7, 2026

ID Time T Title Read
#38235 7:42 PM Deprecated User Message Hook Source File ~399
#38176 7:26 PM ⚖️ Plan Created to Merge User Message into Context Hook JSON Output ~536
#38175 " 🔵 Complete Claude-Mem Hook Output Architecture Documented ~530
#38174 " 🔵 UserPromptSubmit Hook Initializes Sessions and Strips Slash Commands ~480
#38173 7:25 PM 🔵 Standard Hook Response Pattern for Non-SessionStart Hooks ~343
#38172 7:22 PM 🔵 Claude Code Hook Output Architecture Clarified - Exit Code Pattern is Correct for User-Only Display ~523
#38170 7:21 PM 🔵 User-Message-Hook TypeScript Source Shows Exit Code 1 Strategy for User-Only Display ~203

Jan 9, 2026

ID Time T Title Read
#38783 4:59 PM 🔵 Standard Hook Response Pattern ~263