From 806455aad4e7a505f9abe8e65f10b891f4dae4be Mon Sep 17 00:00:00 2001 From: Remy Tuyeras Date: Sat, 3 Jan 2026 12:39:56 -0500 Subject: [PATCH 1/2] change Test logic for objects: equivalent to returning None --- summoner/protocol/process.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/summoner/protocol/process.py b/summoner/protocol/process.py index e15e32b..7389419 100644 --- a/summoner/protocol/process.py +++ b/summoner/protocol/process.py @@ -285,8 +285,12 @@ def activated_nodes( that this route “activates” (i.e. should be added to the tape). """ if isinstance(event, Event) and event is not None and not self.is_arrow: - # standalone → only the source nodes - return self.source + if isinstance(event, Action.TEST): + return () + else: + # standalone → only the source nodes + return self.source + # arrow route → pick based on the Action subtype if isinstance(event, Action.MOVE): From 2a8cbf3fbc6cc6c2ea9c3ad29047945db14d2276 Mon Sep 17 00:00:00 2001 From: Remy Tuyeras Date: Sat, 3 Jan 2026 12:40:51 -0500 Subject: [PATCH 2/2] formatting: remove space --- summoner/protocol/process.py | 1 - 1 file changed, 1 deletion(-) diff --git a/summoner/protocol/process.py b/summoner/protocol/process.py index 7389419..c432e23 100644 --- a/summoner/protocol/process.py +++ b/summoner/protocol/process.py @@ -291,7 +291,6 @@ def activated_nodes( # standalone → only the source nodes return self.source - # arrow route → pick based on the Action subtype if isinstance(event, Action.MOVE): return self.label + self.target