Measure routing figures every 20 cycles and raise each call for a routing change once #265

Merged
lilleman merged 15 commits from routing-figures into main 2026-10-15 07:25:28 +02:00
Owner

Every 20 cycles across loop-claude's archive, the loop measures token spend and routing outcomes in code, with no model run, and writes routing-figures.md at the archive's root. It interrupts once for the calls for a routing change not raised before. Ships todo.md item 94.

  • Measurement: bin/routing_figures/, run from bin/loop_claude/loop/routing_check.py, under a lock.
  • Calls: a rung that took more review rounds or unfinished verdicts than the next rung up (5 chunks or more each), or a subagent type whose reports were longer than the tool results they read.
  • Raised calls go to routing-calls-raised.md; AGENTS.md has this repo's next chunk file them. A Reset line restarts the figures after a routing change.
  • Route moved to bin/model_routing/route.py; the interrupt's terminal hand-over is shared.

Rule overrides: none.
Comprehension check: paired ruling worse against 8bc0d88 (Mid A worse, inherited architect worse); filed as item 139.

Every 20 cycles across loop-claude's archive, the loop measures token spend and routing outcomes in code, with no model run, and writes `routing-figures.md` at the archive's root. It interrupts once for the calls for a routing change not raised before. Ships todo.md item 94. - Measurement: `bin/routing_figures/`, run from `bin/loop_claude/loop/routing_check.py`, under a lock. - Calls: a rung that took more review rounds or unfinished verdicts than the next rung up (5 chunks or more each), or a subagent type whose reports were longer than the tool results they read. - Raised calls go to `routing-calls-raised.md`; AGENTS.md has this repo's next chunk file them. A `Reset` line restarts the figures after a routing change. - `Route` moved to `bin/model_routing/route.py`; the interrupt's terminal hand-over is shared. Rule overrides: none. Comprehension check: paired ruling worse against 8bc0d88 (Mid A worse, inherited architect worse); filed as item 139.
lilleman added 2 commits 2026-10-15 00:38:26 +02:00
lilleman marked the pull request as work in progress 2026-10-15 00:38:31 +02:00
lilleman added 1 commit 2026-10-15 00:38:32 +02:00
lilleman added 8 commits 2026-10-15 01:04:15 +02:00
lilleman added 1 commit 2026-10-15 01:08:05 +02:00
lilleman marked the pull request as ready for review 2026-10-15 01:10:55 +02:00
lilleman added 2 commits 2026-10-15 01:10:56 +02:00
lilleman changed title from Measure routing figures every 20th cycle and raise each call for a routing change once to Measure routing figures every 20 cycles and raise each call for a routing change once 2026-10-15 01:11:05 +02:00
lilleman added 1 commit 2026-10-15 01:11:07 +02:00
lilleman merged commit 8412a48842 into main 2026-10-15 07:25:28 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lilleman/claude-config#265