From 872ba3525c628acc5f5958eb560936eaa80c6a17 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Wed, 16 Sep 2026 19:52:35 +0200 Subject: [PATCH] Drop the answer digest from same_answer (L1 Cut 4, c4.s2.f3) `step_session` compares a row found by command id against the fresh session with `same_answer`. The command id is `session_command_id(world_id, jurisdiction, answer_digest)`, so a row under the fresh session's id carries the fresh session's digest unless its bytes were forged or the hash collided; the digest clause never decided and survived as an equivalent mutant in two Soul passes. It is deleted; world, jurisdiction and answer remain. The id derivation is unchanged, and `soul_the_session_command_id_derivation_moved_under_the_refactor` still pins that a moved digest moves the id. Suite counts are unchanged and the distinct warning messages equal those at 01312dd. Co-Authored-By: Claude Opus 5 --- crates/ghostlight/src/elaboration.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/ghostlight/src/elaboration.rs b/crates/ghostlight/src/elaboration.rs index 9dc48dd..ca10f36 100644 --- a/crates/ghostlight/src/elaboration.rs +++ b/crates/ghostlight/src/elaboration.rs @@ -76,14 +76,14 @@ pub struct ElaboratorSession { } impl ElaboratorSession { - /// Whether two sessions answer the same thing: the fields the command id - /// is derived from, plus the answer they digest. Ancestry, lens and + /// Whether two sessions answer the same thing: world, jurisdiction and + /// answer. The answer's digest is not compared, because the command id both + /// sessions were found under is derived from it. Ancestry, lens and /// instructions are not identity; they are what a recorded session carries. fn same_answer(&self, other: &ElaboratorSession) -> bool { self.world_id == other.world_id && self.jurisdiction == other.jurisdiction && self.answer == other.answer - && self.answer_digest == other.answer_digest } }