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
fix(extract): skip Go blank-identifier struct fields
Ilya Brykaucb7cb444126f
diff --git a/internal/cbm/extract_defs.c b/internal/cbm/extract_defs.cindex 7bb6ec955..2e359af67 100644--- a/internal/cbm/extract_defs.c+++ b/internal/cbm/extract_defs.c@@ -6962,6 +6962,13 @@ static void extract_class_fields(CBMExtractCtx *ctx, TSNode class_node, const chcontinue;}+ /* Go: `_` is the blank identifier, used for explicit struct padding in+ * generated code. It is not a referenceable field, and emitting it gives+ * every `_` in the repository a same-named node to collide with. */+ if (ctx->language == CBM_LANG_GO && strcmp(name, "_") == 0) {+ continue;+ }+const char *field_qn = cbm_arena_sprintf(a, "%s.%s", class_qn, name);CBMDefinition def;