Files
codebase-memory-mcp/tests
Andrew Hundt 75d2fdacdb fix(watcher): reject truncated git commands
Centralize watcher git command formatting so every cbm_popen path validates the root path and checks snprintf truncation before executing.

Reject watch roots that cannot fit the core git commands instead of accepting a path that would later be truncated. Keep POSIX submodule dirty hashing best-effort, so optional submodule probing does not block the portable parent-repo watcher path.

Add a focused watcher regression for an overlong but shell-safe path and validate with source-safety, a forced test-runner rebuild, and CBM_ONLY_SUITE=watcher.

Signed-off-by: Andrew Hundt <ATHundt@gmail.com>
2026-07-01 04:46:21 -04:00
..
2026-06-03 02:13:30 +02:00