doctor
Inspects storage integrity by identifying orphan files, dangling index entries, unreadable files, and invalid types. Optionally rebuilds the index from disk.
Instructions
Check storage integrity. Reports orphan files (on disk but not indexed), dangling index entries (no file), unreadable files, and invalid types. Pass rebuild-index=true to reconstruct MEMORY.md from disk.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rebuild-index | No | If true, rewrite MEMORY.md to match what's on disk. |