aienux
Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.
Brought by drakestapleton
aienux / docs / design / DOGFOOD-2026-10-20.md
| 1 | # Dogfood: Allen's setup wizard in QEMU, 2026-10-20 |
| 2 | |
| 3 | Status: round 1 done (wizard 660106f3), round 2 (wizard 36cc66cf) waiting for the model server on 127.0.0.1:18091. |
| 4 | This file is a draft until round 2 is in. Tags: OBSERVED (seen in a picture, log or sound file), INFERRED (read from |
| 5 | code), UNKNOWN (not yet checked). |
| 6 | |
| 7 | ## How it was run |
| 8 | |
| 9 | `quiet-build bash docs/design/tools/dogfood-wizard.sh SRC OUT`, QEMU TCG only, no live device. SRC is a `git archive` of |
| 10 | a pushed commit of feat/allen-setup-wizard (L267), never their worktree. Six first runs: intent games and intent AI, |
| 11 | each with the three ways of getting an AI (a model on this computer, an AienOS computer nearby, my own service through |
| 12 | the relay). A picture of every screen, one every 2 s while the night plays, the sound as a .wav, and `steps.tsv` with |
| 13 | when each screen arrived. |
| 14 | |
| 15 | ## Round 1 (wizard 660106f3) |
| 16 | |
| 17 | Result: OBSERVED all six runs reached "done"; wav 1.6 to 2.0 MB each; sound = silence to about 8.9 s, one chirp of |
| 18 | about 0.75 s, peak -3.1 dBFS (70% of full scale, as designed). Screen-to-screen time 3.7 to 4.0 s per key press. |
| 19 | |
| 20 | Faults in the test itself, found and fixed in the script: |
| 21 | - OBSERVED 17 of about 80 screenshots were half-written PNGs (QEMU's screendump read too early; for example |
| 22 | ai-own 08-url, ai-own 09-key-typed, games-local 06-llm). The script now waits for the PNG end marker and drops and |
| 23 | logs any picture that lacks it. Round 1 pictures for those steps are not evidence; round 2 redoes them. |
| 24 | |
| 25 | Rough edges seen in pictures (verify in round 2 against 36cc66cf): |
| 26 | 1. OBSERVED games screen (games-local 05-games): the line "Frames a second: I couldn't measure this yet. I'll tell you |
| 27 | when I can." names something and gives the person nothing to do. Dead end line. Owner L267 (wizard copy). |
| 28 | 2. OBSERVED hello (games-local 01-hello, first picture at 8.0 s): the sky and two holes, no words. INFERRED the words |
| 29 | arrive after the merge (12 s); UNKNOWN whether a person watching 8 to 12 s knows to wait. Owner L266 (boot). |
| 30 | 3. INFERRED from setup_wizard.c @36cc66cf lines 554 and 851: "Paste your key". The kernel has no paste or clipboard |
| 31 | (grep over native/kernel finds none), so the person types about 100 characters by hand. Needs either different words |
| 32 | ("Type your key") or a way to bring it in without typing. Owner L267. |
| 33 | 4. INFERRED setup_wizard.c line 547: "OpenAI-compatible apps" is jargon for a stranger. Owner L267. |
| 34 | 5. INFERRED allen_ui.c lines 271 and 300: hint text is drawn at 150/256 and faint text at 110/256 of full brightness; |
| 35 | measured as drawn, both are below the 4.5:1 contrast DESIGN.md asks for small text. Owner L266 (note sent). |
| 36 | 6. OBSERVED console of ai-own: "the record did not fit; not saved" on every step in wizard 660106f3. The newer |
| 37 | 36cc66cf says it fixes this; round 2 checks. |
| 38 | |
| 39 | ## Round 2 (wizard 36cc66cf) |
| 40 | |
| 41 | Not run yet. Waiting for: a model server on 127.0.0.1:18091 (the 35B, L306; the 30B is retired and is not started |
| 42 | for this) and the shared QEMU lock. A detached waiter retries both. The newer wizard commits (9c8551e7, edc647b5) change |
| 43 | only a README and the crumb, so 36cc66cf is the code to test. |
| 44 | |
| 45 | ## Per-owner list |
| 46 | |
| 47 | Filled after round 2, one ledger note per rough edge with the picture path. |