wiki-reindexlisted
Install: claude install-skill paulnsorensen/hallouminate
# wiki-reindex — recover a mismatched ground store
The engine validates the on-disk LanceDB store against the running binary at
daemon startup. Three distinct mismatches surface there — and only two need
your hands. Triage before touching anything.
**Engine source:** validation in `meta_check_or_init`
(`crates/hallouminate-adapters/src/lance.rs`); stale-store auto-heal in
`move_stale_store` and the startup rebuild
(`crates/hallouminate/src/daemon/state.rs`).
## Prerequisites — see the real error
The mismatch surfaces at daemon **startup** — not via `daemon status`, which
is a liveness probe that only ever prints `running` / `not running` and never
reads the store. Run the daemon in the foreground:
```bash
# Prints the startup error straight to your terminal (Ctrl-C to exit):
hallouminate daemon
```
If a corpus is auto-spawned (e.g. by `hallouminate serve`) the same startup
error is captured in the bootstrap log instead of your terminal:
```bash
cat ~/.local/state/hallouminate/daemon-bootstrap.log
```
If the daemon comes up cleanly, the store is healthy — stop here.
## Triage — three mismatches, three repairs
| Error contains | Meaning | Repair |
|---|---|---|
| `store schema stale: found vX, expected vY` | Store written by an older schema than this binary | **None — auto-heals** (below). Never `rm -rf` for this case. |
| `store schema version X is NEWER than this build expects (Y)` | This binary is older than the one that wrote the store | **Upgrade hallouminate** (