Files
codebase-memory-mcp/tests
Andrew Hundt 4fa1419910 fix: validate cache dbs before quarantine
Validate candidate project databases with the existing read-only CBM schema check before opening them through the read-write query path. This prevents unrelated SQLite files in CBM_CACHE_DIR from being touched by pragma setup or moved to .corrupt.

Keep quarantine limited to managed cache databases, retain corrupt files when quarantine cannot be proven safe, and update the store integrity comment so future callers do not treat arbitrary .db files as owned data.

Add an MCP regression that places a foreign SQLite database in the cache directory and verifies it remains in place without quarantine or WAL/SHM side effects.

Signed-off-by: Andrew Hundt <ATHundt@gmail.com>
2026-06-28 18:10:44 -04:00
..
2026-06-03 02:13:30 +02:00