feat(electron): reconcile static artifacts with passive runtime

This commit is contained in:
N0zoM1z0
2026-07-16 09:55:21 +09:00
committed by N0zoM1z0
parent 3fa2304bc7
commit 8c67dbd49e
258 changed files with 7609 additions and 650 deletions
@@ -23,6 +23,7 @@ const applicationEvidenceAuthoritySchema = z.enum([
"ast-static-analysis",
"static-relationship-inference",
"passive-cdp-runtime",
"cross-layer-reconciliation",
"controlled-replay",
"native-analysis-provider",
"historical-reference",
@@ -259,6 +260,15 @@ const checkAuthorityState = (
path: ["state"],
message: "Static relationship authority must remain inferred",
});
if (
evidence.authority === "cross-layer-reconciliation" &&
evidence.state !== "inferred"
)
context.addIssue({
code: "custom",
path: ["state"],
message: "Cross-layer reconciliation authority must remain inferred",
});
if (
evidence.authority === "unknown" &&
!["unknown", "unavailable"].includes(evidence.state)