Skip to content

Scenario 8a regressed 3/3 to 0/5: #1904's Schema Creation rewording routes "start tracking" to create_node #1912

Closed

Description

@malibio

What happened

Measured in #1911's 5-run matrix baseline against main @ 9b2b6b23.

Scenario 8a — prompt "Start tracking albums I mean to listen to" — regressed from 3/3 passing (#1862's arm A) to 0/5 on current main. It is deterministic: all 5 runs route to query and call create_node instead of create_schema.

The model creates a bare text node and reports success:

I've started tracking your albums to listen to in a new text node. You can now add specific album details or notes there!

Trace confirms this is stable, not variance — {('query', ('create_node',)): 5} across 5 runs, with byte-identical generated text.

Mechanism

dbb21c36 (#1904) reworded the Schema Creation skill description specifically to fix scenario 3's routing. The rewording moved retrieval mass:

scenario prompt before after
8a "Start tracking albums I mean to listen to" 3/3 0/5
8b "I also need a tracker for the venues I book" 2/3 5/5
3 "keep a record of the equipment my team checks out…" 1/3 0/5

The reworded description now attracts "a tracker for" phrasing and no longer attracts "start tracking". Note #1904's own target — scenario 3 — was not fixed by the change; it went from unstable to deterministically failing via a different mechanism (see the sibling issue on over-creation).

This is the same skill-description retrieval sensitivity ADR-064 documents in the positive direction (35%→75% rank-1 from rewording alone). The description was tuned against one scenario's phrasing without a regression check against the others that depend on it.

Why it matters

create_node on an unrouted schema-creation request produces a bare text node and a success message. The user asked to start tracking a category of things and got a note — with no error surfaced. Adjacent to the silent-fabrication class in #1865, though here a tool does fire.

Suggested approach

Rewording to satisfy 8a, 8b, and 3 simultaneously is the obvious move, but the evidence says phrasing-level tuning trades scenarios against each other — 3 was traded for 8b and lost 8a. Worth considering whether Schema Creation's routing should depend on something less brittle than description-embedding similarity to a phrasing.

Whatever the fix, it needs a full matrix run before merge, not just validation against 8a. That's the process lesson from #1911.

Acceptance criteria

Reference

Activity

  1. malibio commented on Aug 2, 2026

    @malibio
    CollaboratorAuthor

    Refuted: the stated mechanism is wrong — this is Stage-1 query reformulation, not skill-description retrieval

    Investigated per #1917. The premise (8a fails 3/3→0/5, deterministically) reproduces exactly. The mechanism in this issue does not.

    What this issue says

    all 5 runs route to query and call create_node instead of create_schema

    That framing implies the model saw create_schema and selected wrongly. It didn't. create_schema is never on the tool surface — daemon tool_names for 8a's turns show search_nodes… with no create_schema at all. The acting turn had nothing to select.

    The actual chain

    Reproduced through aichat.ts on a purged DB + daemon rebuilt at db708a90, 3 reps, alternating 8a/8b, deterministic:

    8a "Start tracking albums I mean to listen to"
       Stage-1 generated query: "create listening queue or watchlist for music albums"
       find_skills top_score=0.9032  ->  Organization, Node Creation, Bulk Import   (3/3)
    
    8b "I also need a tracker for the venues I book"
       Stage-1 generated query: "venue booking tracker"
       find_skills top_score=0.7720  ->  Schema Creation, Organization, Node Creation  (3/3)
    

    Stage 1 rewrites the request before retrieval runs, and the rewrite discards the "a new kind of thing" intent. listening queue / watchlist genuinely is collection-organization language, so retrieval matches it correctly — at higher confidence (0.903) than 8b's successful case (0.772). Retrieval is not broken. It is faithfully serving a query that already lost the intent.

    The structural fact that settles it

    The Stage-1 routing prompt contains no skill descriptions at all. It is a bare two-tool prompt (route_query / route_clarify, ~1425 chars, verified in the assembled prompt). The skill description surface — the one dbb21c36 edited and this issue blames — is not an input to the failing decision. It only participates later, as an embedding matched against the already-lossy query.

    Direct test: I edited Schema Creation's description to cover "starting to track / beginning to keep a list of" phrasing, rebuilt, purged, reseeded, re-probed. Byte-identical routing, 3/3 — 8a still Organization, Node Creation, Bulk Import. Exactly as the structural reading predicts. Edit reverted (unvalidated change to shared retrieval surface, the #1904 hazard).

    This also re-reads #1904

    #1904 didn't trade retrieval mass between phrasings. 8a and 8b generate differently-lossy reformulations, and description tuning operates downstream of that. It explains why #1904 fixed neither its own target (scenario 3) nor protected its bystander — it was tuning the wrong layer. Same for #1911's "retrieval-mass table" reading.

    Recommendation

    Close this as filed, or re-scope it to the real defect: Stage-1 reformulation drops intent-type before retrieval. Candidate fix is passing the raw user message to find_skills alongside (or instead of) the model's rewritten query — one mechanism that would plausibly move 8a and 3, rather than per-phrasing description tuning that trades scenarios against each other.

    That is a change to core routing surface and needs a 3-rep full-matrix gate per rule 3. Flagging it as a design decision (#1917 rule 7) rather than implementing unilaterally.

    Do not tune the Schema Creation description against 8a. It is measurably inert for this scenario.

  2. malibio commented on Aug 2, 2026

    @malibio
    CollaboratorAuthor

    Closing as superseded. Per #1917 checkpoint 1, this issue's stated mechanism (skill-description retrieval routing "start tracking" to create_node) was already refuted — 8a's actual root cause was Stage-1 query reformulation dropping the "album tracker" intent before retrieval, not a skill-description tuning tradeoff. The real fix (fdc1a256, the route_query description fix preserving literal subject nouns) is merged to main and now confirmed holding.

    Verified against the current merged state (main @ 6321f3d5, the same commit behind #1917's 9.0/12 matrix result): 8a passes 3/3 across all reps, create_schema called cleanly every time — no create_node misroute, no regression to 8b (also 3/3 on those same reps until #1926's unrelated JSON-decoding issue, which is a different mechanism entirely, see #1926).

    No further action needed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions