mason_check_drift
Check the concept map for drift from HEAD. Returns stale features, changed files, and a rebuild recommendation.
Instructions
Check how far the concept map has drifted from HEAD. Deterministic (git + filesystem, no LLM). Returns which features/flows are stale and the changed files behind them, new source files not yet mapped, ghost files (mapped but deleted), renames, and a recommendation: up-to-date (nothing to do), incremental (update just the stale entries via save_snapshot), or full-rebuild (re-run the Map-Reduce build). Call this before trusting the map in a long session, or periodically to keep the map and any synced wikis fresh.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | Yes | Absolute path to the project root directory |