Wiki Lint
Audit, do not edit. Return findings the maintainer (human or agent) can triage.
Inputs
- An operation issue with
operationType: "lint". - The operation issue's target
wikiId,spaceSlug, and space root. Lint only that space unless the issue explicitly says this is a multi-space sweep.
Workflow
- Walk the target space's
wiki/index.mdand wiki tree withwiki_searchandwiki_read_page, always passing the operation issue'swikiIdandspaceSlug. Build a mental map of: pages that exist, pages referenced fromindex.md, pages referenced from other pages, and raw sources. - Check for the seven recurring issues, in this order:
- Contradictions — two pages making incompatible claims about the same entity, decision, or status. Flag both pages, name the conflicting claims, and quote evidence.
- Stale claims — a page asserts X, but a newer source under
raw/has superseded it. Flag the older page; never overwrite. - Orphan pages — a
wiki/page is not linked fromindex.mdand not referenced from any other wiki page. Either it should be linked, removed, or merged. - Concept gaps — a term appears on three or more…