From 328cc5c61b7300b9f2dd407ad17b2a352ceb213b Mon Sep 17 00:00:00 2001 From: cflmy Date: Fri, 27 Nov 2026 02:05:33 +0800 Subject: [PATCH] fix(impact): load the impact report before assembling the evidence record The candidate evidence heredoc referenced the report without reading it after the rebase; define the report from /impact.json (or None when no accepted ref was available) before building the record. --- scripts/integration.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/integration.sh b/scripts/integration.sh index eb2ba8d..3581a4e 100755 --- a/scripts/integration.sh +++ b/scripts/integration.sh @@ -157,6 +157,8 @@ python3 - "$work" "$root_commit" "$source_sha" "$bundle_digest" "$bundle_aliases import hashlib, json, pathlib, sys work = pathlib.Path(sys.argv[1]) archive = pathlib.Path(sys.argv[6]) +impact_path = work / "impact.json" +impact = json.loads(impact_path.read_text()) if impact_path.is_file() else None evidence = { "schema": "marqdo.ecosystem-integration", "schema_version": 1,