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 origin/main into fix/doc-section-hierarchy

Martin Vogel468095462082
diff --cc src/pipeline/pipeline_internal.h
index 11407897d,80485c7e8..f61b74000
--- a/src/pipeline/pipeline_internal.h
+++ b/src/pipeline/pipeline_internal.h
@@@ -1655,12 -1655,16 +1655,21 @@@ int cbm_pipeline_build_fresh_semantic_m
* a kube / k8s task DEPLOYS {via:ansible} the template it applies
* (pass_ansible.c). An external Chart is keyed by its publisher URL.
* An index built before holds none of them, so it rebuilds once on
- * upgrade. */
- /* v10: repeated ATX and Setext Markdown headings use parent-qualified Section
- * names only when distinct parent chains separate them. Preserve unchanged bare names
- * and disambiguate dotted-name collisions before resolving section references.
- * Rebuild old indices so Section nodes, MENTIONS and diagram owners agree. */
- enum { CBM_SEMANTIC_INDEX_VERSION = 10 };
+ * upgrade.
+ * 10: combine the platform variants, stem disambiguation and infrastructure
+ * layers above with unresolved-call evidence capture and its candidate
+ * index. Both upstream version 9 and this branch's earlier version 9
+ * lack part of these semantics, so unchanged files rebuild once.
+ * 11: Python local defs and classes bind through their enclosing lexical
+ * scope, including app-factory route handlers. Published version 10
+ * predates this resolution, so unchanged files rebuild once on upgrade.
++ * 12: repeated ATX and Setext Markdown headings use parent-qualified Section
++ * names only when distinct parent chains separate them. Unchanged bare names
++ * are preserved and dotted-name collisions are disambiguated before section
++ * references resolve. Old indices rebuild once so Section nodes, MENTIONS
++ * and diagram owners agree.
+ * The unresolved-call coverage threshold remains independent. */
-enum { CBM_SEMANTIC_INDEX_VERSION = 11 };
++enum { CBM_SEMANTIC_INDEX_VERSION = 12 };
typedef struct {
cbm_gbuf_t *gbuf;