Skip to content

Agent matrix 10/12 -> 6/12 does not reproduce: fixture change plus single-run variance, not a regression #1862

Closed

Description

@malibio

Split out of #1857, where the drop surfaced while measuring an unrelated fix. Nobody is on it yet.

What was observed

Arm Commit Result
PR #1856 tree c5659f43 10/12
current main c98169c5 6/12

Both single runs, purged DB + daemon rebuilt from source each time, isolation verified via served_db_path.

c98169c5 (#1859) sits directly on a38ea9b4 (#1856) on main, so the window is narrow.

Part of the drop is NOT a regression — read this before investigating

Scenario 8c is not comparable across that window. #1859 tightened its assertion in the same commit:

-      expect: { kind: "toolOnce", tool: "create_node" },
+      expect: { kind: "toolOnce", tool: "create_node", minProperties: 1 },

So 8c "failing" after #1859 means the eval now catches a bug that was already there and previously scored green, not a new one. Any comparison across this window must apply the same fixture to both sides or it is measuring the test, not the code.

Scenario 4 is unaffected by that caveat. It already carried minProperties: 1 on both sides (a38ea9b4's fixture, line 305), so its failure is a genuine like-for-like regression and needs no re-run to be valid.

Real candidates: 4, 8b, 8d, 8e.

Two plausible mechanisms, and they must not be conflated

H1 — routing gate withholds the tool

#1855 ("resolve_query's guidance and required context are gated behind Graph Editing's routing score; fail-open delivers the tool without either") landed just before this window. Scenario 6 fails with zero resolve_query calls, which is consistent with the tool or its guidance not reaching the model.

H2 — resident-prompt dilution from #1859's own added rule

#1859 also added FIELDS_FROM_REQUEST_ONLY to the Schema Creation rule block. Its own doc comment records that it was measured in isolation to have zero effect on the contamination it targets, and it is kept as "cheap defense-in-depth."

Measured, it is not cheap:

chars ~tokens
FIELDS_FROM_REQUEST_ONLY 415 ~103
all 17 schema rules 3,839 ~959
share of the rule block 10.8%

Per the #1802 finding — the real ~10.5k-char resident prompt scored worse than a ~445-char minimal one on hard cases targeting its own rules — ~11% of a rule block for a measured-null benefit is dilution, not insurance.

8d and 8e are the discriminating evidence. Both are zero tool calls (create_node / search_nodes expected, none made) — not wrong-content calls. A withheld tool or a copied schema produces a wrong call; no call at all looks more like the model losing the thread in a longer prompt. That is not a schema-copying symptom, so it is unexplained by what #1859 set out to fix.

Plan: isolate, don't bisect

A commit-by-commit bisect would conflate H1 and H2. Three arms, all running the same fixture so nothing is confounded:

Arm Build Purpose
A c98169c5 unmodified the honest current number
B c98169c5 with FIELDS_FROM_REQUEST_ONLY stripped tests H2 directly
C a38ea9b4 with c98169c5's fixture cherry-picked old behaviour, new checks — the only valid "before"

Arm C is what makes 8c interpretable at all; without it the original comparison is invalid.

2+ runs per arm. This matrix has known run-to-run variance, and the two numbers above are single runs — the size of the drop is soft even where the comparison is valid.

Run conditions (required, or the result is meaningless)

  • Purge the DB and rebuild the daemon per arm — seeding skips existing nodes and guidance is compiled in, so a plain re-run silently measures stale guidance
  • Use NODESPACE_HOME for isolation and verify served_db_path before trusting a run
  • Also set NODESPACED_SOCKET: nodespaced ignored a --socket flag and bound to the real ~/.nodespace/daemon.sock (data stayed isolated, the socket did not)

Acceptance criteria

  • Confirm or refute the regression with 2+ runs per arm on a common fixture
  • Attribute 4, 8b, 8d, 8e to H1, H2, both, or neither
  • If H2 holds, delete FIELDS_FROM_REQUEST_ONLY rather than keeping it — prose measured to do nothing is not free (ADR-064)
  • Record the corrected baseline so future runs compare against a real number

Activity

  1. malibio commented on Jul 31, 2026

    @malibio
    CollaboratorAuthor

    Baseline (worktree issue-1862-matrix-regression): Frontend: 171 test files passed, 4113 tests passed, 0 failed. Duration 45.99s.

  2. self-assigned this
    on Jul 31, 2026
  3. malibio commented on Jul 31, 2026

    @malibio
    CollaboratorAuthor

    Starting work. Two scoping notes before the runs, proceeding unless redirected:

    1. Arm A is pinned to c98169c5, not current main (a1d6295f). Three commits landed since the issue was filed, one of which — d0eb795a (#1861) — rewrites resolve_query's sub-prompt to render field descriptors via render_shape() instead of name (type). That is squarely in scenario 6's path, which is the issue's own H1 evidence. Measuring HEAD would add a fourth variable to a three-arm isolation. I'll measure the window as specified and note separately whether HEAD is worth a follow-up run.

    2. The common fixture is HEAD's fixture, and it needs no cherry-pick for arms A and B. Verified: the only fixture change in the window is 8c's minProperties (git diff a38ea9b4 c98169c5 -- scripts/eval/fixtures/agent-matrix.ts is that hunk and nothing else), and scripts/eval/fixtures/ is untouched from c98169c5 to HEAD. So arms A and B already carry the post-#1859 fixture, and Arm C is the only one needing the fixture grafted onto the old build — exactly as the issue describes.

    Also confirmed from source: scenario 4 carries minProperties: 1 on the a38ea9b4 side too (fixture line 305), so its regression is like-for-like as the issue states.

  4. malibio commented on Jul 31, 2026

    @malibio
    CollaboratorAuthor

    H1 cannot be tested by the three-arm design as written — #1855 is inside all three arms

    Verified from history, before spending inference on it:

    82326f14  #1855  resolve_query gated behind routing score / fail-open excluded
    a38ea9b4  #1856  <- Arm C base (the 10/12 measurement)
    c98169c5  #1859  <- Arm A/B base (the 6/12 measurement)
    

    git merge-base --is-ancestor 82326f14 a38ea9b4 → YES. #1855 is an ancestor of a38ea9b4, so it is compiled into Arm C as much as into A and B.

    Consequence: the routing gate is held constant across the whole isolation. Whatever #1855 does to scenario 6, it was already doing it when the suite scored 10/12. It therefore cannot be the cause of a 10/12 → 6/12 drop, and no A/B/C contrast can attribute anything to it — the variable does not vary.

    What #1855 actually does (from its own commit message) is deliberately withhold resolve_query on the fail-open path, because the tool's node_type parameter instructs the model to copy an id from a context block that fail-open never renders. So 'scenario 6 fails with zero resolve_query calls' is consistent with #1855 — but as designed behavior on an unrouted turn, not as a regression in this window.

    That reframes H1 rather than killing it: 'is scenario 6 failing because the gate withholds the tool?' is a real and open question, it is just not a question about this regression, and it needs a gate-on/gate-off arm to answer, not a commit contrast. I'm treating it as out of scope for the drop and will report it separately.

    Revised plan: run A and B as specified (they still isolate H2 cleanly, which is the one hypothesis the design does test), plus C as the true before-baseline. If A ≈ C, the 'drop' is substantially run-to-run variance on single runs — which the issue already flags as a live possibility. Scenario 6's status gets reported as a standing behavior, attributed to #1855, not to this window.

  5. malibio commented on Jul 31, 2026

    @malibio
    CollaboratorAuthor

    Results: 9 runs, 3 per arm, common fixture — the regression does not reproduce

    All runs: purged DB + daemon rebuilt from source per run, NODESPACE_HOME isolation verified (requested_db_path=/tmp/ns-eval-1862/...), guidance fingerprint read back per run.

    Arm Build Runs Mean
    A c98169c5 unmodified 6, 7, 7 6.7
    B c98169c5 − FIELDS_FROM_REQUEST_ONLY 5, 5, 5 5.0
    C a38ea9b4 + c98169c5's fixture 6, 6, 6 6.0

    Per-scenario, passes out of 3 runs

    scen A B C
    1, 2, 5, 7, 8a 3/3 3/3 3/3 always pass
    4 0/3 0/3 0/3 always fails — incl. the "before" build
    6 0/3 0/3 0/3 always fails
    8d 0/3 0/3 0/3 always fails
    3 1/3 0/3 0/3 unstable
    8b 2/3 0/3 0/3 unstable
    8e 2/3 0/3 0/3 unstable
    8c 0/3 0/3 3/3 the one real, clean A↔C difference

    Acceptance criteria

    1. Confirm or refute the regression — REFUTED as stated. Arm C, the only valid "before" (old build, new checks), scores 6.0, not 10/12. Arm A scores 6.7 — if anything higher. There is no 10→6 drop on a common fixture. The original 10/12 was a single run of a build whose fixture scored 8c leniently; the reported 4-point gap is the fixture change plus single-run variance, not a code regression.

    2. Attribute 4, 8b, 8d, 8e — none are regressions in this window.

    • 4 — neither H1 nor H2. Fails 0/3 in all three arms, Arm C included. The issue expected this to be the one genuine like-for-like regression; it is not one. It was already failing at a38ea9b4 under the identical assertion. create_node fires and persists 0 properties — a real, standing bug, just not this window's.
    • 8d — neither. 0/3 everywhere. Standing failure (zero tool calls).
    • 8b, 8e — neither; unstable. They flip run to run in arm A (2/3 each) and are the direct source of A's 6/7/7 spread. Not attributable to anything in this window.
    • 8c — attributable to Stop create_schema from copying an unrelated retrieved schema's fields onto a new type #1859, but it is the fixture-caveat scenario. A/B 0/3 vs C 3/3. Tool-call level: C persists fieldCount: 1, A/B persist 0. This is the one behavioral change Stop create_schema from copying an unrelated retrieved schema's fields onto a new type #1859 caused — and it is exactly the scenario the issue already flagged as non-comparable.

    3. H2 is refuted — do NOT delete the rule on these grounds. Stripping FIELDS_FROM_REQUEST_ONLY made the suite worse: 5/5/5 vs A's 6/7/7. The dilution hypothesis predicted improvement. Strong verification that arm B was real: its Schema Creation guidance hash (da1c0678631e) came back identical to arm C's — as it must, since C predates the rule and B removes it — while A differs (cb0ac0d16065). The strip demonstrably reached the model.

    The ~11%-of-rule-block arithmetic in the issue is correct; the inference from it is not. The rule's own doc comment (zero measured effect, kept as defence-in-depth) still stands — this measured no benefit to removal either. ADR-064's "prose measured to do nothing is not free" isn't triggered, because removing it did not help.

    4. Corrected baseline: c98169c5/current main is ~6–7/12 on this fixture, not 10/12. Always-pass: 1, 2, 5, 7, 8a. Always-fail: 4, 6, 8d. Unstable: 3, 8b, 8c, 8e.

    H1 was untestable by this design

    82326f14 (#1855) is an ancestor of a38ea9b4 (git merge-base --is-ancestor → YES), so the routing gate is compiled into all three arms. It does not vary and cannot explain a drop. Scenario 6 failing with zero resolve_query calls is consistent with #1855's designed fail-open exclusion, and it fails 0/3 in the "before" build too. Worth its own issue with a gate-on/gate-off arm; not a finding about this window.

    Caveat on B vs C

    B and C share a guidance hash but differ 5.0 vs 6.0, entirely on 8c. #1859 also changed context_ops.rs (+42, the shared RELEVANT_ENTITY_TYPES_HEADER anti-copy clause) and routing.rs (+26, adopting that header at the second render site). So 8c's regression traces to the header/context half of #1859, not the rule half. Separating those two would need a fourth arm; I did not run one, since 8c is the scenario the issue already ruled non-comparable.

    Recommendation

    Close as not a regression, and keep FIELDS_FROM_REQUEST_ONLY. The real, standing failures worth their own issues are 4 (create_node persists no properties), 6 (resolve_query never fires), and 8d (no tool call at all) — all three predate this window. I'd also suggest recording that single-run matrix numbers are not decision-grade: arm A spanned 6–7 across identical conditions.

  6. malibio commented on Jul 31, 2026

    @malibio
    CollaboratorAuthor

    Strong result overall — the arm design, guidance-hash verification (B/C matching, A differing) confirming the strip actually reached the model, and the merge-base check ruling H1 untestable rather than hand-waving it, all hold up. The "single-run numbers aren't decision-grade" finding is the most important thing here — arm A spanning 6/7/7 across identical conditions retroactively undercuts the original 10/12 and 8/12 single-run figures cited earlier in this whole investigation, not just this window's comparison.

    One pushback before treating this as closed: "keep FIELDS_FROM_REQUEST_ONLY" isn't what the evidence shows. The data is null on both sides, not confirmatory:

    • H2 (dilution hurts) is refuted — correct, B scored worse than A.
    • But that doesn't make A better because of the rule. A (6.7) vs B (5.0) is a 3-run-per-arm comparison on a metric this same experiment just proved swings 6–7 on repeated identical conditions (arm A's own 6/7/7 spread). A 1.7-point gap on n=3, on a metric with that much intrinsic noise, isn't strong evidence the rule helps — it's as consistent with "B's 3 runs happened to land low" as with "the rule does something."
    • The rule's own doc comment already says zero measured effect from its original validation. This experiment didn't overturn that; it just failed to find a removal benefit, which is a different claim from finding a keeping benefit.

    Recommend restating the conclusion as: inconclusive on the rule's effect, not confirmed-helpful. Don't cite this result as evidence for keeping it — if it stays, it stays on the original "defense-in-depth, zero measured cost either way" basis, not because this run showed it earning its keep. If someone later wants a real answer, that's a 4th arm with enough runs per arm to exceed the demonstrated noise band (looks like at least 6-8 runs/arm given the 6-7 spread at n=3), not a re-read of these 3-run numbers.

    Agree with everything else: close as not-a-regression, and file 4 (create_node persists no properties), 6 (resolve_query never fires under the routing gate), and 8d (no tool call at all) as their own issues — all three are standing, pre-existing failures unrelated to this window's variables, which is exactly the "genuinely separate scope" case for filing separately rather than fixing in place.

  7. malibio commented on Jul 31, 2026

    @malibio
    CollaboratorAuthor

    Correction: the rule conclusion was overstated — restating as inconclusive

    Agreed, and this is a real inconsistency in my write-up rather than a wording quibble. I argued single-run numbers aren't decision-grade because the metric swings 6–7 under identical conditions, then used a 1.7-point gap at n=3 to recommend keeping the rule. Those two claims can't both stand. The noise band I demonstrated is wide enough to swallow the A-vs-B gap.

    Corrected conclusion on FIELDS_FROM_REQUEST_ONLY: inconclusive, not confirmed-helpful.

    • H2 (the rule dilutes and removal will help) — refuted. Removal scored no better; B was 5/5/5 against A's 6/7/7.
    • "The rule earns its keep" — not established. A 1.7-point gap on n=3, on a metric this experiment independently showed spanning 6–7 across identical runs, is as consistent with B's three runs landing low as with any real effect. I inverted "failed to find a removal benefit" into "found a keeping benefit"; those are different claims and only the first is supported.
    • The rule's original doc comment (zero measured effect, kept as cheap defence-in-depth) is unchanged by this run. Nothing here overturns it in either direction.

    So: do not cite this result as evidence for keeping the rule. If it stays, it stays on the original defence-in-depth basis. Correspondingly, ADR-064's "prose measured to do nothing is not free" is not resolved by this experiment either — I should not have implied it was settled.

    A real answer needs a dedicated arm with runs-per-arm exceeding the demonstrated noise band — on the 6–7 spread at n=3, that's ~6–8+ runs per arm, not a re-read of these three. Worth noting that's ~25 min/run here, so a properly-powered rule experiment is a multi-hour job and should be scoped as its own issue if anyone wants it.

    One thing worth flagging beyond the correction: the same n=3 caveat applies to 8c (A/B 0/3 vs C 3/3). That one is a clean 0-vs-3 separation rather than a mean-difference, and it has a mechanism attached (#1859's shared-header change, with B and C sharing a guidance hash so the rule half is excluded), so I'd hold it as the more solid of the two — but it's still n=3 and the same standard applies to anyone citing it later.

    The rest stands unchanged: not-a-regression, and 4 / 6 / 8d filed separately as standing failures.

  8. malibio commented on Jul 31, 2026

    @malibio
    CollaboratorAuthor

    Filed the three standing failures as separate issues, per the agreement above:

    Each carries the 9-run evidence, the routing data, and the noise-band caveat on acceptance criteria.

    Results and raw traces are preserved at ~/nodespace/issue-1862-matrix-isolation/ (18 files, plus a README with the full per-scenario breakdown, the arm-verification detail, and the run recipe) if anyone wants to re-read them without re-running — ~25 min/run. Kept uncommitted alongside ~/nodespace/spike-1802-harness/, same convention: eval artifacts live next to the repos, not inside them.

    This issue's four acceptance criteria are answered; #1862 itself is ready to close as not-a-regression whenever you're satisfied.

  9. changed the title [-]Agent matrix dropped from 10/12 to 6/12 on main: isolate the routing-gate vs resident-prompt-dilution hypotheses[/-] [+]Agent matrix 10/12 -> 6/12 does not reproduce: fixture change plus single-run variance, not a regression[/+] on Aug 1, 2026
  10. malibio commented on Aug 1, 2026

    @malibio
    CollaboratorAuthor

    Closing — not a regression

    All four acceptance criteria are answered. Retitled, since the original title asserts a drop that didn't happen and would otherwise be taken at face value by anyone finding this later.

    • Confirm or refute with 2+ runs per arm on a common fixture — 3 runs per arm, 9 total. Refuted. Arm C (the only valid "before": old build, new checks) scores 6.0; Arm A scores 6.7. No 10→6 drop exists. The reported gap was scenario 8c's minProperties fixture change landing in the same window, plus single-run variance.
    • Attribute 4, 8b, 8d, 8e — neither H1 nor H2, all four. 4 and 8d fail 0/3 in the pre-Stop create_schema from copying an unrelated retrieved schema's fields onto a new type #1859 build too; 8b and 8e are unstable (2/3 in arm A) and are the source of that arm's own 6/7/7 spread.
    • If H2 holds, delete FIELDS_FROM_REQUEST_ONLY — H2 does not hold (removal scored no better: 5.0 vs 6.7), so the conditional never fires. Rule left in place.
    • Record the corrected baseline — ~6–7/12, not 10/12. Always pass 1, 2, 5, 7, 8a. Always fail 4, 6, 8d. Unstable 3, 8b, 8c, 8e.

    Two things this issue did NOT settle — please don't read the close as settling them

    The rule's effect is inconclusive in both directions. Refuting H2 is not the same as showing the rule helps; a 1.7-point gap at n=3 sits inside the 6–7 noise band this same experiment demonstrated. Do not cite these numbers as justification for keeping FIELDS_FROM_REQUEST_ONLY, and ADR-064's "measured-null prose isn't free" question remains open. A real answer needs ~6–8+ runs/arm (~25 min/run), and would be its own issue.

    H1 was never testable here. #1855 is an ancestor of all three arms, so the routing gate never varied. Rescoped into #1867, which needs a gate-on/gate-off arm rather than a commit contrast.

    The most useful finding

    Single-run matrix numbers are not decision-grade. Arm A spanned 6–7 across three runs under identical conditions. That retroactively undercuts the single-run figures cited throughout this investigation — including the 10/12 that prompted it. Any future claimed delta smaller than that band needs more runs, not a re-read.

    Follow-ups filed

    All three predate this window. Worth noting #1865/#1866 share a signature with the spike's confirmed #1814 finding (right tool, empty properties, success reported anyway) — they may collapse into one cause; untested.

    Artifacts, README, and run recipe: ~/nodespace/issue-1862-matrix-isolation/.

  11. added 5 commits that reference this issue on Aug 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions