Check brain cards against the repo's real files (drift report)
project_map_driftDetect stale brain-card references by comparing them against the working tree. Identify files that are missing or moved, and flag whether the current checkout has diverged from its origin default branch.
Instructions
Read-only drift check: every brain card that references THIS project's files is verified against the working tree. Reports cards whose referenced files are gone or moved (with rename candidates by unique basename), and headlines the checkout's own position against its origin default branch — reporting BOTH ahead and behind, so a DIVERGED checkout is named as diverged rather than merely behind. In either state a "missing" file may simply not be in this checkout. Slash-joined name enumerations and other-project paths are recognized and skipped, not reported as drift. Nothing is written; fix cards with a CORRECTION marker or by editing them in KLYPIX.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brain | No | Optional brain filename/path inside the project. Defaults to brain.klypix / brain.any. | |
| project | No | Absolute project root. Defaults to this MCP connection's configured project/vault. |