starter:gate: a fresh tarball every run and proof of which code made the site
pnpm's dlx cache is keyed by the spec, so the gate reused the previous run's plugin when the tarball path stayed the same. Each run now packs to a new file name and calls dlx with --config.dlx-cache-max-age=0. build:starter records the plugin commit in the bundle; ipal-kit create records the bundle's sha256 and that commit in .ipal/starter.json; the gate checks both, and the installed plugin, against the packed tarball. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
aa88e4ea39
commit
e7e756a0d7
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user