Merge claude/starter-gate-fresh: starter:gate packs a fresh tarball every run

starter:gate gives every run a fresh tarball (no stale pnpm dlx cache) and proves
which plugin code generated the site (bundle/cli stamp). No conflicts; the
until-silence filter in generate.ts (aa88e4e) is kept.
This commit is contained in:
Radosław Smoliński
2026-10-29 16:47:00 +01:00
8 changed files with 55 additions and 11 deletions
+4 -1
View File
@@ -180,7 +180,10 @@ compiled code with source maps, docs — is ~340 KB unpacked (~4 % of 7.96 MB) a
`_dev` database (MongoDB in its own Docker container) → `pnpm generate:types && pnpm build` →
`SEED_ONLY="pages:kontakt" [SEED_DRY_RUN=1] pnpm seed` in production mode → a full seed in production refused →
`pnpm start` with `/api/health`, `/pl`, report-only CSP, no `X-Powered-By`, `/llms.txt` → `ipal-doctor --strict`
(when shipped) → with the `nixpacks` CLI on PATH, the same seed inside the Nixpacks image. Needs Docker;
(when shipped) → with the `nixpacks` CLI on PATH, the same seed inside the Nixpacks image. Each run packs to a new
file name and calls `dlx` with `--config.dlx-cache-max-age=0` (pnpm's dlx cache is keyed by the spec, so a reused path
would run the previous build), then checks the new site's `.ipal/starter.json` → `source` (the bundle's sha256 and the
plugin commit `build:starter` recorded) and the installed plugin against the packed tarball. Needs Docker;
`--keep` leaves `.starter-gate/` for inspection.
## Building blocks — `@intecion/ipal-kit/starter`