Skip to main content

cmd_doctor

Function cmd_doctor 

Source
pub fn cmd_doctor(
    root: &Path,
    json: bool,
    deep: bool,
    network: bool,
    strict: bool,
) -> Result<bool>
Expand description

scc doctor — integration health from THE Integration Registry (scc_indexer::adapters::integration_registry), offline, read-only and fast. Default never touches the network and never spawns a subprocess: every row is answered from local state only (config flags, binary on PATH, files present, evidence already in the graph). --deep may start LOCAL subprocesses (pyright/tsserver handshakes); --network may test remote endpoints (Context7). --strict turns warnings into a nonzero exit; --json emits the machine-readable report.

Honesty rule: a row reports IMPLEMENTED / CONFIGURED / REACHABLE / CONTRIBUTING separately. A config boolean never implies contribution — contribution means facts of that integration’s evidence kind are actually in the graph (or a handshake succeeded under –deep/–network).