fix: identify changed product inputs during qualification

This commit is contained in:
aphrody-dev committed 2026-10-13 22:50:04 +02:00
1 parent 38c4d0c591
commit 76004f5eb3
2 files changed
+7 -1

No files matched your search

+6
View File
@@ -107,3 +107,9 @@ the installed binary retains the earlier runtime
An earlier review also rejected service activation. Neither this candidate
qualification nor the source portal's HTTPS readiness proves that the product
service or its public proxy routes have been activated.
A later invocation through `bun-os server verify` correctly refused this
candidate after the concurrent canonical owner changed
`packages/bun-workspace/src/process.ts`. The eleven passing gates above remain
evidence for the recorded source snapshot; they do not qualify the subsequent
working source. Rebuilding against the final committed owner inputs is required.
+1 -1
View File
@@ -151,7 +151,7 @@ export async function verifyProduct(
(await command(["git", "hash-object", "--path=" + gitPath, path])) !== input.gitBlob ||
(await hashFile(path, { signal: deadline.signal })) !== input.sha256
)
throw new Error("Product input differs from its committed source proof.");
throw new Error("Product input differs from its committed source proof: " + gitPath);
}
if (generated !== 1) throw new Error("Product receipt requires exactly one generated entry proof.");
for (const path of [