Files
PaperClipAI/doc
devinfoleyandClaude Fable 5.1 2d57542597 fix(build): record Runner build inputs before the build and every dist output after it
Three gaps in the stamp the server's prepare:runner-vendor step trusts,
all found in review:

- The root patches directory was not an input, although build:typescript
  hashes patches/acpx@0.13.1.patch and copies the pi-acp and
  brace-expansion patches into dist. Every file under patches/ is now in
  the digest.
- Only four outputs were checked, so a dist tree that lost a helper such
  as dist/cli/acpx-runtime-sidecar.cjs still counted as current. The stamp
  now records the path and size of every file under dist, and reuse
  requires all of them intact (reason code outputs_changed).
- The digest was hashed after the build, so a source edited while the
  build ran was recorded as compiled. The Runner's build now brackets
  itself: record-build-inputs.mjs --begin captures the digest (and drops
  the old stamp) before the first step, --finish recomputes it after the
  last check and writes the stamp only if nothing moved.

The stamp schema is now paperclip.runner-build-inputs.v2, so an older
stamp is rejected and rebuilt. Rebuild paths are unchanged.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-11 22:00:36 +00:00
..
2026-02-16 14:25:00 -06:00