buildR2Storage registered nothing without R2_* env, so `pnpm dev` / generate:importmap in dev
wrote an importMap.js without S3ClientUploadHandler — committed, the production admin (R2 on)
rendered a blank page with no console error (hit vanstev.pl). The injected s3Storage is now
always registered (enabled: false without R2 → local disk); storage-s3 still adds its client
handler, so the import map is identical in every environment. ipal-audit flags an import map
without the handler.
R2_PUBLIC_URL alone (absolute, outside production) = read-only media: URLs from the media
domain, upload/delete refused with 403 — local dev against a production database without
bucket keys. ipalEnvRules allows it in development.
Cookie Settings (MongoDB): the 1.11.1 rename buttons.save → savePreferences lost the texts on
the first save; onInit copies the old value (all locales) when the new field is missing.
getConsentTexts read the old field as a string, Mongo returns the raw { pl, en } map.
Also: context.ipalSkipAutoFill (SKIP_AUTO_FILL) — save without meta / aiSummary auto-fill;
createPageRoute redirects the homepage under its own slug (homeAlias, default 'redirect');
ipal-audit: multi-line tsconfig exclude, numeronyms (a11y) not "numbered fields",
`${prefix}/${slug}` links and slugs typed into links detected, clearer panel-language message.
Docs: fallback-on-save in i18n.md, `pnpm up --latest` and the stale-token 401 in PROGRAMISTA §1.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Dokumentacja @intecion/ipal-kit
| Kim jesteś | Czytaj |
|---|---|
| Agent AI pracujący w projekcie | AGENT.md — reguły, struktura, budowa sekcji, kontrole przed „gotowe” |
| Agent AI — skille | agent/skills/ — 14 skilli ipal-* dla Antigravity/Claude Code, w tym ipal-site (strona od briefu do raportu) i skrypty kontrolne (kopiowane do projektu: pnpm ipal:skills, AGENT.md §14) |
| Programista | PROGRAMISTA.md — instalacja, nowy projekt, env, wdrożenie, aktualizacja, publikacja pluginu, Gitea |
| Osoba prowadząca agenta AI | vibe.md — tryb autonomiczny (/ipal-site) i gotowe polecenia krok po kroku |
Szczegóły API — jeden plik na moduł:
| Moduł | Plik |
|---|---|
| Role i dostęp do panelu | access.md |
| Widget dostępności (opcjonalny) | accessibility.md |
GA4, GTM, Meta Pixel, Clarity, LinkedIn, TikTok, defer |
analytics.md |
| Bloki, RenderBlocks, enhanceProps | blocks.md |
| Zgoda cookies, baner | consent.md |
| Strona w budowie — blokada podstron z popupem (narzędzie deweloperskie) | construction.md |
| Routing, archiwa, redirecty, Markdown, wyszukiwarka | content.md |
| Email SMTP / Graph | email.md |
| Walidacja env | env.md |
| Formularze, useForm, honeypot | forms.md |
| Hooki | hooks.md |
| i18n, proxy, przełącznik języka | i18n.md |
| Linki / CTA: buildLinkField, buildLinksField, resolveLinkHref, rowLabel | links.md |
| Serwer MCP strony | mcp.md |
| Komunikaty formularzy | notifications.md |
| Strony systemowe, 404, generateStaticParams | pages.md |
| Helpery Payload | payload-helpers.md |
| Rich text, spis treści | richtext.md |
| Nagłówki, CSP, 2FA | security.md |
| SEO, metadata, sitemap, JSON-LD, llms.txt | seo.md |
| Statystyki w panelu (bez cookies; historia odwiedzającego za zgodą) | stats.md |
| Auto-slug | slug.md |
| Motyw jasny / ciemny, przełącznik | theme.md |
| Media, R2 | storage.md |
| Turnstile | turnstile.md |
| White-label panelu | white-label.md |
Zasada utrzymania: zmiana API modułu → aktualizacja jego pliku w tym samym commicie. Nowe reguły pracy → AGENT.md. Nowy krok procesu → PROGRAMISTA.md. Nowy etap budowy → vibe.md. Nie dodawaj kolejnych plików ogólnych.