Keep the shipped routing ladder beside the module that reads it, so a copy of bin/ carries it

This commit is contained in:
2026-11-15 18:59:23 +01:00
parent 0a20b6d4f6
commit c5acadf8d3
10 changed files with 24 additions and 23 deletions
+5 -3
View File
@@ -5,13 +5,15 @@ usage: subagent-rung [--plan] <model> <L>
<model> is the project's model, such as claude-opus-5-5, and <L> the task's L, the chance it holds
a defect, a level from 1 to 4 scored as for a todo.md item. It prints the rung that L picks from
the model's cheapest rung, the project's rung, in the Agent tool's words, such as `model sonnet,
effort high`. It reads the routing ladder of the project whose checkout it runs in:
routing-ladder.json in the folder of the project's config, ~/.claude-projects/<key>/, or else
the one this setup ships. loop-claude --help says how to write one. --plan, for a task that files or scores todo.md items, prints the project's rung where
effort high`. --plan, for a task that files or scores todo.md items, prints the project's rung where
that L picks a lower one, as ~/.claude/rules/todo-items.md lets only the project's rung or above
plan. For a model off the routing ladder, the tool doesn't print anything on stdout, says so on stderr and
exits 0; launch the subagent with no model or effort.
It reads the routing ladder of the project whose checkout it runs in: routing-ladder.json in the
folder of the project's config, ~/.claude-projects/<key>/, or else the one this setup ships, as in
a checkout no config names. loop-claude --help shows the file's shape.
Exit 1, saying why, on bad arguments, or where the project's config or its routing ladder is faulty
or cannot be read.
"""