curatorlisted
Install: claude install-skill Quarktex/qcobrain
> Inherits references/kernel.md (the provenance contract). Reads references/wiki-spec.md for schema.
## What this is
The slow half of the metabolism (the fast half is `/review`). Where `/review` adds, the curator
consolidates. It is `/wiki-doctor` on a schedule plus the judgment-call mutations `/wiki-doctor`
deliberately leaves to a human — but constrained by hard invariants so it can run with autonomy
without rotting the brain. In v1 you invoke it weekly; it is cron-able later (see `runtime/README.md`).
## The invariants (non-negotiable — the curator invariants from kernel §3)
- **Never delete → archive only.** A spent note moves to `archives/`, never `rm`.
- **Only touch `origin: agent-generated`.** `user-directed` notes are off-limits.
- **`pinned: true` is immune** to every operation here.
- **Never edit a source to match a note** — if a quote drifted, fix the note, never the source.
## Execution
### 1 — Integrity sweep (read-only — the same checks as `/wiki-doctor`)
- Recompute each `sources/` file hash (`shasum -a 256 <f> | cut -c1-12`); compare to `sources/_sources.md`.
Drift → mark its `last_verified` stale and check dependent notes.
- Re-resolve every `src` block `quote` verbatim (whitespace-normalized) against its source file.
Anything that no longer resolves → **STALE** (record note id + source-key + failing quote).
- Find **orphans** (no inbound/outbound `[[wikilinks]]`), **broken links** (`[[...]]`/`links:` ids
with no `wiki/` file), **circular proven