9 local ablation runs (5,535 verified traces) and 14 official openai/gpt-5.6-sol 600-task archives (8,400 traces across 5 model families) on Official DolphinBench (600 multi-app MCP tasks + 15 memory_enabled=False counterfactuals; 13,539 sessions / 1,500,265 o200k_base tokens ingested in 153.4s with 0 LLM calls), we moved one axis per run against byte-identical 0o444 SQLite stores—separating zero-LLM Raw-RAG memory (+12.50 pp SWE), dense general-domain post-training (Google Gemma 4 31B 54.17% @ $0.00 vs. code-only Qwen2.5-32B 35.33%), Wave-4 role-neutral QLoRA+DPO (42.67% 30B, 15.7x 8B), krusch-stack 2PC action guardrails (-100% duplicate MCP calls), and frontier reasoning (Gemini 4 Argon Low 91.17% #1 Overall @ $24.54).
1. Why DolphinBench Breaks Toy Haystacks & Our 5-Gate Clean-Room
Toy needle-in-a-haystack benchmarks hide a self-contained fact inside filler text and query the exact same nouns. Real workspace agents fail on stateful action execution under evolving rules. Released by Mem0 (mem0ai/dolphinbench), DolphinBench tests 600 live mock_mcp workspace tasks across 13,539 chronological sessions (1,500,265 o200k_base tokens) and three personas—Morgan (200 Founder/Ops tasks), Alex (200 Staff SWE tasks with 18 KB incident logs and deprecated flags), and Riley (200 Growth PM tasks)—plus 15 pure-deterministic counterfactuals. Passing requires retrieving standing policies that share zero nouns with today's terse prompt, resolving [Date: YYYY-MM-DD] temporal supersession, chaining list_* state lookups before mutating records, and withholding prohibited side effects.
Every run across our 9 × 615 = 5,535-trace local ablation suite and our 14 × 600 = 8,400-trace official openai/gpt-5.6-sol scoreboard is enforced by verify_zero_leakage.py across five gates:
- Zero-LLM
0o444SQLite Immutability: Ingests all13,539sessions in153.4swith0LLM calls ($0.00), truncates WAL, applieschmod 0o444+file:...?mode=roURIs, and verifies pre/post SHA-256 digests across every 600-task run. - Static AST Clean-Room Scan: Verifies zero imports from grading rubrics, zero persona proper nouns, and zero test-ID branching.
- Official 5-Method
BenchmarkHarnessReplay: Passes upstreampython -m harness.export_submission --release upstream --checkoffline with0errors across all14archives. - Mechanical Check Suite (
599Tasks /1,310Assertions): Audits deterministic tool arguments andmock_mcpstate mutations without an LLM judge. - Counterfactual Causality Gate (
15Tasks,memory_enabled=Truevs.False): Confirms causal lift from retrieved memory (+53.3 ppon both30Band120B).
Frozen 0o444 SQLite & Harness SHA-256 Digests (8 Clean-Room Artifacts)
| Artifact / Frozen Store | Role & Scale | Verified SHA-256 Digest |
|---|---|---|
upstream/ |
Unmodified mem0ai/dolphinbench release (600 tasks, 13,539 sessions) |
6da84edd86670a2c91476ac732bcaf07e4e7f210c3fee3aed225c54b104a82df |
sovereign_memory.py |
Zero-LLM SovereignMemoryStore (0o444 SQLite, 256/32 Raw-RAG + 4-Way RRF) |
16700bc047b0a0e88d3e8b04e55f8513000e922947dd1a186fefba7ab65769bd |
sovereign_harness.py |
Official 5-method BenchmarkHarness MCP adapter |
4531e3efa4e110e335078b10cc7a83fe84ca2955ad7cc74350fd1e496c0eee5f |
sovereign_harness_krusch_stack.py |
Clean-room Tier 3 krusch-stack 2PC Action Harness subclass (INV-STACK-10, 6/6 tests) |
3c4929cb725ecb5f887c1fc74b1cd93e000684cd5df15fb20ca7d87d4b4bcf8b |
vanilla_snowflake_harness.py |
Pure raw-turn single-query 1024d snowflake-arctic-embed2 cosine baseline |
a9f3c50992d0ae30a445fa0883c362e0466ceb6de146b7a3abea9691d8e8ca2f |
morgan.sqlite (0o444) |
3,400 turns · 2,547 Raw-RAG windows · 44.7 MB · 0 LLM calls |
f3f8fbf550a4ef3f75ed752e5e1929205720898616add35e93a865e2dd0bcc04 |
alex.sqlite (0o444) |
5,011 turns · 2,691 Raw-RAG windows · 53.2 MB · 0 LLM calls |
7c3fec7c869625db9df5decf74471d5f14507eae2ebf8d64a69f7e86d7ccba04 |
riley.sqlite (0o444) |
5,128 turns · 2,697 Raw-RAG windows · 53.6 MB · 0 LLM calls |
b9a59a1b1cdb2a09e4930516671829152ec0b24fd2cbebcc114961413c0e7266 |
2. Axis A: Zero-LLM Hybrid Memory vs. Raw Cosine (+12.50 pp SWE)
Cloud memory layers run paid LLM extraction over every message during ingestion, whereas naive vector RAG embeds whole turns and fetches top-k cosine neighbors. Holding Stock gpt-oss:120b, 1024d snowflake-arctic-embed2, the 4,200-token budget, and judges fixed, swapping single-query cosine (VanillaSnowflakeHarness) for SovereignMemoryStore lifts overall pass rate from 48.50% (291/600) → 55.83% (335/600, +7.33 pp).
MorganTies (65.0%Vanilla vs.64.0%Sovereign): Short, self-contained executive notes (flight seating, wire caps) already rank cleanly under dense cosine similarity.Alex(32.0% → 44.5%,+12.50 pp) &Riley(48.5% → 59.0%,+10.50 pp) Jump: SWE and PM logs mix 14 KB pasted incident packets with terse channel rules.SovereignMemoryStorefixes three failure modes deterministically: (1)256/32Raw-RAG windows (arXiv:2610.30755) prevent long turns from diluting pooled vectors or starving token budgets; (2) Porter-FTS5 BM25 + 4-Way RRF (k = 60) anchors exact symbols likededup-v2and#release-ops; and (3) directive/transition regex priors + chronologicalturn_indexpacking keep later-dated policy overrides ordered last, backed by activesearch_persona_memorycalls.
# sovereign_memory.py — Read-only 0o444 URI guard + 4-Way Hybrid RRF + Raw-RAG window projection
def retrieve_persona_briefing(path: Path, cache: FrozenCache, query: str, q_vec: list[float], rrf_k: int = 60):
if (path.stat().st_mode & 0o222) != 0:
raise PermissionError(f"Refusing benchmark retrieval on writable SQLite store: {path}")
fts_expr = build_fts5_or_query(query) # Quoted Porter-stemmed token OR-clause
conn = sqlite3.connect(f"file:{path}?mode=ro", uri=True, timeout=10.0)
try:
top_turn_bm25 = [int(r[0]) for r in conn.execute(
"SELECT rowid - 1 FROM turns_fts WHERE turns_fts MATCH ? ORDER BY bm25(turns_fts) ASC LIMIT 128",
(fts_expr,),
).fetchall()]
top_win_bm25 = [int(r[0]) for r in conn.execute(
"SELECT rowid - 1 FROM windows_fts WHERE windows_fts MATCH ? ORDER BY bm25(windows_fts) ASC LIMIT 128",
(fts_expr,),
).fetchall()]
finally:
conn.close()
# 4-Way RRF: Turn-Dense (1.0) + Turn-BM25 (1.15) + Win-Dense (0.85) + Win-BM25 (0.95)
turn_rrf: dict[int, float] = {}
for rank, (t_idx, _) in enumerate(top_turn_dense):
turn_rrf[t_idx] = turn_rrf.get(t_idx, 0.0) + 1.00 / (rrf_k + rank + 1)
for rank, t_idx in enumerate(top_turn_bm25):
turn_rrf[t_idx] = turn_rrf.get(t_idx, 0.0) + 1.15 / (rrf_k + rank + 1)
for rank, (w_idx, _) in enumerate(top_win_dense):
for t_idx in cache.windows[w_idx]["turn_indices"]:
turn_rrf[t_idx] = turn_rrf.get(t_idx, 0.0) + 0.85 / (rrf_k + rank + 1)
for rank, w_idx in enumerate(top_win_bm25):
for t_idx in cache.windows[w_idx]["turn_indices"]:
turn_rrf[t_idx] = turn_rrf.get(t_idx, 0.0) + 0.95 / (rrf_k + rank + 1)
# Cross-encoder rerank + salience boost -> knapsack-pack 4,200 tokens in chronological order.
3. Axis B: Parameter Scale Phase Transition (8B → 30B MoE → 120B MoE)
With retrieval frozen, every model evaluated on SovereignMemoryStore receives the byte-identical 4,200-token turn-1 briefing across all 600 tasks, isolating parameter scale across our 6-run Phase-1 matrix (3,690 traces across Node-02 Dual RTX 2080 Ti 22 GB NVLink, Node-01 Dual RTX 3060 24 GB, and 96 GB Blackwell G4 burst):
| Run | Agent Model & Memory | Overall (Strict / Referee) | Morgan / Alex / Riley (Strict) | Mechanical Gate (599 / 1,310) |
Pure Det. (15) |
Latency |
|---|---|---|---|---|---|---|
| Run 1 | gpt-oss:120b Stock + Sovereign (G4) |
55.83% (335) / 76.17% |
64.0% / 44.5% / 59.0% |
83.14% / 79.92% |
10/15 vs 2/15 |
9.62s |
| Run 2 | gpt-oss:120b Stock + Vanilla Cosine (G4) |
48.50% (291) / 75.17% |
65.0% / 32.0% / 48.5% |
82.80% / 81.22% |
9/15 vs 1/15 |
8.59s |
| Run 3 | gpt-oss-sre:120b Wave-3 Auditor + Sovereign |
36.50% (219) / 51.00% |
40.5% / 28.0% / 41.0% |
55.59% / 59.47% |
8/15 vs 0/15 |
15.52s |
| Run 4 | qwen3-coder-30b-moe Wave-3 + Sovereign (Node-02) |
53.00% (318) / 79.17% |
62.0% / 43.0% / 54.0% |
88.15% / 84.50% |
9/15 vs 1/15 |
16.33s |
| Run 5 | qwen3-coder-30b-moe:base Stock + Sovereign (Node-02) |
50.50% (303) / 80.33% (hermes3) |
63.0% / 38.5% / 50.0% |
88.81% / 85.11% |
9/15 vs 1/15 |
17.11s |
| Run 6 | hermes3:latest 8B Q4_0 Stock + Sovereign (Node-02) |
1.17% (7) / 4.50% (qwen3-30b) |
1.5% / 0.0% / 2.0% |
66.44% / 57.25% |
0/15 vs 1/15 |
5.96s |
Stock hermes3:latest (8B Q4_0) did not fail on JSON tool syntax—it emitted valid tool calls on 593/600 tasks (66.44% mechanical task gate), yet collapsed to 4.50% (0/15 pure deterministic) when binding multiple policy constraints simultaneously. Stepping up to local Qwen3-Coder-30B-A3B (only 3.3B active parameters on Dual RTX 2080 Ti at $0.00) crosses that reasoning threshold immediately, hitting 80.33% under hermes3 and a suite-high 88.81% (532/599) mechanical compliance.
4. Axis C: Wave-3 Refusal Postmortem → Wave-4 Unified QLoRA + DPO
Our most useful discovery came from Run 3's failure, where applying our Wave-3 SRE Code-Auditor adapter to gpt-oss:120b dropped generalist accuracy from 55.83% → 36.50%, alongside a hidden Ollama template bug on 8B:
- Wave-3 Auditor Role Bias (
30.0%Side-Effect Withholding): Hardcoding a zero-trust SRE AuditorSYSTEMprompt into the fusedModelfileplus bug-hunting SFT caused15.6xover-calling of read-onlysearch_persona_memory(701vs.45calls) and180/600(30.0%) zero-mutation turns where the model asked for human approval instead of executing routine calendar/email tasks. - Ollama's Silent
Hermes-3Go Template Bug ({{- else if .System }}): Inspectingollama show --modelfile hermes3:latestexplained why Stock8Bscored near zero—attaching MCP tools silently discarded the entire runtimeSYSTEMprompt while duplicating<tool_call>branches onassistantturns:
{{- if .Tools }}
<|im_start|>system
You are a function calling AI model... <tools>{{ .Tools }}</tools><|im_end>
{{- else if .System }} <-- BUG: .System is silently dropped whenever .Tools is non-empty!
<|im_start|>system
{{ .System }}<|im_end>
{{- end }}
18,131 Zero-Leak SFT + DPO Rows Across 7 Splits): We stripped persona prompts out of every Modelfile so weights stay role-neutral, repaired the Hermes-3 template so {{ .System }} and <tools> render together cleanly, and expanded krush420/sovereign-code-audit-sft to 18,131 Zero-Leak SFT + DPO rows across 7 splits—pairing code-audit calibration with clean-room list_*-before-write discovery chains, temporal-supersession overrides, and action-vs-refusal DPO pairs across 8B (BF16), 30B, and 120B.
5. Official 14-Run openai/gpt-5.6-sol Scoreboard (8,400 Traces · 8 Queued)
Building on our 9-run Wave-3/Wave-4 local ablation (5,535 verified traces), we evaluated 14 clean-room 600-task configurations (8,400 official traces across 5 model families: Google Gemini, Google Gemma 4, Alibaba Qwen, OpenAI GPT-OSS, and Nous Hermes) on the byte-identical frozen 0o444 SovereignMemoryStore SQLite checkpoints. Every archive was graded with the official openai/gpt-5.6-sol (reasoning_effort="medium") judge, verified offline with 0 errors via harness.export_submission --check (14/14 passed), and 8 flagship archives are queued on dolphinbench.ai alongside 6 clean-room 2×2 search/thinking and dense-vs-MoE scaling controls:
Rank / Tier (gpt-5.6-sol) |
Configuration (5 Model Families + Public Cloud Baselines) |
Overall (600) |
Morgan / Alex / Riley | Mech. Checks | USD Cost | Latency |
|---|---|---|---|---|---|---|
Sovereign Frontier #1 |
Gemini 4 Argon (Low, Full Mem) + SovereignMemoryStore (Paper #27) |
91.17% (547) |
95.5% / 89.5% / 88.5% |
92.22% |
$24.54 |
35.38s |
Sovereign Frontier #2 |
Gemini 4 Argon (Medium, Full Mem) + SovereignMemoryStore |
89.17% (535) |
92.0% / 87.0% / 88.5% |
89.77% |
$24.57 |
55.27s |
Sovereign (2×2 Briefing Med) |
Gemini 4 Argon (Medium, Turn-0 Briefing-Only) + SovereignMemoryStore |
79.17% (475) |
86.0% / 77.5% / 74.0% |
80.33% |
$16.91 |
26.93s |
Sovereign (2×2 Briefing Low) |
Gemini 4 Argon (Low, Turn-0 Briefing-Only) + SovereignMemoryStore |
78.00% (468) |
82.5% / 77.5% / 74.0% |
79.00% |
$15.76 |
21.49s |
Official #1 |
Hermes + GPT 5.6 Luna + Mem0 |
70.67% (424) |
78.0% / 66.0% / 68.0% |
— | $96.21 |
37.69s |
Official #2 |
Hermes + GPT 5.6 Luna + Hindsight |
69.50% (417) |
72.0% / 63.5% / 73.0% |
— | $84.65 |
55.31s |
Official #3 |
Hermes + GPT 5.6 Luna + Honcho |
68.50% (411) |
72.0% / 60.0% / 73.5% |
— | $142.85 |
44.66s |
Official #4 |
Hermes + GPT 5.6 Luna + Built-in |
65.67% (394) |
65.5% / 55.5% / 76.0% |
— | $61.48 |
44.35s |
Official #5 |
Hermes + GPT 5.6 Luna + Supermemory |
59.17% (355) |
69.0% / 49.0% / 59.5% |
— | $345.64 |
52.68s |
Sovereign Open-Weights #1 |
Google Gemma 4 31B Dense (Thinking ON) + SovereignMemoryStore (Apache-2.0) |
54.17% (325) |
72.0% / 47.5% / 43.0% |
58.11%* |
$0.00 |
41.02s |
Sovereign Open-Weights #2 |
Google Gemma 4 31B Dense (Thinking OFF) + SovereignMemoryStore |
52.00% (312) |
70.5% / 43.5% / 42.0% |
54.97%* |
$0.00 |
42.02s |
Official #6 |
Hermes + MiniMax M3 + Mem0 |
47.83% (287) |
54.0% / 41.0% / 48.5% |
— | $148.02 |
46.95s |
Official #7 |
Hermes + MiniMax M3 + Honcho |
47.33% (284) |
54.0% / 45.5% / 42.5% |
— | $211.85 |
80.33s |
Sovereign (30B Wave-4) |
Qwen3-Coder-30B-A3B Wave-4 + SovereignMemoryStore (Node-02 2x 2080 Ti) |
42.67% (256) |
55.5% / 35.0% / 37.5% |
43.93%* (85.73%) |
$0.00 |
15.72s |
Sovereign (30B Stock) |
Qwen3-Coder-30B-A3B Stock + SovereignMemoryStore |
42.00% (252) |
58.5% / 35.5% / 32.0% |
42.34%* (85.11%) |
$0.00 |
17.11s |
Official #8 |
Hermes + MiniMax M3 + Hindsight |
41.00% (246) |
54.5% / 46.5% / 22.0% |
— | $158.33 |
144.28s |
Sovereign (120B Wave-4) |
gpt-oss:120b Wave-4 + SovereignMemoryStore |
39.50% (237) |
54.5% / 31.5% / 32.5% |
39.28%* (78.85%) |
$0.00 |
16.83s |
Sovereign (120B Stock) |
gpt-oss:120b Stock + SovereignMemoryStore |
39.17% (235) |
51.0% / 35.0% / 31.5% |
38.72%* (79.92%) |
$0.00 |
9.62s |
Sovereign (80B Stock MoE) |
Qwen3-Coder-Next-80B (3.0B / 79.7B MoE) + SovereignMemoryStore |
38.50% (231) |
52.0% / 34.0% / 29.5% |
39.70%* |
$0.00 |
23.22s |
Official #9 |
Claude Code + Claude Sonnet 5 + Honcho |
35.83% (215) |
46.5% / 31.5% / 29.5% |
— | $1,565.82 |
37.92s |
Sovereign (32B Dense Coder) |
Qwen2.5-Coder-32B Dense Stock + SovereignMemoryStore |
35.33% (212) |
48.5% / 29.5% / 28.0% |
39.34%* |
$0.00 |
22.49s |
Sovereign (14B Dense Gen.) |
Nous Hermes-4-14B Dense Stock + SovereignMemoryStore |
34.50% (207) |
49.5% / 28.5% / 25.5% |
36.66%* |
$0.00 |
62.46s |
Official #10 |
Claude Code + Claude Sonnet 5 + Mem0 |
32.33% (194) |
40.5% / 36.0% / 20.5% |
— | $1,830.57 |
42.30s |
Official #11 / #12 |
MiniMax M3 + Built-in (26.50%, $107.03) · Claude Sonnet 5 + Built-in (26.33%) |
26.33–26.50% |
28.0–34.5% / 22.5–23.5% / 21.0–29.0% |
— | $107–$1,133 |
32–51s |
Official #13 |
Hermes + MiniMax M3 + Supermemory |
20.00% (120) |
22.5% (45) / 18.5% / 19.0% |
— | $497.70 |
137.52s |
Sovereign (8B Wave-4) |
Hermes-3-Llama-3.1-8B Q4_0 Wave-4 + SovereignMemoryStore |
18.33% (110) |
26.0% (52) / 14.5% / 14.5% |
17.98%* (64.20%) |
$0.00 |
11.30s |
*Official grades_official_gpt56_sol evaluates 1,324–1,468 strict state/field sub-checks per run (parentheses show our zero-LLM 1,310-check inner-loop tool-argument gate).
- Wave-4 Beat Stock at Every Fine-Tuned Scale: Local
30Bclimbed42.00% → 42.67%(252 → 256/600,1,123/1,310 = 85.73%local mechanical checks,+11tasks onRiley) at$0.00and15.72s—outperformingMiniMax M3 + Hindsight(41.00%@$158.33) andClaude Sonnet 5 + Honcho/Mem0(35.83%/32.33%@$1,566–$1,831).120Beliminated Wave-3 prose refusals (39.17% → 39.50%,235 → 237/600), and8B Q4_0jumped15.7x(7/600 → 110/600 = 18.33%, beatingMiniMax M3 + SupermemoryonMorgan52vs.45). - Why Local
30B(42.67%) Beats Sparse120B(39.50%) &80B(38.50%):Qwen3-Coder-30B-A3Bchains multi-steplist_*state discovery before writes on320+tasks (only2zero-tool turns), whereas scaling inactive MoE experts alone (80B/120Bat3B–5Bactive params) leaves multi-constraint synthesis bounded near~40%.
Cryptographic Ledger of All 14 Official Submission Archives (8 Queued on dolphinbench.ai + 6 Clean-Room Controls)
| Submission Archive & Size | Official Score | Queued UUID / Clean-Room Role | Archive SHA-256 Digest |
|---|---|---|---|
sovereign_gemini_4_argon_low.zip (8.396 MiB) |
547/600 (91.17%, #1 Overall) |
c047b063-822c-49fb-8b36-27c3763d6ca7 |
80a199a60aef65f0d963d0402a2e3b0af99b82ed63e2f422001234b6ed770f0b |
sovereign_gemini_4_argon.zip (8.350 MiB) |
535/600 (89.17%) |
29389157-b01b-42b5-8193-17d9a496f580 |
9a7fa41fb3d1cf5f71f0c3cf74a0c97f8f39d50e26a7dd484c323f7719ecb7a0 |
sovereign_gemini_4_argon_briefing_only.zip (6.565 MiB) |
475/600 (79.17%) |
2×2 Turn-0 Briefing Control (Med) |
ccc65b321510a26ae8ed01cc35c98e77c5e90590f9325e84e05eba9ec4477699 |
sovereign_gemini_4_argon_low_briefing_only.zip (6.511 MiB) |
468/600 (78.00%) |
2×2 Turn-0 Briefing Control (Low) |
b7dff8f15b7ed2dbbced14cbb853eda7716b85901f22207af01d74d7cb7cca6b |
sovereign_gemma4_31b_stock.zip (10.782 MiB) |
325/600 (54.17%, #1 Open-Weights) |
288671ad-afe0-40a3-93af-b834c9bbd306 (#1 Open-Weights · $0.00) |
2a23c2a023473a6642f5a61f1d99ff569f3d50ac53e60576f8195eef659c254b |
sovereign_gemma4_31b_nothink_stock.zip (10.981 MiB) |
312/600 (52.00%) |
Clean-Room Thinking-OFF Control ($0.00) |
29d4b6d76bbf0abbfc0ed06d0a16dc847d1814bcf8bc2908c450ed8ab2dffdbf |
sovereign_qwen3_coder_30b_wave4_qlora.zip (9.006 MiB) |
256/600 (42.67%) |
fd45f16c-fd3c-471c-b93d-413f61f1dbcf |
d0b6423d3a9c3cba22c63d936fb13c00b3e39fb1afa672e2bfd50781bbde692e |
sovereign_qwen3_coder_30b_stock.zip (9.125 MiB) |
252/600 (42.00%) |
9cac5ab1-ecba-40a6-ad84-55ec2d67bfce |
8dea5dac9006f77dc98f3dc598bbc7fd490299c85d7667c5797a635dc3ad222a |
sovereign_gpt_oss_120b_wave4_qlora.zip (6.420 MiB) |
237/600 (39.50%) |
83a4c085-0e44-42af-a625-b496e63c8949 |
4cacf215c6b7c7cb4ec223868646dac45cfdce038a78f4be174f290efbd2d6a2 |
sovereign_gpt_oss_120b_stock.zip (6.073 MiB) |
235/600 (39.17%) |
7b5073fd-e1d9-458b-a607-7c55f76b6df1 |
3a0b4577db4a8179abdffc00b7831ac3e84f3a864930df892a2c175d19bcf69b |
sovereign_qwen3_coder_next_80b_stock.zip (7.354 MiB) |
231/600 (38.50%) |
Clean-Room 80B MoE Scale Control |
283871b696ea55a6ac351a3cbfe19aa33c46d8f884bd7adb29156dad03793cb9 |
sovereign_qwen25_coder_32b_stock.zip (5.445 MiB) |
212/600 (35.33%) |
Clean-Room 32B Dense Coder Control |
297cca2999351d98aae786acfac2da38b5806e9280553c2cb080febffa547aa4 |
sovereign_hermes4_14b_stock.zip (8.091 MiB) |
207/600 (34.50%) |
Clean-Room 14B Dense Generalist Control |
b3b4e5e106daef3203e4ed6f19da20699450fb5277df76fb76654773d6c41479 |
sovereign_hermes3_8b_wave4_qlora.zip (5.424 MiB) |
110/600 (18.33%) |
19552654-be39-4fe0-8043-a49158582356 |
24ae1fde4ef51f11ed2e72e546481a4205438c4eba3c4afcaffe268726b9e422 |
6. 5-Family Synthesis: Gemma 4 31B, Frontier Argon 91.17% & 2PC Action Guardrails
9 local ablation runs to 14 official gpt-5.6-sol archives (8,400 traces across 5 model families) on the exact same 0o444 SQLite stores separates post-training specialization, test-time reasoning scale, and deterministic tool-loop governance.
6.1 What Kind of Local Model Excels at Multi-App Agentic Memory? (Gemma 4 31B 54.17% vs. Coder-32B 35.33%)
Before testing dense non-coder models, it looked plausible that open-weights agents hit a hard ~42% wall on DolphinBench. Evaluating Apache-2.0 Google Gemma 4 31B (30.7B 100% active dense Q4_K_M) disproved that hypothesis immediately: stock Gemma 4 31B reaches 54.17% (325/600) with native <|thought|> thinking enabled and 52.00% (312/600) with thinking disabled (4.9x fewer output tokens: 174,226 vs. 853,604; Oracle@2 = 61.50% [369/600]) at $0.00 total cost—beating all 8 non-GPT-5.6-Luna commercial cloud baselines on the official leaderboard up to $1,830.57 (ranking #6 vs. all 13 public cloud stacks) and tying GPT 5.6 Luna + Hindsight/Honcho (144/200 = 72.0%) on Morgan.
Holding active parameter count fixed near ~31B dense, general-domain multi-app tool post-training (Gemma 4 31B: 54.17%) outperforms code-specialized Qwen2.5-Coder-32B (35.33%, 212/600, only 0.03 memory calls/task) by +18.83 pp (+113 tasks, McNemar p = 1.35 × 10⁻¹⁶) and sparse 3.3B-active Qwen3-Coder-30B-A3B Wave-4 (42.67%, 256/600) by +11.50 pp (+69 tasks, p = 4.96 × 10⁻⁷). Even 14.8B dense generalist Nous Hermes-4-14B (34.50%, 207/600, 1.99 memory calls/task) statistically ties 2.2x-larger Qwen2.5-Coder-32B (p = 0.729) and beats Claude Sonnet 5 + Mem0 (32.33% @ $1,830.57)—confirming that workplace assistants need dense general-domain social/calendar/email post-training alongside coder backbones.
6.2 Frontier Upper Bound & Retrieval-Sufficiency Proof (Argon Low 91.17% · Oracle@14 = 96.17% · Oracle@10 = 78.83%)
Pairing the byte-identical 0o444 frozen SovereignMemoryStore with Gemini 4 Argon (Low Thinking) (1.84 memory calls/task) achieves 91.17% (547/600, #1 Overall) at $24.54 total cost and 35.38s median latency—beating Official #1 Hermes + GPT 5.6 Luna + Mem0 (70.67% @ $96.21) by +20.50 pp (+123 tasks) at ~3.9x lower cost (Argon Medium scores 89.17% / 535/600 @ $24.57). Across our 2×2 Argon factorial (2,400 traces), Thinking × Agentic Search exhibits a statistically significant interaction (ΔΔ = +3.17 pp, 95% CI [+0.27, +6.06], p = 0.0320): lighter per-turn thinking avoids over-committing to partial Turn-0 context and reinvests budget into iterative search_persona_memory calls (+13.17 pp lift on Argon Low vs. +10.00 pp on Medium), while even Turn-0 Briefing-Only Argon Low (78.00% @ $15.76) beats #1 Mem0 by +7.33 pp at 6.1x lower cost.
Across all 14 runs, union pass rate reaches Oracle@14 = 96.17% (577/600)—and Oracle@10 = 78.83% (473/600) across $0.00 open-weights runs alone (+8.17 pp above #1 Mem0!), with a 4.19x superlinear multiplier at compositional depth LBF=4+ (89.33% [67/75] vs. 21.33% [16/75] on 30B Stock & Gemma 4 31B) and flatter corpus-entropy decay (-3.50 pp Argon Med / -7.00 pp Argon Low vs. -10.00 pp Morgan → Riley [78.0% → 68.0%] and -12.00 pp Morgan → Alex [78.0% → 66.0%] on Mem0). See companion Paper #27 (Return on Memory) for the full 4-chart scaling derivation and @krusch/toolkit/cascade for L1 (8B) → L2 (Gemma 4 31B / 30B @ $0.00) → L3 (Argon Low) routing.
6.3 Closing Execution Faults Without Retraining (krusch-stack INV-STACK-10 2PC Action Harness & Tradeoffs)
- Deterministic
2PCTool-Action Guardrails (sovereign_harness_krusch_stack.py): Open-weights trace forensics exposed mechanical execution faults orthogonal to memory retrieval—3xidentical read spin loops, duplicate state-mutating MCP writes, blind ID mutations without priorlist_*inspection, and premature chat-only stops. SubclassingBenchmarkHarnessoverkrusch-stackTier 3 (POST /action-harness/{start,intercept,outcome,verify-stop,summary},63/63Node +6/6Python tests) enforcesBLOCK_SPIN_LOOP,BLOCK_DUPLICATE_WRITE,HOLD_FOR_REVISION, and single-user-turnrole: "developer"CONTINUE_VERIFYsteers (preservinglen(user_turns) == 1). On a live 10-taskQwen3-Coder-30Bfailure slice at$0.00, it cut duplicate identical MCP calls10 → 0(-100%), reduced zero-app chat-only stops3 → 1(-66.7%), and recovered+20.0 pp(0/10 → 2/10) mechanical task passes (riley/096&morgan/058) with zero weight retraining. - Judge Calibration &
8B Q4_0Triage Boundary: Local Referees (hermes380.33%,gemma4:e4b53.00%) preserved identical rank order togpt-5.6-sol(42.67%) for$0.00inner-loop iteration, while8B Q4_0's18.33%ceiling (14.5%SWE/PM) confirms 4-bit8Bmodels belong inL1triage rather than multi-app state mutation, and role-neutralModelfiles prevent auditor refusal drift.
7. Reproducibility, Compute Ledger & Public Artifacts
# 1. Offline unit suites (including 6/6 krusch-stack 2PC harness tests) & 5-gate clean-room AST verifier
.venv/bin/python -m unittest discover -s tests -p "test_*.py" -v && .venv/bin/python verify_zero_leakage.py --static-only
# 2. Local 600-task run or clean-room Tier 3 krusch-stack 2PC Action Harness adapter ($0.00)
.venv/bin/python run_homelab_models_600.py --model qwen3-coder-30b-moe:latest --workers 4
PYTHONPATH=.:upstream .venv/bin/python -m harness.runner --release upstream --adapter sovereign_harness_krusch_stack:BenchmarkHarness
# 3. Official openai/gpt-5.6-sol grading + offline upstream archive check across all 14 archives
.venv/bin/python package_official_submissions.py --only gemma4_31b_stock --workers 12
PYTHONPATH=upstream .venv/bin/python -m harness.export_submission --release upstream --check submissions/sovereign_gemini_4_argon_low.zip
- Compute & Cost Ledger:
$0.00API spend across153.4szero-LLM SQLite ingestion and all10official600-task open-weights archives (6,000official open-weights traces + counterfactuals acrossNode-02Dual RTX 2080 Ti,Node-01Dual RTX 3060,Node-03RTX 2080 Ti, and on-demand 96 GB Blackwell G4 burst with0active sessions post-run), plus$81.78total frontier API spend across all fourGemini 4 Argon2×2factorial runs ($24.54Argon Low#1 Overall,$24.57Argon Medium,$16.91Med Briefing-Only, and$15.76Low Briefing-Only). - Public Datasets & Open Weights:
krush420/sovereign-g4-benchmarks(14dolphinbench_600rows +36sanitized raw JSON audit logs) ·krush420/sovereign-router-arena(Tab 5) ·krush420/sovereign-code-audit-sft(18,131rows) · Wave-4 adapters (30B,120B,8B) ·github.com/kruschdev/krusch-stack.
Inspect All 14 Official Archives, 8,400 Verified Traces & Wave-4 Open Weights
8 Queued dolphinbench.ai Archives · 91.17% Frontier Argon Low (#1) & 54.17% Gemma 4 31B @ $0.00 (#1 Open) · INV-STACK-10 2PC Harness