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 / docs / superpowers / specs / 2026-10-23-allen-omega-design.md

45 lines · 2714 bytes Raw Blame History Rendered
1# L694 Allen Omega contract freeze (WIP)
2
3Approved authority: /home/drakestapleton/handoffs/briefs/L694-allen-omega.md.
4Baseline da55660ea7337f2b6a42095fcd1fb6ddebe1cc7c. No master sequencing change.
5
6All new implementation and test programs are handwritten seeded Omega. Shell,
7Git, sed, cat, sha256sum, readelf and quiet-build are external development tools.
8No foreign runtime, generated C, compiler edits, service changes or deployment.
9
10## Contract and source map
11
12* svc/allen_intent.c: JOB/SAY/WAIT, code and code-more vs ordinary model chat.
13* x86/kmain_x86.c code_request/courier_step: one outstanding job, immediate code
14 acknowledgment, stale sequence rejection, 20s slow and 30s silence timeout.
15* svc/allen_code.c: 32768 bytes, 128-byte pieces, 256 slots, IEEE CRC32, 800
16 lines, escaped newline/backslash. Complete code alone becomes displayable.
17* x86/courier_udp{.h,_x86.c}: ALLEN-COURIER v=1, 16 lowercase hex session,
18 1000-byte JOB pieces, 4096-byte job; ordered LINE delivery, duplicate GOT,
19 wrong-session refusal. Protocol core only; no socket attachment.
20* svc/allen_memory.c: AIENALM1, versions 2/3/4; payload 40 + 113*nfacts
21 + (v>=3 ? 24 : 0) + (v>=4 ? 12 : 0). Header64, generation64 at16,
22 SHA256(header[0:32] || payload), zero header24:32 and trailing unit bytes.
23 Facts32 maximum, notes512. AIENNOT1 note length1..127; index, start, gone.
24 Two-copy save writes older, flushes, reads back, then publishes generation.
25* svc/allen_scene.h, docs/ALLEN_CANVAS.md and ui/allen_ui.c: bounded scene,
26 calm sky/presence, no traditional desktop; code row wrapping and scrolling.
27
28## Boundary and intentional changes
29
30Fixed pools, explicit lengths, no pointer/heap/OS provider. Runtime caller supplies
31monotonic milliseconds and session; identity remains Allen unless restored.
32Overflow rejects whole operation rather than silently truncating user/model text.
33Request IDs never reused across reset. Duplicate conflicting pieces rejected;
34malformed numeric overflow rejected. No checksum claimed to authenticate a sender.
35Disk tests use fixed buffers and injected failures, never a physical disk. SHA
36integrity, keyed authorization, and freshness are independent; latter two are
37unimplemented here and are never inferred from a successful SHA check.
38
39## Required unclosed gates
40
41Full legacy semantic/UI equivalence, transcript persistence, qualified native
42provider integration, x86 EFI image, MMIO/interrupt/keyboard/framebuffer/disk/NIC,
43iMac QEMU chat/keyboard/bootdisk and signed physical trial. Seed compiler currently
44emits Linux AArch64 only. FR1/8/9/16 remain with L408; no C bridge may satisfy them.
45Hermes JSON/WebSocket/admission belongs to L690 and is not reimplemented here.