kb_health_check
Audit a knowledge base for inbox backlog, missing index entries, dead links, and unindexed text files; enable fix to repair indexes and rewrite INDEX.md.
Instructions
Audit the knowledge base; with fix=True also repair what it can.
Reports: files still in _Inbox (backlog), files missing from
INDEX.md (orphans), INDEX.md links to missing files (dead links)
and text files not yet in the search index. fix=True indexes the
missing files and rewrites INDEX.md, then reports again. The inbox backlog
is left for you to organise.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fix | No | ||
| max_items | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |