Skip to content

The AST engine never uses tree-sitter: its grammars are not installed #538

Closed

Description

@dan-petty

Found by the first run of devops review samples validate (#505).

TreeSitterEngine maps TypeScript, JavaScript, Go, Rust, Java and HCL with tree-sitter, but neither tree_sitter nor any grammar package is a dependency. Every file falls back to the regex parser (parse_engine: fallback-ast) and many yield no symbols:

Language Files No symbols
TypeScript 31 16
Rust 37 10
Java 85 8
HCL 5 1
Go, JavaScript 11 0

Python is unaffected: its fallback is the standard library's own parser.

Repository maps, context packing and review grounding only see what the regex finds.

Deliverables

  • tree-sitter and the maintained grammar packages for the languages the engine claims, as dependencies.
  • The sample validation shows tree-sitter as the parser for those languages, with symbols in the files the fallback left empty.
  • feat(ai): AST support for C#, C/C++, shell and Markdown #506 (C#, C/C++, shell, Markdown) builds on this.

Activity

  1. added this to the v0.2.23 milestone on Sep 24, 2026
  2. added
    type/bug
    scope/ai
    priority/p1-high
    on Sep 24, 2026
  3. added a commit that references this issue on Sep 25, 2026
    e7ac37f
  4. dan-petty commented on Sep 25, 2026

    @dan-petty
    OwnerAuthor

    Closed by #562, merged into release/v0.2.23.

    GitHub only acts on closing keywords when a pull request merges into the default branch, so this was closed by devops gh issues close-merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/p1-highscope/aitype/bug

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions