Files
codebase-memory-mcp/tests
Andrew Hundt fdce258a9d fix(pipeline): reject weak calls to data symbols
A unique_name registry fallback could bind a C call such as format() to an unrelated Variable extracted from a JSON schema. Registry insertion order then changed the CALLS target between incremental and clean benchmark graphs.

Add cbm_pipeline_should_suppress_weak_noncallable_call_target in src/pipeline/pipeline_internal.h and apply it in resolve_single_call and resolve_file_calls. Keep Function, Method, type-like constructors, exact LSP targets, and strong same_module/import_map matches so callable C variables remain supported.

Add focused coverage in tests/test_pipeline.c and tests/test_lang_contract.c. Verified CBM_ONLY_SUITE=pipeline (386 passed) and CBM_ONLY_SUITE=lang_contract (39 passed).

Signed-off-by: Andrew Hundt <ATHundt@gmail.com>
2026-07-24 00:41:37 -04:00
..
2026-07-08 00:05:19 +05:30