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 / native / omega / allen / PRESENTATION.md
| 1 | # L756 application presentation binding |
| 2 | |
| 3 | Next attachment within L694 checkpoint5: use the qualified application, scene |
| 4 | normalizer and code-row layout instead of another parser or scripted UI. |
| 5 | No change to L748 provider source while its independent review is running. |
| 6 | |
| 7 | `dask(now)` and `drecv(now)` call appask/appreceive respectively, preserve their |
| 8 | boolean admission result, then project only accepted event1 into presentation. |
| 9 | `dpresent()` consumes current Answer/R/A; it is called once per accepted event, |
| 10 | never to replay stale A2 after a failed operation. It returns true when a scene |
| 11 | or completed-code snapshot was updated. A rejected/hidden/empty answer leaves |
| 12 | the last accepted scene visible; it does not clear the display. Ordinary words |
| 13 | use the existing bounded plain fallback. Existing SAY folding/159-byte limit |
| 14 | remains; this does not establish multiline 2048-byte model scene transport. |
| 15 | |
| 16 | Scene snapshots: Ds[8], Dt[64], Dtext[2304], Dsay[1]. Dm[0] scene valid, |
| 17 | Dm[1] completed code valid, Dm[2] last successfully projected conversation ID. |
| 18 | A validated completed-code event copies Code into Dcode[32768] and the existing |
| 19 | 80-column/4096-row layout into Dstart/Dlen/Dline[4096], Dview[rows,top,bytes]. |
| 20 | An in-progress/new/refused reply cannot corrupt the previous completed snapshot. |
| 21 | Code bytes are retained independently because codebeg/codetake reuse Code. |
| 22 | |
| 23 | Input In/Inlen and offered Outb/Outlen/Err must survive presentation exactly. |
| 24 | Decoder scratch Sc/Things/Stext and view scratch may change; renderer consumers |
| 25 | must read the retained D* state. Pending transport state is never acknowledged. |
| 26 | `dreset()` calls appreset and zeros all retained presentation buffers/metadata; |
| 27 | conversation/wire counters retain the existing reset contract. No fabricated |
| 28 | answers, fonts, pixels, display device, disk or live socket implementation. |
| 29 | |
| 30 | Qualification: compilable native stub RED, direct state checks and actual |
| 31 | ASK->courier LINE->drecv integration including pending offers, code completion, |
| 32 | invalid/hidden payloads, new-code mutation isolation and reset. Compile via the |
| 33 | pinned191b776e seed; add only module/test paths to the existing host build gate. |
| 34 | All behavioral decisions stay Omega. Independent review follows source freeze. |