Complete before replacement
HTML, capability ESM, Workers, CSS, public files, and afterBuild artifacts finish outside the active dist tree.
STAGE · VERIFY · PROMOTE
Generation, public validation, and trusted hooks finish before Kudzu replaces the previous deploy tree. Ordinary failure leaves the last successful output intact.
OUTPUT OWNERSHIP
HTML, capability ESM, Workers, CSS, public files, and afterBuild artifacts finish outside the active dist tree.
Public route, runtime, handler, chunk, Worker, and stylesheet collisions stop the build instead of overwriting output.
Compiler, bundler, copy, and hook failures discard staging while the prior successful deploy remains unchanged.
An exclusive same-root lock blocks overlap. After stale-lock removal, the next admitted build restores an interrupted promotion backup.
A pre-hardening candidate observed a 5.71% lower local fixture median while all 3,056 commerce artifacts remained byte-identical.
P0.6 moves root and compiler caches into explicit build-scoped ownership for independent projects.
UPGRADE
npm install @kudzujs/core@^0.8.32