diff --git a/docs/agent/reference-site/INDEX.md b/docs/agent/reference-site/INDEX.md index d034258..3249c07 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.15.1 ("Example Studio", made up) that uses +The reference site is one complete client site on ipal-kit 1.15.2 ("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 e887f3f..9ba9689 100644 --- a/docs/agent/skills/ipal-upgrade/SKILL.md +++ b/docs/agent/skills/ipal-upgrade/SKILL.md @@ -224,6 +224,12 @@ and the browser tab shows the same separator. 2. **Check:** run the seed with `SEED_DRY_RUN=1` locally → exit 0; in Coolify's Terminal after a seed, `echo $?` → `0` (a `1` with `[seed] ended …` means the run stopped early — run it again). +**→ 1.15.2 (PROGRAMISTA §6, item 57; ipal-doctor route groups; doctor.md) — nothing required:** +1. `pnpm ipal:skills`; remove a temporary `layout-required` silence in `ipal-doctor.json` added for a route group with + another name or a `notFoundView.tsx`. +2. Two frontend candidates reported → `"layout": { "frontend": "src/app/()" }` in `ipal-doctor.json`. +**Check:** `pnpm exec ipal-doctor --strict` → no `layout-required` finding for the site's own route group. + ## 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 91e202f..5b9d028 100644 --- a/docs/dev/PROGRAMISTA.md +++ b/docs/dev/PROGRAMISTA.md @@ -664,6 +664,7 @@ Do one item at a time, build, check. Order by importance: | 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 | | 56 | **1.15.1** — a seed in Coolify's Terminal ends with exit 0 and no output (it stopped before Payload started) | `guardSeedExit()` first in every seed script, `seed.summary()` at the end; check `echo $?` after a seed; `pnpm ipal:skills` | CHANGELOG 1.15.1, seeding.md | +| 57 | **1.15.2** — ipal-doctor reports missing routes for a site whose pages live in `app/(site)` (not `(frontend)`), or a `notFoundView.tsx` | nothing to change; remove the temporary `layout-required` silence; two candidates → `layout.frontend` in `ipal-doctor.json`; `pnpm ipal:skills` | CHANGELOG 1.15.2, doctor.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 e887f3f..9ba9689 100644 --- a/reference/.agents/skills/ipal-upgrade/SKILL.md +++ b/reference/.agents/skills/ipal-upgrade/SKILL.md @@ -224,6 +224,12 @@ and the browser tab shows the same separator. 2. **Check:** run the seed with `SEED_DRY_RUN=1` locally → exit 0; in Coolify's Terminal after a seed, `echo $?` → `0` (a `1` with `[seed] ended …` means the run stopped early — run it again). +**→ 1.15.2 (PROGRAMISTA §6, item 57; ipal-doctor route groups; doctor.md) — nothing required:** +1. `pnpm ipal:skills`; remove a temporary `layout-required` silence in `ipal-doctor.json` added for a route group with + another name or a `notFoundView.tsx`. +2. Two frontend candidates reported → `"layout": { "frontend": "src/app/()" }` in `ipal-doctor.json`. +**Check:** `pnpm exec ipal-doctor --strict` → no `layout-required` finding for the site's own route group. + ## 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 dd4056c..24ad6c2 100644 --- a/reference/AGENTS.md +++ b/reference/AGENTS.md @@ -47,7 +47,7 @@ Write everything in this file in English. -## ipal-kit 1.15.1 — agent guide +## ipal-kit 1.15.2 — agent guide This project is built on `@intecion/ipal-kit` (a Payload CMS 3 plugin). Before you write code: