mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-02 07:43:42 +08:00
Any change to the runtime's C sources makes every executable differ, so the gate failed even when every program's IR and LLVM were byte-identical. The gate now classifies each difference outside --allow: - runtime-only: IR and LLVM identical, the same LLVM helper, runtime pack objects that differ between the checkouts (bitcode alone records the checkout path, so it does not count), and every symbol the executable gains, loses or resizes defined by a changed runtime object. It passes with a note that lists the changed runtime functions the program links (from the release and speed bitcode, through llvm-dis) and the size change. - nondeterministic: the baseline builds the program again, and its two builds differ in the same artifacts. It passes with a note. - differs: anything else; it fails as before. --strict fails runtime-only and nondeterministic programs too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>