- the state block on the e-mail tab (method IWSN): the button while the service offers the confirmation page
(connectAvailable) or before the site has enrolled; a click asks the site's server for the link
(POST /api/iapl/mail-relay/connect-link, admin only), which asks the service (POST /v1/connect, enrolling first),
checks that it begins with the service's own {base}/connect?, and hands it over without storing or logging it;
the browser opens it in a new tab with noopener noreferrer; the block asks /v1/status every 5 s for 10 min
- states: waiting for confirmation (button), waiting for approval (no page), connected, stopped; 503
connect-unavailable and 429 said in the admin's language; a load of the panel asks the service while the site waits
- dashboard alert for a waiting site (live); doctor mail-relay-connect (error) — replaces the pending warning and the
"not enrolled yet" note of mail-relay-state
- opt-out mail.relay.connectButton: false (no button, no route); building blocks requestRelayConnectLink,
isRelayConnectUrl, RELAY_CONNECT_LINK_PATH; the fake service implements /v1/connect, connectAvailable and
confirmConnect
- contract copy 1.8.0 (IWDL working tree, checksums match); docs, AGENT.md, setup / upgrade / debug skills, changelog
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@intecion/ipal-kit documentation
All IAPL docs, the agent guide and the agent skills are written in English.
Main rule — the plugin helps, never limits: IAPL is a plugin — it helps projects and never limits them. Every module can be turned off on its own, every default can be overridden (the project config wins), safe defaults have an option to relax them, and the plugin exports building blocks (helpers, builders, hooks), not only finished features. Every module page has a "Turn off, override, extend" section that describes the current code.
| Who you are | Read |
|---|---|
| AI agent working in a project | AGENT.md — rules, structure, building sections, checks before "done" |
| AI agent — skills | agent/skills/ — 15 iapl-* skills for Antigravity/Claude Code, including iapl-reference (full map of the plugin and every export), iapl-setup (complete installation), iapl-site (a site from brief to report) and the check scripts (copied into the project: pnpm exec iapl-skills, AGENT.md §14) |
| Developer | PROGRAMISTA.md — installation, new project, env, deployment, upgrades, releasing the plugin, Gitea; deployment and health check: deployment.md |
| Person driving an AI agent | vibe.md — autonomous mode (/iapl-site) and ready-made step-by-step prompts |
API details — one file per module:
| Module | File |
|---|---|
| Roles and admin panel access | access.md |
| Accessibility widget (optional) | accessibility.md |
GA4, GTM, Meta Pixel, Clarity, LinkedIn, TikTok, defer |
analytics.md |
| Blocks, RenderBlocks, enhanceProps | blocks.md |
| Block library: ready sections, page templates | block-library.md |
| Cookie consent, banner, settings window (in the bar / modal / large with cookie details), Global Privacy Control | consent.md |
| The consent behaviour IAPL and IAWL share (record, categories, GPC, equal prominence, tests) | consent-behaviour-spec.md |
| Cookie scanner: review list of drafts, "Scan cookies", Open Cookie Database lookup (optional) | cookie-scanner.md |
| Under construction — locks subpages behind a popup (developer tool) | construction.md |
| Routing, archives, redirects, Markdown, search | content.md |
Site frontend: createContentHelpers (@/lib/content), createPageRoute, SiteProviders |
frontend.md |
New site in one command (iapl create, @intecion/ipal-kit/starter) |
project-starter.md |
| Deployment, production variables, health check | deployment.md |
| Seeds: create-only, dry run, backup, production update guard | seeding.md |
| E-mail: the mail service (default), SMTP, Graph (deprecated) | email.md |
| Env validation | env.md |
| Forms, useForm, honeypot | forms.md |
| GA4 + Meta Pixel through GTM (form events) | gtm-meta-pixel.md |
| Hooks | hooks.md |
| i18n, proxy, language switcher | i18n.md |
Integrations (site-integrations global, statuses, test email) |
integrations.md |
| Links / CTA: buildLinkField, buildLinksField, resolveLinkHref, rowLabel | links.md |
Media: collection, file names, optimization, placeholders, mediaImageProps |
media.md |
| Image lightbox: enlarge a thumbnail, galleries, rich text images | lightbox.md |
| Site MCP server | mcp.md |
| Form messages | notifications.md |
| System pages, 404, generateStaticParams | pages.md |
| Payload helpers | payload-helpers.md |
| Rich text, table of contents | richtext.md |
| Headers, CSP, 2FA | security.md |
| SEO, metadata, sitemap, JSON-LD, llms.txt | seo.md |
| Speed: what the plugin does, what the project does, budgets, measuring, the doctor's performance group | performance.md |
| Stats in the admin panel (no cookies; visitor history with consent) | stats.md |
| Auto-slug | slug.md |
| Light / dark theme, switcher | theme.md |
Design tokens (--ipal-*, tokens.css, tailwind.css, iapl-tokens, DESIGN.md) |
design-tokens.md |
R2, buildImagesConfig, MediaPreconnect, YouTubeEmbed |
storage.md |
| Turnstile | turnstile.md |
iapl-doctor (the site against the team standard, iapl-doctor.json) |
doctor.md |
| Admin panel white-label | white-label.md |
Maintenance rule: a module's API changes → update its file in the same commit. New working rules → AGENT.md. New process step → PROGRAMISTA.md. New build stage → vibe.md. Do not add more general files.