Add a do-epic window that DMs the human and waits for a human-task issue that blocks the epic #629

Merged
lilleman merged 12 commits from item-414 into main 2026-11-19 03:59:52 +01:00
2 changed files with 7 additions and 8 deletions
Showing only changes of commit 00528e7df4 - Show all commits
+4 -4
View File
@@ -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"
+3 -4
View File
@@ -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"