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 origin/main into the smart-CI branch
Martin Vogel867e5f883df4
diff --cc .github/workflows/_lint.ymlindex 78e0eb952,367c1dd58..bd4d21b36--- a/.github/workflows/_lint.yml+++ b/.github/workflows/_lint.yml@@@ -15,8 -10,11 +15,12 @@@ permissionsjobs:lint:+ if: ${{ inputs.lanes == 'all' || contains(fromJSON(inputs.lanes), 'lint') }}- runs-on: ubuntu-latest+ # Pinned, not ubuntu-latest: the LLVM install below adds an+ # apt.llvm.org llvm-toolchain-NOBLE repo, which is 24.04 by name. When+ # GitHub moves ubuntu-latest to the next LTS this job breaks on a day+ # nobody chose. Pin the runner to the release the repo line already names.+ runs-on: ubuntu-24.04# 15 min proved too tight on a slow runner day and a timed-out lint reads# as "cancelled", which the release graph must treat as a hard stop; keep# a bound, but one only a genuine hang can hit (normal runtime ~5 min).@@@ -66,8 -64,8 +70,9 @@@# provability (never suppressed — the NOLINT ban applies here too).# Vendored-tree diagnostics are path-filtered, mirroring .cppcheck.lint-mem:+ if: ${{ inputs.lanes == 'all' || contains(fromJSON(inputs.lanes), 'lint-mem') }}- runs-on: ubuntu-latest+ # Pinned for the same reason as `lint`: llvm-toolchain-noble-21 below.+ runs-on: ubuntu-24.04timeout-minutes: 60steps:- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1diff --cc .github/workflows/_test.ymlindex 766db9d97,61ab9d0e0..2f8c2af76--- a/.github/workflows/_test.yml+++ b/.github/workflows/_test.yml@@@ -315,8 -245,9 +315,10 @@@ jobs# parallel suite — catches what an older compiler-rt can miss. Same# canonical scripts/test.sh wave as every other leg.test-diag:+ if: ${{ inputs.lanes == 'all' || contains(fromJSON(inputs.lanes), 'diag') }}- runs-on: ubuntu-latest+ # Pinned for the same reason as the lint jobs: the pinned diagnostic+ # toolchain below installs from llvm-toolchain-noble-21.+ runs-on: ubuntu-24.04timeout-minutes: 120steps:- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1diff --cc Makefile.cbmindex 4cf16f90e,d76269f66..e249e1686--- a/Makefile.cbm+++ b/Makefile.cbm@@@ -671,7 -635,7 +673,8 @@@ TEST_FOUNDATION_SRCS =TEST_EXTRACTION_SRCS = \tests/test_extraction.c \+ tests/test_callable_sig.c \+ tests/test_test_conventions.c \tests/test_extraction_inheritance.c \tests/test_extraction_imports.c \tests/test_parse_coverage.c \@@@ -1195,16 -1136,23 +1206,23 @@@ TS_RUNTIME_OBJ_PROD = $(BUILD_DIR)/prodLSP_OBJ_PROD = $(BUILD_DIR)/prod_lsp_all.oPP_OBJ_PROD = $(BUILD_DIR)/prod_preprocessor.o- $(BUILD_DIR)/prod_%.o: $(CBM_DIR)/%.c $(GRAMMAR_UNITY_DEPS) | $(BUILD_DIR)+ # Every prod object whose flags carry a BUILD_CONFIG_SIG variable+ # (TEST_SEAM_DEFINE via GRAMMAR_CFLAGS, MEMWASTE_VENDOR_CFLAGS) depends on the+ # $(BUILD_DIR)/.build-config stamp. These objects are compiled once and linked+ # into every later binary, so without the stamp a TEST_SEAMS or MEMWASTE flip+ # relinks the PREVIOUS flavour: a release binary keeps seam code compiled into+ # lsp_all, or a seams binary misses it. prod_mimalloc.o and the unixcoder blob+ # take no config variable and stay off the stamp.+ $(BUILD_DIR)/prod_%.o: $(CBM_DIR)/%.c $(GRAMMAR_UNITY_DEPS) $(BUILD_DIR)/.build-config | $(BUILD_DIR)$(CC) $(GRAMMAR_CFLAGS) -c -o $@ $<- $(BUILD_DIR)/prod_ts_runtime.o: $(TS_RUNTIME_DEPS) | $(BUILD_DIR)+ $(BUILD_DIR)/prod_ts_runtime.o: $(TS_RUNTIME_DEPS) $(BUILD_DIR)/.build-config | $(BUILD_DIR)$(CC) $(GRAMMAR_CFLAGS) -c -o $@ $<- $(BUILD_DIR)/prod_lsp_all.o: $(LSP_UNITY_DEPS) | $(BUILD_DIR)+ $(BUILD_DIR)/prod_lsp_all.o: $(LSP_UNITY_DEPS) $(BUILD_DIR)/.build-config | $(BUILD_DIR)- $(CC) $(GRAMMAR_CFLAGS) -c -o $@ $<+ $(CC) $(GRAMMAR_CFLAGS) $(TEST_COVERAGE_FLAGS) -c -o $@ $<- $(BUILD_DIR)/prod_preprocessor.o: $(CBM_DIR)/preprocessor.cpp | $(BUILD_DIR)+ $(BUILD_DIR)/prod_preprocessor.o: $(CBM_DIR)/preprocessor.cpp $(BUILD_DIR)/.build-config | $(BUILD_DIR)$(CXX) $(CXXFLAGS_PROD) -w -I$(CBM_DIR)/vendored -c -o $@ $<# Vendored LZ4 (compiled separately, not unity-built via lz4_store.c)diff --cc internal/cbm/cbm.hindex 9595f1aff,dc89a6b2d..0ad6e9f62--- a/internal/cbm/cbm.h+++ b/internal/cbm/cbm.h@@@ -267,11 -246,10 +267,15 @@@ typedef struct* HTTP_CALLS edge to base + path. Tail fields: zero-init stays valid. */const char *http_client;const char *http_base_url;+ /* Callable identity (#2061): offset of the signature suffix inside+ * qualified_name (base QN = the first qn_sig_off bytes); 0 = no suffix.+ * Always 0 until a language enables its callable_identity mode. */+ uint32_t qn_sig_off;+ CBMTestDefinitionRole test_role; /* NONE preserves legacy helper/test-file semantics */+ /* Configured raw definitions only; zero for all legacy rows. Exact spans+ * are bound to the owning result's source identity before cross-file use. */+ uint32_t test_name_start_byte, test_name_end_byte;+ uint32_t test_body_start_byte, test_body_end_byte;} CBMDefinition;/* Argument captured from a call expression */@@@ -636,24 -642,11 +672,29 @@@ typedef struct CBMFileResult// by cbm_free_result(); ordinary single-file results leave these zeroed.struct CBMFileResult **owned_results;int owned_result_count;++ /* The file's own doc, set on its File node: the Go package comment or+ * the Rust inner docs (//!). NULL for other languages and undocumented+ * files. */+ const char *module_doc;+ /* A consumed configured definition could not be mapped safely. Only an+ * allocation failure (OOM) still aborts publication: any other status is+ * degraded per file by cbm_test_declarations_degrade. error_msg is+ * arena-owned as usual. */+ CBMTestExtractStatus test_declarations_status;+ int test_declaration_index; /* meaningful on failure; -1 = preset */+ uint32_t test_declaration_line; /* 0 = snapshot preflight */+ bool has_test_definition_owners;+ /* has_error was raised by a configured-definition issue alone. */+ bool test_error_only;+ /* The file's configured test forms could not be mapped: it carries no+ * configured test roles; the status names why (no pointer: compaction+ * and spill relocate only the strings they know). */+ bool test_declarations_degraded;+ CBMTestExtractStatus test_declarations_degraded_status;+ int test_owner_source_len;+ CBMLanguage test_owner_language;+ char test_owner_source_sha256[65]; /* exact raw source; identity, not authentication */} CBMFileResult;// --- Enclosing function cache ---@@@ -740,35 -733,13 +781,40 @@@ typedef struct/* How many nodes the unified walk actually visited (whether or not it ran* out of budget) — the measurement the budget has to be expressed in. */uint32_t walk_nodes_visited;+ /* Doc-comment lookup state (extract_defs.c), NULL until first used and+ * allocated in `scratch`: the memo of parents' child arrays and the Perl+ * POD section index. */+ void *doc_memo;+ void *doc_pod_index;+ const cbm_test_declarations_t *test_declarations; /* borrowed for this call only */+ bool test_declarations_raw_source;+ struct CBMTestDefinitionMatch *test_definition_matches; /* traversal scratch */+ int test_definition_match_count;+ int test_definition_match_cap;} CBMExtractCtx;+/* Internal configured-definition seams. No declarations pointer enters a result. */+/* A configured test form the extractor cannot map degrades the FILE, not+ * the index (user decision 2026-10-04): its configured test roles, owner+ * spans and owner flag are dropped, the status reads OK again, an error the+ * issue alone raised is cleared, and test_declarations_degraded keeps the+ * reason for a per-file diagnostic. OK and OOM results are left unchanged:+ * an allocation failure still fails. Idempotent. */+void cbm_test_declarations_degrade(CBMFileResult *result);+/* The fixed description of a configured-definition status (static). */+const char *cbm_test_extract_status_message(CBMTestExtractStatus status);+bool cbm_test_declarations_validate(CBMFileResult *result,+ const cbm_test_declarations_t *declarations);+void cbm_test_declarations_finish(CBMExtractCtx *ctx);+/* Raw AST candidate only: no declaration/configuration decisions. A C split+ * invocation uses its adjacent compound body as scope; ordinary definitions+ * use their function node. Callers still validate raw bytes before ownership. */+bool cbm_test_definition_candidate(TSNode scope, CBMLanguage language, TSNode *name, TSNode *body);+const char *cbm_test_definition_qn(CBMExtractCtx *ctx, TSNode function);+bool cbm_test_definition_owners_match(const CBMFileResult *owners, const char *source,+ int source_len, bool cpp_mode, const char *module_qn);+const char *cbm_test_definition_owner_qn(const CBMFileResult *owners, TSNode function);+// --- Public API ---// Bind third-party allocators (tree-sitter, sqlite3) to mimalloc asdiff --cc scripts/memory-core-baseline.txtindex cf3dabf95,145338803..251920e2f--- a/scripts/memory-core-baseline.txt+++ b/scripts/memory-core-baseline.txt@@@ -22,7 -22,7 +22,7 @@@ src/cli/client_adapter.csrc/cli/config_edit_path.c 2src/cli/config_json_like.c 142src/cli/config_text_edit.c 72--src/cli/config_toml_edit.c 85++src/cli/config_toml_edit.c 73src/cli/config_yaml_edit.c 117src/cli/hook_augment.c 31src/cypher/cypher.c 132@@@ -52,7 -52,7 +52,7 @@@ src/git/git_context.c 1src/main.c 32src/mcp/compact_out.c 39src/mcp/index_supervisor.c 8- src/mcp/mcp.c 779-src/mcp/mcp.c 778++src/mcp/mcp.c 773src/pipeline/artifact.c 38src/pipeline/fqn.c 23src/pipeline/lsp_resolve.h 4diff --cc scripts/test.shindex 5774b659f,1741f8a1d..3a4072064--- a/scripts/test.sh+++ b/scripts/test.sh@@@ -354,42 -338,9 +354,45 @@@ bash "$ROOT/tests/test_version_metadataecho "=== Step 0y: VM leg verdict contract ==="bash "$ROOT/tests/test_vm_verdict_contract.sh"-echo "=== Step 0z: setup scripts install through the installers' verified path ==="+echo "=== Step 0y2: isolated Windows venue contract ==="+bash "$ROOT/tests/test_vm_isolation_contract.sh"+++echo "=== Step 0y3: setup scripts install through the installers' verified path ==="+ bash "$ROOT/tests/test_setup_scripts_contract.sh"++# Step 0z: PR CI runs only the lanes scripts/ci/select-lanes.sh selects, so a+# wrong selection is a silent gate loss. The decision table, and the replay of+# every September 2026 PR push and real failure against it.+echo "=== Step 0z: PR lane selector contract ==="+bash "$ROOT/tests/test_select_lanes.sh"+echo "=== Step 0z2: lane selector history replay ==="+bash "$ROOT/scripts/test-impact/replay-selector.sh"+echo "=== Step 0z3: lane-aware aggregate gates (ci-ok, shard union) ==="+bash "$ROOT/tests/test_lane_gate_contract.sh"+echo "=== Step 0z4: lane wiring (PRs select, dry run and release run all) ==="+bash "$ROOT/tests/test_lane_wiring_contract.sh"+echo "=== Step 0z5: test-impact shadow prediction contract ==="+bash "$ROOT/tests/test_test_impact_predict.sh"+# Step 0z6: the per-test coverage map must never report a test as executing+# less than it did: every case where the builder cannot know (a killed forked+# child, an unreadable profile, a failed suite) has to come out `incomplete`.+echo "=== Step 0z6: per-test coverage map builder contract ==="+bash "$ROOT/tests/test_coverage_map.sh"+# Step 0z7: a push's incremental coverage map carries the suites it did not+# re-run onto the new image's function table; a wrong remap would hand the PR+# selection a map that claims tests ran functions they never touched.+echo "=== Step 0z7: incremental coverage map merge contract ==="+bash "$ROOT/tests/test_coverage_merge.sh"+# Step 0z8: the one place a test-impact answer becomes what PR CI runs. Only a+# well-formed, self-consistent selection may narrow; everything else runs all.+echo "=== Step 0z8: test selection (answer -> runner filter) contract ==="+bash "$ROOT/tests/test_test_impact_selection.sh"++if [ "$CONTRACTS_ONLY" -eq 1 ]; then+ echo "=== test.sh: contracts-only — every contract step passed ==="+ exit 0+fi+# Verify compiler supports target archverify_compiler "$CC"@@@ -441,10 -357,15 +444,16 @@@ fif [ "${CBM_TEST_SEQUENTIAL:-0}" = "1" ]; thenmake -f Makefile.cbm test ${MAKE_ARGS[@]+"${MAKE_ARGS[@]}"}else- make -f Makefile.cbm test-par ${MAKE_ARGS[@]+"${MAKE_ARGS[@]}"}+ env ${SELECTION_ENV[@]+"${SELECTION_ENV[@]}"} \+ make -f Makefile.cbm test-par ${MAKE_ARGS[@]+"${MAKE_ARGS[@]}"}fi+ # Step 3a: the runner must ignore an inherited git repository environment+ # (#2003: the pre-commit hook exports GIT_DIR, which overrides `git -C` and+ # pointed fixture git commands at the committer's real repository).+ echo "=== Step 3a: inherited git environment isolation (#2003) ==="+ bash "$ROOT/tests/test_git_env_isolation_contract.sh" "$ROOT/$BUILD_DIR/test-runner"+# Step 4: C++ large-TU index-hang regression guard (#410). Runs the PROD binary# in a subprocess with a wall-clock timeout — a hang must fail, not block the run.# Opt-in via CBM_RUN_HANG_TEST=1 (it needs the prod binary, which the ASan unitdiff --cc src/mcp/mcp.cindex 92460bf58,837a858a4..28d42230c--- a/src/mcp/mcp.c+++ b/src/mcp/mcp.c@@@ -16591,18 -16579,26 +17035,29 @@@ static char *handle_detect_changes(cbm_return res;}- if (!validate_search_path_arg(root_path) ||- !validate_windows_cmd_interpolation_arg(root_path)) {+ /* The default base is looked up only once root_path is known to be safe+ * to splice into the git command line. */+ bool root_ok =+ validate_search_path_arg(root_path) && validate_windows_cmd_interpolation_arg(root_path);+ bool default_base_found = true;+ if (root_ok && base_defaulted) {+ char default_base[CBM_SZ_1K];+ default_base_found =+ detect_default_base(srv, root_path, default_base, sizeof(default_base));+ base_branch = heap_strdup(default_base);+ }+ if (!root_ok || !base_branch) {- free(root_path);- free(project);- free(base_branch);- free(scope);+ detect_release(root_path, project, base_branch, scope);- return cbm_mcp_text_result("project path contains invalid characters", true);+ return cbm_mcp_text_result(+ root_ok ? "out of memory" : "project path contains invalid characters", true);}+ if (scope && strcmp(scope, "tests") == 0) {+ char *res = detect_test_impact(args, root_path, base_branch);+ detect_release(root_path, project, base_branch, scope);+ return res;+ }+/* Every detect snapshot and cursor is generation-bound. Validate the* metadata immediately after store resolution so fresh requests and* cursor replays fail identically before Git work or cursor minting. */diff --cc src/pipeline/lsp_resolve.hindex 693947106,0e9215066..a88fed081--- a/src/pipeline/lsp_resolve.h+++ b/src/pipeline/lsp_resolve.h@@@ -22,10 -22,9 +22,11 @@@#define CBM_PIPELINE_LSP_RESOLVE_H#include "cbm.h"-#include "callable_sig.h" /* cbm_qn_callable_base_len — leaf splitters skip the suffix */++#include "callable_sig.h" /* cbm_qn_callable_base_len — leaf splitters skip the suffix */+#include "foundation/mem_core.h" /* field-owner index storage */#include "graph_buffer/graph_buffer.h"#include "foundation/constants.h"+#include "pipeline/pipeline.h" /* cbm_registry_unique_field_qn, cbm_resolution_t */#include <ctype.h>#include <stdio.h>diff --cc src/pipeline/pass_definitions.cindex 291da2da0,f3a2cd948..4fc6dde05--- a/src/pipeline/pass_definitions.c+++ b/src/pipeline/pass_definitions.c@@@ -884,18 -918,12 +944,20 @@@ int cbm_pipeline_pass_definitions(cbm_pctx->pipeline, rel, result->error_ranges ? result->error_ranges : "unknown",result->parse_unusable ? "parse_unusable" : "parse_partial");}+ if (result->test_declarations_degraded) {+ /* Its configured test forms could not be mapped: indexed without+ * configured test roles (degraded per file, not the index). */+ cbm_pipeline_add_file_error(+ ctx->pipeline, rel,+ cbm_test_extract_status_message(result->test_declarations_degraded_status),+ "test_declarations");+ }/* Create nodes for each definition */+ const char *file_doc = result->module_doc; /* goes with the first def */for (int d = 0; d < result->defs.count; d++) {- process_def(ctx, &result->defs.items[d], rel);+ process_def(ctx, &result->defs.items[d], rel, file_doc);+ file_doc = NULL;total_defs++;}diff --cc src/pipeline/pass_lsp_cross.cindex a3c891276,8f5c1efe3..4592fe5b9--- a/src/pipeline/pass_lsp_cross.c+++ b/src/pipeline/pass_lsp_cross.c@@@ -661,13 -771,13 +798,17 @@@ CBMLSPDef *cbm_pxc_collect_all_defs(conidx++;}}+ if (files[fi].language == CBM_LANG_PYTHON) {+ pxc_fold_py_field_types(arena, fr, defs, file_start, idx, base_reg, def_modules[fi],+ imp_keys, imp_vals, imp_count);+ }cbm_pxc_free_import_map(imp_keys, imp_vals, imp_count); /* NULL-safe */if (files[fi].language == CBM_LANG_GO) {- pxc_fold_go_struct_fields(arena, fr, defs, file_start, idx);+ pxc_fold_struct_fields(arena, fr, defs, file_start, idx, "Struct");+ } else if (files[fi].language == CBM_LANG_C || files[fi].language == CBM_LANG_CPP) {+ /* Both: a `.h` file is classified C++, and that is where C declares+ * the structs its `.c` files access. */+ pxc_fold_struct_fields(arena, fr, defs, file_start, idx, "Class");}if (files[fi].language == CBM_LANG_RUST) {for (int ii = 0; ii < fr->impl_traits.count; ii++) {diff --cc src/store/store.hindex 291faabdd,916fa3a65..7f98baeef--- a/src/store/store.h+++ b/src/store/store.h@@@ -438,31 -432,9 +445,31 @@@ int cbm_store_commit(cbm_store_t *s)/* Rollback the current transaction. */int cbm_store_rollback(cbm_store_t *s);+/* Stable request read scope. Borrows an exclusively owned, single-thread+ * store and callback context. Refuses a transaction, busy statement or owned+ * progress handler; idle cached statements are allowed. Saves query_only and+ * busy_timeout, sets ON/0, begins DEFERRED and pins main.nodes before returning.+ * The cancellation callback is a pure predicate: no SQLite/store/scope/walk+ * calls. Do not replace connection handlers, transactions or close the store+ * during the borrow. Close walks first, then the scope, then the store.+ *+ * Open clears *out. Any cleanup/restoration failure, including failed open,+ * returns SCOPE_DISCARD: the caller MUST discard this connection. */+int cbm_store_read_scope_open(cbm_store_t *s, cbm_store_cancel_fn cancel, void *context,+ cbm_store_read_scope_t **out);+/* First cancellation/error is sticky. Check also rejects a lost transaction. */+int cbm_store_read_scope_check(cbm_store_read_scope_t *scope);+/* Consumer failure: accepts ERR or CANCELLED; other values latch ERR. */+int cbm_store_read_scope_fail(cbm_store_read_scope_t *scope, int status);+/* Borrowed store binding, not a health check or certification. */+cbm_store_t *cbm_store_read_scope_store(const cbm_store_read_scope_t *scope);+/* Disables its handler before cleanup. Returns latched status unless cleanup+ * fails (SCOPE_DISCARD). NULL is OK. Frees scope on every non-NULL call. */+int cbm_store_read_scope_close(cbm_store_read_scope_t *scope);+/* ── Bulk write optimization ────────────────────────────────────── */- /* Tune pragmas for bulk write throughput (synchronous=OFF, large cache).+ /* Tune pragmas for bulk write throughput (synchronous=OFF, 64 MiB cache).* WAL journal mode is preserved throughout for crash safety. */int cbm_store_begin_bulk(cbm_store_t *s);diff --cc tests/repro/repro_main.cindex d164fce90,b7c478ac7..281518fbc--- a/tests/repro/repro_main.c+++ b/tests/repro/repro_main.c@@@ -24,9 -24,9 +24,10 @@@int tf_pass_count = 0;int tf_fail_count = 0;int tf_skip_count = 0;+int tf_deselected_count = 0;#include "test_framework.h"+ #include "test_helpers.h"#include "repro_runner.h"#include "foundation/compat.h" /* cbm_setenv — #845 supervisor kill switch */#include "daemon/bootstrap.h" /* refuse the developer's default daemon rendezvous */diff --cc tests/test_main.cindex 5f1014628,b63f07035..7428194f2--- a/tests/test_main.c+++ b/tests/test_main.c@@@ -1709,7 -900,7 +1717,8 @@@ extern void suite_subprocess(void)extern void suite_private_file_lock(void);extern void suite_lock_registry(void);extern void suite_extraction(void);+ extern void suite_callable_sig(void);+extern void suite_test_conventions(void);extern void suite_extraction_inheritance(void);extern void suite_extraction_imports(void);extern void suite_parse_coverage(void);@@@ -1875,30 -1036,10 +1884,33 @@@ extern void suite_dump_verify_io(void)* caches at thread teardown (pass_parallel.c). */extern void cbm_kind_in_set_free_cache(void);+/* Native subprocess capture probe; implemented with its tests. */+extern int tf_maybe_run_subprocess_stdout_probe(int argc, char **argv);+extern void tf_test_impact_runner_filter_set_binary(const char *path);+extern int tf_maybe_run_git_facts_diff_probe(int argc, char **argv);+int main(int argc, char **argv) {+ /* #2003: never let a caller's GIT_DIR/GIT_INDEX_FILE/... redirect fixture+ * git commands at the caller's real repository. */+ th_clear_git_repo_env();+ tf_test_impact_runner_filter_set_binary(argc > 0 && argv ? argv[0] : NULL);+#ifdef CBM_TEST_COVERAGE+ tf_coverage_process_init();+#ifndef _WIN32+ int coverage_child_rc = tf_coverage_children_dispatch(argc, argv);+ if (coverage_child_rc >= 0) {+ return coverage_child_rc;+ }+#endif+#endif+ int stdout_probe_rc = tf_maybe_run_subprocess_stdout_probe(argc, argv);+ if (stdout_probe_rc >= 0) {+ return stdout_probe_rc;+ }+ int git_facts_probe_rc = tf_maybe_run_git_facts_diff_probe(argc, argv);+ if (git_facts_probe_rc >= 0) {+ return git_facts_probe_rc;+ }int memory_limit_probe_rc = tf_maybe_run_windows_memory_limit_probe(argc, argv);if (memory_limit_probe_rc >= 0) {return memory_limit_probe_rc;@@@ -2099,7 -1219,7 +2111,8 @@@/* Existing C code regression tests */RUN_SELECTED_SUITE(ac);RUN_SELECTED_SUITE(extraction);+ RUN_SELECTED_SUITE(callable_sig);+ RUN_SELECTED_SUITE(test_conventions);RUN_SELECTED_SUITE(extraction_inheritance);RUN_SELECTED_SUITE(extraction_imports);RUN_SELECTED_SUITE(parse_coverage);diff --cc tests/test_pipeline.cindex 86ad18b6d,ed9b0dd3c..15ff1bdbf--- a/tests/test_pipeline.c+++ b/tests/test_pipeline.c@@@ -16782,9 -17659,9 +18177,11 @@@ SUITE(pipeline)RUN_TEST(pipeline_rust_std_receiver_never_binds_project_method_parallel);RUN_TEST(pipeline_go_bare_ref_never_binds_field);RUN_TEST(pipeline_go_bare_ref_never_binds_field_parallel);+ RUN_TEST(pipeline_c_member_access_binds_field_by_object_type);+ RUN_TEST(pipeline_c_member_access_binds_field_by_object_type_parallel);RUN_TEST(pipeline_tsjs_receiver_parallel_keeps_service_edges);+ RUN_TEST(pipeline_capitalized_axios_import_is_http_client);+ RUN_TEST(pipeline_capitalized_axios_import_is_http_client_sequential);RUN_TEST(pipeline_python_receiver_parallel_suppresses_weak_method_edges);RUN_TEST(pipeline_python_bare_local_binding_suppresses_weak_edge);RUN_TEST(pipeline_python_bare_local_binding_parallel_suppresses_weak_edge);diff --cc tests/test_subprocess.cindex 631b1ca3d,d8bee0997..f80d42606--- a/tests/test_subprocess.c+++ b/tests/test_subprocess.c@@@ -28,9 -27,13 +28,15 @@@#include <sys/time.h>#include <sys/wait.h>#include <unistd.h>+ #ifdef __linux__+ #include <sys/syscall.h>+ #if !defined(SYS_close_range) && (defined(__x86_64__) || defined(__aarch64__))+ #define SYS_close_range 436+ #endif+ #endif#else+#include <fcntl.h>+#include <io.h>#include <windows.h>#include "../src/foundation/win_utf8.h"#endif