Skip to content

Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.

Merge branch 'main' into fix/activation-guard-home-scope

Martin Vogel78a6d19f1eaa
diff --cc tests/test_cli.c
index 43779e3bd,7c58ed7d5..4f427be3a
--- a/tests/test_cli.c
+++ b/tests/test_cli.c
@@@ -49,14 -45,9 +49,15 @@@
#endif
#include <errno.h>
#include <limits.h>
+ #include <wchar.h> /* wcscmp/wcslen/swprintf for the Windows user-PATH test (#2117) */
#include <zlib.h>
+/* Same guarded fallback every product TU carries; CI injects the real value
+ * through CFLAGS_EXTRA for product objects and test objects alike. */
+#ifndef CBM_VERSION
+#define CBM_VERSION "dev"
+#endif
+
/* Internal prompt seam used to restore process-global state after command
* tests that exercise --yes. */
void cbm_set_auto_answer_for_test(int value);