fix(dir): store the project index in .codegraph/ instead of .codegraph-vba/ - #325
Merged
Merged
Conversation
…h-vba/ Align the per-project data directory with upstream CodeGraph and the agent harness, which look for .codegraph/. A legacy .codegraph-vba/ left in a consumer repo is still skipped by indexing and watching. Closes #324
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.
Closes #324
What changes
.codegraph/(src/directory.ts), soinit,status,uninitand the MCPprojectPathwalk-up all use the path upstream CodeGraph and the agent harness expect.isCodeGraphDataDirgoes back to the upstream shape. Its.codegraph-*prefix match still covers a legacy.codegraph-vba/, so a stale one in a consumer repo is never indexed or watched..codegraph/instead of.codegraph-vba/.initwrites.codegraph/codegraph.dband never creates.codegraph-vba/, and.codegraph-vbais still recognized as a data dir.[Unreleased]has a Breaking Changes entry: existing projects must runinitagain.Deliberately untouched
codegraph-vba,@aroman22/codegraph-vba): out of scope per the issue..codegraph-vba-<hash>inupgrade/andpostinstall-cleanup.js): those are npm install dirs, not the project index.openspec/notes, historical CHANGELOG entries and the benchmark record indocs/vba-extraction-perf.md, which record paths as they were at the time..codegraph-vba/(out of scope per the issue).Verification
npm run buildpasses.codegraph_inittests inmcp-tools-lifecyclefail on my machine because a dependency is missing (fast-wrap-ansifor@clack/core), and more of them fail againstmain. CI is the source of truth here.🤖 Generated with Claude Code