fix: report malformed application evidence as input errors

This commit is contained in:
morluto committed 2026-10-10 03:52:35 +08:00
1 parent 55a46f7c71
commit 218c13160e
15 files changed
+613 -165

No files matched your search

@@ -85,7 +85,6 @@ const isPortableAbsolutePath = (path: string): boolean =>
/^(?:\\\\|\/\/)[^\\/]+[\\/][^\\/]+(?:[\\/]|$)/u.test(path);
const SAFE_RECONCILIATION_INPUT_CONSTRAINTS = new Set([
"Evidence semantic identifier does not match its record",
"JavaScript application Evidence subject disagrees with its result",
"Runtime reconciliation requires inspect_web_page, inspect_electron_page, observe_javascript_runtime, or capture_electron_scenario Evidence",
"Runtime Evidence target or declared role disagrees with its result",