Agent instructions: mandatory feature set (SEO, GEO, R2, Turnstile, forms) enforced by audits
- AGENT.md §0b: one table of everything every site must have (SEO meta/maps,
JSON-LD, llms.txt + llms-full, Markdown, MCP, AI bots, R2, panel forms,
Turnstile, consent, security, ops, system pages, zero hardcodes), the
forbidden replacements (own forms, nodemailer, reCAPTCHA, hand-written
JSON-LD, static SEO files, raw S3) and an `ipal-audit-skip:` escape hatch that
needs a recorded client decision.
- ipal-audit: "missing: …" errors for every mandatory item and for plugin
replacements; ipal-seo-check: runtime GEO checks (llms, Markdown, MCP,
JSON-LD, AI bots, health). Both verified on bare and complete fixtures.
- Skills (setup, site, form, upgrade, audit, seo-check) and PROGRAMISTA.md
wire the full set from step one; GEO is no longer "optional".
- Fix: createProxy({ markdown: true }) lets /md/... through — multilingual
sites redirected /md/pl/x to /pl/md/pl/x, so the documented Markdown route
never worked — and handles Accept: text/markdown.
- createContentHelpers({ markdownAlternate: true }) adds the text/markdown
alternate link in generatePageMetadata.
- JSDoc/docs JSON-LD examples use JsonLdGraph; docs/CHANGELOG.md for 1.9.0.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -5,7 +5,8 @@ description: Upgrades an existing project to the latest @intecion/ipal-kit and r
|
||||
|
||||
# ipal-upgrade
|
||||
|
||||
Lista zmian: `node_modules/@intecion/ipal-kit/docs/dev/PROGRAMISTA.md` §6.
|
||||
Co się zmieniło w wersji: `node_modules/@intecion/ipal-kit/docs/CHANGELOG.md` (sekcje
|
||||
„Wymaga zmian w projekcie” — zrób wszystkie). Lista zmian: `…/docs/dev/PROGRAMISTA.md` §6.
|
||||
Zasada: gdy plugin dostarcza coś, co projekt ma ręcznie — **usuń lokalną wersję**.
|
||||
|
||||
## 1. Aktualizacja pakietu
|
||||
@@ -18,6 +19,17 @@ Skopiuj skille na nowo (AGENT.md §14) — mogły się zmienić.
|
||||
Postgres z migracjami: nowe pola pluginu (np. `privacyLinkLabel`) →
|
||||
`pnpm payload migrate:create`.
|
||||
|
||||
## 1a. Komplet AGENT.md §0b
|
||||
Po aktualizacji pełny **ipal-audit** pokaże sekcję „missing: …” — brakujące pozycje
|
||||
obowiązkowego kompletu (GEO: llms-full, Markdown, MCP; R2; Turnstile przez
|
||||
`getTurnstileConfig`…). Każdą wpinasz wg PROGRAMISTA §2 — to część aktualizacji,
|
||||
nie dodatek. Pomijasz tylko z decyzją klienta w `AGENTS.md` (`ipal-audit-skip:`).
|
||||
|
||||
**1.8.x → 1.9.0 (PROGRAMISTA §6, poz. 17–21):** `twoFactor.plugin` wymagany;
|
||||
`getTurnstileConfig` zamiast `turnstileSiteKey` (przy obu kluczach token jest
|
||||
wymagany — sprawdź, że każdy formularz ma widget); `clientIp(await headers())` w
|
||||
akcji formularza + `IPAL_IP_HEADER` w env produkcji; `buildR2Storage` wpięty.
|
||||
|
||||
## 2. Inwentaryzacja (bez zmian w kodzie)
|
||||
Dla **każdej** pozycji tabeli PROGRAMISTA §6 pokaż dowód (grep / plik), czy
|
||||
dotyczy projektu. Uruchom skill **ipal-audit** (`--quick`) i dołącz wynik.
|
||||
|
||||
Reference in New Issue
Block a user