/hallouminate:wiki-reindexfrom Hallouminate
Triage and repair a hallouminate ground-store mismatch at daemon startup. Use when hallouminate fails to start or complains about the store — "store schema stale", "store schema version ... is NEWER than this build expects", "embedding store mismatch", "/wiki-reindex", "reindex after upgrade", "ground store out of date". Do NOT use to bootstrap a new wiki (use wiki-init) or to fold new documents into an existing corpus (use wiki-ingest).
Ships in Hallouminate. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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).
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:
# 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:
cat ~/.local/state/hallouminate/daemon-bootstrap.log
If the daemon comes up cleanly, the store is healthy — stop here.
| 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 (preferred). Manual sequence only if you must stay on the old binary. |
embedding store mismatch: store has (model …, quantized …, embeddings_enabled …) | The [embeddings] config changed since the store was built | Manual sequence below. |
On a stale store the daemon renames it to <ground-dir>.bak-v<found> — no
manual step. The daemon reindexes every baseline corpus before it serves
requests. A corpus declared only in a repo config is indexed when a request
first registers it. [storage] ground_dir is baseline-only, so every repo
shares this one store. Until a corpus finishes its catch-up, ground can return partial
results with an index-coverage warning. Verify with hallouminate daemon status (expect running) and a test hallouminate ground "<query>". The
daemon keeps the backup for
recovery and prunes it after about 30 days (STALE_BACKUP_MAX_AGE). If the startup
rebuild fails, the daemon removes the partial store, keeps the backup, and
exits. The next start opens a fresh store, and the catch-up refills it.
For a confirmed NEWER-store error you can't upgrade away, or an embedding-store mismatch.
Both error messages name the store path. If you cannot locate it from the error output, the default store lives at:
~/.local/share/hallouminate/ground
This path is overridable via [storage] ground_dir in your
~/.config/hallouminate/config.toml only. A repo .hallouminate/config.toml
cannot set it. Verify:
hallouminate config show | grep ground_dir
Confirm the path is correct before proceeding. Deleting the wrong directory
causes data loss — the ground store is rebuilt from your source wikis, but
verify you know where each corpus lives (hallouminate config show) before
running the next step.
hallouminate daemon stop
This sends a graceful shutdown request over the control socket and waits for the socket file to disappear (up to 10 s). If no daemon is running the command is a no-op.
Replace <store-path> with the path from Step 1:
rm -rf <store-path>
Typical invocation using the default path:
rm -rf ~/.local/share/hallouminate/ground
This removes only the LanceDB vector store. Your source wikis (
.hallouminate/wiki/under each repo) are untouched.
hallouminate daemon restart
This stops any running daemon (if you skipped Step 2) and spawns a fresh one, then waits until it is reachable.
Index a single corpus:
hallouminate index --corpus <corpus-name>
For a [[repository]]-derived wiki corpus the name takes the form
repo:<name>:wiki (e.g. repo:tern:wiki).
Index every configured corpus:
hallouminate index
Omitting --corpus indexes all corpora visible to the daemon (all [[corpus]]
and [[repository]]-derived entries in the resolved config).
Watch the JSON output — each corpus entry reports files_upserted,
chunks_inserted, and embeddings_inserted. A non-empty corpus with zero
counts for all three is a signal that the root path was not found; check
warnings in the output.
hallouminate daemon status
Expected output: running. If it reports not running, check the daemon logs
or run hallouminate daemon (foreground) to see startup errors.
store schema stale error needs no manual repair — the
daemon auto-rebuilds and keeps a .bak-v<N> backup. Do not rm -rf for it.rm -rf speculatively.hallouminate daemon stop times out (> 10 s), kill the process directly
(kill $(lsof -t -- <socket-path>)) and then delete the socket file before
proceeding. The socket path is $HALLOUMINATE_SOCKET when set, otherwise
<account-home>/.cache/hallouminate/daemon.sock.What SKILL.md sets; muted values are Claude Code's defaults
7 skills in this plugin
/installInstall hallouminate and bootstrap the user's first LLM-authored per-repo wiki. Use when the user runs /install from the hallouminate skill pack, or asks to "install hallouminate", "set up hallouminate", "get hallouminate working", or "start a hallouminate wiki" on a machine without a working install. Do NOT use when the binary already works — route a brand-new wiki to wiki-init and new content to wiki-ingest./wiki-harvest-memoryManually curate durable, repository-specific knowledge from local Claude Code or Codex memories into the current hallouminate wiki./wiki-ingestFolds new source material or a recorded fact into an existing hallouminate wiki, merging each claim into the page it extends. Use when the user says "add this to the wiki", "ingest these docs", "update the wiki with what we learned", "remember this", "record this decision", or invokes /wiki-ingest <path|topic>. Do NOT use to bootstrap an empty wiki (/wiki-init) or to answer a question (/wiki-query).Other plugins' skills for the same job
npx claudepluginhub paulnsorensen/hallouminate --plugin hallouminate