rrt doctor
rrt doctor
Section titled “rrt doctor”Validate the core automation health of the resolved rrt configuration.
Overview
Section titled “Overview”rrt doctor is the basics-first repository health check. It focuses on the
shared automation wiring around the resolved configuration — local hooks, CI
workflows, and guidance to the feature-specific checks that own deeper policy
validation.
What it checks
Section titled “What it checks”The command checks the automation surfaces that tell you whether repository basics are wired correctly:
.pre-commit-config.yamlwhen presentlefthook.ymlwhen present.husky/*hook scripts when present.github/workflows/*.yml/.yamlwhen present
The checks are intentionally light-touch: they verify presence, readability, and whether the file appears to reference repo-release-tools policy checks. They do not replace the deeper feature validators.
Output and severity
Section titled “Output and severity”The command prints one grouped report for the core automation surfaces and an overall status at the end.
- unreadable automation files are errors
- missing hook-manager surfaces are obsolete when another hook manager is active
- missing optional integration surfaces are warnings when no equivalent surface is active
- surfaces that exist but do not appear to reference repo-release-tools are warnings
- readable, recognized surfaces are reported as OK
At the end, rrt doctor also points you to the feature-specific commands that
own deeper validation, such as rrt release check, rrt docs check, and
rrt eol.
Config discovery behavior
Section titled “Config discovery behavior”If no config file can be found, the command prints repository guidance and exits with an error.
If a config is auto-detected, the command emits a notice on stderr before the main report so you can tell that rrt did not use an explicitly selected file.
Examples
Section titled “Examples”rrt doctorCaveats
Section titled “Caveats”- The command reports core automation health for the resolved configuration, not just the visible file in the current directory.
- Feature-specific checks belong to their own surfaces:
rrt release check,rrt docs check, andrrt eol. - A warning does not fail the command; only error-level findings do.
Related docs
Section titled “Related docs”Badge families are intentionally complete for the current icon registry across platform, registry, and language labels; see src/repo_release_tools/tools/platform.py if you think one is missing.
Chat is powered by Context7, a third-party service with its own terms and privacy policy.