-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add config key to disable file watcher #335
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestpriority/normalStandard review queue; useful PR with ordinary maintainer urgency.Standard review queue; useful PR with ordinary maintainer urgency.ux/behaviorDisplay bugs, docs, adoption UXDisplay bugs, docs, adoption UX
Milestone
Description
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestpriority/normalStandard review queue; useful PR with ordinary maintainer urgency.Standard review queue; useful PR with ordinary maintainer urgency.ux/behaviorDisplay bugs, docs, adoption UXDisplay bugs, docs, adoption UX
Context: codebase-memory-mcp 0.6.0 has a background watcher that
auto-reindexes on filesystem mtime updates. This is documented behavior,
but there's no documented config key to disable it.
Use case: For projects with frequent doc edits unrelated to code
structure (e.g., audit documentation), every save triggers a reindex
that mutates graph node/edge counts. This makes "graph health"
indicators less useful since baseline counts drift on routine edits.
Suggested config:
watcher_enabled = falseto fully disable.Users would then trigger index_repository manually when they want
fresh state.
Workaround currently used: kill the codebase-memory-mcp process
when quiesce is needed; reconnect via /mcp when ready to resume.