Step a task's worker one rung down for L 1, as for L 2

This commit is contained in:
2026-10-22 00:05:23 +02:00
parent b79105a207
commit 3dda22672f
8 changed files with 18 additions and 39 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ class SubagentRung(unittest.TestCase):
off = self.run_tool("claude-opus-5", "4")
self.assertEqual((off.returncode, off.stdout), (0, ""))
self.assertEqual(off.stderr, "subagent-rung: claude-opus-5 is not on the routing ladder; pass the Agent tool no model or effort\n")
for bound, rung in (("1", "model haiku, effort max\n"), ("4", "model opus, effort high\n")):
for bound, rung in (("1", "model sonnet, effort high\n"), ("4", "model opus, effort high\n")):
self.assertEqual(self.run_tool("claude-opus-5-5", bound).stdout, rung)
for flag in ("-h", "--help"):
self.assertIn("usage: subagent-rung [--plan] <model> <L>", self.run_tool(flag).stdout)