Answer stability round 1: 1 🔴, 6 🟡 (2 misread); read the scoring rule from the clone, hand windows XDG_DATA_HOME, retry the home check where nobody watches, tell an unreadable sign-in status and settings file apart, and bound the claude commands that build the home
CI / tests (pull_request) Successful in 4m35s

This commit is contained in:
2026-12-04 02:45:02 +01:00
parent 71865e0479
commit 3519922f01
19 changed files with 153 additions and 69 deletions
+2 -1
View File
@@ -17,6 +17,7 @@ from loop_effects.effects import Effects, say
from failure import Failure
from agent_cycle.verdicts import Finished
from build_release.loop.usage import HELP
from agent_cycle.retry import home_unready
from chunk_driver.this_loop import Loop
from loop_state.paths import Paths
from transcript_archive.project_key import project_key
@@ -72,7 +73,7 @@ def run_loop(argv: list[str], env: typing.Mapping[str, str], paths: Paths, launc
if isinstance(loop_run, Stop):
return loop_run
# Before anything starts: a worktree, a claude session or a tmux window. One stop names everything that is the person's to do.
if needs := [reason for reason in (tmux.unusable(effects.tmux, fresh_prompt.DRIVER), effects.claude_home()) if reason]:
if needs := [reason for reason in (tmux.unusable(effects.tmux, fresh_prompt.DRIVER), home_unready(effects, watched=loop_run.chunk is None)) if reason]:
return Stop(1, "\n".join(needs))
if loop_run.chunk is None:
return windows_opened(loop_run, env, paths, launcher, effects, steps.start_chunks)