Files
codebase-memory-mcp/tests
Andrew Hundt bc969cf012 fix: quarantine corrupt cache databases
Stop deleting structurally corrupt derived cache DBs during MCP store resolution.

Move corrupt cache DBs to <project>.db.corrupt only when that quarantine target does not already exist, and keep the active corrupt cache path in place if quarantine fails. This is diagnostic quarantine, not a recovery backup.

Add cbm_move_file_no_replace() to keep no-overwrite move semantics centralized across POSIX and Windows, and use it for DB/WAL/SHM quarantine sidecars.

Verified with make -f Makefile.cbm build/c/test-runner, make -B -f Makefile.cbm build/c/codebase-memory-mcp, CBM_ONLY_SUITE=mcp (114 passed), and CBM_ONLY_SUITE=security (39 passed).

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