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
@@ -133,8 +133,10 @@ describe('docs ↔ code', () => {
|
||||
// The plugin, or a script/template shipped in the skills (e.g. IAPL_SEED_ALLOW_PROD_UPDATE).
|
||||
const shipped = docs.filter((f) => f.startsWith('docs/agent/skills/') && /\.(?:mjs|ts|tsx)$/.test(f))
|
||||
const code = [...srcFiles(), ...shipped].map(read).join('\n')
|
||||
const named = new Set([...docs, 'README.md'].flatMap((f) => [...read(f).matchAll(/\bIPAL_[A-Z0-9_]+/g)].map((m) => m[0])))
|
||||
expect([...named].filter((name) => !code.includes(name))).toEqual([])
|
||||
// docs/dev/rename-iapl-plan.md is the rename's inventory: it also lists the repository's own test variables.
|
||||
const named = new Set([...docs, 'README.md'].filter((f) => f !== 'docs/dev/rename-iapl-plan.md').flatMap((f) => [...read(f).matchAll(/\bI(?:AP|PA)L_[A-Z0-9_]+/g)].map((m) => m[0])))
|
||||
// IPAL_<NAME> (the spelling before 1.17.0) is read through its IAPL_<NAME> twin: src/modules/shared/envName.ts
|
||||
expect([...named].filter((name) => !code.includes(name.replace(/^IPAL_/, 'IAPL_')))).toEqual([])
|
||||
})
|
||||
|
||||
test('relative links between docs point at existing files', () => {
|
||||
|
||||
Reference in New Issue
Block a user