Fix the indexer lifecycle, keep git history intact, and make the MCP surface truthful - #26
Merged
Merged
Conversation
…surface truthful Indexer: the Project node is now created before file linking, so HAS_FILE edges exist and incremental indexing can finally skip unchanged files. Git sync handles root commits (empty-tree diff), symlinked roots (realpath boundary check with caller-namespace edge paths), and joins git paths against the repo root instead of the indexed root. Tier-2 language registration is now actually called. Re-indexing a changed file no longer deletes the File node, so MODIFIED_IN history survives incremental runs and the file watcher. MCP truthfulness: all eight documented knowledge actions are reachable (six were rejected by the enum), recall's temporal and speaker params are declared in the schema, and a doc-consistency test keeps every description example honest. The profile route and codebase persona no longer query phantom properties (f.path, f.language), match project paths on directory boundaries so sibling projects cannot leak into each other, and reject relative paths instead of returning silently empty. Labels: one canonical label taxonomy in @codegraph/types replaces nine hand-copied lists across graph, core, api, and dashboard, with tests locking each deliberate subset. Node ids for Commit, MarkdownDocument, Section, CodeBlock, Link, and Entity now key on their real MERGE identity instead of colliding on empty symbol fields. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
This branch was previously deployed
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.
What this fixes
Batch two of the pre-launch audit. Four work streams, each fixed test-first by a dedicated agent and then attacked by an independent reviewer across three empirical rounds against live fixture graphs. The review rounds found four defects the unit tests missed; all are fixed here.
Indexer and git history
MCP truthfulness
Label taxonomy
Verification
Known items deliberately not in this PR (ledger)
🤖 Generated with Claude Code