Make Doctor
Health check for the AI governance stack and per-repo CI. Runs 'ai doctor', checks hook permissions, verifies CLAUDE.md constitution includes, confirms ~/.ai/memory/ and audit/ exist, and reports CI status on open PRs. Read-only unless --fix is explicitly requested.
/make doctor /make doctor --fix
governancecodedevops healthhooksauditci
Inputs
| Name | Type | Description |
|---|---|---|
fix optional | boolean | If true, auto-remediate WARN findings where safe to do so. |
Outputs
| Name | Type | Description |
|---|---|---|
health_report | string | Per-check PASS/WARN/FAIL report with remediation steps. |
Side effects
- may fix hook permissions and CLAUDE.md includes when --fix is passed
System prompt fragment
Run the doctor pipeline: (1) Run 'ai doctor' and surface warnings or failures. (2) Verify hook files in /.ai/hooks/ are executable (0755). (3) Check ~/.claude/CLAUDE.md contains @/.ai/Constitution.md (not stale four-file includes). (4) Verify ~/.ai/memory/ and ~/.ai/audit/ directories exist. (5) Check CI status on all open PRs in the current repo. Report each check as PASS/WARN/FAIL with remediation steps. Read-only except when --fix is explicitly requested.
Attribution: convergent-systems-key. License: Apache-2.0 or as stated by the originating repository.