docshelf_doctor
Detect documentation shelf drift like stale metadata, orphaned splits, and broken index; apply safe fixes with fix=true to prune, delete, and rebuild.
Instructions
Check the shelf for drift and optionally apply the safe fixes.
Reports stale .meta.json entries, orphaned split directories, split
sections out of sync with their parent, a stale INDEX.md, duplicate
titles, and empty categories. Read-only by default; pass fix=true to
prune stale meta entries, delete orphaned split dirs, and rebuild the
index (other findings stay report-only). Findings are sorted for stable
diffing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |