Files
claude-mem/plugin/CLAUDE.md
T
Alex Newman 2659ec3231 fix: Claude Code 2.1.1 compatibility + log-level audit + path validation fixes (#614)
* Refactor CLAUDE.md and related files for December 2025 updates

- Updated CLAUDE.md in src/services/worker with new entries for December 2025, including changes to Search.ts, GeminiAgent.ts, SDKAgent.ts, and SessionManager.ts.
- Revised CLAUDE.md in src/shared to reflect updates and new entries for December 2025, including paths.ts and worker-utils.ts.
- Modified hook-constants.ts to clarify exit codes and their behaviors.
- Added comprehensive hooks reference documentation for Claude Code, detailing usage, events, and examples.
- Created initial CLAUDE.md files in various directories to track recent activity.

* fix: Merge user-message-hook output into context-hook hookSpecificOutput

- Add footer message to additionalContext in context-hook.ts
- Remove user-message-hook from SessionStart hooks array
- Fixes issue where stderr+exit(1) approach was silently discarded

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

* Update logs and documentation for recent plugin and worker service changes

- Added detailed logs for worker service activities from Dec 10, 2025 to Jan 7, 2026, including initialization patterns, cleanup confirmations, and diagnostic logging.
- Updated plugin documentation with recent activities, including plugin synchronization and configuration changes from Dec 3, 2025 to Jan 7, 2026.
- Enhanced the context hook and worker service logs to reflect improvements and fixes in the plugin architecture.
- Documented the migration and verification processes for the Claude memory system and its integration with the marketplace.

* Refactor hooks architecture and remove deprecated user-message-hook

- Updated hook configurations in CLAUDE.md and hooks.json to reflect changes in session start behavior.
- Removed user-message-hook functionality as it is no longer utilized in Claude Code 2.1.0; context is now injected silently.
- Enhanced context-hook to handle session context injection without user-visible messages.
- Cleaned up documentation across multiple files to align with the new hook structure and removed references to obsolete hooks.
- Adjusted timing and command execution for hooks to improve performance and reliability.

* fix: Address PR #610 review issues

- Replace USER_MESSAGE_ONLY test with BLOCKING_ERROR test in hook-constants.test.ts
- Standardize Claude Code 2.1.0 note wording across all three documentation files
- Exclude deprecated user-message-hook.ts from logger-usage-standards test

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

* fix: Remove hardcoded fake token counts from context injection

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

* Address PR #610 review issues by fixing test files, standardizing documentation notes, and verifying code quality improvements.

* fix: Add path validation to CLAUDE.md distribution to prevent invalid directory creation

- Add isValidPathForClaudeMd() function to reject invalid paths:
  - Tilde paths (~) that Node.js doesn't expand
  - URLs (http://, https://)
  - Paths with spaces (likely command text or PR references)
  - Paths with # (GitHub issue/PR references)
  - Relative paths that escape project boundary

- Integrate validation in updateFolderClaudeMdFiles loop
- Add 6 unit tests for path validation
- Update .gitignore to prevent accidental commit of malformed directories
- Clean up existing invalid directories (~/, PR #610..., git diff..., https:)

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

* fix: Implement path validation in CLAUDE.md generation to prevent invalid directory creation

- Added `isValidPathForClaudeMd()` function to validate file paths in `src/utils/claude-md-utils.ts`.
- Integrated path validation in `updateFolderClaudeMdFiles` to skip invalid paths.
- Added 6 new unit tests in `tests/utils/claude-md-utils.test.ts` to cover various rejection cases.
- Updated `.gitignore` to prevent tracking of invalid directories.
- Cleaned up existing invalid directories in the repository.

* feat: Promote critical WARN logs to ERROR level across codebase

Comprehensive log-level audit promoting 38+ WARN messages to ERROR for
improved debugging and incident response:

- Parser: observation type errors, data contamination
- SDK/Agents: empty init responses (Gemini, OpenRouter)
- Worker/Queue: session recovery, auto-recovery failures
- Chroma: sync failures, search failures (now treated as critical)
- SQLite: search failures (primary data store)
- Session/Generator: failures, missing context
- Infrastructure: shutdown, process management failures
- File Operations: CLAUDE.md updates, config reads
- Branch Management: recovery checkout failures

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

* fix: Address PR #614 review issues

- Remove incorrectly tracked tilde-prefixed files from git
- Fix absolute path validation to check projectRoot boundaries
- Add test coverage for absolute path validation edge cases

Closes review issues:
- Issue 1: ~/ prefixed files removed from tracking
- Issue 3: Absolute paths now validated against projectRoot
- Issue 4: Added 3 new test cases for absolute path scenarios

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

* build assets and context

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 23:34:20 -05:00

3.4 KiB

# Recent Activity

Dec 29, 2025

package.json

ID Time T Title Read
#34351 11:13 PM Version 8.5.0 Release Committed to Git ~402
#34350 11:12 PM Version 8.5.0 Build Completed Successfully ~425
#34214 10:07 PM 🔵 Cursor Integration Feature Set Discovered via Memory Search ~427
#34208 10:00 PM claude-mem v8.2.10 built and synced to marketplace ~416

Dec 30, 2025

package.json

ID Time T Title Read
#34476 2:25 PM V2 Branch Builds Successfully Despite TypeScript Errors ~316
#34451 2:20 PM Successful Build of Claude-Mem v8.5.1 Components ~346

Dec 31, 2025

package.json

ID Time T Title Read
#34724 4:51 PM Built claude-mem v8.5.2 with issue 499 fix ~287
#34710 4:48 PM Built and deployed claude-mem v8.5.1 to marketplace ~371

Jan 1, 2026

package.json

ID Time T Title Read
#35680 11:43 PM 🟣 Automated version 8.5.3 release workflow completed ~470
#35613 10:57 PM Build System Compiled Updated Middleware ~320
#35427 6:32 PM Claude-Mem Project Built Successfully ~319
#35397 5:23 PM Build System Successfully Compiled All Components ~282
#35343 3:00 PM Phase 1 Git Status Shows Modified Files ~315

Jan 2, 2026

package.json

ID Time T Title Read
#35982 5:09 PM Built and deployed claude-mem version 8.5.4 with LogsModal UI component ~295
#35976 4:48 PM Claude-mem build and marketplace sync completed ~335
#35925 2:53 PM Built Project for Version 8.5.4 Release ~294
#35815 2:26 PM Claude-mem plugin built and deployed to marketplace ~381

Jan 3, 2026

package.json

ID Time T Title Read
#36687 11:53 PM MCP SDK and esbuild Dependencies Updated ~332
#36669 11:37 PM Merge conflicts resolved automatically - only 5 metadata files modified ~345

Jan 4, 2026

package.json

ID Time T Title Read
#36926 2:26 AM Git rebase aborted and working directory restored ~242
#36924 2:25 AM Merged fix/pr-538-followups branch into main with comprehensive updates ~481
#36827 1:03 AM Branch diff shows 1,293 insertions and 98 deletions across 15 files ~464
#36701 12:01 AM Built Version 8.5.7 Plugin Artifacts ~406

Jan 5, 2026

package.json

ID Time T Title Read
#38092 10:44 PM Built version 9.0.0 with complete plugin bundle ~329

.mcp.json

ID Time T Title Read
#37545 4:47 PM Issue #544 Analysis Report Created for mem-search Skill Messaging Problem ~480

Jan 7, 2026

package.json

ID Time T Title Read
#38186 7:33 PM 🟣 Claude-mem plugin v9.0.0 built and deployed to marketplace ~327
#38120 5:46 PM 🔴 Rebuilt all plugin hooks and worker service ~278