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
Add background file watching so Cora stays up-to-date without manual cora index.
Phased Approach
Phase 1: MCP Session Hook ✅ DONE
When cora serve starts, check for stale files and auto-reindex before accepting connections. Implemented in src/commands/serve.rs — execute_serve() auto-reindexes on startup.
Phase 2: Standalone cora watch
cora index --watch already exists (inotify-based). Remaining: standalone cora watch command with debounce, git-only mode, and filter support.
Remaining Tasks
Promote cora index --watch to standalone cora watch command
Poll-based file watching with configurable debounce interval (--interval)
--git-only mode (only track files tracked by git)
--filter glob pattern support
Hidden directory filtering
Auto-reindex on change detection
Remaining: MCP Notification
The "MCP notification on reindex completion" item is a nice-to-have enhancement. Filing as a separate issue if/when needed -- it does not block the core goal of keeping Cora up-to-date without manual cora index.
Activity
ajianaz commentedon Jul 29, 2026
Sub-issues
cora servestartup (Phase 1) #434 — Auto-reindex oncora servestartup (Phase 1)cora query— simplified graph pattern DSL #435 — Addcora query— simplified graph pattern DSLajianaz commentedon Jul 29, 2026
Phase 2 (v0.11.0 milestone)
cora watch— background file watcher (Phase 2) #436 — Implementcora watch— background file watcherCross-milestone dependencies
cora query— simplified graph pattern DSL #435 depends on Wire upstore_kg_edges()— populateedgestable #429 (edges table must be populated)ajianaz commentedon Aug 5, 2026
Epic Complete
All core objectives achieved:
Phase 1: MCP Session Hook -- DONE
Auto-reindex on
cora servestartup (implemented insrc/commands/serve.rs).Phase 2: Standalone
cora watch-- DONE (PR #496)--interval)--git-onlymode (only track files tracked by git)--filterglob pattern supportRemaining: MCP Notification
The "MCP notification on reindex completion" item is a nice-to-have enhancement. Filing as a separate issue if/when needed -- it does not block the core goal of keeping Cora up-to-date without manual
cora index.Closing this epic as complete.