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 main 0f6cc06b into fix/py-namespace-string-future-facts (#2704 landed)
Martin Vogel3c2853e338e3
diff --cc tests/test_pipeline.cindex 03cdb1933,2b80f51bd..49e67185f--- a/tests/test_pipeline.c+++ b/tests/test_pipeline.c@@@ -23188,32 -23459,26 +23477,32 @@@ TEST(pipeline_python_namespace_codec_ow}TEST(pipeline_python_namespace_codec_rejects_non_authoritative_rows) {- /* Numeric values below are the frozen version-1 namespace wire values.- * Even an empty LSP array must validate its namespace envelope. */+ /* Numeric values below are the frozen namespace wire values (version 2+ * changed which statements extraction proves harmless, not the wire+ * shape). Even an empty LSP array must validate its namespace envelope,+ * and a payload of an older facts version is no authority: its facts+ * were extracted under other rules, so the incremental run that reads+ * it re-extracts in full. */const char *bad[] = {"{\"v\":1,\"lsp\":[]}",- "{\"v\":2,\"lang\":1,\"lsp\":[]}",- "{\"v\":2,\"lang\":1,\"lsp\":[],\"py\":null}",- "{\"v\":2,\"lang\":1.0,\"lsp\":[],\"py\":null}",- "{\"v\":2,\"v\":2,\"lang\":0,\"lsp\":[],\"py\":null}",- "{\"v\":2,\"lang\":1,\"lsp\":[],\"py\":{\"v\":2,\"lang\":1,"+ "{\"v\":3,\"lang\":1,\"lsp\":[]}",+ "{\"v\":3,\"lang\":1,\"lsp\":[],\"py\":null}",+ "{\"v\":3,\"lang\":1.0,\"lsp\":[],\"py\":null}",+ "{\"v\":3,\"v\":3,\"lang\":0,\"lsp\":[],\"py\":null}",- "{\"v\":3,\"lang\":1,\"lsp\":[],\"py\":{\"v\":1,\"lang\":1,"++ "{\"v\":3,\"lang\":1,\"lsp\":[],\"py\":{\"v\":2,\"lang\":1,""\"module\":\"p.m\",\"path\":\"m.py\",\"status\":3,\"failure\":2,\"events\":[]}}",- "{\"v\":2,\"lang\":1,\"lsp\":[],\"py\":{\"v\":1,\"lang\":1,"++ "{\"v\":3,\"lang\":1,\"lsp\":[],\"py\":{\"v\":1,\"lang\":1,"+ "\"module\":\"p.m\",\"path\":\"m.py\",\"status\":2,\"failure\":0,\"events\":[]}}",- "{\"v\":2,\"lang\":1,\"lsp\":[],\"py\":{\"v\":99,\"lang\":1,"+ "{\"v\":3,\"lang\":1,\"lsp\":[],\"py\":{\"v\":99,\"lang\":1,""\"module\":\"p.m\",\"path\":\"m.py\",\"status\":2,\"failure\":0,\"events\":[]}}",- "{\"v\":2,\"lang\":1,\"lsp\":[],\"py\":{\"v\":2,\"lang\":1,"- "{\"v\":3,\"lang\":1,\"lsp\":[],\"py\":{\"v\":1,\"lang\":1,"++ "{\"v\":3,\"lang\":1,\"lsp\":[],\"py\":{\"v\":2,\"lang\":1,""\"module\":\"p.m\",\"path\":\"m.py\\u0000suffix\",\"status\":2,""\"failure\":0,\"events\":[]}}",- "{\"v\":2,\"lang\":1,\"lsp\":[],\"py\":{\"v\":2,\"lang\":1,"- "{\"v\":3,\"lang\":1,\"lsp\":[],\"py\":{\"v\":1,\"lang\":1,"++ "{\"v\":3,\"lang\":1,\"lsp\":[],\"py\":{\"v\":2,\"lang\":1,""\"module\":\"p.m\",\"path\":\"m.py\",\"status\":2,\"failure\":0,\"events\":[""{\"k\":999,\"d\":0,\"s\":0,\"r\":0,\"f\":0,\"l\":0,""\"n\":null,\"m\":null,\"i\":null,\"a\":[]}]}}",- "{\"v\":2,\"lang\":1,\"lsp\":[],\"py\":{\"v\":2,\"lang\":1,"- "{\"v\":3,\"lang\":1,\"lsp\":[],\"py\":{\"v\":1,\"lang\":1,"++ "{\"v\":3,\"lang\":1,\"lsp\":[],\"py\":{\"v\":2,\"lang\":1,""\"module\":\"p.m\",\"path\":\"m.py\",\"status\":2,\"failure\":0,\"events\":[""{\"k\":8,\"d\":0,\"s\":1,\"r\":0,\"f\":0,\"l\":4294967296,""\"n\":null,\"m\":null,\"i\":null,\"a\":[]}]}}",@@@ -23233,7 -23498,7 +23522,7 @@@cbm_arena_destroy(&arena);}const char *unknown =- "{\"v\":2,\"lang\":1,\"lsp\":[],\"reg\":[],\"py\":{\"v\":2,\"lang\":1,"- "{\"v\":3,\"lang\":1,\"lsp\":[],\"reg\":[],\"py\":{\"v\":1,\"lang\":1,"++ "{\"v\":3,\"lang\":1,\"lsp\":[],\"reg\":[],\"py\":{\"v\":2,\"lang\":1,""\"module\":\"p.m\",\"path\":\"m.py\",\"status\":2,\"failure\":0,\"events\":[""{\"k\":7,\"d\":0,\"s\":0,\"r\":7,\"f\":0,\"l\":0,""\"n\":null,\"m\":null,\"i\":null,\"a\":[]}]}}";