fix(evidence)!: validate native view parent predicates (#8451)

Reject native view sources whose predicate disagrees with the selected operation. Use the original predicate for existing Evidence; do not alter a record without recomputing its identity.
This commit is contained in:
morluto authored and GitHub committed 2026-11-01 20:27:34 +08:00
1 parent 3842809c37
commit 53363166f0
41 files changed
+307 -10

No files matched your search

@@ -225,6 +225,7 @@ const projectResolvedAnalysisView = (
const projected = projection.project({
evidenceId: parent.evidence_id,
operation: parent.operation,
predicateType: parent.predicate_type,
provider: parent.provider,
analysisProfile: parent.analysis_profile,
authority: parent.authority,