claude-memory-mcp/hooks
Viktor Barzin e47efee6b6
resilient memory sync: decouple push/pull, startup full resync, auth failure handling
- Decouple push and pull in _sync_once() so pull always runs even if push fails
- Add startup full resync to catch drift from other agents and schema changes
- Add periodic full resync every ~10 minutes for continuous drift correction
- Add auth failure detection (401/403) with graceful SQLite-only degradation
- Add /api/auth-check endpoint for lightweight key validation
- Add retry cap (5 attempts) on pending ops to prevent infinite queue buildup
- Add orphan reconciliation: push local-only records with content dedup
- Add memory_count MCP tool for sync diagnostics
- Add version-based SQLite schema migration (PRAGMA user_version)
- Fix API key in ~/.claude.json to match server
- Update README with sync resilience docs, test structure, project layout
- Add 30 new tests covering all new behaviors (155 total, all passing)
2026-03-16 18:37:59 +00:00
..
auto-allow-memory-tools.py Add Claude Code plugin scaffold for single-repo install 2026-03-14 14:49:18 +00:00
auto-learn.py resilient memory sync: decouple push/pull, startup full resync, auth failure handling 2026-03-16 18:37:59 +00:00
post-compact-recovery.sh Add Claude Code plugin scaffold for single-repo install 2026-03-14 14:49:18 +00:00
pre-compact-backup.sh Add Claude Code plugin scaffold for single-repo install 2026-03-14 14:49:18 +00:00
user-prompt-recall.py Add Claude Code plugin scaffold for single-repo install 2026-03-14 14:49:18 +00:00