Repository navigation
Description
Split out of #1862. That issue proposed this as hypothesis H1 (the routing gate withholding the tool); the three-arm run showed H1 was untestable by that design and rescoped the question here.
Symptom
Agent-matrix scenario 6 ("The 2400 one came back — set it to returned") expects [resolve_query, update_node]. resolve_query never fires — in any of 9 runs, across three builds.
What happens instead varies by build:
| Build | Tool calls |
|---|---|
c98169c5 |
none at all (3/3 runs) |
c98169c5 − schema rule |
update_node ×2 erroring, then one succeeding (3/3) |
a38ea9b4 |
update_node erroring, or nothing (3/3) |
So the model either does nothing, or skips straight to update_node on a target it never resolved — and those calls error.
Why the obvious explanation is not sufficient
#1855 deliberately withholds resolve_query on the fail-open path, because the tool's node_type parameter tells the model to copy an id from a context block fail-open never renders. That is the natural explanation, and #1862 assumed it.
But Graph Editing routes first in 8 of 9 runs (Graph Editing, Schema Creation, Research & Search) — i.e. the scoped, non-fail-open path, where #1855's own commit message says the score gate that permits the tool also renders its guidance. On that path the tool should be offered with its context, and it still never fires.
That leaves at least three live possibilities, and the data here doesn't separate them:
resolve_queryis not actually reaching the offered-tools surface even on the scoped path (checktoolsOfferedin the results JSON).- It is offered, but the model prefers
update_node— a guidance/ordering problem, not a gating one. - The gate's score threshold isn't being cleared even though Graph Editing ranks first.
Not a regression
Fails 0/3 in the pre-#1859 build as well, so it predates the #1862 window. #1855 is an ancestor of all three arms tested (git merge-base --is-ancestor 82326f14 a38ea9b4 → YES), which is exactly why the commit-contrast design could not attribute anything to it.
What would actually answer it
A gate-on / gate-off arm — not a commit contrast. Build with resolve_query forced onto the surface regardless of routing score, and compare against stock. That distinguishes possibility 1 from 2/3 directly.
Note also that #1861 (d0eb795a, landed after the #1862 window) rewrote resolve_query's sub-prompt to render field descriptors via render_shape(). That was deliberately excluded from #1862's arms to avoid a fourth variable, so current main has not been measured on this scenario — a stock run of HEAD is worth doing before deeper investigation.
Acceptance criteria
- Determine whether
resolve_queryis offered at all on the scoped path for this turn - Distinguish "withheld" from "offered but not chosen"
- Fix so an indirect-target update resolves before it mutates (today's erroring
update_nodecalls are the visible cost) - Scenario 6 passes across repeated runs (n high enough to clear the 6–7 noise band Agent matrix 10/12 -> 6/12 does not reproduce: fixture change plus single-run variance, not a regression #1862 measured)
Evidence: 9 results files + raw traces from the #1862 investigation.
Activity
malibio commentedon Aug 1, 2026
Frontend baseline: 170 test files passed, 4097 tests passed.
malibio commentedon Aug 1, 2026
Root cause found and fixed in #1893
resolve_querywas never withheld by the routing gate's design (ADR-038's fail-open exclusion) — it was withheld becausefind_skillsread every skill node'sdescription/tool_whitelist/node_typesflat offnode.properties, butskillis a core-schema type whose fieldsNodeServicehoists underproperties.skill.*on write. Every seeded skill'stool_whitelistdecoded empty regardless of retrieval score, so the tool surface silently fell back to the full (resolve_query-excluded) list on every turn while routing still looked functional in logs.Answers to this issue's acceptance criteria:
toolsOfferedin live eval trace files, 0/9 pre-fix runs, including all 8 where Graph Editing routed first.resolve_querynow reachestoolsOfferedwhen Graph Editing routes and clears the mutating-skill score bar (verified live, never observed pre-fix). But even now correctly offered, the model still doesn't call it — it fabricates a node id and reports false success instead. That's a separate, model-guidance problem, filed as resolve_query is offered but not called for indirect-target updates (model-guidance gap) #1894.Re-scoping this issue to track #1894's resolution rather than closing it, per the PR review's recommendation, so "scenario 6 passes" keeps a tracked owner.
malibio commentedon Aug 1, 2026
Fix merged: #1893 (commit 69a4f90). Leaving this issue open, re-scoped to track #1894 (the remaining model-behavior gap) rather than closing — see the earlier comment for the full acceptance-criteria breakdown.