drift-monitor
Monitor documents for structural drift. Compute a baseline fingerprint and check for changes in headings, word counts, or categories over time.
Instructions
Monitor documents for structural drift over time. Actions: 'watch' (compute and store a fingerprint = SHA-256 + heading tree + word counts; capped at 500 paragraphs), 'check' (compare current state against the stored baseline; reports word-count delta, added/removed headings, category shifts, and a similarity score). Omit filePath on 'check' to compare all watched documents.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Friendly display name for the watched document (watch only). | |
| action | Yes | Drift action. | |
| filePath | No | Document path (REQUIRED for 'watch'; optional for 'check' — omit to check all watched docs). |