From 0e54789abd529b23109539443e6e03811ead6ced Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Smoli=C5=84ski?= Date: Wed, 25 Nov 2026 17:48:00 +0100 Subject: [PATCH] Rename plan: what was carried out and where it differs Co-Authored-By: Claude Fable 5.2 --- docs/dev/rename-iapl-plan.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/docs/dev/rename-iapl-plan.md b/docs/dev/rename-iapl-plan.md index 6614d01..25f9704 100644 --- a/docs/dev/rename-iapl-plan.md +++ b/docs/dev/rename-iapl-plan.md @@ -479,3 +479,36 @@ counted twice. cookie list approved again and starts the 2FA counters from zero once. The docs say so; `iapl-upgrade` does not suggest it. - The server's hit endpoint takes the id from the request body, not from the cookie, so it needs no name. + +## 9. Carried out (branch `claude/iapl-rename-1170`), and where it differs from the plan + +Done as planned: §3.2 (brand text), §3.3 (aliases), §3.4 (unchanged names), §3.6 (guide, skills, installer), +§8 (second cookie name and kv prefix, option A), the gate additions of §4.3. + +Differences: + +| Plan | Done | Why | +| --- | --- | --- | +| §4.1: tests are not bulk-renamed; new-name tests are added beside them | the tests follow the preferred names (same scripted list as the code), and the old names are proven in one place: `test/legacyNames.test.ts`, plus `pnpm legacy:site` | messages and file names asserted by the tests changed with the brand; one file that lists every old name is easier to keep complete than 73 files that each keep some | +| §2 class A: repo-only env (`IPAL_TEST_*`, `IPAL_DEV_2FA`, `IPAL_COPY_BASELINE`, `IPAL_TEST_SHAPE`) renamed | left as they are | the integration gate's commands and CI set them; renaming buys nothing | +| §3.2: mail adapter names (`ipal-graph`, `ipal-panel-smtp`, `ipal-mail-dispatcher`) renamed | left | a project can compare `payload.email.name`; the relay adapter is born `iapl-relay` | +| §3.2: `CLAUDE.md` updated | not touched | it is the project's instruction file; the owner edits it | +| — | the MCP server's default `serverName` stays `ipal-site` | MCP clients see it | +| — | audit finding titles that named a command changed, their doctor rule ids did not (`AUDIT_RULE_MAP`) | a setting in a project's doctor file must still match | +| — | `readEnv`, `legacyEnvName` exported; `EnvRule.aliases` | the name constants (`SITE_NOINDEX_ENV`, …) can hold only one spelling; a project's own code needs the fallback too | +| §4.3 gate 3: an empty migration on Postgres and SQLite | the table, column and enum names Payload builds with every module on were dumped at `619a4e0` and on this branch and compared: identical on SQLite and on Postgres (80 tables, 623 columns, 27 enums) | a direct comparison of what a migration would be made from; the dump script is in the session notes, not in the repository | +| §4.3 gate 1: "doctor without new errors" | `pnpm legacy:site` fails on an error; on the `v1.16.7` site the doctor shows two warnings (`agents-md`, `skills-current`: skills and pointer block are older than the plugin, as after any upgrade) and `legacy-names` as info | | + +Found by `pnpm legacy:site` on the unedited `v1.16.7` site, and fixed: + +- `ipal-tokens --check` called a `tokens.css` written before 1.17.0 out of date, because the generated header names + the command. A header that differs only in that name is now current. +- The doctor rule `env-example` did not accept `IPAL_*` names in `.env.example`. + +Left open: + +- `CLAUDE.md` still says ipal-kit, `ipal-*` skills and `ipal-skills`. +- Past rows of `PROGRAMISTA.md` §6 and past sections of `iapl-upgrade` were renamed with the rest (they name + commands a reader runs today); `CHANGELOG.md` was not. +- The version is still 1.16.8 in `package.json`; the changelog entry is headed "1.17.0 (draft)". +- The relay route and its names are the adapter session's (§7).