Name the driver of a cycle in the text its worker, judge and human read

This commit is contained in:
2026-11-18 20:34:40 +01:00
parent b827986ec8
commit c4d06c55b5
15 changed files with 213 additions and 169 deletions
+2 -2
View File
@@ -133,7 +133,7 @@ def start_chunks(loop_run: LoopRun, leaving: bool, paths: Paths, env: typing.Map
if isinstance(config, Failure):
return config
key = project_key(loop_run.root, paths.home)
session = tmux.session_name(key)
session = tmux.session_name(tmux.LOOP, key)
handed = {name: value for name, value in env.items() if name.startswith(HANDED)}
try:
with starting(paths.home, key):
@@ -168,7 +168,7 @@ def held_beside(chunk: str, root: str, paths: Paths, effects: Effects) -> list[i
"""The plan items that the project's other chunks hold now, running or stopped, which a chunk starting as `chunk` leaves to them. It waits for a loop that is starting windows, so chunks started together see each other. Where the lock cannot be taken, it reads the windows without it."""
key = project_key(root, paths.home)
wait_for_starts(paths.home, key)
others = [window.name for window in tmux.listed(tmux.session_name(key), effects.tmux) if window.name != chunk]
others = [window.name for window in tmux.listed(tmux.session_name(tmux.LOOP, key), effects.tmux) if window.name != chunk]
return sorted(held_items(others, key, paths.claude_code_transcripts))