mxr doctor
Generated from
mxr doctor --help. Edit the clap definitions incrates/daemon/src/cli/and re-runnpm run buildinsite/to regenerate.
Run diagnostics
mxr doctor [OPTIONS]Options
Section titled “Options”| Flag | Description |
|---|---|
--reindex |
— |
--reindex-semantic |
— |
--backfill-semantic |
Backfill semantic chunks/embeddings for existing messages |
--check |
— |
--semantic-status |
— |
--verbose |
— |
--index-stats |
— |
--store-stats |
— |
--rebuild-analytics |
Reclassify Unknown directions, backfill list_ids, resolve reply pair pending, refresh contacts, fill business-hours latency. Idempotent |
--refresh-contacts |
Force a full refresh of the materialized contacts table |
--recompute-link-counts |
Recompute 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, --help |
Print help |
Use When
Section titled “Use When”Diagnose broken sync, search, semantic index, or daemon state.
Everyday Examples
Section titled “Everyday Examples”mxr doctor --format jsonmxr doctor --reindex --semantic-statusSee also
Section titled “See also”- CLI overview — full command index
- Concepts — query operators, search modes, JSON shapes
- Automation contract — which commands support
--format json,--dry-run, stdin