feat: add hash-based file change detection (works without Git)#7
Open
vjache wants to merge 2 commits intokraklabs:mainfrom
Open
feat: add hash-based file change detection (works without Git)#7vjache wants to merge 2 commits intokraklabs:mainfrom
vjache wants to merge 2 commits intokraklabs:mainfrom
Conversation
- Add HashDeltaDetector for VCS-agnostic change detection - Add UseGitDelta config option (default: false for hash-based) - Add indexing.use_git config option for YAML - Enable watch by default for incremental indexing - Add structured logging to .cie/index.log Closes: hash-based detection for non-Git repositories
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.
Description
Fixes #6 - Adds automatic reindexing via file watcher and hash-based change detection for VCS-agnostic operation.
When CIE runs as MCP server, it now:
.cie/index.logfor diagnosticscie_reindextool for explicit reindexing from AI clientsRelated Issue
Fixes #6
Type of Change
Testing
cie_reindextool callable from MCP clientKey Changes
pkg/ingestion/hash_delta.go- Hash-based change detection (VCS-agnostic)cmd/cie/watch.go- File watcher with debounce for auto-reindexpkg/ingestion/index_log.go- Structured logging to.cie/index.logcmd/cie/config.go-Watch: true,UseGit: falseby defaultcmd/cie/mcp.go-cie_reindextool and reindex lifecycle loggingBackwards Compatibility
Fully backwards compatible. Existing behavior available via config:
indexing.use_git: true- Use git-based detectionindexing.watch: false- Disable file watcherChecklist