Files
ipal-kit/docs
Radosław SmolińskiandClaude Fable 5.2 2aaaaa115a 2FA setup required: an account without TOTP reaches only setup, within a 72 h window
twoFactor.requireSetup (on by default with 2FA): an account of the 2FA
collection that has not set TOTP up is refused by ipal-kit's second-factor
check on every collection, global and plugin endpoint; the setup screen and
/api/setup-totp are all it reaches. It has 72 hours from its creation or
from an admin's reset (field totpSetupFrom, stamped by a hook); after that
setup is refused too until an admin reopens it.

Accounts that existed before get their window at the first start after the
upgrade (backfill in onInit), so nobody is blocked when a site upgrades.

Admin side: status and reset / 'Reopen setup' button on the account page
(TwoFactorStatusField), POST /api/ipal/two-factor/reset, a dashboard notice
(TwoFactorAlert), a notice on the setup screen; texts in English and Polish.
ipal-doctor reports blocked accounts and a switched-off mode.

Overridable: requireSetup false, windowHours (false / 0 = none), exempt for
a service account, resetAccess; the per-entity second-factor opt-out applies.
API keys, seeds, bearer-token routes and sites with twoFactor false are not
affected.

HTTP tests (REST, GraphQL, first admin on an empty database) run on SQLite,
Postgres and MongoDB; a browser test on the reference site covers the first
admin, a new editor and the admin's reset. Docs, guide, skills, changelog.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
2026-11-24 18:46:32 +01:00
..

@intecion/ipal-kit documentation

All ipal-kit docs, the agent guide and the agent skills are written in English.

Main rule — the plugin helps, never limits: ipal-kit 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 ipal-* skills for Antigravity/Claude Code, including ipal-reference (full map of the plugin and every export), ipal-setup (complete installation), ipal-site (a site from brief to report) and the check scripts (copied into the project: pnpm exec ipal-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 (/ipal-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) consent.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 (ipal-kit 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
Email SMTP / Graph 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
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, ipal-tokens, DESIGN.md) design-tokens.md
R2, buildImagesConfig, MediaPreconnect, YouTubeEmbed storage.md
Turnstile turnstile.md
ipal-doctor (the site against the team standard, ipal-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.