The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(scripts): include tree hashes in source parity error
Steven Enamakel4a2dbd19e6b4
diff --git a/scripts/lib/module-pins.mjs b/scripts/lib/module-pins.mjsindex f51e952138..e7211c0300 100644--- a/scripts/lib/module-pins.mjs+++ b/scripts/lib/module-pins.mjs@@ -254,7 +254,7 @@ export function validateTestOnlySourceParity({.sort().join(""));const releaseTreeHash = treeHash(releaseEntries);const candidateTreeHash = treeHash(candidateEntries);- if (releaseTreeHash !== proof.unchangedTreeSha256 || candidateTreeHash !== proof.unchangedTreeSha256) throw new Error("other source, manifest, lock, build input, or gitlink differs from the release tree");+ if (releaseTreeHash !== proof.unchangedTreeSha256 || candidateTreeHash !== proof.unchangedTreeSha256) throw new Error(`other source, manifest, lock, build input, or gitlink differs from the release tree (${releaseTreeHash}/${candidateTreeHash})`);const binding = proof.binding;if (!binding || Object.keys(binding).sort().join(",") !== "moduleBlob,modulePath,testPath" || !/^[0-9a-f]{40}$/.test(binding.moduleBlob)) throw new Error("module binding proof is malformed");