Skip to content

Post-ADR-064 matrix baseline: has the doctrine wave actually moved reliability, and what still fails #1911

Closed

Description

@malibio

Overview

#1802 (spike) and its full wave A–E follow-ups (#1809–#1817, #1637, #1699, #1764) are all closed, along with a large batch of individually-discovered defects since (#1846, #1857, #1861, #1866, #1872, #1876, #1894, #1895, #1904, and others). Nobody has run a full matrix pass against current main since this wave landed. Every recent number is a per-scenario spot-check from an individual issue's investigation, not a clean end-to-end baseline.

The last real full-matrix number on record is from #1862: ~6-7/12, measured before the ADR-064 doctrine wave (#1809–#1817) and before #1866/#1872/#1876/#1894/#1895/#1904 landed. That number is now stale and should not be cited as the current state of the system.

Why this matters now

This is the concrete blocker on answering "is the local agent reliable enough to depend on for NL-driven NodeSpace operations" — a real product question, not an academic one. The architecture question (#1802) has been answered; what's missing is knowing whether the resulting fixes actually moved the needle on the thing the matrix measures, or whether new standing failures have appeared alongside the ones fixed.

What to do

Per the noise-band lesson from #1862 (identical code scored 6/7/7 across 3 runs — single-run numbers are not decision-grade):

  1. Purge DB, rebuild daemon from current main (confirm the commit hash and skipped=0 on seeding, per the standard methodology in this cluster).
  2. Run the full 12-scenario matrix multiple times (at least 3, ideally more given the demonstrated noise band) rather than once.
  3. Report per-scenario pass rates, not just a single aggregate — the interesting signal is which scenarios are now consistently passing that weren't (4, 6, 8d were always-fail in Agent matrix 10/12 -> 6/12 does not reproduce: fixture change plus single-run variance, not a regression #1862), not just a headline total.
  4. Compare directly against Agent matrix 10/12 -> 6/12 does not reproduce: fixture change plus single-run variance, not a regression #1862's ~6-7/12 baseline and its per-scenario table.
  5. Flag anything that looks like a new standing failure that wasn't present in Agent matrix 10/12 -> 6/12 does not reproduce: fixture change plus single-run variance, not a regression #1862 — the fix wave touched a lot of shared surface (routing, schema retrieval, tool descriptions) and could plausibly have introduced regressions alongside the fixes.
  6. If some scenarios are still consistently failing, note whether the failure mode has changed (e.g. a scenario that used to fail via one mechanism now fails via a different one) — this cluster has repeatedly found that a scenario staying red can mask a completely different underlying cause than last time it was checked.

Explicitly not in scope

  • Fixing anything found. This is a measurement issue; new defects found should be filed separately, following this project's own "genuinely separate scope, needs its own investigation" standard, not patched inline as part of this run.
  • Expanding scenario coverage (only 3 of 12 currently exercise schema creation, per Spike: re-evaluate the agent prompting architecture from first principles #1802's own findings) — that's a fixture-design question worth its own issue if this baseline suggests it's needed, not something to fold into the initial re-measurement.

Acceptance Criteria

Reference

Activity

  1. malibio commented on Aug 2, 2026

    @malibio
    CollaboratorAuthor

    Baseline (worktree issue-1911-matrix-baseline, branched from main @ 9b2b6b2): Frontend: 171 test files passed, 4108 tests passed, 0 failed. Duration 50.78s.

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

    @malibio
    CollaboratorAuthor

    Results: 5 runs against main @ 9b2b6b23 — the wave did not improve reliability

    Current: 5.2/12 (runs: 5, 6, 5, 5, 5). #1862 arm A: 6.7/12 (6, 7, 7).

    The distributions barely touch — every run here scored ≤6, every run there scored ≥6. Unlike #1862, this is not a within-noise comparison: it's a real ~1.5-point decline.

    The fixture is byte-identical. git diff c98169c5 9b2b6b23 -- scripts/eval/ is empty, so there is no fixture confound and no arm needed grafting. Clean like-for-like.

    Conditions, all 5 runs: purged NODESPACE_HOME per run, daemon rebuilt from source, served_db_path verified inside /tmp/ns-eval-1911/<run>/ before any inference, guidance fingerprints read back per run, excludedEmptyGenerations=0, nCtx=32768, gemma-4-e4b-q4km, host 17.2 GB — identical to #1862.

    Per-scenario (now out of 5, #1862 arm A out of 3)

    scen now #1862 A
    1, 2, 5, 7 5/5 3/3 always pass, both
    8b 5/5 2/3 improved
    8d 1/5 0/3 marginally improved, still broken
    4, 6, 8c 0/5 0/3 standing failure, unchanged
    3 0/5 1/3 worse — was unstable, now deterministic
    8a 0/5 3/3 NEW STANDING FAILURE
    8e 0/5 2/3 worse — was unstable, now deterministic

    Net: +1 fixed (8b), +1 partial (8d), against 1 clean regression (8a) and 2 unstable→always-failing degradations (3, 8e).

    The new standing failure has an identified mechanism

    dbb21c36 (#1904) reworded the Schema Creation skill description specifically to fix scenario 3's routing. Measured effect:

    • 3 was not fixed — 0/5, and it now fails deterministically via a different mechanism: it reaches create_schema but over-creates (create_schema, create_schema, create_relationship, update_schema), byte-identical output across all 5 runs. It used to fail by never reaching create_schema at all.
    • 8a broke — "Start tracking albums I mean to listen to", previously 3/3, now routes to query and calls create_node in 5/5 runs, creating a bare text node and reporting success: "I've started tracking your albums to listen to in a new text node."
    • 8b improved — "I also need a tracker for the venues I book", 2/3 → 5/5.

    The reworded description now attracts "a tracker for" and no longer attracts "start tracking". Same skill-description retrieval sensitivity as the 35%→75% rewording finding — tuned against one scenario's phrasing without a regression check against the others depending on it.

    Silent fabrication is now on the read path too

    8e (0/5, was 2/3) fails with zero tool calls and fabricated results, including an invented URI:

    I found the following nodes that look like albums you might want to review:
    Kind of Blue by Miles Davis (nodespace://3878701d-…) — A text note…

    That is #1865's report-success-touch-nothing signature appearing on reads, not writes. de452a50 (#1873) added "I have <verb>ed" phrasing to the anti-fabrication guard, but 8d still fabricates in 4/5 runs and 8e fabricates differently — the guard isn't covering these.

    Scenario 4's mechanism changed (criterion 6)

    Still 0/5, but no longer #1866's signature. db2f2438 did stop create_node persisting zero properties. Instead the model now calls search_nodes and narrates a plan it never executes: "I need to find the node ID for 'laser cutter' first. I will search…". Old bug gone; scenario fails one step earlier.

    Acceptance criteria

    • Full matrix, 3+ reps, purged/isolated — 5 runs, methodology above.
    • Per-scenario pass-rate table — above.
    • Explicit comparison vs Agent matrix 10/12 -> 6/12 does not reproduce: fixture change plus single-run variance, not a regression #1862 — above, on a byte-identical fixture.
    • New standing failures called out — 8a (3/3 → 0/5), plus 3 and 8e degrading from unstable to always-failing.
    • Changed failure mechanisms called out — 4 (empty-properties → stalls at search), 3 (never reached create_schema → over-creates 4 tools), 8a (passed → creates text node).
    • Plain statement on the doctrine wave — see below.

    Did the ADR-064 doctrine wave measurably improve matrix reliability?

    No. 6.7/12 → 5.2/12. It fixed real bugs — 8b is solid now, 8d's silent-data-loss path fires less often, and #1866's empty-properties bug is genuinely gone from scenario 4 — but it introduced a routing regression (8a) and turned two unstable scenarios into deterministic failures. The aggregate moved down.

    The pattern worth taking from this: the wave's fixes were each validated against the scenario that motivated them, and several were skill-description or prose edits landing on shared retrieval surface. #1904 is the clearest case — it fixed neither its target (3) nor avoided breaking a bystander (8a). Per-scenario spot-checks cannot see that; only a full matrix pass can.

    Not fixed here, per scope

    Filing separately rather than patching inline. Candidates:

    1. 8a routing regression from Fix Schema Creation routing so the model can reach create_schema for natural tracking phrasing #1904's rewording — clearest and most actionable.
    2. 8e read-path fabrication — invented URIs with zero tool calls; same class as Agent claims it created a node while calling no tool: matrix 8d is a silent data-loss path #1865.
    3. 3's new over-creation mechanism — reaches the right tool, does too much.

    Say the word and I'll file these; I've deliberately not opened them yet in case you want them scoped differently.

    Artifacts, traces, and run recipe: ~/nodespace/issue-1911-matrix-baseline/ (10 result/trace files + README).

    Methodology note: an initial run was discarded, not scored — Metal hit kIOGPUCommandBufferCallbackErrorOutOfMemory and every later turn died on llama_decode ret = -3 (the backend doesn't recover). It surfaced as "scenarios failing with zero tool calls" at exactly the 240s timeout, indistinguishable from a real negative in the summary. The preflight gate checks the context window at load but can't catch a mid-run GPU OOM; the tell is 240000ms latencies plus OutOfMemory in the daemon log. Re-run on a quiet machine was clean.

  4. malibio commented on Aug 2, 2026

    @malibio
    CollaboratorAuthor

    File all three — go ahead.

    This result is the whole reason #1911 was worth running: #1904 is a clean demonstration of exactly the retrieval-sensitivity risk ADR-064 documented in the other direction (35%→75% via rewording) — a single-scenario-motivated skill-description edit moved retrieval mass and broke a bystander scenario, invisible to anything short of a full matrix pass. Worth stating plainly for the record: the doctrine is still right, but any future skill-description edit needs a full matrix run before merge, not just validation against the scenario that motivated it. That's a process gap this result just proved out, not a reason to doubt the doctrine itself.

  5. malibio commented on Aug 2, 2026

    @malibio
    CollaboratorAuthor

    Filed all three:

    Process finding, recorded

    Agreed, and stating it plainly for the record as you framed it: the doctrine is not in question — the validation process around it is.

    #1904 is the clean demonstration. A skill-description edit motivated by one scenario (3) moved retrieval mass across the shared embedding surface: it gained 8b, lost 8a, and did not fix its own target. Every one of those effects was invisible to per-scenario validation, and the net was negative.

    Any future skill-description edit needs a full matrix run before merge, not just validation against the motivating scenario. ADR-064 already documents that descriptions are high-leverage in the positive direction (35%→75% rank-1 from rewording alone); the corollary this run proves out is that the same leverage operates on bystanders, and single-scenario validation is structurally blind to it. All three issues above carry that requirement in their acceptance criteria.

    Worth noting the cost is real but bounded — ~12–25 min/run, and the noise band means one run isn't enough to certify a small delta. That argues for batching description edits and matrix-running the batch, rather than matrix-running each edit individually.

    Two candidates for making this stick beyond convention, neither in scope here:

    1. Record the requirement in ADR-064 itself, so it travels with the doctrine rather than living in an issue thread.
    2. A cheaper pre-merge signal — eval:routing is far faster than the full matrix and would have caught 8a specifically, since this was a routing failure. Not a substitute for the matrix, but it might be the thing that actually gets run every time.

    Happy to open either if useful. #1911's own acceptance criteria are all met and it's ready to close.

  6. malibio commented on Aug 2, 2026

    @malibio
    CollaboratorAuthor

    Closing — all three follow-ups from the findings above are filed and referenced correctly:

    This issue's own acceptance criteria (matrix run, per-scenario table, comparison vs #1862, new/changed failure modes called out, plain statement on the doctrine wave) are all satisfied above. The finding stands as the current honest baseline: doctrine wave moved 6.7/12 → 5.2/12, net negative on aggregate despite fixing real individual bugs, with the causal mechanism (a skill-description edit tuned against one scenario, breaking a bystander) identified and documented. Nothing further to do here.

  7. added 3 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