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.
C aiderastclaude-codecode-analysiscode-intelligencecodexcursorcypherdeveloper-toolsgemini-cligraph-visualizationkilocodeknowledge-graphmcpmcp-servermodel-context-protocolopencodesqlitetree-sitterwindsurf
Merge remote-tracking branch 'origin/main' into fix/decision-b-win-sid-trust
Martin Vogel62bafb76b380
diff --cc src/daemon/ipc.hindex b6f0e9634,2c10d458b..a86d9ecc6--- a/src/daemon/ipc.h+++ b/src/daemon/ipc.h@@@ -94,13 -94,18 +94,25 @@@ const char *cbm_daemon_ipc_validation_d#ifdef CBM_ENABLE_TEST_SEAMS/* #1537: seed the detail so a test can prove the CLI refusal surfaces it. */void cbm_daemon_ipc_set_validation_detail_for_testing(const char *detail);+#ifdef _WIN32+/* #1705: run the daemon's directory-owner/ACE trust predicate against an+ * arbitrary SID, so a test can assert THIS machine's built-in Administrator+ * (RID-500) is trusted while a foreign S-1-5-21-*-500 is not. Returns false on+ * any setup failure. Windows only. */+bool cbm_daemon_ipc_win_sid_trusted_for_testing(void *sid);+#endif+ #ifndef _WIN32+ /* #1830 seams (POSIX). Override the single-uid user-namespace overflow uid that+ * ancestors may be owned by (active=false restores the real /proc-derived+ * value); and expose the pure uid_map-parse and ancestor accept/refuse decision+ * so they can be tested without a chown-able overflow-owned directory. */+ void cbm_daemon_ipc_posix_set_ancestor_overflow_uid_for_test(bool active,+ unsigned long overflow_uid);+ bool cbm_daemon_ipc_posix_uid_map_is_single_uid_for_test(const char *uid_map, unsigned long euid);+ bool cbm_daemon_ipc_posix_ancestor_stat_ok_for_test(unsigned long owner, unsigned int mode,+ unsigned long euid, bool overflow_active,+ unsigned long overflow_uid);+ #endif#endif/* Create/validate an owner-only directory and securely open one regular