docs(workflow): enforce session-wide cost routing #343

Merged
timothy merged 1 commits from codex/342-cost-routing into main 2026-07-13 21:50:18 +02:00
+10
View File
@@ -48,6 +48,16 @@ Otherwise use the active model for every slice except the mandatory queue prefli
review MUST start from a cold, review-only brief; prefer a different model family/client when one is
available, otherwise use a fresh agent with no implementation role.
**Low-cost routing applies throughout the session, not only to queue selection.** Before any batch of
bounded searches, inventories, log triage, URL/status sampling, or report drafting, dispatch the cheapest
suitable fast/small model at low or minimal effort. Strictly cap its files, queries, log window, and output;
the orchestrator receives a compact evidence packet and performs only the minimum focused live recheck.
Same-tier agents add parallelism, not cost savings, while direct tool-only mechanical checks may stay inline.
If a cheap worker lacks a required tool, give it already-collected bounded evidence for synthesis or report
the limitation explicitly instead of silently expanding orchestrator reconnaissance. Global Codex hook
enforcement is tracked in `timothy/server-management#592`; the wider Claude-hook port is tracked in
`timothy/server-management#593`.
**When the user has not named an issue, queue selection is mechanical fast/small work, never orchestrator
work.** Dispatch exactly one selector on the cheapest suitable model at low or minimal effort. Give it only
#237's body, last ~6 comments, live issue/milestone/label state, and the reviewer-repo candidate list; it