IAPL rename, review fixes I-1 to I-11

I-1  ipalEnvRules() keeps the IPAL_ rule names (IAPL_ as aliases); iaplEnvRules() the other way round; the IAPL_ value
     is the one checked when both are set
I-2  COOKIE_SCAN_URL_ENV / COOKIE_SCAN_TOKEN_ENV (and the internal SITE_NOINDEX_ENV) keep their old values;
     IAPL_COOKIE_SCAN_URL_ENV / IAPL_COOKIE_SCAN_TOKEN_ENV added
I-3  bin/ipal-*.mjs: five files that run the new ones (1.16's audit skill and CI call them by path); legacy:site checks it
I-4  storage-names sees <SiteProviders … stats> when a JSX prop comes first (the reference layout's shape)
I-5  AGENT.md: a text naming an ipal-<name> skill means iapl-<name> (the vendored ext-* skills)
I-6  leftover text in the skills-current message
I-7  iapl-skills removes the old pointer block when both are in AGENTS.md
I-8, I-11  changelog: the doctor's summary line, IAPL_DOCTOR_STATUS, --strict in CI until the skills are refreshed
I-9  env.md: an empty IAPL_ variable does not switch the IPAL_ one off
I-10 verifyLimit.keyPrefix undefined or empty is 'not given'

Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-11-25 18:45:36 +01:00
co-authored by Claude Fable 5.2
parent 03452376f9
commit 38b903fcfa
25 changed files with 202 additions and 33 deletions
+4
View File
@@ -160,6 +160,10 @@ if (pointer) {
next = create === 'import' ? '@AGENTS.md\n' : `# ${file.replace('.md', '')}\n\n${block}\n`
} else if (text.includes(START) && text.includes(END)) {
next = text.slice(0, text.indexOf(START)) + block + text.slice(text.indexOf(END) + END.length)
// both blocks (an upgrade, a rollback whose installer added the old block again, an upgrade): the old one goes
if (next.includes(OLD_START) && next.includes(OLD_END)) {
next = (next.slice(0, next.indexOf(OLD_START)).replace(/\s*$/, '') + '\n\n' + next.slice(next.indexOf(OLD_END) + OLD_END.length).replace(/^\s*/, '')).replace(/\s*$/, '\n')
}
} else if (text.includes(OLD_START) && text.includes(OLD_END)) {
// the block written before 1.17.0: replaced where it stands, markers included
next = text.slice(0, text.indexOf(OLD_START)) + block + text.slice(text.indexOf(OLD_END) + OLD_END.length)
+3
View File
@@ -0,0 +1,3 @@
#!/usr/bin/env node
// The path this command had before 1.17.0 (scripts and skills of older projects call it by path). Removed in 2.0.
import './iapl-blocks.mjs'
+3
View File
@@ -0,0 +1,3 @@
#!/usr/bin/env node
// The path this command had before 1.17.0 (scripts and skills of older projects call it by path). Removed in 2.0.
import './iapl-doctor.mjs'
+3
View File
@@ -0,0 +1,3 @@
#!/usr/bin/env node
// The path this command had before 1.17.0 (scripts and skills of older projects call it by path). Removed in 2.0.
import './iapl.mjs'
+3
View File
@@ -0,0 +1,3 @@
#!/usr/bin/env node
// The path this command had before 1.17.0 (scripts and skills of older projects call it by path). Removed in 2.0.
import './iapl-skills.mjs'
+3
View File
@@ -0,0 +1,3 @@
#!/usr/bin/env node
// The path this command had before 1.17.0 (scripts and skills of older projects call it by path). Removed in 2.0.
import './iapl-tokens.mjs'