

























@@ -40,6 +40,7 @@ openclaw doctor
4040openclaw doctor --lint
4141openclaw doctor --lint --json
4242openclaw doctor --lint --severity-min warning
43+openclaw doctor --lint --all
4344openclaw doctor --lint --allow-exec
4445openclaw doctor --deep
4546openclaw doctor --fix
@@ -73,6 +74,7 @@ The targeted Discord capabilities probe reports the bot's effective channel perm
7374- `--post-upgrade`: run post-upgrade plugin compatibility probes; emits findings to stdout; exits with code 1 if any error-level findings are present
7475- `--json`: with `--lint`, emit JSON findings instead of human output; with `--post-upgrade`, emit a machine-readable JSON envelope (`{ probesRun, findings }`)
7576- `--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
7678- `--skip <id>`: with `--lint`, skip a check id; repeat to skip more than one
7779- `--only <id>`: with `--lint`, run only a check id; repeat to run a small selected set
7880@@ -82,13 +84,14 @@ The targeted Discord capabilities probe reports the bot's effective channel perm
8284It uses the structured health-check path, does not prompt, and does not repair
8385or rewrite config/state. Use it in CI, preflight scripts, and review workflows
8486when 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`
8688are only accepted with `--lint`.
87898890```bash
8991openclaw doctor --lint
9092openclaw doctor --lint --severity-min warning
9193openclaw doctor --lint --json
94+openclaw doctor --lint --all
9295openclaw doctor --lint --allow-exec
9396openclaw doctor --lint --only core/doctor/gateway-config --json
9497```
@@ -130,6 +133,13 @@ Exit behavior:
130133example, `openclaw doctor --lint --severity-min error` can print no findings and
131134exit `0` even when lower-severity `info` or `warning` findings exist.
132135136+`--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+133143## Structured Health Checks
134144135145Modern doctor checks use a small structured contract:
@@ -186,6 +196,7 @@ Use `--only` and `--skip` when a workflow wants a focused gate:
186196```bash
187197openclaw doctor --lint --only core/doctor/gateway-config --json
188198openclaw doctor --lint --skip core/doctor/skills-readiness
199+openclaw doctor --lint --all --skip core/doctor/session-locks
189200```
190201191202`--only` and `--skip` accept full check ids and may be repeated. If an `--only`
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。