wiki-doctorlisted
Install: claude install-skill Quarktex/qcobrain
> Inherits `references/kernel.md` (the provenance contract). Reads `references/wiki-spec.md` for schema.
This is the Cadence layer for knowledge: it turns provenance from per-run discipline into a standing guarantee.
Run it weekly (pair with `/curator`).
## Execution
### 1 — Source integrity (drift detection)
- For every file in `sources/`, recompute `shasum -a 256 <f> | cut -c1-12` and compare to `sources/_sources.md`.
Hash changed → the source was edited; mark its `last_verified` stale and check dependent notes.
- For every `src` block in every `wiki/` note, re-resolve `source` → path and confirm the `quote` is still a
verbatim (whitespace-normalized) substring. List any that no longer resolve as **STALE** with the note id, the
source-key, and the failing quote.
- Flag any source-key referenced by a note but missing from `_sources.md` (broken registry), and any source file
on disk not registered (unindexed source).
### 2 — Graph integrity
- **Orphans:** notes with no inbound or outbound `[[wikilinks]]` (`links: []` and not referenced). List them as
candidates for linking or merging.
- **Broken links:** `[[wikilinks]]` / `links:` ids that don't resolve to a `wiki/` file.
- **Circular provenance:** any `src` block whose `source` is actually a `wiki/` id (forbidden). Flag loudly.
- **Near-duplicates:** notes with near-identical titles/tags — candidates to merge (leave the merge to `/curator`).
### 3 — Inbox burn-down
- List `inbox/` drafts with age. Anything old