knowledge_maintain
Audit knowledge store health by identifying thin high-traffic pages needing expansion, cold unused pages, and misfiled citations. Use knowledge_write to address findings.
Instructions
Read-only health report for the knowledge store. Three branches: (1) expansion candidates — thin body + high hit_count (needs deepening); (2) cold pages — not accessed recently (unused or undiscovered); (3) misfile audit — provisional sourcing or conversation-only citations (world/ class: should be in the memory store instead; ours/ class with internal sourcing are NOT misfiles — they are correct). Pair with knowledge_write to act on findings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cold_days | No | Days without access before a page is cold (default 30) | |
| thin_body_threshold | No | body char ceiling to consider a page thin (default 500) | |
| expansion_hit_threshold | No | hit_count floor for expansion candidates (default 3; 0 considers every page) |