context-restorelisted
Install: claude install-skill Quarktex/qcobrain
> Inherits references/kernel.md (the provenance contract). Reads references/wiki-spec.md for schema.
## What this is
The other half of qcobrain's checkpoint pair. It rehydrates a `/context-save` snapshot and reconciles
it with reality — because the brain may have changed since the snapshot was taken. You get back the
thread state *and* a diff against current truth.
## Execution
### 1 — Pick the snapshot
Default: the newest `runtime/checkpoints/*.snapshot.md` (sort by filename timestamp). If a name or
timestamp is given, use that one. If none exist, say so and offer to start fresh from `context/state.md`
+ `digests/`.
### 2 — Reload
Read the snapshot's open threads, pending decisions, and next action.
### 3 — Re-orient against current truth (the important part)
Re-read the current `context/state.md`, `digests/`, and the snapshot's referenced `[[notes]]`. Compute
the deltas:
- Threads the snapshot lists as open that are now resolved (closed in `state.md` / `decisions/log.md`)
→ mark done.
- Decisions that were pending and have since been logged in `decisions/log.md` → resolved.
- Notes referenced by the snapshot that are now `status: superseded` → follow `superseded_by` to
current truth before reusing them.
- Anything in `state.md` / `digests/` newer than the snapshot → surface as "new since checkpoint".
### 4 — Hand back
Print: the goal, the still-open threads (post-reconciliation), the still-pending decisions, the
recommended next action, and a short "changed since