- 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]>
4.0 KiB
name, description
| name | description |
|---|---|
| iapl-plugin-gap | Handles the moment when @intecion/ipal-kit seems to lack a feature or behaves wrongly — verifies against the plugin docs and type definitions first, then reports the gap to the owner with a structured plugin request and waits for their decision instead of patching the project with hooks, hardcoded values, copied plugin code or any self-made workaround. Use when tempted to work around the plugin, when a plugin function errors or is missing, or when the same need appears in several projects. |
iapl-plugin-gap
Rule: AGENT.md "IAPL first" and §1.3 — report first, then wait. You do nothing on your own for that part until the owner decides; work on unrelated parts may go on. No hand-built replacement, no silent workaround. Report type: bug (the plugin behaves differently from the docs) or improvement (the same code written in yet another project; no option exists that would remove it).
Plugin rule: IAPL helps the project, never limits it. Every module can be
turned off separately; every default (access, fields, hooks, labels, routes, collections,
globals) can be overridden and the project config wins; safe defaults have an option to
relax them; the plugin exports building blocks, not only ready-made functions. A missing option or
building block is a plugin gap to report (type: improvement) — not a reason to patch node_modules.
1. Check that the plugin does not already have it
ls node_modules/@intecion/ipal-kit/docs/— read the module file,grep -rn "<keyword>" node_modules/@intecion/ipal-kit/dist --include=*.d.ts,iaploptions (IaplOptionsindist/types.d.ts:*Fields,formOverrides,access,enabled…) and the exported building blocks (build*,create*) — often an override is enough, not a new function,- check the version:
grep '"version"' node_modules/@intecion/ipal-kit/package.json(the problem may be fixed in a newer one — the iapl-upgrade skill).
The plugin has it → use it and tell the user where it was.
2. Report to the owner (when it really is missing or broken)
Save it in the project's docs/plugin-requests/<date>-<topic>.md and tell the owner right away:
the file, a one-paragraph summary and the options below. Then stop work on that part.
Options you offer the owner (they choose — you do not):
- wait for a plugin fix / new option (the plugin request goes to the IAPL team);
- use an existing plugin option or building block differently (if you found one with a trade-off — say which);
- an approved, minimal workaround in the project (only if the owner says yes).
After the decision: write it into AGENTS.md → "Project decisions" (what, why, the request file, who approved).
A workaround is then minimal, in one file, marked // WORKAROUND IAPL <version>: docs/plugin-requests/<file>,
and listed in the final report (iapl-site, "For IAPL" section) so it can be removed after the plugin fix.
# <topic>
**Type:** bug / improvement · **Project:** <name> · **IAPL:** <version>
## Problem
<what does not work / what is missing; error message; steps to reproduce>
## Why it belongs in the plugin
<whether other projects will need it — be specific>
## Proposed API
<function signature / iapl option / admin panel field; usage example in the project>
## Options for the owner
1. wait for the plugin · 2. <existing option, with its trade-off> · 3. <minimal workaround, in one file — only if approved>
## Decision
<filled in after the owner decides: option, date, who; a workaround is marked `// WORKAROUND IAPL <version>: docs/plugin-requests/<file>`>
3. What not to do
- any workaround before the owner decided — including "temporary" ones,
- a hook with the client's domain/name/colour hardcoded,
- a copy of a plugin component in the project (e.g.
Analytics,CookieBanner), - edits /
patch-packageinnode_modules/@intecion/ipal-kit, as any/@ts-ignore"to make it pass",- dynamic
import()through a variable (it will not be bundled).