IAPL rename: docs, agent guide, skills, reference site and starter on the new names; changelog draft
- docs, AGENT.md, the 16 skills, PROGRAMISTA and README use the preferred names (scripted, same list of forms); past CHANGELOG entries and the proposals in docs/dev are not rewritten - AGENT.md: 'Names: IAPL and ipal-kit' — old name, new name, state in 1.x; what is not renamed; storageNames - iapl-upgrade '→ 1.17.0', PROGRAMISTA §6 item 72, CHANGELOG 1.17.0 (draft): nothing required - env.md, doctor.md (legacy-names, storage-names), stats.md, security.md, project-starter.md, iapl-reference, iapl-setup - skill scripts read ipal-audit-skip and IPAL_IP_HEADER too; audit rule ids stay what they were - reference site: iapl(), iapl-doctor.json, iapl-* skills, storageNames: 'iapl'; INDEX.md regenerated Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
co-authored by
Claude Fable 5.2
parent
425fac14fb
commit
b91984fbcd
@@ -82,7 +82,7 @@ component) · Postgres/SQLite: `pnpm payload migrate:create` and commit the migr
|
||||
|
||||
**Verify:** the block picker shows the blocks in the editor's language; adding each block shows at most six
|
||||
fields; a page with every block renders (`pnpm build`); every section has `data-ipal-block="<slug>"` in the HTML; only the
|
||||
first section's heading is `h1`; the gallery opens images in the viewer; `ipal-doctor` / `ipal-audit` report no block errors.
|
||||
first section's heading is `h1`; the gallery opens images in the viewer; `iapl-doctor` / `iapl-audit` report no block errors.
|
||||
|
||||
## The blocks
|
||||
|
||||
@@ -196,14 +196,14 @@ scope the token preset re-maps text, borders, links and focus, so blocks use pla
|
||||
|
||||
## Own blocks and eject
|
||||
|
||||
A section no library block or variant fits → the project's own block (**ipal-block** skill): `src/blocks/<Name>/`,
|
||||
A section no library block or variant fits → the project's own block (**iapl-block** skill): `src/blocks/<Name>/`,
|
||||
the same field builders and primitives, added to `pageBlocks` and to `extra` in the registry.
|
||||
|
||||
To own a library block completely:
|
||||
|
||||
```bash
|
||||
pnpm exec ipal-blocks list
|
||||
pnpm exec ipal-blocks eject faq # → src/blocks/Faq/config.ts + Component.tsx
|
||||
pnpm exec iapl-blocks list
|
||||
pnpm exec iapl-blocks eject faq # → src/blocks/Faq/config.ts + Component.tsx
|
||||
```
|
||||
|
||||
Eject copies the block's source with its imports pointing at the package entries (same slug, same data shape —
|
||||
@@ -253,14 +253,14 @@ their slug in it; default `pl`), `linkTo` (the slugs of the about / contact / ho
|
||||
**After launch — named records only** (AGENT.md "Seeding on production", docs/seeding.md): use a template only through a
|
||||
seed that names its records — `SEED_ONLY="pages:kontakt" pnpm payload run scripts/seed-content.ts` after
|
||||
`SEED_DRY_RUN=1` and a Coolify backup — never a run of every template. Seeds stay create-only; a page an editor
|
||||
changed is skipped. A newer ipal-kit never changes existing pages: templates are only read when a seed runs.
|
||||
changed is skipped. A newer IAPL never changes existing pages: templates are only read when a seed runs.
|
||||
|
||||
## Versioning — new fields never break content
|
||||
|
||||
- A minor release only **adds**: new optional fields (or with a `defaultValue`), new variant values. A component renders
|
||||
the old output while a new field is empty.
|
||||
- Never in a minor: renaming or removing a stored field, a select value, a slug or an `interfaceName`; a new
|
||||
required field; a field becoming required. A rename happens only in a major, with an **ipal-migrate-fields** recipe
|
||||
required field; a field becoming required. A rename happens only in a major, with an **iapl-migrate-fields** recipe
|
||||
and upgrade notes.
|
||||
- Database names come from the slugs and field names only — never from labels — so renaming a panel label changes no
|
||||
table, column or enum.
|
||||
@@ -273,7 +273,7 @@ changed is skipped. A newer ipal-kit never changes existing pages: templates are
|
||||
|
||||
`blockLibraryManifest` (`/blocks`) is plain data built from the block configs: every block's `slug`, `interfaceName`,
|
||||
`variants` and stored `fields` (paths from `fieldPaths(fields)`), the `primitives` a project may swap, the
|
||||
`fieldBuilders` a project block should use instead of its own copy, and the `templates`. `ipal-doctor` reads its names
|
||||
`fieldBuilders` a project block should use instead of its own copy, and the `templates`. `iapl-doctor` reads its names
|
||||
from here. `buildBlockLibraryManifest()` builds it again (e.g. in a test).
|
||||
|
||||
## Turn off, override, extend
|
||||
|
||||
Reference in New Issue
Block a user