doctor
Inspect configuration, reachability and the local mirror’s diagnostic state.
alicli doctor --json
alicli doctor --check --stale-after 600 --jsonThe report includes configuration status, device/feed reachability, message and thread counts, source-message age, last poll, feed cursor, FTS availability, pending order resolution, own-send echoes and unattributed outgoing rows. When a feed health client is available, it also compares feed/store counts and reports search capture information.
What the check means
--check exits 0 when the last poll is recent enough and the mirror comparison has no alarm; otherwise it exits 1. The default poll-age threshold is 600 seconds. An absent feed comparison does not itself fail this check. A green result does not certify end-to-end capture, attachment completeness or Alibaba login.
The authed field is the transport’s configuration check. It does not prove that the phone is signed into Alibaba. Device reachability and feed reachability are separate probes. Counts and file timestamps are useful observations, but do not establish message-by-message equality or a failure’s cause.