From 00528e7df41c14d4f4e25842830455df32916b78 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Thu, 19 Nov 2026 02:01:54 +0100 Subject: [PATCH] Sort the imports of the human-task modules --- bin/do_epic/human_tasks.py | 8 ++++---- bin/do_epic/test_human_tasks.py | 7 +++---- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/bin/do_epic/human_tasks.py b/bin/do_epic/human_tasks.py index fde88f48..4d53bf4a 100644 --- a/bin/do_epic/human_tasks.py +++ b/bin/do_epic/human_tasks.py @@ -1,12 +1,12 @@ """A human's task that holds up other issues of an epic (docs/decisions.md → `do-epic: drives one Jira epic …`, "Human tasks"). do-epic leaves the issue as the team filed it. While it is open and blocks an open issue, its window DMs the human once, shows itself as parked so that it takes no running slot, and reads the epic every `poll` seconds. Once the issue is closed, or blocks nothing any more, the window ends, and the chunks it held up may start. A window that starts again, as after a reboot, DMs again.""" -from agent_cycle import tmux -from agent_cycle.direct_message import tell -from do_epic import scheduler +from loop_effects.effects import Effects, say from do_epic.backend.protocol import EpicIssue, EpicStore from failure import Failure -from loop_effects.effects import Effects, say +from do_epic import scheduler +from agent_cycle.direct_message import tell +from agent_cycle import tmux # What the window of a human's task awaits, in its name. AWAITS = "a human's task" diff --git a/bin/do_epic/test_human_tasks.py b/bin/do_epic/test_human_tasks.py index 70df0416..3d561659 100644 --- a/bin/do_epic/test_human_tasks.py +++ b/bin/do_epic/test_human_tasks.py @@ -5,12 +5,11 @@ import unittest sys.path.insert(0, str(pathlib.Path(__file__).resolve().parents[1])) -from do_epic.backend.fake import MemoryEpic -from do_epic.epic_record import EpicRecord from do_epic.test_main import Description, DoEpicTest, MODELS, UNREAD -from do_epic.test_scheduler import issue -from failure import Failure +from do_epic.epic_record import EpicRecord from loop_claude.test_loop_claude import FakeEffects +from do_epic.test_scheduler import issue +from do_epic.backend.fake import MemoryEpic # The window of ABC-19, a human's task that blocks ABC-21. WINDOW = "ABC-19\t0\t@9\n"