Command contract
README promises commands that `src/main.cpp` and the `src/commands/*` tree must eventually expose.
Repository contract
README.md is the canonical product brief. It explains that cuda-doctor is a diagnose + repair + build + validate CLI, frames the Blackwell and fake-success failure modes it targets, and sketches the command surface the rest of the repo is trying to implement.
This file is the product-level map for the repository, not just an installation note.
The rest of the codebase only partially implements the command model today. README.md matters because it tells you which parts are already live, which ones are intended next, and what the real success bar is: proving actual GPU execution instead of trusting superficial tooling output.
Users looking for high-level terms like `sm_120`, `Blackwell`, `doctor auto`, or `fake success` should land here or on the specific implementation files that follow from this contract.
README promises commands that `src/main.cpp` and the `src/commands/*` tree must eventually expose.
The compatibility-aware repair stance in the README is currently closest to the repo patching work in `src/core/repo.cpp` and environment setup in `src/core/configure.cpp`.
The README’s emphasis on real execution explains why future kernel and validate files exist even when they are still placeholders.
Related files
Native entrypoint
Owns native argument validation, text and JSON rendering, exit codes, and the interactive handoff from `doctor` to `doctor auto`.
Command implementation
Extends `check` with repo scanning, optional auto-configuration, auto-fix behavior, and next-step generation.
Core implementation
Scans build manifests for known 32-bit CUDA compatibility problems and can rewrite those patterns automatically.