You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Graft does not index Godot .gd or GLSL .glsl files #293
Graft currently reports no indexed definitions for Godot GDScript (.gd) and GLSL shader (.glsl) files. In a Godot-heavy repository, this makes graft skeleton / MCP graft_file_api fail on core renderer files even though the files are tracked and present.
graft skeleton — godot_project/shaders/cell_owner_product.glsl
no definitions indexed for this file
The files are present in git. The issue is that src/graph/source-files.ts only enumerates files claimed by languageOf, genericLangOf, or containerLangOf; neither .gd nor .glsl is claimed by the current depth/generic/container registries.
At minimum, .gd and .glsl files should be source-indexed with file nodes and useful definition nodes so skeleton, grep, ask, and MCP graft_file_api can route agents to real code instead of reporting an empty API surface.
A reasonable first pass would support:
.gd: class_name, func, static func, class, signal, enum, const, var, @export var
.glsl: struct, function definitions, layout/uniform declarations, const, preprocessor defines
Why this matters
In Godot projects, renderer ownership often lives in .gd orchestration files plus .glsl shader producers/consumers. Without these extensions, Graft can project failure-log/code references that mention the files, but the wiring graph has no definitions for the actual source files, so structural code tools are blind on the most important surfaces.
.gd is already being added in #299 (breadth-tier row + tags query + preload/load imports). I am not opening a second GDScript PR.
.glsl is still unclaimed there; I'll send a small registry-row PR for that remaining slice rather than closing this issue from the GDScript work alone.
Activity
Frankie-Xu commentedon Sep 11, 2026
[email protected]already includesgdscript,glsl, andgdshader..gdis already being added in #299 (breadth-tier row + tags query +preload/loadimports). I am not opening a second GDScript PR..glslis still unclaimed there; I'll send a small registry-row PR for that remaining slice rather than closing this issue from the GDScript work alone.Frankie-Xu commentedon Sep 11, 2026
.glslslice: draft #358 (oneGENERIC_LANGSrow, walker symbols, no query)..gdremains #299.feat(graph): index GLSL shaders in the breadth tier (trailhq#293)
feat(graph): index GLSL files in the breadth tier (#293) (#358)
feat(graph): index GLSL files in the breadth tier (#293) (#358)
feat(graph): index GLSL files in the breadth tier (#293) (#358)