Harden Epiphany promotion state replacements

This commit is contained in:
Meta Vens 2026-04-24 19:07:08 +01:00
commit bb557d1484
8 changed files with 519 additions and 35 deletions

View file

@ -4269,6 +4269,13 @@ impl CodexMessageProcessor {
let decision = evaluate_promotion(EpiphanyPromotionInput {
has_state_replacements: thread_epiphany_patch_has_state_replacements(&patch),
active_subgoal_id: patch.active_subgoal_id.clone(),
subgoals: patch.subgoals.clone(),
invariants: patch.invariants.clone(),
graphs: patch.graphs.clone(),
graph_frontier: patch.graph_frontier.clone(),
graph_checkpoint: patch.graph_checkpoint.clone(),
churn: patch.churn.clone(),
observations: patch.observations.clone(),
evidence: patch.evidence.clone(),
verifier_evidence: verifier_evidence.clone(),