Merge claude/project-starter-build: ipal-kit create (project starter)

ipal-kit create <domain> generates a new site from the reference site (bin
ipal-kit, /starter entry, gzipped template bundle built at prepublishOnly,
starter:gate); exact pins of the plugin's own four dependencies (D15, nodemailer
10.3.1); the single-language / non-pl-default refusal; reference/ @starter:if
markers, packageManager, cookieCrawl.

Conflicts resolved:
- reference/src/instrumentation.ts: the starter's multi-line ipalEnvRules with
  the @starter:if markers (the doctor's cookieCrawl comment line merged above
  assertEnv already).
- reference/ipal-doctor.json: the doctor's version, keeping the four live-seo
  silences (until 2026-11-30) — the starter's side was the pre-silence copy.
- docs/agent/skills/ipal-reference/resources/api.md: both /starter and /doctor.
- docs/CHANGELOG.md: both sides in both hunks; one Unreleased section.
- docs/agent/reference-site/INDEX.md: regenerated with pnpm reference:index.
This commit is contained in:
Radosław Smoliński
2026-10-29 16:16:49 +01:00
43 changed files with 3100 additions and 94 deletions
+7
View File
@@ -78,6 +78,12 @@ the ready-to-send list is in **ipal-setup** stage 0 (ipal-site phase 0 uses the
| Admin | 2FA, white-label (client brand in the panel), agency credit |
| Hosting | Coolify, the production domain(s), who adds the DNS records (deployment.md §6) |
- **A new site starts with `ipal-kit create`** (docs/project-starter.md): `pnpm --config.auto-install-peers=false dlx
@intecion/ipal-kit@<version> create <domain>` asks exactly these questions (or reads them from `--answers file.json`),
generates the site from the reference site, writes the answers into `AGENTS.md` and makes the first commit. Ask the owner
first, then pass the answers — the command never fills a gap. The manual path (`ipal-setup` stages 1–11) is for an
existing project or what the command does not cover yet: **single-language sites, a default language other than `pl`**, sites
without `en`, URLs without a prefix, Postgres — the command stops with a message pointing here.
- Write every answer into the project's `AGENTS.md` → **"Project decisions"** (one line per topic).
- **Do not guess a missing answer.** No answer to an architecture question → do not build that part; ask again.
(Only *content* gaps — company data, texts, IDs — may wait: use `[TO FILL: …]` in the panel, §0a.)
@@ -1317,6 +1323,7 @@ Anything that needs a developer → move it to the panel.
| R2, `buildImagesConfig`, YouTube | [storage.md](../storage.md) |
| Front end: `createContentHelpers` (`@/lib/content`), `createPageRoute`, `SiteProviders` | [frontend.md](../frontend.md) |
| Integrations (the `site-integrations` global, statuses, email test) | [integrations.md](../integrations.md) |
| New site from the reference site: `ipal-kit create`, `@intecion/ipal-kit/starter` | [project-starter.md](../project-starter.md) |
| Deployment, production env, health check | [deployment.md](../deployment.md) |
| Seeds on production: create-only, dry run, backup, update guard | [seeding.md](../seeding.md) |
| Meta Pixel / GA4 via GTM | [gtm-meta-pixel.md](../gtm-meta-pixel.md) |