The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(gateway): a messaging session's control card reads its current segment
yoniebans215a3b5c3da1
diff --git a/gateway/session_ancillary.py b/gateway/session_ancillary.pyindex 35d68ca129d..28f2a313c52 100644--- a/gateway/session_ancillary.py+++ b/gateway/session_ancillary.py@@ -396,7 +396,9 @@ def control_snapshot(authority, ref):_safe_goal_snapshot, _safe_loop_snapshot, _safe_heartbeat_snapshot,_snapshot_revision, _snapshot_updated_at,)+ # Compression carries goal/loop/heartbeat to the continuation: read the current segment.target = physical_target(authority, ref)+ target = authority.db.get_compression_tip(target) or targetstates = []for kind, cls in [('goal', GoalState), ('loop', LoopState), ('heartbeat', HeartbeatState)]:raw = authority.db.get_meta(kind + ':' + target)