diff --git a/bin/loop_claude/test_loop_claude.py b/bin/loop_claude/test_loop_claude.py index 2c106906..53fa76dd 100644 --- a/bin/loop_claude/test_loop_claude.py +++ b/bin/loop_claude/test_loop_claude.py @@ -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): diff --git a/skills/larv-review/SKILL.md b/skills/larv-review/SKILL.md index 63516131..3a89aa24 100644 --- a/skills/larv-review/SKILL.md +++ b/skills/larv-review/SKILL.md @@ -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.