Skip to content

mxr doctor

Generated from mxr doctor --help. Edit the clap definitions in crates/daemon/src/cli/ and re-run npm run build in site/ to regenerate.

Run diagnostics

mxr doctor [OPTIONS]
FlagDescription
--reindex
--reindex-semantic
--backfill-semanticBackfill semantic chunks/embeddings for existing messages
--check
--semantic-status
--verbose
--index-stats
--store-stats
--rebuild-analyticsReclassify Unknown directions, backfill list_ids, resolve reply pair pending, refresh contacts, fill business-hours latency. Idempotent
--refresh-contactsForce a full refresh of the materialized contacts table
--recompute-link-countsRecompute the link_count + body_word_count for every message so the tri-state link indicator and has:link* filters populate on rows synced before the link-extractor existed
--format <FORMAT>[possible values: table, json, jsonl, csv, ids]
-h, --helpPrint help

Diagnose broken sync, search, semantic index, or daemon state.

Terminal window
mxr doctor --format json
mxr doctor --reindex --semantic-status