Health-check the project wiki. Scans for orphan pages, stale claims, contradictions, missing pages, and gaps. Use periodically to keep the wiki healthy.
Periodic health check for the wiki. Identifies issues and offers to fix them.
Read CLAUDE.md for page conventions and source path configuration before proceeding.
Run each check and collect findings:
Scan all wiki pages. A page is orphaned if no other page links to it via [[wikilink]] (index.md entries don't count — there should be organic links too).
Find [[wikilinks]] that point to pages that don't exist.
Scan page content for entity/concept names that are mentioned repeatedly but don't have their own page yet. Suggest which ones deserve a page.
Compare source summary pages against their raw sources. Flag any summaries that may be outdated (raw source has been modified more recently than the wiki page's date).
updatedLook for pages that make conflicting claims about the same entity or concept.
Check every page for:
Read the Config section in CLAUDE.md for source paths. Check those locations for documents that have no corresponding source summary page in sources/.
Present findings as a structured report:
## Wiki Health Report — YYYY-MM-DD
### Orphan Pages (N)
- [[page]] — no inbound links
### Broken Links (N)
- [[missing-page]] referenced from [[source-page]]
### Missing Pages (N)
- "entity name" mentioned N times, no page exists
### Stale Sources (N)
- [[source-page]] — raw source updated YYYY-MM-DD, wiki page YYYY-MM-DD
### Contradictions (N)
- [[page-a]] says X, [[page-b]] says Y
### Frontmatter Issues (N)
- [[page]] — missing: tags
### Coverage Gaps (N)
- `path/to/doc.md` — no source summary
After presenting the report, offer to fix issues:
/wiki-ingest <source-path> to trigger re-ingest)Apply fixes, update index and log, commit.