Answer stability round 1: 0 🔴, 0 🟡; label the test's cases and fix a paragraph's wording

This commit is contained in:
2026-10-21 22:37:29 +02:00
parent 14e323ef01
commit d1230a515e
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -1187,8 +1187,9 @@ class WorkerArgs(unittest.TestCase):
def test_disallows_a_wakeup_so_a_worker_that_ends_its_turn_exits(self):
opened = session.session_named("A proj loop-claude", pathlib.Path("/h/.claude/projects"))
for resume in (False, True):
args = worker.worker_args(opened, Rung("m"), "Do it.", resume=resume)
self.assertEqual(args[args.index("--disallowedTools") + 1], "ScheduleWakeup")
with self.subTest(resume=resume):
args = worker.worker_args(opened, Rung("m"), "Do it.", resume=resume)
self.assertEqual(args[args.index("--disallowedTools") + 1], "ScheduleWakeup")
class Records(unittest.TestCase):
+1 -1
View File
@@ -5,7 +5,7 @@ description: Ship a work chunk through review to a merged PR; decisions land in
# larv-review — ship the chunk, review until clean, gate green, merge
You orchestrate, fix, and ship; reviewers only report. Run every reviewer synchronously (`run_in_background: false`) and watch CI in the foreground: a headless run exits when the turn ends, and a background watcher dies with it. Never schedule a wakeup: loop-claude's worker has `ScheduleWakeup` disallowed, since a pending wakeup keeps the run alive after the turn ends. The turn runs on until §6.
You orchestrate, fix, and ship; reviewers only report. Run every reviewer synchronously (`run_in_background: false`) and watch CI in the foreground: a headless run exits when the turn ends unless a wakeup is pending, and a background watcher dies with it. Never schedule a wakeup: loop-claude's worker has `ScheduleWakeup` disallowed, since a pending one keeps the run alive with no one to read its result. The turn runs on until §6.
**Forge-neutral.** Five PR operations recur below: read a PR's diff, open a draft PR, read check status, mark ready, merge. Resolve the tooling from the remote per `~/.claude/CLAUDE.md` → "Git, commits, and PRs"; on any other forge, achieve the same intents through its CLI or API — discover how rather than assuming. A forge without a native draft state gets the closest equivalent (a `WIP:`/`Draft:` title prefix); note any approximation in the summary.