Repository navigation
feat(roadmap): find symbol definitions with tree-sitter - #4820
Conversation
Measurements and checksDreamscaper. Issue #3 of dan-petty/dreamscaper cites the Rust functions
Python result. I took 60 identifiers at Tests. The new tests failed on base ( Live steps. None. The change adds no setting and changes no ConfigMap or Secret. The Service uses the new lookup when its image rolls. |
The definition lookup of the stage probe, the refine context and the implement premise check read only Python files. A Rust function that an issue cites got the probe line that it has no definition. One git grep now finds the lines that name the identifier in the source files of each language that tree-sitter reads, Markdown excepted. The Python definitions come from the same expression as before. When no Python file defines the name, one more git grep reads the other files, and TreeSitterEngine confirms a symbol of that name. The probe lists an identifier that the bound leaves undecided as not probed. The symbol section of the context lists these files and names the definitions.
A definition lookup that reads only the first CONST_ROADMAP_DEFINITION_READ_FILES files of other languages and finds no definition now returns None, so the stage probe lists the identifier as not probed and writes no false premise. The limit table gives both new constants a class.
2159ef2 to
3d04e00
Compare
|
Review fixes for the two findings on this pull request.
The branch is rebased on the current |
🤖 I have created a release *beep* *boop* --- ## [0.115.0](v0.114.1...v0.115.0) (2026-11-12) ### Features * **design:** add the design tokens and their build ([#4811](#4811)) ([db4b19a](db4b19a)) * **roadmap:** find symbol definitions with tree-sitter ([#4820](#4820)) ([3b3fddc](3b3fddc)) ### Bug Fixes * **ai:** the gateway group that answered decides the local label ([#4907](#4907)) ([0da637f](0da637f)) * **ci:** replay a changed gate check in fail-to-pass ([#4898](#4898)) ([59bfc57](59bfc57)) * **config:** read each config file as YAML 1.2 ([#4858](#4858)) ([c3130a3](c3130a3)) * **roadmap:** loosen the caps that turn a stage refusal into a loss ([#4869](#4869)) ([4492fc3](4492fc3)) * **roadmap:** refine reads a dependency named by title ([#4877](#4877)) ([2829f9c](2829f9c)) * **roadmap:** refine sends a judge refusal to an agent round ([#4874](#4874)) ([e4fc6a9](e4fc6a9)) * **tests:** refuse test writes under the real home ([#4857](#4857)) ([0f6ac1b](0f6ac1b)) * **tests:** the plain-Python helper test keeps PYTHONPATH ([#4914](#4914)) ([99c109d](99c109d)) ### Performance Improvements * **ci:** direct pytest runs wait for a gate slot ([#4901](#4901)) ([e80db62](e80db62)) * **roadmap:** status lane reads the snapshot, skips idle stops ([#4887](#4887)) ([f285cf8](f285cf8)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
The definition lookup of the stage probe, the refine context and the implement premise check read only
*.pyfiles, so the probe said that a Rust function that a dreamscaper issue cites has no definition. Now onegit grepfinds the lines that name the identifier in the source files of each language that tree-sitter reads, Markdown excepted, and Python keeps its definition expression. When no Python file defines the name, one moregit grepreads the other files, andTreeSitterEngineconfirms a symbol of that name. The probe lists an identifier that its bound leaves undecided as not probed, and the context names the definitions. The grammar tag queries were rejected: bash, HCL, Dockerfile and YAML ship none.Closes #4638
Change:
openspec/changes/archive/2026-11-11-4638-find-symbol-definitions-with-tree-sitter/