From ed58379da03ea2351e44982fd1112073bbfec692 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Thu, 19 Nov 2026 02:17:48 +0100 Subject: [PATCH] =?UTF-8?q?Answer=20stability=20round=201:=200=20?= =?UTF-8?q?=F0=9F=94=B4,=203=20=F0=9F=9F=A1=20(0=20misread);=20give=20an?= =?UTF-8?q?=20awaits-a-slot=20chunk=20no=20since,=20print=20the=20time=20i?= =?UTF-8?q?n=20UTC=20and=20keep=20the=20status=20lines=20tested=20once?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/agent_cycle/tmux.py | 2 +- bin/do_epic/main.py | 2 +- bin/do_epic/status.py | 17 ++++++++++------- bin/do_epic/test_main.py | 23 ++--------------------- bin/do_epic/test_status.py | 14 ++++++++------ 5 files changed, 22 insertions(+), 36 deletions(-) diff --git a/bin/agent_cycle/tmux.py b/bin/agent_cycle/tmux.py index c23f6dc4..0af21917 100644 --- a/bin/agent_cycle/tmux.py +++ b/bin/agent_cycle/tmux.py @@ -51,7 +51,7 @@ class Listed: dead: bool # What its name says its parked chunk awaits, as the words after PARKED; empty for a chunk that isn't parked. awaits: str = "" - # Whether its name ended in WAITS: its chunk's worker asks the human a question. + # Whether its name ended in WAITS: its loop asks the human something. asks: bool = False @property diff --git a/bin/do_epic/main.py b/bin/do_epic/main.py index aa2e16be..82ed3bac 100644 --- a/bin/do_epic/main.py +++ b/bin/do_epic/main.py @@ -52,7 +52,7 @@ A chunk whose worker ends its run while its pull request waits on its checks, an is parked: it frees its place for the next chunk, and its window's name says what it awaits. Its worker goes on once the checks pass, the approval comes or a reviewer comments, and a place is free; until one is, the name says `awaits a slot`. A parked chunk survives a reboot: run do-epic again to go on polling. ---status starts no chunk: it prints each open issue with whether its chunk runs, asks you a question, or why it waits: a parked chunk's gate and since when, a stopped window, a blocker or a human's task. +--status doesn't start any chunk. It prints a line per open issue: that its chunk runs or asks you a question, or why it waits, such as the gate a parked chunk awaits and since when. {findings.HELP} The Jira site and its credentials are set in ~/.claude-projects/do-epic/config.toml.""" # Under the home folder, where a chunk's cycles are archived, a folder per epic. It is not loop-claude's archive, since that archive's readers, such as judge-replay and the routing figures, read loop-claude's prompts. diff --git a/bin/do_epic/status.py b/bin/do_epic/status.py index 157636d8..11b4af7a 100644 --- a/bin/do_epic/status.py +++ b/bin/do_epic/status.py @@ -1,24 +1,24 @@ -"""What `do-epic --status` prints: each open issue of the epic, with whether its chunk runs, asks the human, is parked on a gate, has stopped or has yet to start (docs/decisions.md → `do-epic: drives one Jira epic …`).""" +"""What `do-epic --status` prints: a line per open issue of the epic (docs/decisions.md → `do-epic: drives one Jira epic …`).""" import datetime import pathlib from agent_cycle import tmux from do_epic.backend.protocol import EpicIssue -from do_epic.parked import file_of, Parked, parked_chunks +from do_epic.parked import file_of, Parked, parked_chunks, SLOT from do_epic.scheduler import chunks, STATE from failure import Failure def since(folder: pathlib.Path, chunk: Parked) -> str: - """`, since