Profiles Doctor

A read-only scanner with an optional repair mode for broken config, orphaned plugins, and alias collisions.

Opening Doctor

Two ways in:

Modes

Detect mode

Read-only. Doctor scans every file it knows about and reports findings, each with a severity of healthy, warning, or error. Nothing on disk is touched.

Repair mode

For findings Doctor knows how to fix, it offers a Repair button. Repairs are opt-in per finding. Before writing any change, Doctor creates a timestamped backup by copying the original file to <file>.bak-<YYYYMMDD-HHMMSS> in the same directory.

Repair is always explicit. If you don't click the Repair button on a finding, nothing changes.

What Doctor checks

profiles.json

teams.json

installed_plugins.json

Profile references

Aliases

Symlinks

Export diagnostics

From Doctor, click Export Diagnostics to write a sanitised snapshot of every finding. Safe to attach to a bug report. Personal paths, API keys, and env var values are stripped.

What Doctor won't do