Router misroutes generic small coding tasks to fast_coder instead of implementer #7
Labels
No labels
app
bug
ci
compliance
content
dependencies
docs
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
infra
invalid
javascript
needs-triage
python
question
tests
wontfix
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference: adam/orchestrator#7
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
graph.router_noderoutes "Write a Python function that validates email addresses using a regex" tofast_coder(DeepSeek), but the routing golden expectsimplementer(Claude). Deterministic (fails 3/3).Intended policy (from the golden set in
tests/test_routing_golden.py)implementer.fast_coderonly on an explicit speed/cost cue — the threefast_codergoldens all say "Quick small task using DeepSeek…", "Fast bounded coding job…", "Use the cheap fast coder…".The failing task has no speed cue, so by that policy it should be
implementer. The router over-weighted "small/bounded one-function task" and pickedfast_coder. It's a borderline case that straddles the implementer/fast_coder line.Repro
(Live test — needs
ANTHROPIC_API_KEYetc. Not CI-gated: CI runslint+test-collectonly.)Impact — low / quality-only
run_headless.py,review.sh, andnightly_sweep.shdon't callgraph.py; the optional (off-by-default)xmodelhook sends a different task. So the nightly sweep is unaffected.Fix options (pick one)
implementer(matches the documented delegation policy).Context
Pre-existing on
main; surfaced (not introduced) during the security-review Phase 3 finalize work (PR #6). Pick up in a later session after #6 merges.The LangGraph router is retired with this repo; cross-family review re-homed as a direct CLI (cross_review.py) in Sea-Haven-Industries/security-review, which has no routing layer — misroute is moot. Closing.