Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienux/blob/main/docs/ALLEN_PRESENCE_RESEARCH.md # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienux / docs / ALLEN_PRESENCE_RESEARCH.md` 234 lines ยท 13180 bytes Raw Blame History Rendered 1 # Allen's presence: what the sources say, and what I built from them 2 3 Research note for the Allen window in the test-computer kernel 4 (`native/kernel/ui/`), written against primary sources. Each claim names the 5 source that owns it. Where a source says nothing, that is said too. 6 7 Question asked: *how do you think outside the box, and does speaking a thing 8 into existence make it come true?* Then: *what should the interface of an 9 agent look like if it is not chat bubbles, tabs and endless scrolling?* 10 11 ## 1. Speaking things into existence 12 13 ### 1.1 Words that do things (Austin, 1962) 14 15 J. L. Austin, *How to Do Things with Words* (the 1955 William James 16 Lectures, Oxford University Press 1962), Lecture I: some utterances do not 17 describe anything and are not true or false; saying them *is* doing the 18 thing. His examples: "I do" at a wedding, "I name this ship the Queen 19 Elizabeth", "I bet you sixpence". He calls these **performatives**. Lecture 20 II lists the conditions under which a performative works: there must be an 21 accepted convention, the right people and circumstances, and the procedure 22 must be carried out completely and correctly, or the act "misfires". 23 24 What this owns: within a convention, a sentence can bring a state of affairs 25 into being. Outside a convention it cannot. Naming a ship works because a 26 whole practice stands behind it. 27 28 ### 1.2 Saying the plan makes the plan happen more often (Gollwitzer, 1999) 29 30 Peter M. Gollwitzer, "Implementation intentions: Strong effects of simple 31 plans", *American Psychologist* 54(7), 1999, pp. 493 to 503. An 32 **implementation intention** is a sentence of the form "when situation X 33 arises, I will do Y". Across the studies reviewed, people who formed such a 34 sentence completed the intended action far more often than people who only 35 held the goal. The paper's explanation: the sentence hands control of the 36 action to the situation, so it starts without a fresh decision. 37 38 The 2006 meta-analysis (Gollwitzer and Sheeran, "Implementation intentions 39 and goal achievement", *Advances in Experimental Social Psychology* 38, pp. 40 69 to 119) puts the effect across 94 studies at a medium to large size 41 (d = .65). 42 43 What this owns: spoken or written intentions change what the speaker does 44 next. They do not act on the world directly; they act on the speaker. 45 46 ### 1.3 What the sources do not say 47 48 No primary source consulted claims that speech changes physics. The claim 49 "speaking it into existence makes it come true" is true in two honest 50 senses and false in one: 51 52 - true as a performative: inside a convention, saying it makes it so 53 (Austin); 54 - true as an intention: saying the plan out loud makes you carry it out 55 more often (Gollwitzer); 56 - false as magic: no measured effect of words on events the speaker cannot 57 reach. DOCS SILENT on any such effect. 58 59 ### 1.4 How Allen uses this 60 61 Inside Allen's window every sentence is a performative, because the 62 convention is built in. "Call yourself Nova" makes him Nova, on disk, from 63 then on (`svc/allen_reply.c`, `svc/allen_memory.c` version 3). "Remember my 64 car is red" makes it remembered. "Goodbye" puts the computer to sleep. 65 Nothing is a request that goes into a queue; the saying is the doing, and 66 the window shows the doing (the line rises into him, the water turns, he 67 answers). That is the honest version of speaking things into existence: 68 build the convention so the words have somewhere to land. 69 70 ## 2. Thinking outside the box 71 72 "Outside the box" is a phrase from the nine-dot puzzle (join nine dots in a 73 three-by-three grid with four straight strokes without lifting the pen; the 74 strokes must leave the square the dots suggest). The puzzle is in Sam Loyd's 75 *Cyclopedia of Puzzles* (1914, p. 301, as "Christopher Columbus's egg 76 puzzle"). The experimental literature on it, Weisberg and Alba, "An 77 examination of the alleged role of 'fixation' in the solution of several 78 'insight' problems", *Journal of Experimental Psychology: General* 110(2), 79 1981, pp. 169 to 192, found that telling people the strokes may leave the 80 square helped very little by itself; what helped was experience with the 81 specific move. The lesson the source owns: the box is not a mental habit you 82 can be talked out of; it is a lack of the concrete move. New moves come from 83 building and trying, not from exhortation. 84 85 For the interface this meant: do not redesign chat; build the thing that is 86 not chat and see what it needs. Section 3 is what it needed. 87 88 ## 3. An interface that is not chat 89 90 ### 3.1 Calm technology (Weiser and Brown, 1996) 91 92 Mark Weiser and John Seely Brown, "The Coming Age of Calm Technology", 93 Xerox PARC, 5 October 1996 (later in *Beyond Calculation*, Springer 1997). 94 Calm technology "engages both the center and the periphery of our 95 attention, and in fact moves back and forth between the two". Their 96 examples: an inner office window, and Natalie Jeremijenko's Dangling String, 97 a plastic cord that twitches with network traffic. Three claims they make: 98 information should live in the periphery until needed; moving it to the 99 centre and back should be easy; the periphery is where you can "attune to 100 many more things". 101 102 Allen's window is built on this. The sky, the galaxies and the water are the 103 periphery: always moving, never demanding. Allen himself is the centre, and 104 a typed line moves attention there and back without a mode change. There is 105 one bar, one voice, no tabs and no history to scroll: what was said rises 106 into him and is kept by him (notes, memory), not stacked on the screen. 107 108 ### 3.2 Smooth change, not cuts 109 110 Every change of state in the window is a movement over time with an eased 111 curve (`toward()` and the fluid weights in `ui/allen_ui.c`, `ui/flow.c`): 112 the dusk when sleeping (section 3.3) and the dawn when waking (0.9 s), the shift 113 between idle, listening, thinking and speaking as a blend of weights over 114 0.7 s, the words rising and fading. No frame is a cut. The requirement came 115 from the brief (transitions "part of the experience"); the method is 116 Weiser and Brown's periphery: a cut forces attention to the centre, a flow 117 does not. 118 119 ### 3.3 Goodbye: the event horizon 120 121 "Goodbye" is the one performative that ends the session, and the brief asked 122 that it be seen: everything on the screen drawn into the black hole in the 123 middle, the accretion disk at its most beautiful, then black, then the panel 124 off. The dusk (`horizon_at()` in `ui/allen_ui.c`, `ck_night_fall()` and 125 `ck_night_base_from()` in `ui/night.c`) lasts 4.2 s and is built from three 126 things the sources own: 127 128 - **Where the light falls from.** The picture on the screen at the moment 129 of goodbye is kept (with copies at half, quarter and so on down to a 130 thirty-second of its size, so that light crowded a hundredfold is averaged 131 rather than picked at random). A pixel at distance r from the hole then 132 shows what was at sqrt(r^2 + F), F growing from 0 to the square of the 133 distance to the farthest corner by 3.4 s. That is free fall with a speed 134 proportional to 1/r (the radial part of a drain), integrated: r^2 falls 135 linearly in time, so the sky barely stirs far out and rushes near the 136 hole. The turn is a fixed part of a turn per doubling of the distance 137 fallen from (angular momentum kept: the azimuthal speed also goes as 1/r, 138 and its integral is a logarithm), eased off further out so the edges of 139 the picture do not visibly rotate. Past the screen's edges the sky is 140 mirrored, so stars keep arriving and no edge is seen falling in. 141 - **Why it brightens.** Light that has been crowded in is drawn brighter 142 (up to four times, warmer as it brightens), so the inner spiral glows as 143 the matter arrives: the disk is made of the picture. On top of it a smooth 144 disk is added by distance from the shadow: dark inside 1.15 shadow radii 145 (the gap between a black hole's photon ring and the inner edge of its 146 disk), brightest at 1.5, dying away by 3.3, warm white at the inner edge 147 (255, 222, 180) through gold (255, 212, 150) to the blue of the sky's own 148 glow (150, 170, 255), brighter on the side turning toward the eye (the 149 Doppler beaming every picture of an accretion disk shows), with a thin 150 bright photon ring at 1.06 shadow radii. 151 - **How it ends.** From the disk's height (2.8 s) the picture's light is let 152 go, quickly at first and gently at the end (1 - (1 - t)^3), the edges of the 153 screen ahead of the middle; the disk dims from 3.1 to 3.9 s while the shadow 154 grows over it; at 4.2 s every pixel is black and nothing moves. Waking is 155 the plain 0.9 s dawn: the sky returns, there is no spectacle in reverse. 156 157 The lens machinery of the startup's merging holes (`lens_at()`) bends the 158 light round the shadow as before. Everything is integer: distances come 159 from 2^(log2(r^2) / 2) with the existing log table and a 256-entry table of 160 2^(k/256), so no square root is taken per pixel. The whole screen moves in 161 every frame of the dusk; near the hole every pixel is worked out, further 162 out two at a time each way. Receipts: the host window test 163 (`scripts/ck_allen_ui_test.sh`) renders six frames through the dusk and the 164 closed horizon (`target/native-kernel-allen-ui/allen-8-horizon-*.png`), 165 checks that after the disk's height the light only falls, that the middle 166 is brighter than the edges mid-dusk and that the last frame is pure black, 167 and prints the dusk's own frame times next to the whole run's (the numbers 168 of the run that landed this are in the branch's handoff). 169 170 ## 4. The water: Stam's stable fluids 171 172 Jos Stam, "Stable Fluids", *SIGGRAPH 99*, pp. 121 to 128, and "Real-Time 173 Fluid Dynamics for Games", Game Developers Conference, March 2003. The 2003 174 paper gives the whole solver in about a page of C: `add_source`, `diffuse` 175 (Gauss-Seidel relaxation, unconditionally stable), `advect` (semi-Lagrangian: 176 trace each cell's centre back along the velocity and sample), `project` 177 (a Poisson solve for pressure, subtracted so the field is divergence-free), 178 with `set_bnd` for the walls, and the velocity step 179 diffuse, project, advect, project, then the density step diffuse, advect. 180 181 `ui/flow.c` is that solver in 16.16 fixed point (the kernel has no floating 182 point in the drawing path), on a 64 by 36 grid with a one-cell border, ten 183 relaxation sweeps, stepped every 16 ms with catch-up and a cap of eight 184 steps per frame. Three things are mine, not Stam's: the forces (an idle 185 turn with a breath, a thinking vortex that deepens over four seconds, a 186 listening current from the bar up to Allen, rings when words come), the ink 187 sources (a trickle from the heart, a ring round him while he thinks, motes 188 from nowhere so the water is never empty), and the colour (cool blue to warm 189 white by local speed). Receipts: the host window test 190 (`scripts/ck_allen_ui_test.sh`) prints the frame times; with the water, one 191 host core draws a 3840 by 2160 frame in 17.7 ms on average against 9.2 ms 192 without it (run of 2026-10-18, 3912 frames). The kernel draws with three 193 cores in strips. 194 195 ## 5. Allen and the far-off worker 196 197 Allen does not become a language model. He stays what he is on this 198 computer (greetings, memory, notes, facts, by heart) and, when a line is 199 beyond him and a courier is ready, he writes the job himself 200 (`svc/allen_intent.c`): what is wanted (make, explain, do, chat), who he is, 201 who asked, and the shape the answer must take, then keeps thinking (the 202 vortex deepens) until the answer comes back and he says it. The worker never 203 speaks to the person; Allen does. The courier is a line each way on a wire 204 (`svc/courier.h`); the first wire is the second serial port 205 (`x86/courier_x86.c`, PC16550D datasheet: LSR bit 0 Data Ready, bit 5 THRE), 206 relayed on the host by `crates/allen-courier` (standard library only) to a 207 chat server. Ethernet follows once the card may receive (aienos#411). 208 209 This is the prompting Allen was taught: not a template he fills, but the 210 three parts of a good instruction, which the sources above also point at. 211 Say who is speaking and to whom (Austin's convention), say the shape of the 212 act wanted (Gollwitzer's "when X, do Y"), and keep the periphery quiet 213 (Weiser and Brown): short sentences, no lists, no headings, in his voice. 214 215 ## Sources 216 217 - Austin, J. L. *How to Do Things with Words*. Oxford University Press, 1962 218 (Lectures I and II). 219 - Gollwitzer, P. M. "Implementation intentions: Strong effects of simple 220 plans." *American Psychologist* 54(7), 1999, 493 to 503. 221 - Gollwitzer, P. M. and Sheeran, P. "Implementation intentions and goal 222 achievement: A meta-analysis of effects and processes." *Advances in 223 Experimental Social Psychology* 38, 2006, 69 to 119. 224 - Loyd, S. *Cyclopedia of Puzzles*. 1914, p. 301. 225 - Weisberg, R. W. and Alba, J. W. "An examination of the alleged role of 226 'fixation' in the solution of several 'insight' problems." *Journal of 227 Experimental Psychology: General* 110(2), 1981, 169 to 192. 228 - Weiser, M. and Brown, J. S. "The Coming Age of Calm Technology." Xerox 229 PARC, 1996. 230 - Stam, J. "Stable Fluids." *SIGGRAPH 99*, 121 to 128. 231 - Stam, J. "Real-Time Fluid Dynamics for Games." GDC 2003. 232 - National Semiconductor, *PC16550D Universal Asynchronous 233 Receiver/Transmitter with FIFOs*, Table II and section 8.5 (recorded with 234 `docs-read` on 2026-10-18).