fix(router): only Haiku 4.x takes no effort; Haiku 5.x gets its route's

The no-effort rule was keyed on every claude-haiku id, so Haiku 5.5 ran at the engine default instead of its phase effort (mechanical: low). The guard now names Haiku 4.x; status-reporter pins effort: low.
This commit is contained in:
bchanot committed 2026-10-25 22:19:55 +01:00
1 parent a6b94a4c46
commit 8e93507b19
7 files changed
+165 -12

No files matched your search

-1
View File
@@ -167,7 +167,6 @@ check_agent() {
phase="$(row_of "$RD" agents "$name")"
[ -n "$phase" ] || { ko "agents/$name: no row in routing.json"; return; }
floor_check "$RD" agents "$name" model "$(fm_val "$R/$f" model)" "$phase" "agents/$name"
[ "$(field_of "$RD" "$phase" model)" = haiku ] && return
floor_check "$RD" agents "$name" effort "$(fm_val "$R/$f" effort)" "$phase" "agents/$name"
}
while IFS= read -r f; do check_agent "$f"; done < <(