2026-11-21

Day report, 2026-11-21

mojo-baro, mojo-neuron, Metis training, baro.apk, Kaggle. Every number cites a source; UNVERIFIED marks what a lane itself left unverified, FAIL and PASS are the lane's own verdicts.

Counts from git log on 2026-11-21: mojo-baro 93 commits, AB-Android worktree baro-ux 62 commits, mojo-neuron lanes carry their commits on lane branches (cited per item). Wiki page: wiki.html.

The day in one screen

1.2951Metis x4096 test_bpb (bar 1.294, MISS by 0.1%). 3 of 7 bars pass. 52.2 GPU-min.
-24% / -17%flash fwd / dq kernel time, byte-equal. K2 spark megakernel 2,633 vs 1,766 tok/s.
0 of 20weight-surgery arms fixed the runaway loops. Fixes that work: harness + data.
203 / 0clean eval-only runs under gpu-wait cap 2 / NaN or fault. 4+ co-running HIP processes corrupt results (8 of 15 bad).
1.33xasync vs serial expert pager on Flip4 at equal bytes (18 pairs). 17.5 tok/s resident small MoE.
8-11 tok/sexact paged 39 GiB MoE on the XTX at 16 GB RAM cap (unpaged 1.3-2.35).
x4096 tokenizergate 7/7 corpus337.4M ids (-16%) 11 chunks x 300 s20,595 updates gates3 of 7 pass spark bakeverify PASS baro.apkQ8_0 ARM port K2 megakernel1.49x, bytes 20/20 spark toolgate 0/56cause: BARO_NEURONS=1
Overnight plan steps 1-7 (Brain mojo-baro 2026-11-21-overnight-plan, morning note 2026-11-22-metis-tok-x-round).

1. Metis state: x4096 round, kernels K1 / K2

Same 72.6M Metis, same text as the 400M round, new x4096 tokenizer (lane-tokv3 03e8cd1, V 8192, BPE across spaces, gate 7/7) and its own kernels. Prereg ab31eb5, results 2951a4a.

bar (frozen)x4096 resultbar / 400Mverdict
test_bpb1.2951≤ 1.294MISS by 0.0011
toolgate (56 held-out)50/56≥ 55MISS (row 42: 223 brain_ask calls in one message)
ARC-E0.315≥ 0.322MISS
PIQA0.5420.547MISS
LAMBADA acc0.108≥ 0.099PASS
template parity (superbpe)equalequalPASS
update time52.2 min< 61PASS
test_bpb at update counts (S2048 chunks; final x4096 1.2951) 1.21.41.61.8 1.696 @20001.573 @38401.519 @57901.477 @77601.2951 final @20,595 x axis not to scale after update 7,760 (S4096 phase from 80%)
Receipt: Brain mojo-baro/2026-11-21-overnight-plan, chunk table. Tokenizer buys GPU time at equal bpb (52.2 vs 61 min), not quality. Step time: S2048 ~143 ms, S4096 ~169 ms; the drop 163 to 143 ms in chunks 1-4 came with no change (warm-up).

Kernels (lane-metis-kern, merged 5e9d7d8; K1 c0d969f, K2 42aba1d)

per-launch time change and spark decode (same job, interleaved) flash_fwd8t_k -22..-24%-24% flash_dq8t_k -17%-17% spark decode launch path1,766 tok/s spark K2 megakernel2,633 tok/s (1.49x)
K1: rocprofv3, 4 interleaved rounds x 40 updates, byte-equal to main's trainer. K2: 20 prompts x 64 tokens, byte-equal on K/V rows, logits and x, mutant differs. Source: Brain mojo-baro/2026-11-21-metis-kern-part2.

Worked

  • Scores computed transposed, P and dS packed into the next WMMA operand in registers (v_permlanex16_b32), no P or dS tile in LDS. Default LAT_FY=11.
  • Finding: warp.shuffle_xor is ds_bpermute_b32 on gfx1100: 64 per key tile, a third of the old LDS instructions, invisible in a source count (122 counted, ISA had 186).
  • Finding: register count decides the arm. 1536 VGPR per SIMD in steps of 24: 192 -> 8 waves, 216 -> 7, 240 -> 6, 264 -> 5. dq8t at 242 VGPR: no gain; at 176: -17%.
  • Finding: folding runtime args into constants breaks byte equality (total / N divide vs multiply by 2^-10, one ulp); tokens and agreement did not see it, the byte dump did.

Failed / withdrawn

  • Fused backward kernel withdrawn: cross-block dK/dV sums move 1.14 GB each way per layer vs 69 GFLOP saved (about 2.6 ms vs 1.3 ms).
  • flash_dkv8t_k (252 VGPR) not faster, kept behind LAT_FY bit 4.
  • One SQTT capture read 25.6% memory wait; a lever built on it did not hold (rules.md).
  • K2 reaches one-shot greedy runs only; serve decodes on the launch path (not serve, below 128 positions). K2 in serve: UNVERIFIED, not reachable.

Not tried

  • Fewer, shorter barrier phases in K2 (wavewait: barrier 69.4% of cycles, one site 55%).
  • Chunked K2 launches with host stop checks and split attention past 128 (fable-lane work).
  • An in-trainer data-prefetch A/B: host check showed one thread in GPU sync, workers idle, so none was spent.

