verify_index
Run a read-only structural check on the local SQLite index to detect integrity issues, foreign key violations, missing tables, embedding inconsistencies, and orphan embeddings. Returns a per-check status report with suggested repairs.
Instructions
Read-only structural check of the local SQLite index: SQLite integrity_check, foreign-key violations, required-table presence, FTS5 integrity-check, embedding dimension consistency, and orphan embedding detection. Returns a check-by-check report with status (ok/warn/error) and a suggested repair mode for any non-ok finding. Never writes. Use as a preflight before reindex/embed_repo or when search is misbehaving. Returns JSON: { ok, status, checks: [{ name, status, detail, count?, suggested_repair? }] }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||