fn run_doctor(
agent: Option<String>,
profile: Option<String>,
repo: Option<OsString>,
json: bool,
) -> Result<i32>Expand description
SP5c design §3-§4: every check runs and prints; the exit code is 5 when any record failed. A working
directory that cannot be read is not an error here: discovering . then yields the repository record.