feat: enforce operational kill switch callbacks in runtime flow (TASK-CODE-003)

This commit is contained in:
agentson
2026-02-27 00:38:26 +09:00
parent 1381b140ab
commit 25401ac132
3 changed files with 249 additions and 25 deletions

View File

@@ -98,3 +98,8 @@ class BlackoutOrderManager:
def requeue(self, intent: QueuedOrderIntent) -> None:
if len(self._queue) < self._max_queue_size:
self._queue.append(intent)
def clear(self) -> int:
count = len(self._queue)
self._queue.clear()
return count