Files
codebase-memory-mcp/src/git
Andrew Hundt 7a32d9a29f refactor(git): reuse portable existence checks
Replace existence-only stat() probes in git context resolution and watcher baseline initialization with cbm_file_exists().

This removes direct sys/stat dependencies from those files without changing behavior: both paths only needed to know whether the root path exists before attempting git snapshot/command handling.

Validation: make -f Makefile.cbm cbm; CBM_ONLY_SUITE=pipeline,tool_consolidation,mcp ./build/c/test-runner; scripts/check-source-safety.sh; git diff --check.
Signed-off-by: Andrew Hundt <ATHundt@gmail.com>
2026-07-01 22:48:45 -04:00
..