You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
multi-agent: add hard retrieval cases to the routing evals #17732
The routing eval (#10022) scored nearly every arm at or near 1.00, so its retrieval cases cannot tell Sonnet and Opus apart. The retrieval role defaults to sonnet at medium (plugins/multi-agent/reference/defaults.yaml, retrieval), and the /planning:interview redesign hands its lookups to explore and research, which resolve their model through /multi-agent:route.
Ask
Add retrieval eval cases where a cheaper model is most likely to fail, for example:
sources that conflict, where the answer is the authoritative one
a fact that changed between versions, where the older version is easier to find
a claim only a primary source settles, with secondary sources that misstate it
Run sonnet and opus arms on them, with the decision rule written before the first run, and update the retrieval default's basis with the result.
Why
Owner decision in the interview-skill redesign: changes are measured against a baseline, not judged by feel. Haiku already failed retrieval on accuracy (#6955); Sonnet has no measured retrieval failure because the cases sit at the ceiling.
Size: Medium
Complexity: Medium
Uncertainty: Known
Flags: none
Blocked by: none
Blast radius: new offline retrieval eval cases and scaffold scripts under the multi-agent routing evals, plus the retrieval basis text in defaults.yaml; read by maintainers and the route eval runs.
Reversible: yes; revert the added cases and the basis edit.
Open questions: none
Understood: add hard retrieval cases (conflicting sources, version-changed fact, primary-source-only claim) to the routing evals, with a decision rule written first, then run sonnet and opus arms and record the result in the retrieval default's basis.
Decision recorded. Hub decision (not the owner's), so the decision rule exists before the first run, as the issue asks:
Offline fixture documents written by each case's scaffold.sh, so the answer key is fixed and the graders stay deterministic.
Decision rule: at least 3 new cases, several runs per arm; change the retrieval default only if opus-medium beats sonnet-medium by 0.25 or more in pass rate, else keep sonnet. 0.25 is the refinement's suggested margin, taken as the default; it can be revisited once data exists.
Record the result in the retrieval default's basis in defaults.yaml; any change to the default goes to a follow-up.
Arms: sonnet-medium and opus-medium only.
The arms are model eval runs, and evals are off org-wide (CLAUDE_EVALS_DISABLED=true). This goes to the host queue (host-run) and the "After zero" milestone. Release condition: API key returns and CLAUDE_EVALS_DISABLED=false.
This decision settles the open questions. The eval runs themselves are host work and stay on the host queue; the case authoring and decision rule can be triaged as usual. Related: #10009, #10098, #10022, #6955. No duplicate or merged fix identified.
Not admitted to the issue lane: no trusted-human acceptance criteria: a listed human must put the confirmed - [ ] criteria in the body or post them as their own comment, or, on an issue a listed human filed, intake's newest refinement comment must hold them unedited; it carries host-run. Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).
melodic-automation-lanes commented on Nov 21, 2026
Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.
Intended outcome: Add offline hard-retrieval eval cases (conflicting sources, version-changed fact, primary-source-only claim) under evals/routing/retrieval, write the decision rule first, run sonnet and opus arms, and record the result in the retrieval default's basis in defaults.yaml.
Do the hard cases take their sources from committed offline fixture documents written by each scaffold.sh, or from live web pages fetched at run time?
RECOMMENDED: Offline fixtures written by scaffold.sh, so the answer key is fixed, graders stay deterministic regexes and runs are repeatable; live pages drift and would break the key. Basis: .base/plugins/multi-agent/evals/routing/retrieval/README.md:17-19
What is the decision rule, written before the first run: how many cases and runs per arm, and what sonnet vs opus pass-rate gap counts as a measured Sonnet retrieval failure that changes the default?
RECOMMENDED: At least 3 new cases with several runs per arm on sonnet-medium and opus-medium; change the default only if opus beats sonnet by a stated margin (for example 0.25 or more in pass rate) and keep sonnet if the gap is smaller. The owner should set the margin. Basis: judgment
If the run shows opus clearly ahead, should this issue change the retrieval default in defaults.yaml, or only record the result in the basis and leave any change to a follow-up?
RECOMMENDED: Only record the result and open a follow-up for any default change, since the ask is to update the basis, not the model or effort. Basis: .base/plugins/multi-agent/reference/defaults.yaml:90-98
Which arms run: only sonnet-medium and opus-medium, or the full arm table including low and high efforts?
RECOMMENDED: sonnet-medium and opus-medium only, matching the issue's sonnet and opus arms and the current default's effort. Basis: .base/plugins/multi-agent/evals/routing/retrieval/README.md:51-60
Sources read
.base/plugins/multi-agent/evals/routing/retrieval/README.md:8-31: six rt-* cases are codebase-retrieval questions over a fixed git snapshot, graded by deterministic regex.
.base/plugins/multi-agent/evals/routing/retrieval/README.md:51-60: arm table, including sonnet-medium and opus-medium.
.base/plugins/multi-agent/reference/defaults.yaml:90-98: retrieval defaults to sonnet at medium; model basis is judgment, Haiku excluded by owner rule.
.base/plugins/multi-agent/evals/routing/retrieval/rt-frontier-guard/case.yaml:1-18: example case layout with regex graders on last_message.
.base/plugins/multi-agent/evals/routing/mechanical-edit/arms.yaml:1-73: arms file convention and open items for the run slice.
To answer, post a comment that starts with this line:
**Decision recorded.** <answer>
Automated refinement by the lanes App. Answer with a comment whose first line is **Decision recorded.**.
Decision recorded. Hub decision (not the owner's), so the decision rule exists before the first run, as the issue asks:
Offline fixture documents written by each case's scaffold.sh, so the answer key is fixed and the graders stay deterministic.
Decision rule: at least 3 new cases, several runs per arm; change the retrieval default only if opus-medium beats sonnet-medium by 0.25 or more in pass rate, else keep sonnet. 0.25 is the refinement's suggested margin, taken as the default; it can be revisited once data exists.
Record the result in the retrieval default's basis in defaults.yaml; any change to the default goes to a follow-up.
Arms: sonnet-medium and opus-medium only.
The arms are model eval runs, and evals are off org-wide (CLAUDE_EVALS_DISABLED=true). This goes to the host queue (host-run) and the "After zero" milestone. Release condition: API key returns and CLAUDE_EVALS_DISABLED=false.
Activity
github-actions commentedon Nov 21, 2026
Size: Medium
Complexity: Medium
Uncertainty: Known
Flags: none
Blocked by: none
Blast radius: new offline retrieval eval cases and scaffold scripts under the multi-agent routing evals, plus the retrieval basis text in defaults.yaml; read by maintainers and the route eval runs.
Reversible: yes; revert the added cases and the basis edit.
Open questions: none
Understood: add hard retrieval cases (conflicting sources, version-changed fact, primary-source-only claim) to the routing evals, with a decision rule written first, then run sonnet and opus arms and record the result in the retrieval default's basis.
#17732 (comment)
This decision settles the open questions. The eval runs themselves are host work and stay on the host queue; the case authoring and decision rule can be triaged as usual. Related: #10009, #10098, #10022, #6955. No duplicate or merged fix identified.
Automated triage. A maintainer reviews it.
melodic-automation-lanes commentedon Nov 21, 2026
Not admitted to the issue lane: no trusted-human acceptance criteria: a listed human must put the confirmed
- [ ]criteria in the body or post them as their own comment, or, on an issue a listed human filed, intake's newest refinement comment must hold them unedited; it carries host-run. Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).melodic-automation-lanes commentedon Nov 21, 2026
Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.
Intended outcome: Add offline hard-retrieval eval cases (conflicting sources, version-changed fact, primary-source-only claim) under evals/routing/retrieval, write the decision rule first, run sonnet and opus arms, and record the result in the retrieval default's basis in defaults.yaml.
Related work
Open questions
RECOMMENDED: Offline fixtures written by scaffold.sh, so the answer key is fixed, graders stay deterministic regexes and runs are repeatable; live pages drift and would break the key. Basis: .base/plugins/multi-agent/evals/routing/retrieval/README.md:17-19
RECOMMENDED: At least 3 new cases with several runs per arm on sonnet-medium and opus-medium; change the default only if opus beats sonnet by a stated margin (for example 0.25 or more in pass rate) and keep sonnet if the gap is smaller. The owner should set the margin. Basis: judgment
RECOMMENDED: Only record the result and open a follow-up for any default change, since the ask is to update the basis, not the model or effort. Basis: .base/plugins/multi-agent/reference/defaults.yaml:90-98
RECOMMENDED: sonnet-medium and opus-medium only, matching the issue's sonnet and opus arms and the current default's effort. Basis: .base/plugins/multi-agent/evals/routing/retrieval/README.md:51-60
Sources read
To answer, post a comment that starts with this line:
Automated refinement by the lanes App. Answer with a comment whose first line is
**Decision recorded.**.kyle-sexton commentedon Nov 22, 2026
Decision recorded. Hub decision (not the owner's), so the decision rule exists before the first run, as the issue asks:
scaffold.sh, so the answer key is fixed and the graders stay deterministic.defaults.yaml; any change to the default goes to a follow-up.The arms are model eval runs, and evals are off org-wide (
CLAUDE_EVALS_DISABLED=true). This goes to the host queue (host-run) and the "After zero" milestone. Release condition: API key returns and CLAUDE_EVALS_DISABLED=false.