# engram doctor

Source: https://usecns.dev/engram-cli-doctor/

[Start here](https://usecns.dev/manual-engram/)
[CLI commands](https://usecns.dev/commands-engram/)
[Configuration & integration](https://usecns.dev/engram-topics/)

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](https://usecns.dev/engram-cli-usage/) for shared configuration and exit behavior, or [browse all commands](https://usecns.dev/commands-engram/).