Query and lifecycle commands
pinset doctor
Diagnose the project boundary and strict policy, lockfile, installation, command routing, environment, PATH state, and traditional migration-only sources.
View source on GitHub ↗| Field | Description |
|---|---|
| Purpose | Diagnose the project boundary and strict policy, lockfile, installation, command routing, environment, PATH state, and traditional migration-only sources. |
| Syntax and arguments | pinset doctor [--cwd <path>] [--json]. |
| Modifies state | No. |
| Example | pinset doctor --json |
| JSON | Yes; command name doctor. |
| Exit | 0 when the diagnostic completes; 2 if its inputs cannot be read or validated. Findings are reported in data and do not necessarily make the command fail. |
| Key errors | Unreadable config/lock, malformed state, unsafe path, or filesystem failure. |
/en/docs/commands/doctorPinset 2.1