From 25833895db5246160abe844e42d2b1e3ce83a662 Mon Sep 17 00:00:00 2001 From: cflmy Date: Wed, 18 Nov 2026 12:35:43 +0800 Subject: [PATCH] feat(knowledge): atomically publish proof obligation graph with semantic generation --- src/sema/ir.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/sema/ir.rs b/src/sema/ir.rs index 4031677..72163b1 100755 --- a/src/sema/ir.rs +++ b/src/sema/ir.rs @@ -1509,6 +1509,7 @@ const SEMANTIC_NAMES: &[&str] = &[ "anchors.json", "claims.json", "proof-index.json", + "proof-obligations.json", "bound_calls.json", "dynamic_calls.json", "artifacts", @@ -1642,8 +1643,10 @@ fn write_generation_tree(stage: &Path, compilation: &Compilation, prove_root: &P "role":"theorem_declarations_not_proof_results", "claims":project["claims"] }))?; - write_json(&stage.join("proof-index.json"), - &crate::knowledge::proof::index_links(prove_root, &compilation.semantics))?; + let proofs=crate::knowledge::proof::index_links(prove_root, &compilation.semantics); + write_json(&stage.join("proof-index.json"), &proofs)?; + write_json(&stage.join("proof-obligations.json"), + &crate::knowledge::modular::analyze(&compilation.semantics, &proofs))?; write_json(&stage.join("anchors.json"), &json!({ "schema_version":SCHEMA_VERSION, "role":"stable_public_knowledge_addresses",