ipal-doctor proposal: [dir], --strict, localhost HSTS exemption
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
a65e109894
commit
a1f810e9de
@@ -107,7 +107,7 @@ Source tags: **S** = static (files only, no network, no database), **R** = regis
|
||||
| `live-noindex` | error | the home page and `X-Robots-Tag` are not `noindex` on production (`IPAL_NOINDEX` left on) — and **are** on a staging URL (`--staging`) |
|
||||
| `live-deep` | as reported | with `IPAL_DOCTOR_TOKEN` set, the **D** rules through the status endpoint (§3.3) — no shell access to the server needed |
|
||||
|
||||
Live checks are GET only, no login, a doctor user agent, at most ~20 requests.
|
||||
Live checks are GET only, no login, a doctor user agent, at most ~20 requests. `localhost` is exempt from HSTS (plain http in CI).
|
||||
|
||||
## 3. How it runs
|
||||
|
||||
@@ -178,7 +178,7 @@ link, then a summary `3 errors, 5 warnings, 2 info (2 silenced)`. Colour only on
|
||||
`1` = findings at or above it · `2` = the doctor could not run (not a project root, a broken config file) ·
|
||||
`3` = a rule crashed (the others still report).
|
||||
|
||||
**Options:** `--only <groups|ids>`, `--skip <…>`, `--offline`, `--url`, `--staging`, `--deep`, `--env-file`,
|
||||
**Options:** `[dir]` (project folder, default the current one), `--strict` (= `--fail-on info`: any unsilenced finding fails), `--only <groups|ids>`, `--skip <…>`, `--offline`, `--url`, `--staging`, `--deep`, `--env-file`,
|
||||
`--json`, `--md`, `--fail-on`, `--sites`, `--config`.
|
||||
|
||||
**Config file — `ipal-doctor.json` in the project root** (the main rule: the project can adapt every rule):
|
||||
|
||||
Reference in New Issue
Block a user