Skip to content

The agent that grows with you

test(tui): keep prior-turn activity recent in the fencing test

ethernet0d07b5af2a5b
diff --git a/tests/tui_gateway/test_isolated_orphan_activity.py b/tests/tui_gateway/test_isolated_orphan_activity.py
index afb46d545b2..fb0c6094887 100644
--- a/tests/tui_gateway/test_isolated_orphan_activity.py
+++ b/tests/tui_gateway/test_isolated_orphan_activity.py
@@ -162,7 +162,8 @@ def _run_child(mode, directory):
self.session_id = sid
self._interrupt = threading.Event()
if mode == "previous":
- self._last_activity_ts = time.time() - 60
+ # Precedes this turn but remains inside the parent's freshness window.
+ self._last_activity_ts = time.time() - 1
def get_activity_summary(self):
return build_activity_snapshot(last_activity_at=getattr(self, "_last_activity_ts", None),