From 6299335254d9b856fce5ecfc714d58f2b579e493 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Thu, 22 Oct 2026 18:34:16 -0400 Subject: [PATCH] fix(4909d): a shared floor move records the named surface first, then its siblings Co-Authored-By: Claude Opus 5.5 --- src/grimoire/services/retrieval_tuning.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/grimoire/services/retrieval_tuning.py b/src/grimoire/services/retrieval_tuning.py index 1ee25c0b..0769f2d9 100644 --- a/src/grimoire/services/retrieval_tuning.py +++ b/src/grimoire/services/retrieval_tuning.py @@ -260,7 +260,10 @@ async def set_dial( # A shared floor moves every surface that reads it, and each one's history # has to show the move, or its telemetry changes with no event to explain it. - moved = sharing_floor(surface) if dial == "floor" else [surface] + # The surface the caller named is recorded first, its siblings after it. + moved = [surface] + ( + [n for n in sharing_floor(surface) if n != surface] if dial == "floor" else [] + ) await set_setting(user_id, key, stored) async with async_session() as session: