interplane.Get Omega
Read in your language

aienux

Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.

Brought by drakestapleton

branch main Branches Tags History

aienux / evidence / allen_through_the_model_2026-10-19 / HANDOFF.md

113 lines · 10959 bytes Raw Blame History Source

Allen through the model (2026-10-19)

Goal (Drake, 2026-10-19): every line typed to Allen on the real iMac is answered by our own model server on the Spark (aien-serve-http, 127.0.0.1:18091, qwen3.8-27b-fp8), in Allen's voice, with his memory in the prompt, and every exchange is kept as his learning record. Allen's own canned lines stay only for goodbye, the naming exchange (the very first meeting), and "I lost my thread" when the model cannot be reached.

Plain summary: it works end to end in the emulator (QEMU) with the real 27B answering. It has NOT run on the real iMac. The part that carries the words over the iMac's network chip (receive side of the Broadcom driver) has never run on that hardware, so it is the most likely thing to need a fix on the first boot.

Disk state (worktree and branch)

Commits (newest last; every one pushed)

  1. 8e74e25 checkpoint of the earlier agent's unfinished work (it died at the account limit; none of it had been built as a whole)
  2. 364b5dc courier fixes + host test over UDP + model-first greeting
  3. 7c82421 keep the kernel waiting while the model is busy (WAIT every 2 s), failed answer is Allen's own line, relay launcher
  4. 61016a6 UDP host test can wait longer for a busy model
  5. (last) crumbs recompiled with the pinned tool d0f0b95, evidence folder, no code change

What was built

Bugs found and fixed by actually running it (the earlier agent had never built it)

  1. Relay did not compile (a closure held the wire while it said WAIT).
  2. Kernel courier read the message kind at offset 33 instead of 39, so it would never have heard HI, ACK or LINE.
  3. Kernel courier used clock | 1 as a "not zero" flag, which can put a time one tick ahead and wrap now - then.
  4. Relay resent answer lines with an empty run id; the kernel ignores those.
  5. A shared model server held the request for minutes with no word back, so the kernel gave the job up after 30 s: the relay now sends WAIT meanwhile.
  6. Makefile defined CK_COURIER_PEER_STR twice.
  7. A failed answer used to be saved as a note ("said: the far side had nothing to say"); now it is Allen's own line and no note.

Tests and numbers (all real runs; evidence in evidence/allen_through_the_model_2026-10-19/)

Head 61016a6 for code (later commits add only crumbs and evidence). Spark, rustc 1.98.1, gcc 13.3.0.

NOT tested

Drake's instruction (one line, then what to look for)

Shipping is ONE bundled image with the sibling branches (one boot per bundle), so nothing was pushed to the netboot spool. When the bundle is built from the lab build (make imac-kernel CK_X86_REPORT=1):

  1. On the Spark: bash ~/workspace/aienos-allen-model/scripts/allen_courier_up.sh (starts the relay; stop it later with pkill -f 'allen-courier.*--udp 47033').
  2. Stage the bundle with scripts/ck_imac_netboot_push.sh <path>/IMACKERN-LAB.EFI (back up next.job first), press the iMac's power button once, type a line to Allen (anything but goodbye). Report lines to look for (in ~/.local/state/aienos/imac-netboot/reports/): courier: Ethernet to the far side on UDP port 47033 ..., courier: ready, the far side said hello, screen: Allen asked the far side (N characters in, M in the job), screen: the far side began job 1 after N ms, screen: the far side answered job 1 (N characters out, P parts, T ms), allen_memory: note N (the exchange) saved in N ms. On the Spark: ~/.local/state/aienos/allen/relay.log ("courier: udp: hello from a kernel, run ...") and today's file in ~/.local/state/aienos/allen/conversations/. If "ready, the far side said hello" never appears, the likely cause is the chip receive path; the same boot's net_tg3 and courier: report lines say which side was silent.