bridge-retry-buffer-deque-over-list-for-o1-performance

The OpenAgents bridge MC connector used a plain Python list as its retry buffer, calling list.pop(0) which is O(n) and degrades under sustained failures. The correct pattern is collections.deque(maxlen=N) — O(1) popleft(), bounded memory, and automatic eviction of oldest events at capacity. Under high-load or outage scenarios the list-based buffer can cause the connector process itself to stall.