0.2.2 - #6
Merged
Merged
Conversation
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.
v0.2.2 (2026-07-21)
LadybugDB graph engine migration — all graph queries now go through LadybugDB Cypher, with
entity/relationas the canonical source tables.graph_nodes/graph_edgesare deprecated. Plusenhance_projectnow populates the full model layer even on already-finalized projects.🚀 New Features
find_callers,find_callees,get_neighbors,get_subgraph,graph_query,shortest_path,get_graph_stats,get_entry_points,find_definition,find_references) now go through LadybugDB Cypher exclusively. SQLitegraph_nodes/graph_edgesfallback removed. Results served from KuzuDB property graph ((:Entity)-[:RELATES]->(:Entity)).buildLadybugFromEntityRelation: New function that builds LadybugDB directly fromentity/relationtables via CSV + Kuzu COPY FROM. Replaces the oldcompileGraphToLadybugDBwhich read fromgraph_nodes/graph_edges. 579ms for 1,387 nodes + 2,885 relations on CodeScope self-index. Legacy fallback preserved for unit tests.enhance_projectmodel build on finalized projects: Fixedengine_enhance_projectto runrunModelIndexSync+buildKnowledgeGraphSynceven when the project is already finalized. Previously returned early withalready_finalizedstatus, leavingmodule_summary,modules,architecture_edge, andmodule_edgetables empty. Now populates all model tables unconditionally..gitignore,.codescopeignore, and file size + language detection.🐛 Bug Fixes
enhance_projectempty model tables: Whenindex-parallelran withCODESCOPE_SKIP_ASYNC=1,enhance_projectreturnedalready_finalizedwithout running the async knowledge builder.module_summary,modules,architecture_edge, andmodule_edgetables stayed empty. Fixed by adding arun_model_buildgoto label that runsrunModelIndexSync+buildKnowledgeGraphSynceven on finalized projects.find_callers/find_calleesempty on re-indexed projects: LadybugDB was not populated becausebuildGraphskipped LadybugDB init whenCODESCOPE_SKIP_ASYNC=1. Fixed bybuildLadybugFromEntityRelationbeing called frombuildGraphunconditionally (when LadybugDB is initialized).compileGraphToLadybugDBerror message stale: Error message instore_graph.cppstill referencedcompileGraphToLadybugDBafter migration tobuildLadybugFromEntityRelation.🔧 Improvements
buildLadybugFromEntityRelationperformance: 579ms for 1,387 nodes + 2,885 relations on CodeScope self-index. LadybugDB file: 3.4MB vs SQLite 77MB (4.4%).enhance_projecttiming: total 2,655ms (semantic_facts 175ms, buildGraph 579ms, runModelIndexSync 1,894ms, buildKnowledgeGraphSync 1ms).🔒 Code Review Fixes
writeEntityEdgeCsvsandcompileGraphToLadybugDBLegacyerror handlers had double-close on file descriptors whenfdopensucceeded for one temp file but failed for another. Fixed by negating fd variables after successfulfdopen.writeEntityNodeCsvandwriteEntityEdgeCsvsdid notunlinktemp files whenfdopenfailed. Fixed by addingunlink()calls in error paths.📚 Documentation
🧹 Chores
graph_nodes/graph_edgesdeprecated: Query tools no longer read from these tables. Tables still written for backward compatibility; will be removed in v0.3.