diff --git a/bin/loop-claude b/bin/loop-claude index a6c1a18c..9966611e 100755 --- a/bin/loop-claude +++ b/bin/loop-claude @@ -12,7 +12,7 @@ continue until that interrupt or Ctrl-C. Exit 1: no task, no premises, claude leaves no transcript, or the worker or the judge fails three times running, a verdict missing a field or quoting nothing in the transcript being a judge failure. Exit 2: the human is needed and stdin or stdout is not a terminal, or the interrupt ended without -them typing anything. Rerunning resumes the session after either. Before an interrupt every worktree +them typing anything. Rerunning resumes the session after either exit. Before an interrupt every worktree is marked trusted in ~/.claude.json. Each project has one session, "A ~/code/ auto-mode" (the absolute path outside ~/code), diff --git a/bin/test_loop_claude.py b/bin/test_loop_claude.py index 0893b276..78210f4e 100644 --- a/bin/test_loop_claude.py +++ b/bin/test_loop_claude.py @@ -217,7 +217,7 @@ class RunCycle(unittest.TestCase): loop.run_cycle("task", "premises", "A name", SESSION_ID) self.assertEqual(stopped.exception.code, 2) said = "".join(str(call.args[0]) for call in stderr.write.call_args_list) - self.assertIn("transcript:", said) + self.assertIn(f"transcript: {loop.ARCHIVE}", said) self.assertIn("not a terminal", said) for plan in ("fail fail fail", "unquoted unquoted unquoted"): open(verdicts, "w").write(plan)