change_watcher
Watch code changes and detect documentation drift, triggering automatic updates to keep documentation synchronized.
Instructions
Watch code changes and trigger documentation drift detection in near real-time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | Action to perform | status |
| projectPath | Yes | Project root path | |
| docsPath | Yes | Documentation path | |
| watchPaths | No | Paths to watch (defaults to src/) | |
| excludePatterns | No | Glob patterns to exclude | |
| debounceMs | No | Debounce window for drift detection | |
| triggerOnCommit | No | Respond to git commit events | |
| triggerOnPR | No | Respond to PR/merge events | |
| webhookEndpoint | No | Webhook endpoint path (e.g., /hooks/documcp/change-watcher) | |
| webhookSecret | No | Shared secret for webhook signature validation | |
| port | No | Port for webhook server (default 8787) | |
| snapshotDir | No | Snapshot directory override | |
| reason | No | Reason for manual trigger | |
| files | No | Changed files (for manual trigger) |