From 244154e2f57b7429303896c152a58557957277af Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Thu, 17 Sep 2026 03:11:05 +0200 Subject: [PATCH] Say what the restore digest is, since it is not an identity MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The last report quoted the restored sha256 as though two runs agreeing on it meant they had run the same source. They had not: `text=auto` gives a Windows checkout carriage returns, so the win32-x64 run restored to b163cab7 and the linux-x64 run to e3c6528a from the same commit. The digest is a restore check — the file this run started with is the file it ended with — and it is said where it is printed, so the next report does not borrow it for something it cannot do. Co-Authored-By: Claude Opus 5 --- scripts/mutate-cultmesh.mjs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/mutate-cultmesh.mjs b/scripts/mutate-cultmesh.mjs index 720444c7..08a3f1af 100644 --- a/scripts/mutate-cultmesh.mjs +++ b/scripts/mutate-cultmesh.mjs @@ -1070,6 +1070,11 @@ for (const [name, target] of Object.entries(targets)) { } if (!target.dist) { + // This digest says the file this run started with is the file it ended with. + // It is not an identity for the source: `text=auto` gives a Windows checkout + // carriage returns, so two clones of the same commit restore to two + // different digests. The identity that survives a clone is the commit, or + // `git rev-parse HEAD:` for one file. results.push({ target: name, outcome: "restored", rule: `${target.file} sha256=${originalDigest}` }); continue; }