claude-memory-mcp/tests
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
..
__init__.py feat: standalone claude-memory-mcp with multi-user support and Vault integration 2026-03-14 09:42:05 +00:00
test_api.py resilient memory sync: decouple push/pull, startup full resync, auth failure handling 2026-03-16 18:37:59 +00:00
test_auth.py feat: standalone claude-memory-mcp with multi-user support and Vault integration 2026-03-14 09:42:05 +00:00
test_credential_detector.py fix: resolve ruff lint errors (unused imports and variables) 2026-03-14 10:01:41 +00:00
test_crypto.py fix: resolve ruff lint errors (unused imports and variables) 2026-03-14 10:01:41 +00:00
test_mcp_server.py resilient memory sync: decouple push/pull, startup full resync, auth failure handling 2026-03-16 18:37:59 +00:00
test_sync.py resilient memory sync: decouple push/pull, startup full resync, auth failure handling 2026-03-16 18:37:59 +00:00
test_vault_client.py fix: resolve ruff lint errors (unused imports and variables) 2026-03-14 10:01:41 +00:00