feat(sql): index Dysflow saved Access queries (queries/*.sql) - #15
Closed
ardelperal wants to merge 1 commit into
Closed
feat(sql): index Dysflow saved Access queries (queries/*.sql)#15ardelperal wants to merge 1 commit into
ardelperal wants to merge 1 commit into
Conversation
Dysflow exports each saved Access QueryDef as queries/<Name>.sql plus a queries.json manifest. CodeGraph did not recognize .sql at all, so the app's entire saved-query/data layer was invisible. Add SqlQueryExtractor: emits a 'query' node per .sql file + 'references' edges to the tables it names (FROM/JOIN/INTO/UPDATE, bracketed names unwrapped, deduped), tagged synthesizedBy 'sql-query-table'. Detection is gated on a sibling queries.json so non-Access repos are unaffected: .sql stays out of EXTENSION_MAP (isSourceFile false), and the directory-discovery walk + git-ls-files path + incremental sync + watcher each only admit a .sql when its dir carries the manifest. Adds Language 'sql' and NodeKind 'query'; routes 'sql' in tree-sitter dispatch. Tests: extractor unit suite, a discovery-gate E2E (manifest present vs absent), and a real-fixtures query under src/queries/.
ardelperal
added a commit
that referenced
this pull request
Jul 3, 2026
- vba-graph-connectivity-fixes (PR #14, 9b1787a; affected issues #12, #13) - vba-api-declarations (PR #31, 9b614b7; issue #15) - 2026-06-30-vba-event-tracer (PR #36, 393b14d) - 2026-06-30-vba-sql-impact (PR #38, ba25ef4) The artifact folders had been left in openspec/changes/ after their PRs landed on main; an openspec list now reports them as still-active, which masks the true state of the SDD pipeline. Move to archive/ alongside the other finished changes and update [Unreleased] to record the hygiene. Pure docs/text move, zero product-code impact.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Slice 2 of 2 (chained on #14). Closes the other high-value VBA-for-Access gap: the saved-query/data layer.
What
Dysflow exports saved Access QueryDefs as queries/.sql + a queries.json manifest. CodeGraph did not recognize .sql at all, so the data layer was invisible and VBA-vs-table usage couldn't be traced.
Changes
Tests (strict TDD)
Note
Chained on #14 (feat/vba-enums-consts). Merge #14 first; GitHub will auto-retarget this PR to main.