You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/cli/doctor.md
+12-1Lines changed: 12 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,7 @@ openclaw doctor
40
40
openclaw doctor --lint
41
41
openclaw doctor --lint --json
42
42
openclaw doctor --lint --severity-min warning
43
+
openclaw doctor --lint --all
43
44
openclaw doctor --lint --allow-exec
44
45
openclaw doctor --deep
45
46
openclaw doctor --fix
@@ -73,6 +74,7 @@ The targeted Discord capabilities probe reports the bot's effective channel perm
73
74
-`--post-upgrade`: run post-upgrade plugin compatibility probes; emits findings to stdout; exits with code 1 if any error-level findings are present
74
75
-`--json`: with `--lint`, emit JSON findings instead of human output; with `--post-upgrade`, emit a machine-readable JSON envelope (`{ probesRun, findings }`)
75
76
-`--severity-min <level>`: with `--lint`, drop findings below `info`, `warning`, or `error`
77
+
-`--all`: with `--lint`, run all registered checks, including opt-in checks excluded from the default automation set
76
78
-`--skip <id>`: with `--lint`, skip a check id; repeat to skip more than one
77
79
-`--only <id>`: with `--lint`, run only a check id; repeat to run a small selected set
78
80
@@ -82,13 +84,14 @@ The targeted Discord capabilities probe reports the bot's effective channel perm
82
84
It uses the structured health-check path, does not prompt, and does not repair
83
85
or rewrite config/state. Use it in CI, preflight scripts, and review workflows
84
86
when you want machine-readable findings instead of guided repair prompts.
85
-
Lint-output options such as `--json`, `--severity-min`, `--only`, and `--skip`
87
+
Lint-output options such as `--json`, `--severity-min`, `--all`, `--only`, and `--skip`
86
88
are only accepted with `--lint`.
87
89
88
90
```bash
89
91
openclaw doctor --lint
90
92
openclaw doctor --lint --severity-min warning
91
93
openclaw doctor --lint --json
94
+
openclaw doctor --lint --all
92
95
openclaw doctor --lint --allow-exec
93
96
openclaw doctor --lint --only core/doctor/gateway-config --json
94
97
```
@@ -130,6 +133,13 @@ Exit behavior:
130
133
example, `openclaw doctor --lint --severity-min error` can print no findings and
131
134
exit `0` even when lower-severity `info` or `warning` findings exist.
132
135
136
+
`--all` controls which checks are selected before severity filtering. The
137
+
default lint run is the stable automation gate and excludes checks that are
138
+
intentionally opt-in because they are deep, historical, or more likely to
139
+
surface repairable legacy residue. Use `--all` when you want the complete lint
140
+
inventory without listing each check id. `--only <id>` remains the most precise
141
+
selector and can run any registered check by id.
142
+
133
143
## Structured Health Checks
134
144
135
145
Modern doctor checks use a small structured contract:
@@ -186,6 +196,7 @@ Use `--only` and `--skip` when a workflow wants a focused gate:
186
196
```bash
187
197
openclaw doctor --lint --only core/doctor/gateway-config --json
188
198
openclaw doctor --lint --skip core/doctor/skills-readiness
199
+
openclaw doctor --lint --all --skip core/doctor/session-locks
0 commit comments