You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(core): Incremental indexing via rebuild strategy #122
delete() throws error — We just never implemented it
New files not detected — Only iterates state.files, misses new files
Deleted files leave orphans — Not cleaned up
Implementation
1. Implement delete by file path prefix (~1 hour)
// In store.tsasyncdeleteByFilePrefix(filePrefix: string): Promise<void>{awaitthis.table.delete(`id LIKE '${filePrefix}:%'`);}
2. Add new file detection (~30 min)
// In detectChangedFiles()// Also scan for files NOT in state.filesconstallFiles=awaitscanForFiles(repoPath);constnewFiles=allFiles.filter(f=>!state.files[f]);
3. Handle deleted files (~30 min)
// Files in state but not on diskconstdeletedFiles=Object.keys(state.files).filter(f=>!existsSync(f));// Delete their docs from vector store
Success Criteria
dev update detects changed files
dev update detects new files
dev update removes docs for deleted files
Orphaned symbols cleaned up when removed from file
--force still triggers full reindex
Out of Scope
Git commit SHA tracking (optimization, not required)
Watch mode
Parent Epic
Part of #104 - Performance & Reliability Critical Path
Activity
feat(core): implement incremental indexing
feat(core): implement incremental indexing