From 61042670d18f77bf6b52a79899cf1623f2fb7676 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sun, 11 Oct 2026 13:51:44 +0200 Subject: [PATCH] Test: a third subject speaks so the custody-uncertain fixture's scopes all move Co-Authored-By: Claude Opus 5.5 --- crates/ghostlight/src/controllers.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/crates/ghostlight/src/controllers.rs b/crates/ghostlight/src/controllers.rs index f9ca0f4..563b2a5 100644 --- a/crates/ghostlight/src/controllers.rs +++ b/crates/ghostlight/src/controllers.rs @@ -19697,6 +19697,7 @@ mod tests { let narrative = by_mode(ControllerMode::NarrativePersona); let mut outputs = vec![operational_speaks("The hinge is flooding.", "operational")]; outputs.extend(narrative_turn_outputs("Mara", "The rain has teeth tonight.")); + outputs.push(operational_speaks("Then we close the span.", "other")); let (runner, store) = grouped_runner(&mailbox, outputs); let operational_command = CommandId::new(); let narrative_command = CommandId::new(); @@ -19714,6 +19715,15 @@ mod tests { .run_narrative(narrative_command, &narrative_bound) .await .unwrap(); + // Another subject speaks in the commons, so every scope moves. + let other_bound = fresh_opportunity( + &mailbox.snapshot().await.unwrap(), + operational[1].scope.subject_id, + ); + runner + .run_operational(CommandId::new(), &other_bound) + .await + .unwrap(); let uncertain = uncertain_runner(&mailbox, &store); let moved = mailbox.snapshot().await.unwrap();