Engram · Maintenance
engram doctor
Shared --ote, --db; --backfill-embeddings fills missing dense vectors when remote embeddings are configured, potentially making outbound model calls. Without it, inspect integrity/manifest health. Healthy report returns 0; unhealthy report or error returns 1.
Report includes row counts, backfilled_dense_vectors, FTS parity, corrupted IDs, drifted anchors, dangling edges and block-render timing. Failed embedding batches can be skipped while doctor still reports healthy store integrity; compare vector counts rather than reading exit 0 as successful remote backfill.
See CLI conventions for shared configuration and exit behavior, or browse all commands.