diff --git a/bin/agent_cycle/stuck_workers.py b/bin/agent_cycle/stuck_workers.py index dbe0f807..931f8a75 100644 --- a/bin/agent_cycle/stuck_workers.py +++ b/bin/agent_cycle/stuck_workers.py @@ -10,12 +10,12 @@ import pathlib import typing from agent_cycle.lingering_workers import CHECK_EVERY, QUIET -from claude_code.entries import structured_output from claude_code.reply import claude_reply, Limited -from failure import Failure -from loop_effects.child_shells import Shell from loop_effects.effects import Effects, say, Streaming +from failure import Failure from model_routing.ladder import Rung +from loop_effects.child_shells import Shell +from claude_code.entries import structured_output from text_files.utc_stamp import utc # Seconds after which a shell holds a worker longer than a chunk usually runs. diff --git a/bin/agent_cycle/test_stuck_workers.py b/bin/agent_cycle/test_stuck_workers.py index 1883fc70..4277c02c 100644 --- a/bin/agent_cycle/test_stuck_workers.py +++ b/bin/agent_cycle/test_stuck_workers.py @@ -6,10 +6,10 @@ import pathlib import tempfile import unittest -from agent_cycle import stuck_workers, worker from loop_claude.test_loop_claude import FakeEffects, NOW, Streamed, ran -from loop_effects.child_shells import Shell from model_routing.ladder import Rung +from loop_effects.child_shells import Shell +from agent_cycle import stuck_workers, worker from text_files.utc_stamp import utc RUNG = Rung("claude-opus-5-5", "medium")