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 / evidence / allen-omega-L694 / L734 / README.md
| 1 | # L734: native application binding |
| 2 | |
| 3 | This increment joins runtime prompt admission, intent/JOB construction, courier |
| 4 | scheduling, CODE assembly and SAY/WAIT consumption in handwritten seeded Omega. |
| 5 | It is an executed provider-facing core, not actual network/device attachment. |
| 6 | The existing development stdio main remains separate. No live service, machine, |
| 7 | physical disk, compiler or kernel provider was changed. |
| 8 | |
| 9 | ## Actual results |
| 10 | |
| 11 | `full.log`, `full.exit` and `counts.json`: 1253 native checks pass, including |
| 12 | 161 application checks. Nine separately compiled behavioral mutants are rejected: |
| 13 | stale3, CRC2, hash2, readback7, session1, keepalive40, ACK-stop27, pending-wire1, |
| 14 | application-CODE3. Each executable was built through the pinned compiler and |
| 15 | checked for nonempty static AArch64 EXEC before execution. Memory and stdio |
| 16 | goldens, and the overflow refusal regression, remain passing. |
| 17 | |
| 18 | `source.sha256` was checked against the current source bytes before this commit. |
| 19 | `binaries.sha256` inventories actual compiled executables in the fresh handoff |
| 20 | output directory. Build orchestration and log/hash collection use existing host |
| 21 | tools; product and executable test/probe logic are Omega only. |
| 22 | |
| 23 | ## RED/GREEN and construction failures |
| 24 | |
| 25 | - Initial `red.om` did not compile: text identifiers longer than the selected |
| 26 | compiler's eight-byte global-name limit returned error13. Tests were corrected |
| 27 | to the actual grammar. This was not counted as behavioral RED. |
| 28 | - `red2` is a compilable stub: 131 executed assertions,103 failures, exit103. |
| 29 | - Initial real implementation `green1.om` exceeded the selected compiler's |
| 30 | sixteen-slot expression budget (error12). Extracting the retry-admission helper |
| 31 | preserved behavior; `green2` executed133 checks with exit0. The two additional |
| 32 | executed assertions are conditional send-result checks skipped by the stub. |
| 33 | - Pending-output regression: a code-completion LINE could cause saytake to write |
| 34 | AGAIN into Outb while a previously offered JOB was awaiting send-result |
| 35 | reporting. `pending-red` executed154 checks with one failure. The application |
| 36 | now preserves the complete outgoing bytes/length/error around reply handling; |
| 37 | `pending-green` executes154 checks, zero failures. The final compiled |
| 38 | pendingwire mutant independently reintroduces this defect and fails. |
| 39 | - Stale-inner-CODE regression: an accepted current transport envelope containing |
| 40 | an old CODE ID could populate the old assembly buffer during a newer chat, |
| 41 | before heard rejected its logical ID. `stalecode-red` executes161 checks with |
| 42 | three state-mutation failures. The application now validates active code-kind |
| 43 | and assembly/conversation binding before calling codetake. The same cases pass |
| 44 | in the full suite, and the compiled appcode mutant fails those three checks. |
| 45 | |
| 46 | Tests exercise real serialized protocol bytes through the application calls: |
| 47 | chat prompt->JOB->LINE->retained answer, immediate code acknowledgement, |
| 48 | missing-code AGAIN after GOT, distinct conversation/wire IDs, stale inner reply |
| 49 | refusal, complete CRC-checked code before display, cancellation/reset, failed send, |
| 50 | WAIT, slow notice, silence timeout, backward clocks and invalid admission. |
| 51 | |
| 52 | Independent review pending. The earlier completed strict legacy repository suite |
| 53 | is retained in ../parent-strict; it is not silently relabeled as qualification |
| 54 | of this new native source. Native socket/clock/device integration, full portable |
| 55 | parity, x86 EFI/QEMU and physical iMac execution remain open under L694. |