From 1b0ca8e3c8a9cfb727c8020b5d68a7b2a646b326 Mon Sep 17 00:00:00 2001 From: cflmy Date: Wed, 18 Nov 2026 16:37:48 +0800 Subject: [PATCH] feat(proof): prioritize unified contract DAG while retaining legacy certificate replay --- src/knowledge/composition.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/knowledge/composition.rs b/src/knowledge/composition.rs index fba77e0..301c513 100644 --- a/src/knowledge/composition.rs +++ b/src/knowledge/composition.rs @@ -171,6 +171,7 @@ fn rejection_diagnostics(c:&Compilation,call:&BoundCall)->Value{ pub fn prove(compiled:&Compilation,out:&Path,toolchain:&Toolchain)->Result{ let mut records=Vec::new(); for call in &compiled.semantics.bound_calls{ + if super::unified::covers(compiled,&call.caller){continue} let Some((source,client,identity,n))=candidate(compiled,call) else { // Projection contracts have their own independently replayable // backend, and must not also appear as unsupported constant claims. @@ -238,6 +239,14 @@ pub fn prove(compiled:&Compilation,out:&Path,toolchain:&Toolchain)->ResultResult