Diagnosis plus repair contract
Implementedv0.0.0
include/commands/doctor.hpp
This header makes `doctor` more flexible than `check`. It accepts an `auto_configure` flag and an explicit working directory so repo patching can operate against the correct manifest root.
Reference
Public surfacecpp
cuda_doctor::core::Report run_doctor(
bool auto_configure = false,
const std::filesystem::path& cwd = std::filesystem::current_path());Related files
Command implementation
src/commands/doctor.cpp
Extends `check` with repo scanning, optional auto-configuration, auto-fix behavior, and next-step generation.
Native entrypoint
src/main.cpp
Owns native argument validation, text and JSON rendering, exit codes, and the interactive handoff from `doctor` to `doctor auto`.