test(native): verify real PE and DOS entry views
Record real Ghidra/MCP and Codex CLI verification of shipped ShareX native PE and FreeDOS DOS MZ entry views. Preserve original Evidence provenance, separate run-specific references from facts, and reject stale/colliding producer identities or unsupported model claims. Sixteen focused experiment regression cases, original public-reply/transcript replays, and CI run 38273269072 pass for head 0667f7cb7c85f134311c7470ff4ee99ef9cc45f4. No production API/default change or general native speedup claim; final resource counters remain unknown. Continues #2016. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
parent
428eee00fd
commit
1770f38cfc
@@ -30,6 +30,7 @@ const sameSettings = [
|
||||
"provider_search_path_sha256",
|
||||
"provider_environment_policy_sha256",
|
||||
"measure_source_sha256",
|
||||
"native_workflow_source_sha256",
|
||||
"package_lock_sha256",
|
||||
"node_version",
|
||||
"sdk_client_version",
|
||||
@@ -40,7 +41,9 @@ const sameSettings = [
|
||||
const settingDifferences = sameSettings.filter(
|
||||
(key) =>
|
||||
!isDeepStrictEqual(left[key], right[key]) ||
|
||||
(key === "provider_search_path_sha256" &&
|
||||
((key === "provider_search_path_sha256" ||
|
||||
(key === "native_workflow_source_sha256" &&
|
||||
typeof left.native_question === "string")) &&
|
||||
!/^[a-f0-9]{64}$/.test(left[key] ?? "")),
|
||||
);
|
||||
// Producer/view IDs identify different delivery observations; a named recovery
|
||||
@@ -54,6 +57,17 @@ const facts = (answer) =>
|
||||
const a = facts(leftAnswer);
|
||||
const b = facts(rightAnswer);
|
||||
const runSpecific = [];
|
||||
for (const [side, answer] of [
|
||||
["left", leftAnswer],
|
||||
["right", rightAnswer],
|
||||
]) {
|
||||
if (Object.hasOwn(answer, "evidence_ids"))
|
||||
runSpecific.push({
|
||||
side,
|
||||
path: ["evidence_ids"],
|
||||
value: answer.evidence_ids,
|
||||
});
|
||||
}
|
||||
// Binwalk assigns a new opaque region UUID in each invocation. Preserve both
|
||||
// original lookup values in this report; compare the observed region facts
|
||||
// separately. The product and original replies retain those IDs unchanged.
|
||||
|
||||
Reference in New Issue
Block a user