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.

doc-links: semantic index version 6 for the document layer

Martin Vogel67710b0c2725
diff --git a/src/pipeline/pipeline_internal.h b/src/pipeline/pipeline_internal.h
index 0cdd7bdc1..87b9c160b 100644
--- a/src/pipeline/pipeline_internal.h
+++ b/src/pipeline/pipeline_internal.h
@@ -1269,8 +1269,13 @@ int cbm_pipeline_build_fresh_semantic_manifest(cbm_pipeline_t *p, const char *pr
* QNs for every unchanged file, so it is rebuilt in full once.
* 5: doc-comment references became MENTIONS edges and doc_link_unresolved
* rows, and C# LSP surfaces carry the doc-link scope ("dl"); an index
- * built before has neither, so it rebuilds once on upgrade. */
-enum { CBM_SEMANTIC_INDEX_VERSION = 5 };
+ * built before has neither, so it rebuilds once on upgrade.
+ * 6: documents became link sources: Markdown, reStructuredText and AsciiDoc
+ * sections and PDF pages hold MENTIONS edges into the code, ADR records
+ * are nodes, and AsciiDoc files, PDFs and a Sphinx project's extra
+ * source suffixes are indexed. An index built before has none of this
+ * for its unchanged documents, so it rebuilds once on upgrade. */
+enum { CBM_SEMANTIC_INDEX_VERSION = 6 };
typedef struct {
cbm_gbuf_t *gbuf;