diff --git a/docs/agent/reference-site/INDEX.md b/docs/agent/reference-site/INDEX.md index 89cb44b..eb1167e 100644 --- a/docs/agent/reference-site/INDEX.md +++ b/docs/agent/reference-site/INDEX.md @@ -2,7 +2,7 @@ -The reference site is one complete client site on ipal-kit 1.14.6 ("Example Studio", made up) that uses +The reference site is one complete client site on ipal-kit 1.15.0 ("Example Studio", made up) that uses every convention in AGENT.md. It lives in the plugin repo (`reference/`, not in the npm package). Copy the PATTERN of the file you need; change only the project's content. Files up to 40 lines are below in full; open the rest in the repo at the tag of your plugin version: diff --git a/docs/agent/skills/ipal-upgrade/SKILL.md b/docs/agent/skills/ipal-upgrade/SKILL.md index 022b0d8..f5ca28e 100644 --- a/docs/agent/skills/ipal-upgrade/SKILL.md +++ b/docs/agent/skills/ipal-upgrade/SKILL.md @@ -196,6 +196,27 @@ and the browser tab shows the same separator. 7. `pnpm ipal:skills` (new agent rules: architecture questions first, ipal-kit first). Optional with the owner's consent: `pnpm exec ipal-skills --external`. +**→ 1.15.0 (PROGRAMISTA §6, item 55; CHANGELOG 1.15.0 "What projects must update" — do all 10, in order):** +1. **Seeding after launch:** production seed scripts and Coolify jobs need `SEED_ONLY="pages:kontakt,…"` (dry run + first, back up); a run without it on production now stops. A full re-seed only with the owner's OK: + `IPAL_SEED_ALLOW_FULL=1`. Update seed scripts copied from older templates (`ipal-site`, `ipal-form`). +2. Optional: database names `_prod` / `_dev` + `ipalEnvRules({ databaseName: true })` (warns only). +3. Optional: the design-token standard (design-tokens.md → "Migrating an existing site"). A site that styles the + cookie banner only through `--ipal-*-dark`: check the banner in the dark theme. +4. Optional: the block library, block by block (block-library.md); after turning blocks on: `pnpm generate:types`, + `pnpm payload generate:importmap`, Postgres/SQLite `migrate:create`. +5. **CookieButton** lifts above the footer — check a site with its own fixed footer bar; `avoid={false}` keeps it fixed. +6. `pnpm ipal:skills` (new **ipal-doctor**; updated ipal-reference, ipal-setup, ipal-site, ipal-audit). +7. Run `pnpm exec ipal-doctor` (and `--url https://`), fix or silence each finding with a reason in + `ipal-doctor.json`. `IPAL_DOCTOR_TOKEN` (≥ 32 characters) only if the deep check runs against production. +8. Nothing for the exact dependency pins (`nodemailer` 10.3.1 and three more) beyond `pnpm install`. +9. Pages saved before 1.15.0 keep their stored meta description: re-save a page whose description was empty (the + section header now fills it). +10. New sites: `ipal-kit create` (project-starter.md); single-language / non-`pl` default sites still go through + **ipal-setup**. +**Check:** `pnpm exec ipal-doctor --strict` → 0 errors, 0 warnings; `pnpm build`; a production seed without +`SEED_ONLY` stops with "full seed refused". + ## 2. Inventory (no code changes) **What changed for projects** between your old and new plugin version is exactly the reference site's diff — `git diff v v -- reference/` in the ipal-kit repo (or the two `docs/agent/reference-site/INDEX.md` files): diff --git a/docs/dev/PROGRAMISTA.md b/docs/dev/PROGRAMISTA.md index 2a74257..362de6e 100644 --- a/docs/dev/PROGRAMISTA.md +++ b/docs/dev/PROGRAMISTA.md @@ -662,6 +662,7 @@ Do one item at a time, build, check. Order by importance: | 52 | **1.14.3** — editors open every Cookie review entry one by one to accept it | with `cookieScanner`: `pnpm payload generate:importmap` (`CookieApprovalView`, `CookieCrawlAlert`), Postgres/SQLite `migrate:create` (`change`, `needs_description`); editors use Approve cookies (`/admin/cookie-approval`, linked from Privacy → Cookie review); old flow: `cookieScanner: { approval: false }` | cookie-scanner.md, CHANGELOG 1.14.3 | | 53 | **1.14.4** — cookie texts retyped in every language; three cookie entries in the admin navigation | `pnpm payload generate:importmap` (`CookieReviewTab`, `CookieSiteCheckTab`); empty languages fill themselves (`fillEmptyLocales: false` to keep them empty); with `cookieScanner` one **Cookies** entry with tabs (`cookieScanner: { adminLayout: 'separate' }` for the old entries); Cookie banner is now called Cookies — update editor instructions; no migration | consent.md, cookie-scanner.md, hooks.md, CHANGELOG 1.14.4 | | 54 | **1.14.6** (1.14.5 never published) — `/api/graphql` answers 500; graphql-scalars high advisory; theme stored as `ipal-theme`; hand-written `admin.meta` for the panel preview | Postgres: `migrate:create` for the title separator **plus `${sql.raw(titleSeparatorSql())}` after the first `SET DATA TYPE text;`**, and the cookie storage type; `graphql-scalars` override (Node 22 recommended); `THEME_STORAGE_KEY` instead of `'ipal-theme'`; `titleSeparatorChar()` for a raw `settings.titleSeparator`; remove hand-written panel `admin.meta`; `pnpm ipal:skills` (`--external` optional) | CHANGELOG 1.14.6 + 1.14.5, seo.md, theme.md, white-label.md, consent.md | +| 55 | **1.15.0** — a production seed runs everything; no design tokens / block library; no site check | `SEED_ONLY` for production seeds (full seed refused, `IPAL_SEED_ALLOW_FULL=1` with the owner's OK); optional tokens.css + the block library (block by block, `migrate:create`); CookieButton above the footer (`avoid={false}`); `pnpm ipal:skills`; `pnpm exec ipal-doctor` (`--url`); new sites with `ipal-kit create` | CHANGELOG 1.15.0, seeding.md, design-tokens.md, block-library.md, doctor.md, project-starter.md | After updating the package: `pnpm ipal:skills` (new skill versions), `pnpm payload generate:importmap`, `rm -rf .next`, restart dev, grep for the new symbol in `node_modules/@intecion/ipal-kit/dist`. diff --git a/reference/.agents/skills/ipal-upgrade/SKILL.md b/reference/.agents/skills/ipal-upgrade/SKILL.md index 022b0d8..f5ca28e 100644 --- a/reference/.agents/skills/ipal-upgrade/SKILL.md +++ b/reference/.agents/skills/ipal-upgrade/SKILL.md @@ -196,6 +196,27 @@ and the browser tab shows the same separator. 7. `pnpm ipal:skills` (new agent rules: architecture questions first, ipal-kit first). Optional with the owner's consent: `pnpm exec ipal-skills --external`. +**→ 1.15.0 (PROGRAMISTA §6, item 55; CHANGELOG 1.15.0 "What projects must update" — do all 10, in order):** +1. **Seeding after launch:** production seed scripts and Coolify jobs need `SEED_ONLY="pages:kontakt,…"` (dry run + first, back up); a run without it on production now stops. A full re-seed only with the owner's OK: + `IPAL_SEED_ALLOW_FULL=1`. Update seed scripts copied from older templates (`ipal-site`, `ipal-form`). +2. Optional: database names `_prod` / `_dev` + `ipalEnvRules({ databaseName: true })` (warns only). +3. Optional: the design-token standard (design-tokens.md → "Migrating an existing site"). A site that styles the + cookie banner only through `--ipal-*-dark`: check the banner in the dark theme. +4. Optional: the block library, block by block (block-library.md); after turning blocks on: `pnpm generate:types`, + `pnpm payload generate:importmap`, Postgres/SQLite `migrate:create`. +5. **CookieButton** lifts above the footer — check a site with its own fixed footer bar; `avoid={false}` keeps it fixed. +6. `pnpm ipal:skills` (new **ipal-doctor**; updated ipal-reference, ipal-setup, ipal-site, ipal-audit). +7. Run `pnpm exec ipal-doctor` (and `--url https://`), fix or silence each finding with a reason in + `ipal-doctor.json`. `IPAL_DOCTOR_TOKEN` (≥ 32 characters) only if the deep check runs against production. +8. Nothing for the exact dependency pins (`nodemailer` 10.3.1 and three more) beyond `pnpm install`. +9. Pages saved before 1.15.0 keep their stored meta description: re-save a page whose description was empty (the + section header now fills it). +10. New sites: `ipal-kit create` (project-starter.md); single-language / non-`pl` default sites still go through + **ipal-setup**. +**Check:** `pnpm exec ipal-doctor --strict` → 0 errors, 0 warnings; `pnpm build`; a production seed without +`SEED_ONLY` stops with "full seed refused". + ## 2. Inventory (no code changes) **What changed for projects** between your old and new plugin version is exactly the reference site's diff — `git diff v v -- reference/` in the ipal-kit repo (or the two `docs/agent/reference-site/INDEX.md` files): diff --git a/reference/AGENTS.md b/reference/AGENTS.md index d2de3bc..89fdbe1 100644 --- a/reference/AGENTS.md +++ b/reference/AGENTS.md @@ -47,7 +47,7 @@ Write everything in this file in English. -## ipal-kit 1.14.6 — agent guide +## ipal-kit 1.15.0 — agent guide This project is built on `@intecion/ipal-kit` (a Payload CMS 3 plugin). Before you write code: