Answer prose round 1: 0 🔴, 9 🟡 (0 misread); each 🟡 and 🟢 rewritten as the report asks, items 392 and 393 included, and item 300's quoted places left for its next refresh
This commit is contained in:
@@ -86,7 +86,7 @@ class Room:
|
||||
|
||||
|
||||
def room_of(windows: list[tmux.Listed], own: str | None, leaving: bool, limit: int) -> Room:
|
||||
"""The room windows leave, where own is the chunk of the loop that asks, None for the human's loop-claude <task>. leaving says own's chunk finished, so its window no longer counts as running, and that no stopped chunk starts again: only the human's loop-claude <task> starts one, which is a loop that isn't leaving."""
|
||||
"""The room windows leave under limit. own is the chunk of the loop that asks, None for the human's loop-claude <task>. leaving is True where own's chunk finished: its window no longer counts as running, and no stopped chunk starts again, since only a loop that isn't leaving, such as the human's loop-claude <task>, restarts one."""
|
||||
running = [window.name for window in windows if not window.dead and not (leaving and window.name == own)]
|
||||
# Below 0 where the config lowered parallel-chunks while more chunks ran.
|
||||
room = max(limit - len(running), 0)
|
||||
|
||||
Reference in New Issue
Block a user