mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-11-04 08:13:37 +08:00
Addresses review on #539. - Free p->saved_adr in cbm_pipeline_free so it is not leaked on error paths that exit before the restore in dump_and_persist_hashes (e.g. a cbm_gbuf_dump_to_sqlite failure). - Check cbm_store_adr_store's return value on restore and log an error instead of silently dropping the ADR (the original #516 symptom). - Add reproduce-first test pipeline_adr_survives_full_reindex: index, store an ADR, force a full re-index by adding files, assert the ADR survives unchanged. Passes against the fix. Signed-off-by: RithvikReddy0-0 <rithvikreddymukkara@gmail.com>