Files
codebase-memory-mcp/src
Shane McCarronandClaude Sonnet 4.6 a109e9753e fix(store,mcp): prevent ghost .db file creation for unknown projects
- Add cbm_store_open_path_query() that opens with SQLITE_OPEN_READWRITE
  only (no SQLITE_OPEN_CREATE); returns NULL when file is absent
- Declare cbm_store_open_path_query() in store.h
- Change resolve_store() in mcp.c to call cbm_store_open_path_query
  so querying a nonexistent project never creates a ghost .db file
- Indexing path (cbm_store_open_path) retains SQLITE_OPEN_CREATE

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-22 18:18:21 -05:00
..