Docs: performance.md, the iapl-performance skill, AGENT.md 6.11b, doctor.md, audit, api.md, the measurements and the audit
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
801b897ea0
commit
c6c5dfbcbf
+14
-2
@@ -2,7 +2,8 @@
|
||||
|
||||
`iapl-doctor` checks a site against the team's rules and lists every gap with a fix hint and a doc link. It covers
|
||||
what drifts between sites: versions, Node, the folder layout, database names, env rules, security headers, 2FA, the
|
||||
cookie scanner, the admin preview, the agent guide, seeds, the block library, and the running site.
|
||||
cookie scanner, the admin preview, the agent guide, seeds, the block library, speed (images, fonts, embeds,
|
||||
render-blocking resources, animations, budgets), and the running site.
|
||||
|
||||
Related: [AGENT.md §11](./agent/AGENT.md), the `iapl-doctor` skill, [deployment.md](./deployment.md),
|
||||
[seeding.md](./seeding.md), [security.md](./security.md), [blocks.md](./blocks.md).
|
||||
@@ -66,9 +67,12 @@ Added by `iapl` and **off until the site has `IAPL_DOCTOR_TOKEN`** (at least 32
|
||||
returns counts only — never names, e-mails or values:
|
||||
|
||||
```json
|
||||
{ "mail": { "graphEnv": false, "relay": { "connected": true, "disconnected": false, "nameReplaced": false, "state": "active" }, "replyAddress": true, "status": null, "transport": "relay" }, "node": "v22.20.0", "openSignUp": [], "pendingCookies": 0, "plugin": "1.15.0", "staffOnOwnRoles": [], "staffOpenToOthers": [], "turnstile": null, "turnstileSecretFromEnv": false, "usersSetupClosed": 0, "usersWithout2fa": 0 }
|
||||
{ "mail": { "graphEnv": false, "relay": { "connected": true, "disconnected": false, "nameReplaced": false, "state": "active" }, "replyAddress": true, "status": null, "transport": "relay" }, "media": { "images": 42, "oversized": 0, "tooWide": 0 }, "node": "v22.20.0", "openSignUp": [], "pendingCookies": 0, "plugin": "1.15.0", "staffOnOwnRoles": [], "staffOpenToOthers": [], "turnstile": null, "turnstileSecretFromEnv": false, "usersSetupClosed": 0, "usersWithout2fa": 0 }
|
||||
```
|
||||
|
||||
`media` (since 1.18.0): how many images the upload collections hold and how many are over the plugin's limits
|
||||
(1.5 MB, 2560 px) — counts only, `null` without an upload collection.
|
||||
|
||||
`mail` (since 1.17.0): the e-mail transport in effect, the recorded state of sending and the site's state with the
|
||||
Intecion mail service — states and codes only, never a token, a password or an address; `relay` is `null` when the
|
||||
mail service is switched off.
|
||||
@@ -134,6 +138,14 @@ Turn off: `iapl({ doctor: false })`. Adapt: `iapl({ doctor: { tokenVar: 'MY_TOKE
|
||||
| | `blocks-duplicate` | warning | a project block whose `slug` (or `interfaceName`) matches a library block — also a slug renamed through the block's `slug` option — unless it is an override in `createBlockRegistry({ components })` |
|
||||
| | `blocks-helper-copy` | warning | no local copy of a plugin field builder (`blockLibraryManifest.fieldBuilders`), `ctaHref`, `buildActionButtonsField` |
|
||||
| | `blocks-tokens` | error / warning | from `iapl-audit`: hex colours, the token standard not wired, `iapl-tokens --check` |
|
||||
| performance | `perf-images-config` | warning | `next.config` uses `buildImagesConfig()` (AVIF / WebP, R2, long cache) — [performance.md](./performance.md) |
|
||||
| | `perf-fonts` | warning | no font from Google / Typekit hosts, no `font-display: block`, every `@font-face` has `font-display`, at most two `next/font` families |
|
||||
| | `perf-render-blocking` | warning | no `<script src>` without `async` / `defer`, no stylesheet `<link>` or CSS `@import` from another host |
|
||||
| | `perf-embeds` | warning | no `<iframe>` (map, widget) that loads with the page — a click-to-load facade, or `loading="lazy"`; YouTube is `iapl-audit`'s |
|
||||
| | `perf-animations` | warning | no transition of a layout property or `transition-all`, no `scroll` listener, something honours `prefers-reduced-motion` when the site animates |
|
||||
| | `perf-budgets` | info | a performance budget test in `e2e/` (the `iapl-performance` skill's template) |
|
||||
| | `perf-live` | warning | (live) the home HTML is compressed, has no blocking `<script>` in `<head>`, preloads at most four fonts, its first image in `<main>` is not lazy, and is at most 150 KB |
|
||||
| | `perf-images` | warning | (deep) no stored image over 1.5 MB or 2560 px wide (`IMAGE_RULES`) |
|
||||
| audit | `i18n-literals` | error / warning | from `iapl-audit`: hardcoded text in blocks (error) and components (warning), Polish literals in code (not the panel's `adminText()` / `{ en, pl }` labels in a schema file — the `iapl-audit` skill) |
|
||||
| | `audit:<title>` | as reported | every other `iapl-audit --quick` finding, one per file |
|
||||
| live | `live-reachable`, `live-health`, `live-noindex`, `live-seo` | error / warning | the URL answers; `/api/health` 200; production not noindex (staging must be); every `iapl-seo-check` error and warning |
|
||||
|
||||
Reference in New Issue
Block a user