Other receipts: bake .work/spark-mx/metis-73m-x4096.baro.gguf verify PASS at fc00071 (pack tokenizer writer lacked superbpe: every text request 503); BARO_FORCE agreement vs llama.cpp min 98.4%, mean 99.7% (19 prompts); lanes merged to main: lane-tokv3 7e7f6b3 + lane-metis-kern 5e9d7d8, preflight PASS 49d0a5ae8fc3 (GPU run-tests not run after the merge). Fix 51ca2cd: a failed turn is a failed row.

2. Sleep paper (arXiv 2606.03979) on Metis

"Language Models Need Sleep" (Behrouz et al.). Prereg 6d54e88 froze wake, consolidate, dream, gate. The round is NOT closed: no report, drivers stopped (Brain mojo-baro/2026-11-21-metis-lane-eod).

ACTIVE PHASEbaro.apk (Xiaomi, Flip4)tools/baro serve, toolgate runs SCISSORSsleep-select: fragile turnssleep-cut: N sessions / error rate / night CONSOLIDATION (NREM)low-rank experts, KL to start modelteacher filter, merge DREAMING (REM)self-made tasks on weak familieschecker + ReST-EM keep CYCLE GATEno forgetting, learned, no harmfail: keep yesterday's Metis BACK TO WORKmerged Q8_0 ggufphones + serve
Plan docs/plans/2026-11-21-metis-sleep-loop.md (3e12363), reviewed by agy (PASS with bounds) and codex. Not claimed: any gain. Prior: plain self-distill gave no signal twice.

Arms and amendments

armwhatregistered
A0control: rehearsal 70% + same number of unfiltered own episodesprereg
A1consolidate: rehearsal + teacher-filtered episodes, one roundprereg
A2sleep: A1 then up to 3 dream rounds, each kept only if toolgate dev (16 rows) rises, else rollbackprereg; amendment 1 adds a dream falsifier (4 most common normalised questions > 70% of dreams = REM falsified, A2 not run)
A3A1 episodes + 3,000 app-toolset rows (apptoolgen.sh, web_fetch held out)UNREGISTERED, amendment 1
A4A1 + verified calc reference rows for families with keep rate < 30%UNREGISTERED, amendment 1
A4bA1 + 2,133 calc rows written by gpt-oss-120b (Kaggle teacher)UNREGISTERED, amendment 2
A5rehearsal 50% + reference rows 20% + A1 episodes 30%UNREGISTERED, amendment 1
A6K5a: A1 data line through the sleep-trainer path (frozen base, rank-64 expert, KL 1/3, router-free), merge bar max |dlogit| ≤ 1e-3UNREGISTERED, amendment 3

Frozen bars (A1/A2): toolgate ≥ 53/56 (median of 3 seeds), max calls per message ≤ 2 (start model 223), app check ≥ 3/8 (start 0/8), test_bpb rise ≤ 0.5% vs 1.2951, A2 - A0 > 0 on all 3 seeds. "A missed bar stays missed."

Results so far

Measured

  • Controls on the final harness path: test_bpb eval reproduces the x4096 RESULT exactly, 1.2950694415526935; toolgate 50/56, max 223 calls (row 42).
  • Wake set (frozen start model, T 0.7, 8 samples x 1,388 families): 11,104 episodes, checker pass 4,875, teacher filter keeps 4,481 (40%). js 2,249/2,704, brain 1,474/1,832, web 699/872 kept.
  • Dev split: 15/16 on GPU and CPU, so A2's keep-if-dev-rises gate has 1 row of room.
  • App replica (host, adapter 2563f13): start 7/8 valid, 2/8 right, 0/8 final; under the app's own tool list the model never closes its think block (0/8 x3).

Failed / missed

  • calc is the hole: 65 of 5,696 pass; Metis calls brain_ask for arithmetic; 343 of 378 runaways (more than 8 calls per message, max 280) are calc.
  • A1 test_bpb about +0.96% MISS of ≤ 0.5% (single runs); second bpb runs moved to Kaggle (UNVERIFIED, jobs still running at wrap).
  • Wake job ran 38 min on the shared XTX against the 300 s rule; a monitor on $! of a setsid fork read a live job as dead and started a duplicate sampler; an 832 MB checkpoint filled /home (192 KiB free).

Not tried / missing

  • A 48-row app-native, family-disjoint dev split (next prereg); no dev row exercises calc or skill_read.
  • Dream rounds beyond the falsifier; GRPO arm; imitation term; synaptic-prune fold step.
  • A1-A6 seed medians vs bars: not reported (round open).

Tools and review trail

3. sleep-trainer (lane merged, f932b88)

Metis Mojo trainer now runs the paper's consolidation step. Report docs/lanes/2026-11-21-sleep-trainer-report.md; every brief gate passed; byte-equal params after 50 default updates; B = 0 gives byte-equal step-0 logits.

142.2 msfrozen base + r64 LoRA per update vs 163.4 dense (-13%), one draw; dense read 156.7 and 163.4 in two jobs
208.2 mswith KL to the start model (one extra forward, about 60 ms)
11,233 MiBpeak VRAM vs 11,706 dense; base Adam moments (581 MB) gone, expert activations about 130 MB
3.4e-5merge: max |dlogit| of folded router-free experts vs expert forward (bar 1e-3), argmax 2048/2048
ms per update (S2048 b8 = 16,384 ids, 80 updates, 20 warm) dense fine-tune163.4 frozen + r64 LoRA (split-K 2)142.2 frozen + r64 + KL 0.5208.2 routed {base, expert} + KL197.8 (VRAM read invalid)
Source: Brain mojo-baro/2026-11-21-sleep-trainer-experts. Split-K 2 on the expert dW (011ebf8) halved the 30 launches that took 12.7 ms per update.

Built

  • Frozen base (FREEZE=1): no base dW kernel, no base Adam, layer 0's attention backward skipped.
  • Low-rank experts on w1/w3/w2 (+ optional wo), XR XE XT XALPHA; router over {base, experts} with per-layer ROUTE stats.
  • KL teacher = the frozen start model, same batch, same update (XKD); experts-only export; fp64 merge (XMERGE=1).
  • Gates G1-G6 (xpert-gate.sh), resume gate, zcmp.mojo.

Findings / failed

  • A finite-difference oracle cannot judge a top-k router: selection flips jump the loss. Router blocks 0.70-0.72 rel error at top-2 of 3, 0.003 with a full softmax, same code.
  • A frozen base alone does not make a rank-64 step cheap: skipped dW GEMMs saved ~31-35 ms of 157, expert ops cost ~40 ms (FLOP floor ~6 ms).
  • The K5/K6 prereg froze a per-token router AND a merged-dense bar; a router is input-dependent and cannot fold. Routed merge refused (rules.md).

Not tried

  • Rank K-concatenation [x | u][W; B] (about 17 ms, DeepSeek ranks first; a claim, chat e81eea18...).
  • Cached top-k teacher logits; router on attention input; load-balance loss; the RL imitation term and dream generator.

Partner reviews: 2026-11-21-sleep-trainer-review.md.agy.md PASS (4 questions: validation checkpoints, gradient accumulation, optimizer stability); codex review beside it. run-tests receipt d126d78: 6 test_text pack failures outside the lane.

4. Neuron work (mojo-neuron, mojo-ablate)

Surgery: no weight edit fixes the runaway loops

mojo-neuron lane-metis-surgery aa462a9, prereg 0541806 + amendment 1a98287, 27.4 GPU-min over 12 shared jobs.

findingnumber
Loop is on the user path only (chat route + grammar); raw /completion does not reproduce row 42gate first messages 3/56 hit the cap (rows 12, 42, 52), dev 34/266
Row 42: "lookup then a lone " (34); healthy rows close with "}} (2166) or "}166-222 parsed calls
Arms (20, six families): ablation, gain, rank-1 implant on loop detector L4 N2052, 80 head ablations, DRY, repeat_penaltynone WORKS
Nearest: steering -0.25*dir3 at L3runaways 34 to 17, KEEP 0.513
Random control vector breaks loops too24 of 34 (and creates 21 new)
Loop-state probeAUROC 0.993 on unseen rows; reads, does not drive

mojo-ablate upgrade (commits 70c26da to a879ffb)

11 to 4 sper trial, one resident spark (2.75x)
0.608KEEP of best arm TN (norm-preserving TPE): runaways 34 to 23, 24/34 fixed, 13 new loops. Bar ≥ 0.80: FAIL
armrunaways (base 34)KEEPfixednew loops
TN TPE best, norm-preserving230.60824/3413
T TPE best, plain330.55622/3421
random direction, same strength330.8364/343
surgery S25 (steering)170.51323/346

Source: the lane's closing message (Brain archive transcript mojo-mojo-baro 2026-11-21_3f286d36; report mojo-ablate/docs/reports/2026-11-21-upgrade.md not opened here). UNVERIFIED by this report: numbers are the lane's own. Proxy trap: on spark's raw route the best edit looked good (12 to 8) and did not hold on the user route.

Implants status

Last measured round (2026-11-20, c3d711d): no training-free key separates Metis facts at the answer position (own-row share bar 0.5 missed by all: 0.089 / 0.086 / 0.078 / 0.000 / 0.086; Recall not run). Subject token cross-fact cosine 0.82 vs 0.998 at the answer. Next: two-position implant, keys-only on CPU. No implant work landed on 2026-11-21.

Prune / regrow lane (lane-metis-prune, d3f7f47, amendment cf89cb1)

cumulative prune of lowest-s units: val bpb delta (log scale) 5e-45e-35e-25e-11.5 K64K128K256K512K1024K2048K3072K4096K6144 +0.00047 (inside floor F = 0.0005)+0.016+0.054+0.161+0.417+1.52
Positions are schematic (log-spaced), values exact. Source: Brain mojo-neuron/2026-11-21-metis-prune. Safe set S = K64 (10 L0, 54 L1).

Measured

  • Census (102,400 val tokens, 14,080 units, eps 1e-4/1e-3/1e-2): 0 dead, 0 rare in every layer; tool-row census (56 transcripts, 31,967 tokens) also 0.
  • 20 random 64-unit ablations: +0.0008 to +0.0024 bpb, all > 0; paired-delta window SD 0.000046, so floor F = 0.0005.
  • Window draw moves absolute bpb by 0.040 (WSEED 1 1.2950694, WSEED 2 1.2548621): only paired deltas mean anything.
  • Kaggle scan B (87 arms + base, T4): 89/89 finite and bit-equal, every group +0.00098..+0.0026 (G148 +0.0076), none ≤ -0.0005. Phase C: S +0.000753 / +0.000626, RS +0.000602 / +0.000521, S worse than random (direction only).
  • P-1 600: test_bpb 1.2938272480744772 twice bit-equal; P0-1 1200: 1.2911174546893105 (one run).

Failed / void

  • P1-1 VOID: regrow changed only gate/up (131,072 values, down 0, moments 0) yet val bpb moved -3.5e-6; fork bar is bit-equal. Hypothesis bf16-WMMA eval path; falsifier = same pair on CPU F32. Not yet run.
  • Page-fault / NaN audit: one silent nan bpb (G0) the same unit set later gave finite 1.016554. Cause found by the eval-flake lane (section 9), not a prune bug. Audit jobs (prune-audit, auditg) were still running at wrap: UNVERIFIED.
  • Scorer trap: trainer allocates b x LAT_S rows; score at S=512 (q4096k1 at b 32 asks 69 GB).

Not tried

  • CPU F32 regrow falsifier; step-3 seeds 1-3 (prune-step3.sh with absolute paths); fetch of the 4 Kaggle jobs.
  • Shared VRAM: eval-only trainer holds 10.7 GB, declare 12.

Partner review: agy prereg-metis-prune.agy.md PASS (gradient-weighted L2 saliency pruning and regrow).

5. Kaggle

Lane metis-kaggle. Prereg docs/plans/2026-11-21-metis-kaggle-prereg.md (5bd53b6, 73f4bd6, 2d5a596, 04c8988, ba4fa41), results c329ec0. Receipts exchange/receipts/metis-kaggle/ (local-only).

