ipal-doctor: old-style block maps, 2FA behind a switch, folder name as database base; first sweep table

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-10-29 16:06:46 +01:00
co-authored by Claude Opus 5.5
parent a4e8cfeae8
commit e97cf6d7d9
5 changed files with 59 additions and 4 deletions
+37
View File
@@ -344,3 +344,40 @@ A throwaway prototype of the static rules and the live header/admin rules, run *
6. Docs: `docs/doctor.md`, AGENT.md §11 and §14, the `ipal-doctor` skill, `ipal-setup` / `ipal-upgrade` final
step, generated `docs/agent/doctor-rules.md`, CHANGELOG.
7. Hand the rule list to the starter; it runs the doctor in its own tests (a generated site = 0 findings).
## 9. First real run (2026-10-29, built doctor, `--sites --offline`, read-only)
The client sites were not changed (git status before and after compared). `--offline`: no `plugin-latest` / `deps-audit`.
Existing client sites are a report only (D7).
| Rule | architektimprezpl-web | coastalclimatesupplycomau-web | ecogenicacouk-web | intecioncom-web | saydiamondspl-web | thecleanteampl-web | vanstevpl-web |
|---|---|---|---|---|---|---|---|
| **errors / warnings / info** | 5 / 12 / 4 | 23 / 51 / 3 | 3 / 6 / 3 | 6 / 24 / 5 | 11 / 15 / 3 | 6 / 20 / 2 | 32 / 64 / 4 |
| `2fa` | ✅ | ⚠️ | ✅ | ✅ | ✅ | ✅ | ✅ |
| `admin-meta` | ⚠️ | ⚠️ | ⚠️ | ⚠️ | ⚠️ | ⚠️ | ⚠️ |
| `agents-md` | ✅ | ✅ | ✅ | ❌ 2 | ❌ 3 | ❌ 3 | ❌ 3 |
| `audit` | ⚠️ 3 | ❌ 36 | ✅ | ⚠️ 11 | ⚠️ | ⚠️ | ❌ 58 |
| `blocks-duplicate` | ⚠️ 3 | ⚠️ 4 | ⚠️ 3 | ⚠️ 3 | ⚠️ 6 | ⚠️ 5 | ⚠️ 3 |
| `blocks-helper-copy` | ✅ | ⚠️ 3 | ⚠️ | ✅ | ✅ | ✅ | ⚠️ |
| `blocks-tokens` | ⚠️ | ⚠️ | ✅ | ⚠️ | ✅ | ⚠️ | ❌ 5 |
| `blocks-ui-required` | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
| `cookie-scanner` | ℹ️ | ❌ | ❌ | ℹ️ | ❌ | ❌ | ❌ |
| `csp` | ℹ️ | ℹ️ | ℹ️ | ℹ️ | ⚠️ 2 | ⚠️ | ⚠️ 2 |
| `db-name` | ❌ 2 | ❌ | ❌ | ❌ 2 | ❌ 2 | ⚠️ | ❌ 2 |
| `env-example` | ❌ | ❌ 2 | ❌ | ⚠️ | ✅ | ⚠️ | ❌ 2 |
| `env-rules` | ℹ️ | ℹ️ | ℹ️ | ℹ️ | ℹ️ | ℹ️ | ⚠️ 2 |
| `i18n-literals` | ⚠️ | ⚠️ 21 | ✅ | ✅ | ✅ | ✅ | ❌ 5 |
| `importmap` | ✅ | ✅ | ✅ | ✅ | ❌ | ✅ | ✅ |
| `layout-extra` | ℹ️ | ℹ️ | ℹ️ | ℹ️ | ℹ️ | ✅ | ℹ️ |
| `layout-required` | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ |
| `next-min` | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ |
| `node-22` | ⚠️ 2 | ⚠️ 2 | ⚠️ | ⚠️ 2 | ⚠️ 2 | ⚠️ 2 | ⚠️ 2 |
| `plugin-installed` | ❌ | ✅ | ✅ | ❌ | ✅ | ✅ | ✅ |
| `pnpm-pinned` | ✅ | ✅ | ✅ | ℹ️ | ✅ | ℹ️ | ℹ️ |
| `powered-by` | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ |
| `seed-named` | ✅ | ✅ | ✅ | ❌ 4 | ❌ 5 | ⚠️ 5 | ❌ 5 |
| `sharp-min` | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ |
| `skills-current` | ⚠️ | ✅ | ✅ | ⚠️ | ✅ | ✅ | ⚠️ |
The reference site: `node bin/ipal-doctor.mjs reference --strict --offline` → 0 errors, 0 warnings, 0 info (2 silenced with reasons).