Files
codebase-memory-mcp/tests
Andrew Hundt e6e54a516e fix(mcp): preserve explicit missing project errors
Keep explicit non-path project names authoritative in resolve_project_store so a bad slug cannot fall back to the active session root after slug-based context hydration. Implicit project resolution and session/dependency aliases can still use session-root autoindex, while explicit filesystem paths keep their path-based autoindex path.

Add a focused regression that first hydrates session context from a valid project slug, then verifies a different missing slug returns a structured error/not-found response.

Verified with: make -j8 -f Makefile.cbm build/c/test-runner; CBM_ONLY_SUITE=tool_consolidation ./build/c/test-runner; CBM_ONLY_SUITE=mcp ./build/c/test-runner; bash scripts/check-source-safety.sh; bash scripts/test-source-safety.sh; git diff --check; escalated CBM_ONLY_SUITE=incremental ./build/c/test-runner.

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