stepresultverdict
2: PyTorch twin vs ROCm llama.cpp kld512.base, 8,160 positionsF32 max abs logprob 0.0116, top-1 99.95% on CPU and CUDA T4; fp16 autocast top-1 99.79%PASS
3: 200 updates, same batches (windows.py replays run.mojo's xorshift)it-0 loss diff 8.3e-5, max logged diff 0.00148, final test_bpb 1.352435 vs Mojo 1.353147 (-0.053%). XTX 143.7 ms/update = 6.8x a T4 fp16 update (0.98 s)PASS
4: arms K0 K1 K2 K4 on the XTX, lr per arm (amendment 2)picks K0 3e-5, K1/K2/K4 1e-4; seed spread ~0.04 (pair by seed); K1 ~ K2 ~0.001 under K0 on seeds 2-3; K4 dev_bpb 0.024 at +0.01 test; single runsmeasured, no bar claimed
K5a twin (T4)test_bpb 1.3261581, merge maxdiff 2.48e-5 (bar 1e-3 PASS); it-0 loss 1.7967 vs replay receipt 2.69505probable FAIL of the 0.01 it-0 bar, cause open
Restart converged model at lr 3e-4 with fresh warmuptest_bpb 1.3254 to 1.3531 in both trainersfinding
38models listed by the benchmark-task notebook proxy (amarbaro/new-benchmark-task-a5fb0); CLI-pushed kernels list 0
2,133teacher calc rows kept (2,136 audited) for 0.142 USD (0.0067 USD per 100); gpt-oss-120b; agy review PASS
0 / 30 hT4 x2 quota at the time: queued 55-85 min; the default GPU (a T4) started in 20 s. GPU 00:18 of 30 h used by 19:25 (room-keeper)

Worked

  • Private model amarbaro/metis, variation Gguf/x4096-start-f32; offload of prune scans, K5a twin, torch bpb.
  • Start toolgate on the current harness reproduces 50/56, max 223 calls (row 42).

Failed / retracted

  • I labelled steps 2-3 as P100: the shape is retired and kaggle-cli sends it to the default T4. Retracted (9639df5).
  • AI-credit batch: response_format=json_object through the Model Proxy returned 400 on all 712 calls ("failed to convert config"); JSON mode unavailable.
  • metis-torch v1 died at step 3 (datasets each mount in their own folder); json.dump of numpy int32 crashed after parity; a u.tar dataset is auto-extracted so the kernel missed the tar.
  • Queue limits: max 2 batch GPU sessions; no cancel; delete only.

Not tried / open

  • Pilot (Mojo GPU kernel on T4, llama.cpp CUDA parity) waits for a T4; pilot card unconfirmed (QUEUED, last push 17:24:52).
  • K5b/K6b routed arms; badges (bookmark, collection) are in the lane's to-do (converter script, dataset, notebook, tags): no completion receipt read.
  • Kernels still running at wrap: metis-prune-audit, metis-prune-auditg, metis-sleep-bpb-cpu, metis-bench-cpu (bench is a torch port: UNVERIFIED until base reproduces ARC-E 0.31524).

6. Tool parity

Lane tool-parity (prereg bdfcf74; report in lane worktree, not merged). Spark toolgate 0/56 was retrieval, not rendering.

BARO_NEURONS=1 default+1.2 KB notes per user turn fixed: neurons:falserender 56/56 on 3 engines toolgate B vs L852/56, bar 54: FAIL 2 decode divergences 1 parser, 1 loop row
Brain mojo-baro/2026-11-21-tool-parity. Second hit of this trap (rule + SINDEX entry).
checkresult
render parity, BARO_NEURONS=0 (llama-server vs baro serve): prompt bytes + ids56/56
turn 2 (assistant call + stored tool result)55/55
app cases (w04)8/8
host prompt_sha vs Flip4 prompt_sha64/64 turn 1, 55/55 turn 2
retrieval on, body without neurons (reverse arm)1/56 equal
toolgate: baro same calls vs llama Q8_0 GPU (bar 54)52/56
same vs L8x (slot clamp lifted, row 42 skipped) (bar 53)52/55
raw generation from equal ids, 119 prompts: llama vs baro88 equal, 19 prefix, 12 diverge
Flip4 equals reply text: llama Q8_0 GPU / baro (of 119)115 / 107
Xiaomi vs Flip464/64, 55/55

Brief figure "phone 51/55": not found in the report I read; the report's phone numbers are the Flip4 columns above. UNVERIFIED for 51/55.

Worked

  • New POST /apply-template on baro-serve (text + ids chat_once prefills). metis-parity.sh with VOID guard. --override-kv qwen3.context_length=int:32768 lifts llama-server's 4096 clamp (changed no call).
  • Port-collision audit: every toolgate on shared default port 8795 after 17:40 may have scored another lane's server (aa5d6d2). 13 parts invalidated and rerun on 8861; rerun matched the invalid run on 55/56 rows. Rule: unique port, read model back (/props or sha); busy-port refusal in both engines (9ab7029).

Failed

  • Toolgate bar FAIL. Misses: row 4 and 55 (decode divergence at token 67 and 18), row 12 (parser: unclosed call, llama rewrites to {}), row 42 (loop).
  • Part br not bit-repeatable: three different outputs in B, B2, B3.

Not tried / decisions

  • Int8-activation path in spark (llama quantizes activations; spark f32); compare q8 blocks after undoing the pack layout.
  • Parser policy (copy llama's rewrite or keep baro's drop): Mario's call. Accepting 52/55 would move a frozen bar after the run.
  • K2 serve wiring.

Partner reviews: agy PASS (accepts 52/55, keep drop policy); codex confirms bar FAIL from receipts, final-text split fixed, causal claim narrowed. Final text, B vs L8x (55 rows): 27 equal, 11 share > 10,000 chars before drifting, 17 differ within 2,000 chars.

7. baro.apk

AB-Android worktree baro-ux, branch feat/baro-ux (62 commits today, none merged). Harness doc docs/metis-harness.md. Phones: Xiaomi 6d344501 (6 threads), Galaxy Flip4 R5CTB2LHPDE.

Harness arms H1-H7 (8 fixed prompts, greedy, adapter 2563f13)

tokens generated over the 8 prompts, Xiaomi (lower is better; shipped arm in orange) base3201 H2 dedupe2690 H3 repair3264 H4 skills2738 H6 repeat stop1521 H7 nudge2074 H7 fewshot418 (copies the example) H2+H3+H4+H6 + nudge2170 shipped H2+H3+H4+H6866
Source: AB-Android docs/metis-harness.md. H1 (stop at </tool_call>) changed nothing: the model ends its turn itself (3201 tokens). Both phones make the same calls and answers in every arm.
armvalidrightfinalrunawaysinventeds/prompt (Xiaomi)
base6/82/80/8160.92
H2 dedupe6/82/80/8040.80
H3 repair7/82/80/8170.95
H6 repeat stop6/82/80/8160.52
H7 nudge6/82/80/8030.61
H7 fewshot8/81/80/8010.43
shipped H2+H3+H4+H67/82/80/8030.32

Worked

  • Shipped set: tokens 3201 to 866 (-73%), s/prompt -65%, runaways 0, invented answers 6 to 3. Decode 568 tok/s Xiaomi, 215 Flip4.
  • Q8_0 ARM matmul port (AB-Android 8e4dd9d, daa37d3): ids 3/3 equal host, decode 332 to 518 tok/s with the adapter. Q4_0 dropped for Metis (garbage on phone 0/6, loops on host).
  • Own q8_K quantizer, engine build drops llama.cpp (d7e1b82); tool loop, approval, cards, 7 phone tools (3 to 5 am), Agent-Brain folder, /compact, model sweep "tools: good/weak/untested" mark.

Failed

  • final 0/8 in every arm: the host llama.cpp writes the same text, so it is the model: Metis knows only its training repo tools (run_js, brain_ask) and 5 of 8 prompts want tools it never saw.
  • Nudge halves invented answers but the model parrots it; few-shot is copied (calc 2*3 every time).
  • Gradle trap: parallel sweeps broke Kotlin incremental state (UP-TO-DATE with no classes); fix :baro:compileDebugKotlin --rerun.

Not tried

  • Temperature 0 vs 0.3 (phone engine decodes greedy only).
  • App tool list on a phone: Metis.SYSTEM (training SYS + the app's 11 tools: now, phone, calc, note_save, note_read, note_list, memory_add, skill_read, skill_save, web_search, web_fetch; system turn 59 to 303 tokens) is not yet measured; waits for sleep A3 which trains on it.
  • ctxd + mod runtime native in baro.apk (plan only).

Adapter and phones

8. MoE paging: PC (Betelgeuse clean-room) and mobile

PC: lane moe-paging (not merged; prereg frozen dff8270)

VRAM tier6 GiB expert cachehit 75% (warm repeat) RAM tier16 GB cap, inclusivehit 5% (duplicates VRAM) SSD packexperts.bin, 39 GiBO_DIRECT io_uring 3.2 GB/s missmiss / copy Warm repeat still reads 146 MB/token: policy, not capacity.
One 78-token request repeated: 7,417 distinct experts (11.74 GiB) vs 8,494 slots; the inclusive RAM tier duplicates VRAM. Source: Brain mojo-baro/2026-11-21-moe-paging; report docs/lanes/2026-11-21-moe-paging-report.md, receipts exchange/receipts/moe-paging/, pack format docs/moe-xpack.md.
engine-relative tok/s at 6 GiB VRAM cache, 16 GB RAM cap (UD-IQ1_M; engine below the agreement bar) paged, repeat-warm9.2 to 11.1 paged, cold8.4 to 10.0 unpaged page-cache, cold2.35 unpaged page-cache, warm1.30 Report arm A2 vs B0: 6.49x warm (agy review). 24 GB and 64 GB points are simulated only.

Worked

  • Paging is exact: Q4X_PACK=experts.bin gives the ids of the unpaged path (114 prompt comparisons x 32 ids, 7 arms, 2 passes).
  • Replay simulator runs the engine's policy code and predicts SSD MB/token to 0.2% (A1 191.4/188.7 vs 191.6/188.9). With 39 GiB RAM it predicts 0 MB/token (simulated).
  • Storage: O_DIRECT io_uring 3.5-4.0 GB/s at queue depth 4+, 2.3 at depth 1; 3.2 in the engine.
  • q4x on main ran UD-IQ1_M after amar_q4x_fmv32 (F32 router, inject, SSM alpha/beta).

Failed

  • No SSD-free warm pass with this pager (146 MB/token).
  • Exclusive RAM tier: 20% fewer SSD bytes but slower (140 vs 100 ms/token warm): D2H copy-back is 188 MB/token of PCIe traffic.
  • Inclusive RAM tier smaller than VRAM: 0% hit. Profile from other prompts: helps the first request (160.9 vs 209.9 MB/token), not a 10-prompt pass.
  • Agreement vs llama.cpp 95.31% vs control 98.44% on 128 positions: bar control - 2 pp FAIL by 2 positions; BF16 router rounding gives the same ids, so not the cause.

Not tried

  • Per-block dump diff on p03-story position 1 (Q4X_DUMP=1).
  • RAM tier of distinct experts without copy-back; reads overlapped with the previous layer; P6 routing limit (BLOCKED behind the gate); stripped dense GGUF (the pack is a second 39 GiB copy).
  • wavewait capture of amar_q4x_fmv32, preflight and run-tests before lane-merge.

Mobile (w04, worktree baro-ux)

Flip4 decode tok/s, qwen2moe 32x8 (p1; phone throttles inside a session: compare within a prompt) M1 resident16.45 M1 paged, 25% of records4.99 (hit 54.6%, 111.7 MB/token) M1 paged, 9 records2.07 M2b serial, 224 slots4.75 mean (18 pairs) M2b async, 224 slots6.39 mean: median ratio 1.33x M0 real qwen3moe 4x0.6B Q8_017.4 to 17.8 M2b fair control, equal bytes: 1.33x, consumer wait -66%
M2 (cooler SoC, mixed policy gain): async 1.5-1.6x sync. M2b: equal bytes (5,148 MB decode flash read), consumer wait 5.7 to 1.9 s. Source: Brain AB-Android/2026-11-21-moe-mobile-{m0,m1}, 2026-11-21-moe-m2-async-demand-pager.
milestonegate / numberreceipt
S0b storage, Flip4cold O_DIRECT 1.7 MiB: 1273 MB/s (1 thread), 2031 (4); 4 KiB 28 / 134 MB/s. Xiaomi 2-2.6x faster. io_uring_setup: Flip ok, Xiaomi EACCES3482a3a, 3e9402b
B0 memory ceiling, Flip41, 2, 2.75 GB held 5 min: no app killed (MemAvailable min 1687 / 1160 / 869 MB). 3.5 GB: probe and 46 processes killed by lmkd. Pool ceiling 2.75-3.5 GB; pool default lowered to 1.0-1.2 GiB (agy)s0b-b0.md
S0 sim, real flash-next traces (806 + 833 steps)pools ≤ 768 MiB: 0% hits (817.9 MB/token, Flip 1.56 tok/s). 1 GiB 36%; 2 GiB 51.3% (397.6 MB/token, Flip 5.11, Xiaomi 10.92); 2.75 GiB 59.4% (331.4 MB). Lane sim 387 MB at 2 GiB (2.6% apart). Synthetic Zipf run supersededs0-real-lane-ab.md
M0 toy qwen4exp, ARM q4exp.cFlip4 vs host greedy ids equal 3 x 32, routes equal 82/82/88 layer evaluations; -ffp-contract=off fixed an FMA driftcf02906, 8673e0b
M0 real qwen3moe 4x0.6B in engine.mojoids equal host 3/3; byte-equal to ARM llama.cpp (--no-extra-bufts 1), prefill dumps 28 layers x 9 tensors; 17.4-17.8 tok/s, VmHWM 1.47 GB6f73f93..1582e8f
M1 qwen2moe 32x8 + sync pagerids/routes/weights/logits byte-equal at 25% pool and 9-record pool; pins never violated; VmHWM 1.55 vs 0.91 GB868b55f, 28ba664
M2 async demand pager (engine d0a2056b)9 slots + 15 faults: 2911 cancels, 1912 stale drops, 6059 injected short reads retried, all hazard counters 0; async 1.5-1.6x sync in 9 of 9 pairs; p99 token 151-161 vs 226-298 ms; staging memory added nonem2-gate.log
M2b lifecycle + fair control (engine 405f6f12)8 harness cases PASS (timeout 402 ms for 400 ms, 12 teardown/reopen cycles fd count stable, 240 cancels = 219 queued + 21 running); 36/36 ids equal M1; host TSAN clean; steady state 6.39 vs 4.75 tok/s7313958
App integration (baro-ux 701ce08 + life + sustain)real app chat reply 512 ids equal resident serve_app; 5 Stop+resend cycles: child PSS 1030 MB flat, app PSS +3 MB/cycle (unexplained); 160-token pairs: async 5.5 tok/s flat vs serial 5.05 to 3.76 (degrades); 0 LMKD kills; SoC 70-75 C.work/moe-mobile/app/

Failed / surprises

  • Phone llama_ref default weights go through KleidiAI Q8_0 (row-wise int8), 12% off the host at layer 0: use --no-extra-bufts 1. Mojo fuses acc + t*w into an fma across statements; ARM router dot order differs from x86 tinyBLAS.
  • First B0 dry run: adb-shell processes start at oom_score_adj -1000 (unkillable); b0 now sets 0.
  • Stop only honoured after prefill (4.5-5.1 s mid-prefill: UX gap). agy BLOCKED the plan's 3 GB RAM pool and the 27.5 GB P5 embedding trap in qwen4exp.
  • A gate script missing --layout 48 cost a 2.9 GB push.

Not tried

  • Thermal steady state beyond 8 runs, Xiaomi pager runs, worker-count sweep (4 only), prefill > 1 token overlap, baro_pg_get sync-path fault injection.
  • Real flash-next (K-quants Q4_K/Q5_K/Q6_K/BF16, PLE, QSA indexer, MTP): T0 open.

Partner reviews (agy, 15 today): S0b/B0/M0 PASS, M1 PASS (3 x 64 bit-exact), M2 PASS (1.5-1.6x, 9-slot fault gate), M2b PASS (honest 1.33x). Real app RSS cannot exceed ~2.0-2.5 GB without LMK kills. DeepSeek small-MoE search: chat 2dc7bc6c... (a claim).

9. GPU room

8 of 15evals bad beside 4 active llama-bench HIP processes: 4 NaN, 1 page-fault abort, 3 silent wrong finite values (pre-K1 binary: 5 of 8)
70 / 70bit-equal with at most one co-runner; 203 eval-only runs, 0 NaN, 0 fault under cap 2
cap 2gpu-waitd MAX_ACTIVE_JOBS (env GPUWR_MAX_ACTIVE). Backup in Brain OS/backups/gpuwaitingroom-0.6.0-2026-11-21

Findings (lane-eval-flake, head 8b13330)

  • Kernel log signature: sq_intr: error, type 2 (or 1), priv 1 then [gfxhub] page fault. priv = error inside the trap handler (kfd_int_process_v11.c), the CWSR wave save/restore on preemption.
  • The card has 8 hardware compute queues; each llama process holds 5-6 KFD queues, the trainer 2.
  • Not VRAM pressure (14.7 GB peak, GTT flat), not an uninitialized read: hip_poison.c (LD_PRELOAD NaN fill + 2 MiB red zone) gives the same bits.
  • Tools: hip-corun-repro.sh (repro and gate for a driver fix, run alone, --vram 24), hip-poison-gate.sh (PASS with its mutant).

Open / failed

  • Cap counts jobs, not HIP processes (one job can start several).
  • Driver side, Mario's call (load-time amdgpu parameters): sched_policy=1, hws_max_conc_proc, cwsr_enable=0. DeepSeek answer (a claim; only the priv comment verified): chat a1ff051a...
  • lane-eval-flake NOT merged: bench/preflight.sh and lane-merge not run (lane touches lmodel.mojo).
  • My mistake: told every lane to prefer shared jobs; the hazard arm (4 fillers built to break the card) then ran shared beside tool-parity-B2 (rule 8b2ad1c).

Fairness rules written

  • Shared jobs stay under 300 s (951ac7a toolgate one job per kind); hazard and timed jobs never share the card.
  • Sleep train and bpb at priority 80 (boss); sleep gates on CPU F32 when the queue starved.
  • gpu-wait: absolute paths, --label not --title, no bash -c with variables (re-shelled), stop wrapper loops before killing drivers; --room cpu for CPU builds (GPU room queue was 1.5 h).
  • gpu-room-watch also alerts at GPU junction/mem ≥ 100 C (iTools 7112eaf). User unit gpu-room-watch runs on w0T:p1.

10. Process

Pane fold, morning to evening: from 11 panes to 6 (boss + w04 + 2 lanes + 2 partners) 11 panes, morning 6 panes: me, w04, 2 lanes, 2 partners Roster of the 11: UNVERIFIED (only the fold sentence is sourced)
Lane pane w0T:p2 adopted sleep arms + Kaggle hub + prune scan; handoffs in mojo-baro .work/handoff/ (metis-lane, metis-kaggle, metis-prune, moe-paging, room-keeper, tool-parity). Source: lane transcript line "From 11 panes this morning to 6 now: me, w04, 2 lanes, 2 partners" (Brain archive, mojo-baro).

Partner workflow protocol

  • ~/Brain/protocols/lanes/partner-workflow.md: memory same turn, toolscript updates by any lane, questions go through DeepSeek (search + DeepThink on, 600 s timeout, close the tab), codex and agy are brainers: every prereg before freeze, every report before DONE, any blocker.
  • agy wrap-up: 15 formal reviews across 5 worktrees (list in Brain mojo-baro/2026-11-21-partner-wrapup-agy). Merge status: sleep-trainer merged f932b88; moe-paging, tool-parity, baro-ux, eval-flake NOT merged.
  • Shared server ports rule after the 8795 collision (section 6).

DeepSeek fixes (amarbaro-devtools)

  • IPv6 [::1] host fix (40c8d5c).
  • History-API completion: DOM turn-completion detection failed; deepseek.py now polls the history API every 5 s, timeout=600, mandatory tab close (cea0fa0).

Toolscript, wiki, OS

  • Toolscript presets: any lane may add or fix presets (protocol 2); preset list changes today: no receipt read.
  • Wiki harvest 2026-11-21 (3 haiku readers, sources cited, not re-verified): brief says +92 transcripts and +46 papers; sections in wiki.html. Rule: a lane report without its wiki line is not done.
  • OS: ComfyUI-v0.43.0 retired, about 114 G freed (4.3 G to 118 G free, iTools d27848e); w0t-resume user unit resumes the overnight pane after a reboot (not test-fired); gpu-room-watch unit; Xiaomi stay-awake.

Mistakes to rules (docs/rules.md in mojo-baro: 42 lines added, each with its SINDEX entry)

what brokerule
Step-time job read same-arm repeats 3-21% apart vs a frozen < 1.5% predictionone start per arm is not a noise bound; repeat inside one job
Spark megakernel passed tokens and forced agreement, failed bytes on ~1 token in 5a byte dump gates a numerics port, not agreement
warp.shuffle_xor counted from source as 122 LDS instrs; ISA had 186count from ISA, not source; take the ISA receipt before queueing a GPU arm
Monitor watched kill -0 $! of a setsid fork; another read jobs finished by pgrep -f on a log pathsetsid liveness probe; poll the gpu-wait job, not a process name
832 MB checkpoint filled /home (192 KiB free)disk preflight before checkpoint writes; delete per-arm checkpoints
Wake sampler ran 38 min shared; sampler OOM blamed on llama-server, was cois recall (2.5-3.7 GB per query)shared GPU sampler jobs under 300 s; look inside before raising caps; brain_ask 60 s cap
Toolgate on default port 8795 scored another lane's serverunique port, read the model back, refuse busy port
Amendment 3 cut mix-dev from a range the model had trained on (0.459 vs 1.639 bpb)dev slices checked against the start model's training range
Kaggle: P100 label for a T4 run; fallback "not applied" from a QUEUED status; JSON mode 400read the remote card first; smoke call before an off-machine LLM batch
MoE paging identity passed with only a reference file; tool parity with two empty call listsvalidate the expected arm / pass / case (rule 18fe02d: independent parity evidence)
I read "hercule" as a second machine and ran ssh herculerun hostname before reaching a named machine
Commit bodies with line counts typed before wc -l (twice)count pasted from the tool; commit-msg-counts iTool (7418848)
K5/K6 prereg froze a per-token router AND a merged-dense barrouted merge refused; routed runs export experts + router
Step-3 parity and step-4 arms written before reading the training protocolprotocol read before the first training command (3536a6e)

11. Not tried and open items, ordered

  1. Fetch the 4 running Kaggle jobs (kaggle kernels output amarbaro/<id> -p .work/kaggle/out-<id>); check bench base vs XTX; sleep arm-minus-base deltas.
  2. eval-flake lane merge: preflight in the lane, then lane-merge --report docs/lanes/2026-11-21-eval-flake-report.md lane-eval-flake. Then Mario's driver-parameter call (cwsr_enable, sched_policy).
  3. Prune: P1 regrow falsifier on CPU F32, then amend or fix, then prune-step3.sh seeds 1-3.
  4. Sleep round: rerun metis-sleep-round.sh arm X s per arm (resumes from DONE markers); report; phone GGUF; 48-row app-native dev split.
  5. Loops: per-message call cap in the harness, repetition/value-length stop, training data with single calls (surgery and ablate agree the weights do not fix them).
  6. K5 it-0 gap (1.7967 vs 2.69505); seq3 picks to export + toolgate (port 8797); K4 appcheck.
  7. Tool parity: int8-activation path decision, parser policy (Mario), K2 serve wiring, merge of lane-tool-parity.
  8. MoE PC: p03-story dump diff, no-copy-back RAM tier, wavewait capture, preflight, P6 behind the gate.
  9. baro.apk: app-process pager run, Xiaomi, session export, app tool list on a phone, ctxd + mods plan (brief .work/briefs/apk-ctxd-mods-plan.md not sent).
  10. Sleep loop: first manual cycle with a real rollback before any automation.