Run the environment check before treating a build error as an RTL error. rr doctor checks the SDK installation, available tools, project configuration, and workspace hygiene.

Run the check

rr doctor

For automation or a machine-readable report:

rr doctor --json

If the question is only whether the lockfile is current:

rr doctor --lock

The output separates status, detail, and a suggested fix. Read the failing check before changing project files or reinstalling dependencies.

Result

The doctor does not prove that the RTL is correct. It tells you whether the environment is ready for a meaningful project diagnosis. That distinction keeps toolchain failures from being misreported as design failures.