Replies: 1 comment
-
|
Hi @iamvirul , I saw this recently as well. Might be something to worth look into. Will plan and give you an update this weekend. I'm @Kavirubc BTW. Thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Idea summary
Give VecGrep the ability to answer temporal questions about code — not just what the code looks like now, but how it evolved and why it changed.
What problem does this solve?
Right now VecGrep is a point-in-time tool. You can ask "how does authentication work?" but not:
This limits the depth of understanding Claude can provide when helping with debugging, code reviews, or onboarding into an unfamiliar codebase.
Proposed solution
Two approaches worth discussing:
Option A — Lightweight git tool (low cost, quick win)
Add a
get_file_history(path)MCP tool that wrapsgit logandgit blameand returns structured output. No schema changes, no extra storage. Claude gets the storytelling ability for git repos immediately.Option B — Full historical chunk indexing (high cost, high capability)
Store versioned chunk snapshots with commit metadata:
commit_hash,commit_message,author,committed_at. Allows semantic search across historical versions — e.g. "show me the auth module before the performance refactor."Trade-off: index size multiplies by number of significant commits. A repo with 100 commits and 10k chunks could mean up to 1M historical entries.
Alternatives considered
git log -p/git blamedirectly via Claude shell access — works today but requires Claude to know the right commands and parse raw outputWould you be willing to contribute this?
Open for community input — what level of history do you actually need day-to-day? Drop your thoughts below.
cc @Kavirubc — would love your thoughts on which option is worth pursuing, given you raised the original idea in #16.
Beta Was this translation helpful? Give feedback.
All reactions