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 / BLUEPRINT.md

1611 lines · 31188 bytes Raw Blame History Rendered
1# AIENOS — Final Architectural Blueprint
2
3> **REFERENCE DESIGN SNAPSHOT, NOT AN ACTIVE EXECUTION PLAN.** Current AIENOS sequencing is [../ROADMAP.md](../ROADMAP.md). Whole-system sequencing is owned by `aien-spark/aien-architecture/CURRENT_EXECUTION_PLAN.md`. See [PLAN_AUTHORITY.md](PLAN_AUTHORITY.md).
4
5## 1. The final vision
6
7AIENOS is an agent-native operating system.
8
9The end state is a machine where the user presses the power button and AIEN wakes up directly.
10
11Not:
12
13Windows → AIEN application.
14
15Not:
16
17macOS → AIEN application.
18
19Not:
20
21Ubuntu → desktop → containers → Python → HTTP server → AIEN.
22
23The target is:
24
25```text
26Power
27 ↓
28Firmware
29 ↓
30AIEN Boot Trust
31 ↓
32AIENOS
33 ↓
34Hardware
35 ↕
36AIEN Runtime
37 ↕
38Persistent AIEN Agent
39 ↓
40User
41```
42
43AIEN itself is the persistent thing.
44
45The physical computer can change.
46
47The model can change.
48
49The GPU can change.
50
51The user interface can change.
52
53Individual implementations can change.
54
55But the agent's identity, state, memory, authority, history, evidence and relationship to the operator survive those changes.
56
57The computer is no longer organized around applications.
58
59It is organized around:
60
61```text
62identity
63state
64memory
65capabilities
66effects
67hardware
68models
69Worlds
70evidence
71```
72
73The model is an intelligence component inside the system.
74
75It is not the operating system.
76
77It is not the root of trust.
78
79It is not the authority that decides what it is allowed to do.
80
81---
82
83# 2. The central architectural principle
84
85AIENOS separates four things that conventional AI systems usually blur together:
86
87```text
88WHO AM I?
89 ↓
90Persistent logical agent identity
91
92WHAT DO I KNOW?
93 ↓
94Cortex / evidence-aware memory
95
96WHAT AM I ALLOWED TO DO?
97 ↓
98AEGIS / capabilities / effect authorization
99
100WHERE AM I CURRENTLY EXECUTING?
101 ↓
102Physical compute, inference state, memory and hardware
103```
104
105Those must remain separable.
106
107The foundational rule remains:
108
109> Losing physical inference state should cost computation, not identity.
110
111A GPU crash must not create a new agent.
112
113Evicting KV memory must not create a new agent.
114
115Changing models must not create a new agent.
116
117Rebooting the computer must not create a new agent.
118
119Moving to another machine must eventually not create a new agent.
120
121Physical execution is replaceable.
122
123Logical identity is persistent.
124
125---
126
127# 3. Final system architecture
128
129The target stack is approximately:
130
131```text
132┌────────────────────────────────────────────┐
133│ OPERATOR │
134└─────────────────────┬──────────────────────┘
135 │
136┌─────────────────────▼──────────────────────┐
137│ AIEN AGENT │
138│ │
139│ reasoning • planning • interface • routing │
140└──────────┬───────────┬───────────┬─────────┘
141 │ │ │
142 ▼ ▼ ▼
143 J-Space Cortex Capability
144 Worlds Memory Graph
145 │ │ │
146 └───────────┼───────────┘
147 ▼
148┌────────────────────────────────────────────┐
149│ AEGIS │
150│ │
151│ policy • authorization • provenance │
152│ effect approval • capability enforcement │
153└─────────────────────┬──────────────────────┘
154 │
155 ▼
156┌────────────────────────────────────────────┐
157│ EFFECT BROKER │
158│ │
159│ converts authorized intent into real │
160│ effects on machines, networks and data │
161└─────────────────────┬──────────────────────┘
162 │
163┌─────────────────────▼──────────────────────┐
164│ AIEN NEURAL RUNTIME │
165│ │
166│ Model ABI │
167│ Agent State ABI │
168│ inference scheduler │
169│ physical COW state │
170│ placement / compute │
171│ tools and skills │
172│ storage services │
173│ network services │
174└─────────────────────┬──────────────────────┘
175 │
176┌─────────────────────▼──────────────────────┐
177│ AIENOS KERNEL │
178│ │
179│ scheduling │
180│ memory │
181│ IPC / capabilities │
182│ interrupts │
183│ storage │
184│ networking │
185│ device access │
186│ isolation │
187│ recovery │
188└─────────────────────┬──────────────────────┘
189 │
190┌─────────────────────▼──────────────────────┐
191│ HARDWARE │
192│ CPU • GPU/NPU • RAM • disks • network • IO │
193└────────────────────────────────────────────┘
194```
195
196The exact implementation of every box may change.
197
198The separation between the boxes should not.
199
200---
201
202# 4. What is fixed versus what the engineering agent may decide
203
204The engineering agent should have substantial autonomy.
205
206It may choose:
207
208* algorithms;
209* data structures;
210* crate boundaries;
211* internal APIs;
212* schedulers;
213* allocator designs;
214* boot mechanisms;
215* storage implementations;
216* driver strategies;
217* build tooling;
218* testing machinery;
219* optimization techniques;
220* assembly versus Rust versus another appropriate open technology;
221* whether a component should initially be replaced, wrapped, emulated or rewritten;
222* the fastest technically sound path to the milestone.
223
224The agent should not be forced to implement something merely because I previously imagined one implementation.
225
226The architecture is defined by behavior and boundaries, not by arbitrary code layout.
227
228What is not free to drift is the destination.
229
230AIENOS must remain independently bootable.
231
232The agent cannot become the root of trust.
233
234Native AIENOS cannot require Windows, macOS or Linux to survive.
235
236The trusted core cannot require a proprietary cloud service, licensing server or opaque compiler/runtime to boot, recover or control the machine.
237
238Compatibility infrastructure cannot quietly become the permanent native architecture.
239
240Operator authority cannot be silently broadened.
241
242Persistent identity cannot be reduced to a running process ID.
243
244Correctness cannot be sacrificed merely because an implementation benchmarks faster.
245
246Everything else is engineering territory.
247
248---
249
250# 5. Boot and trust architecture
251
252Eventually:
253
254```text
255Firmware
256 ↓
257operator-controlled boot trust
258 ↓
259verified AIENOS boot artifact
260 ↓
261verified kernel
262 ↓
263verified system services
264 ↓
265verified AIEN Runtime
266 ↓
267persistent AIEN state
268```
269
270The operating principle is:
271
272> The agent cannot authorize itself.
273
274The model may propose:
275
276> Send this email.
277
278But the actual path is:
279
280```text
281Model proposes action
282 ↓
283EffectIntent
284 ↓
285AEGIS
286 ↓
287capability + policy evaluation
288 ↓
289Effect Broker
290 ↓
291driver / network / storage
292 ↓
293real-world effect
294```
295
296The intelligence that proposes an action is therefore separated from the deterministic mechanism deciding whether the action may occur.
297
298That separation is fundamental.
299
300---
301
302# 6. The AIENOS kernel
303
304The kernel should remain small relative to the whole AIEN system.
305
306It does not need to reason.
307
308It needs to be extremely dependable.
309
310At maturity it owns things such as:
311
312```text
313CPU scheduling
314memory management
315interrupts
316timers
317IPC
318capability enforcement
319device access
320storage
321networking
322isolation
323process/service lifecycle
324recovery
325```
326
327The model must not be necessary to:
328
329* boot;
330* mount storage;
331* recover data;
332* diagnose basic failures;
333* authenticate the operator;
334* repair the system;
335* roll back an update;
336* kill a malfunctioning service.
337
338AIENOS must remain a functioning computer even if no model loads.
339
340---
341
342# 7. Hardware sovereignty
343
344The long-term target is direct ownership of the important hardware path.
345
346Conceptually:
347
348```text
349AIEN Runtime
350 ↓
351AIENOS native interfaces
352 ↓
353hardware
354```
355
356rather than:
357
358```text
359AIEN
360 ↓
361desktop application
362 ↓
363framework
364 ↓
365IPC
366 ↓
367host service
368 ↓
369general-purpose OS stack
370 ↓
371driver stack
372 ↓
373hardware
374```
375
376But this does not mean rewriting everything simply for ideological reasons.
377
378The engineering agent should optimize toward the native path where it provides actual value.
379
380The objective is:
381
382```text
383fewer copies
384fewer boundaries
385less serialization
386less unnecessary scheduling
387predictable latency
388persistent model residency
389direct memory management
390direct accelerator state
391direct storage paths
392direct network paths
393lower overhead
394higher agent density
395```
396
397The project measures each of these instead of assuming bare metal is automatically faster.
398
399---
400
401# 8. Compatibility islands
402
403During the transition, AIENOS is allowed to use compatibility islands.
404
405For example:
406
407```text
408 AIENOS
409 │
410 ┌──────────┴──────────┐
411 │ │
412native capability compatibility island
413 │ │
414 ▼ ▼
415 hardware Linux/vendor stack
416```
417
418An island can temporarily provide:
419
420* GPU access;
421* legacy applications;
422* unsupported hardware;
423* specialized vendor functionality.
424
425It can even be faster than the native implementation temporarily.
426
427That is acceptable.
428
429What matters is:
430
431> The island is not AIENOS's foundation.
432
433Removing it must not make the native system impossible to build, boot, recover or control.
434
435Over time:
436
437```text
438Era I
439large compatibility island
440small native system
441
442Era II
443rough parity
444
445Era III
446mostly native
447small legacy island
448
449End state
450islands exist only where useful
451```
452
453---
454
455# 9. Agent State ABI
456
457This may become one of AIEN's most important contributions.
458
459An agent should have logical state that is separate from whatever runtime instance happens to execute it.
460
461The hierarchy becomes roughly:
462
463```text
464LogicalAgentId
465 │
466 ├── LogicalBranchId
467 │
468 ├── TokenHistory
469 │
470 ├── memory references
471 │
472 ├── capability state
473 │
474 ├── lineage
475 │
476 └── evidence/provenance
477 │
478 ▼
479Execution incarnation
480 │
481 ▼
482SequenceId
483 │
484 ▼
485physical inference state
486 │
487 ├── KV pages
488 ├── accelerator buffers
489 └── temporary compute
490```
491
492A branch can:
493
494```text
495fork
496run
497suspend
498resume
499evict
500reconstruct
501crash
502restart
503```
504
505without silently changing semantic identity.
506
507Eventually:
508
509```text
510fork(agent_state)
511checkpoint(agent_state)
512suspend(agent_state)
513resume(agent_state)
514migrate(agent_state)
515destroy(agent_state)
516```
517
518become well-defined system operations.
519
520---
521
522# 10. Copy-on-write agent computation
523
524AIEN's branch model should allow many reasoning branches to share their common physical inference prefix.
525
526Instead of:
527
528```text
529100 agents
530×
531same 100K-token prefix
532```
533
534AIEN aims toward:
535
536```text
537one physical prefix
538 ↓
539 ┌──────┼──────┬──────┐
540 ↓ ↓ ↓ ↓
541B1 B2 B3 ...
542```
543
544Only divergent state becomes private.
545
546This potentially affects:
547
548* coding-agent swarms;
549* planning;
550* search;
551* hypothesis exploration;
552* best-of-N inference;
553* simulation;
554* research agents;
555* long-context reasoning.
556
557C1 exists to prove this behaves correctly before AIEN makes strong performance claims around it.
558
559---
560
561# 11. Cortex
562
563Cortex is the persistent knowledge system.
564
565Its job is not merely to store embeddings.
566
567It should maintain distinctions such as:
568
569```text
570observation
571verified fact
572source
573inference
574hypothesis
575contradiction
576decision
577episodic memory
578canonical state
579```
580
581The system should understand not just:
582
583> What do I remember?
584
585but:
586
587> Why do I believe this?
588
589That avoids a failure mode where model-generated speculation gets stored, later retrieved as apparent fact, and recursively reinforces itself.
590
591Cortex becomes durable epistemic state.
592
593---
594
595# 12. Worlds / J-Space
596
597AIEN needs a place where it can act freely without constantly asking permission.
598
599The basic operating principle is:
600
601> Free inside reversible state. Approval at irreversible boundaries.
602
603A World is a reversible execution/state environment.
604
605Inside one, AIEN can:
606
607* modify code;
608* restructure files;
609* run tests;
610* experiment;
611* build artifacts;
612* simulate decisions;
613* change temporary configuration;
614* create branches;
615* evaluate alternative solutions.
616
617Only when something needs to cross from reversible state into the real world does the Effect system become involved.
618
619For example:
620
621```text
622World
623 ↓
624AIEN modifies repository
625 ↓
626tests pass
627 ↓
628AIEN proposes publish
629 ↓
630EffectIntent: push code externally
631 ↓
632AEGIS
633 ↓
634operator policy/approval
635 ↓
636Git operation
637```
638
639This allows considerable autonomy without making autonomy equivalent to unlimited authority.
640
641---
642
643# 13. Capability Graph
644
645Traditional operating systems organize software around programs.
646
647AIENOS should increasingly organize functionality around capabilities.
648
649Examples:
650
651```text
652filesystem.read
653filesystem.write
654
655mail.read
656mail.send
657
658calendar.read
659calendar.schedule
660
661code.build
662code.test
663code.publish
664
665network.connect
666
667image.edit
668
669model.run
670
671device.camera
672
673hardware.inspect
674```
675
676Applications may still exist.
677
678But an application does not own the underlying capability or data.
679
680The agent can compose capabilities dynamically.
681
682That is how the computer stops being a collection of application silos and becomes an environment the agent can operate coherently.
683
684---
685
686# 14. Model ABI
687
688Models are replaceable intelligence engines.
689
690AIENOS should eventually be able to say:
691
692```text
693load model A
694
695replace with model B
696
697run specialist model C for coding
698
699run smaller model D for routing
700```
701
702without redefining the identity of the agent.
703
704The Model ABI should separate:
705
706```text
707model weights
708tokenizer
709execution backend
710inference state
711sampling
712logical agent state
713```
714
715No model provider should become equivalent to AIEN itself.
716
717---
718
719# 15. Phase 1 — Freeze reality
720
721Before replacing anything, freeze the working Spark system.
722
723This is Config A.
724
725```text
726Ubuntu
727 ↓
728current AIEN stack
729 ↓
730current NVIDIA path
731 ↓
732DGX Spark
733```
734
735The goal is not optimization.
736
737The goal is reproducibility.
738
739Capture:
740
741* hardware identity;
742* firmware;
743* current OS;
744* source commits;
745* build configuration;
746* model hashes;
747* tokenizer;
748* libraries;
749* execution environment;
750* workloads;
751* correctness evidence;
752* recovery procedure;
753* performance distributions.
754
755Produce a verified reference bundle.
756
757After this phase I can answer:
758
759> What exactly did native AIENOS replace?
760
761without relying on memory or marketing.
762
763---
764
765# 16. Phase 2 — Native AIENOS boot
766
767Now the actual operating system begins.
768
769Objective:
770
771> Power on the DGX Spark and boot AIENOS itself.
772
773Minimum milestone:
774
775```text
776Firmware
777 ↓
778AIENOS boot
779 ↓
780AIENOS kernel
781 ↓
782CPU initialized
783 ↓
784memory available
785 ↓
786interrupts/timers operating
787 ↓
788console available
789 ↓
790storage available
791 ↓
792recovery available
793```
794
795No agent required yet.
796
797No GPU required yet.
798
799No elaborate UI required.
800
801No networking required to claim this milestone.
802
803The proof is brutally simple:
804
805> The machine boots AIENOS without Linux being the host.
806
807---
808
809# 17. Phase 3 — The agent wakes up
810
811Once the native machine substrate works:
812
813```text
814AIENOS boots
815 ↓
816AIEN Runtime starts
817 ↓
818local model loads
819 ↓
820AIEN Agent starts
821 ↓
822operator can communicate with it
823 ↓
824Cortex persists
825 ↓
826reboot
827 ↓
828same logical AIEN resumes
829```
830
831CPU inference is sufficient.
832
833The objective isn't speed yet.
834
835The objective is continuity.
836
837The first native AIEN should primarily understand and operate AIENOS itself.
838
839Its earliest job is:
840
841```text
842observe machine
843diagnose machine
844inspect itself
845run tests
846read logs
847repair reversible failures
848help develop AIENOS
849```
850
851General assistant capabilities are secondary during this stage.
852
853---
854
855# 18. Phase 4 — Native system intelligence
856
857Now make the agent genuinely useful as the operating interface.
858
859Bring in:
860
861```text
862Cortex
863Agent State
864AEGIS
865Effect Broker
866Capability Graph
867Worlds
868system introspection
869storage capabilities
870local tools
871developer capabilities
872```
873
874The operator should increasingly be able to interact with the system through intent:
875
876> Show me what's consuming memory.
877
878> Fix this build.
879
880> Find why networking stopped.
881
882> Create a new development World.
883
884> Roll back the last system update.
885
886AIEN translates intent into capabilities rather than requiring the user to manually navigate traditional programs.
887
888---
889
890# 19. Phase 5 — Native hardware acceleration
891
892Only after native AIENOS itself exists do I aggressively optimize.
893
894AIENOS progressively takes ownership of hot paths:
895
896```text
897accelerator
898storage
899network
900memory
901scheduler
902inference
903```
904
905The engineering agent is free to find the fastest correct solution.
906
907The requirement is that the resulting native path remains sovereign according to the trusted-base rules.
908
909Compatibility GPU paths can remain beside it while the native accelerator path matures.
910
911The important competition becomes:
912
913```text
914A — Ubuntu reference
915B — minimal Linux / compatibility island
916C — native AIENOS
917```
918
919Run the same workloads.
920
921Compare separately:
922
923```text
924boot → agent ready
925
926agent ready → model ready
927
928TTFT
929
930steady-state throughput
931
932memory availability
933
934scheduler jitter
935
936power
937
938branch creation
939
940branch physical memory cost
941
942restore time
943
944agent density
945```
946
947No single synthetic “speed score.”
948
949---
950
951# 20. Phase 6 — Migration system
952
953Once AIENOS can survive independently, adoption becomes important.
954
955The existing OS becomes an installer.
956
957On Windows/macOS/Linux:
958
959```text
960AIEN bootstrap
961 ↓
962inspect machine
963 ↓
964Machine Capsule
965 ↓
966determine AIENOS support
967 ↓
968prepare native installation
969 ↓
970preserve user state
971 ↓
972install separate boot target
973 ↓
974validate
975 ↓
976Restart into AIEN
977```
978
979The host is scaffolding.
980
981It is not the destination.
982
983The core migration rule:
984
985> AIENOS may learn from the host, but it must not require the host to survive.
986
987---
988
989# 21. Machine Capsule
990
991A host-side AIEN installation should learn enough about a machine to create a portable description of it.
992
993Conceptually:
994
995```text
996MachineCapsule
997├── firmware
998├── CPU
999├── accelerator
1000├── memory
1001├── storage
1002├── network
1003├── display
1004├── audio
1005├── USB
1006├── Bluetooth
1007├── input
1008├── known drivers
1009├── user state
1010├── critical applications
1011└── compatibility requirements
1012```
1013
1014The Machine Capsule is not itself a driver implementation.
1015
1016It describes what AIENOS needs to reproduce.
1017
1018The engineering agent may then determine the best path for supporting that machine.
1019
1020---
1021
1022# 22. Reversible installation
1023
1024AIENOS should initially install beside the existing OS.
1025
1026Conceptually:
1027
1028```text
1029Disk
1030│
1031├── incumbent OS
1032│
1033├── AIENOS
1034└── recovery
1035```
1036
1037The system validates:
1038
1039```text
1040boot
1041storage
1042display
1043input
1044network where available
1045model loading
1046AIEN state
1047Cortex
1048recovery
1049```
1050
1051before encouraging broader migration.
1052
1053If AIENOS fails:
1054
1055> Boot the old system.
1056
1057This dramatically lowers adoption risk.
1058
1059---
1060
1061# 23. Progressive escape from the incumbent OS
1062
1063At first, users may still rely on old software.
1064
1065That's acceptable.
1066
1067The progression is:
1068
1069```text
1070Stage 1
1071AIEN lives inside host.
1072
1073Stage 2
1074AIENOS dual-boots.
1075
1076Stage 3
1077AIENOS becomes primary.
1078
1079Stage 4
1080Legacy host is used only for a few applications.
1081
1082Stage 5
1083Legacy capabilities run through compatibility islands.
1084
1085Stage 6
1086Old OS becomes an archive/recovery image.
1087
1088Stage 7
1089Old OS can be removed if the operator chooses.
1090```
1091
1092The project does not force migration.
1093
1094It makes migration increasingly unnecessary to resist.
1095
1096---
1097
1098# 24. Phase 7 — Multi-hardware AIENOS
1099
1100Once Spark proves the architecture, expand outward.
1101
1102Do not hard-code the system conceptually around NVIDIA DGX Spark.
1103
1104Spark is the reference machine, not AIEN's identity.
1105
1106Port AIENOS to additional targets based on engineering value and available resources.
1107
1108Examples could eventually include:
1109
1110```text
1111desktop x86
1112ARM systems
1113AMD accelerator systems
1114Apple hardware where practical
1115embedded systems
1116future AI appliances
1117```
1118
1119Every platform implements the same higher-level AIEN contracts.
1120
1121Hardware becomes a replaceable substrate.
1122
1123---
1124
1125# 25. Phase 8 — Personal Fabric
1126
1127Eventually one AIEN may span several machines.
1128
1129For example:
1130
1131```text
1132 AIEN
1133 │
1134 ┌────────────┼────────────┐
1135 │ │ │
1136 Spark Laptop Phone
1137 │ │ │
1138 GPU display sensors
1139 compute keyboard mobile
1140```
1141
1142Machines become resources belonging to the operator's AIEN environment.
1143
1144AIEN can determine:
1145
1146> This computation belongs on Machine A.
1147
1148> This interface belongs on Machine B.
1149
1150> These files remain physically on Machine C.
1151
1152> This model should migrate to the workstation.
1153
1154The identity remains above the machines.
1155
1156---
1157
1158# 26. Eventually: state mobility
1159
1160A mature system should be able to:
1161
1162```text
1163run branch on machine A
1164 ↓
1165suspend
1166 ↓
1167move logical state
1168 ↓
1169reconstruct required physical state
1170 ↓
1171resume on machine B
1172```
1173
1174Physical KV state need not necessarily migrate byte-for-byte.
1175
1176The system may decide recomputation is cheaper.
1177
1178Again:
1179
1180> Physical state is optimization.
1181
1182> Logical state is identity.
1183
1184---
1185
1186# 27. Evidence architecture
1187
1188Every major AIENOS technical claim should be backed by a reproducible evidence bundle.
1189
1190That means:
1191
1192```text
1193source commit
1194machine identity
1195build identity
1196model identity
1197config
1198workload
1199raw measurements
1200correctness result
1201environment
1202verifier
1203artifact hashes
1204```
1205
1206No screenshot-as-proof culture.
1207
1208No benchmark number detached from the command that generated it.
1209
1210No “verified” because the program happened not to crash.
1211
1212Claims should be predefined.
1213
1214Evidence earns claims.
1215
1216Evidence does not earn adjectives.
1217
1218---
1219
1220# 28. C1's role
1221
1222C1 remains foundational.
1223
1224Before AIENOS uses branch-native inference as a major architectural advantage, C1 establishes that:
1225
1226```text
1227identity survives
1228branches isolate correctly
1229COW is physically real
1230recomputation is equivalent
1231memory conserves correctly
1232resources are reclaimed
1233parents survive child behavior
1234state continuity survives resource events
1235```
1236
1237AIENOS can inherit those semantics.
1238
1239It should not create weaker OS-specific versions.
1240
1241---
1242
1243# 29. Development model for the autonomous engineering agent
1244
1245The engineering agent receives:
1246
1247```text
1248CURRENT STATE
1249+
1250NEXT MILESTONE
1251+
1252ARCHITECTURAL INVARIANTS
1253+
1254ACCEPTANCE TESTS
1255```
1256
1257Then it is free to solve the engineering problem.
1258
1259It should be allowed to:
1260
1261```text
1262research
1263prototype
1264rewrite
1265benchmark
1266discard approaches
1267change internal implementation
1268write new tools
1269run experiments
1270optimize
1271refactor
1272```
1273
1274without repeatedly asking which exact function to create.
1275
1276The operator is not the implementation router.
1277
1278The operator owns the architecture.
1279
1280The agent owns engineering execution.
1281
1282Escalation happens when the agent discovers that success appears to require changing something fundamental, such as:
1283
1284```text
1285trust model
1286operator authority
1287persistent identity semantics
1288security boundary
1289irreversible data format
1290native-vs-compatibility boundary
1291sovereignty requirement
1292licensing
1293recovery guarantees
1294external protocol contract
1295major architecture
1296```
1297
1298Otherwise:
1299
1300> Solve it.
1301
1302---
1303
1304# 30. Failure should change implementation, not the goal
1305
1306Suppose native storage approach A doesn't work.
1307
1308The agent tries B.
1309
1310Suppose B is slow.
1311
1312Try C.
1313
1314Suppose the planned scheduler architecture turns out to be wrong.
1315
1316Replace it.
1317
1318Suppose Rust isn't appropriate for a tiny low-level section.
1319
1320Use something appropriate.
1321
1322The blueprint should not trap the project inside guesses made before the evidence existed.
1323
1324The destination is fixed.
1325
1326The route evolves.
1327
1328---
1329
1330# 31. “Fastest wins” properly defined
1331
1332The rule is not:
1333
1334> fastest benchmark result wins regardless of everything else.
1335
1336It is:
1337
1338> Among implementations that satisfy correctness, security, sovereignty and the required contract, the fastest measured implementation wins.
1339
1340Conceptually:
1341
1342```text
1343Correct?
1344 no → reject
1345
1346Secure enough?
1347 no → reject
1348
1349Sovereignty contract?
1350 no → compatibility-only
1351
1352Passes interface/invariant tests?
1353 no → reject
1354
1355Remaining candidates
1356 ↓
1357measure
1358 ↓
1359fastest wins
1360```
1361
1362---
1363
1364# 32. Self-improvement
1365
1366Eventually AIEN should help improve AIENOS.
1367
1368But it must not mutate its trusted foundation arbitrarily while running.
1369
1370The model may:
1371
1372```text
1373discover optimization
1374 ↓
1375create experimental World
1376 ↓
1377modify implementation
1378 ↓
1379build
1380 ↓
1381run correctness suite
1382 ↓
1383benchmark
1384 ↓
1385compare evidence
1386 ↓
1387produce candidate
1388```
1389
1390Promotion remains controlled:
1391
1392```text
1393candidate
1394 ↓
1395evaluation
1396 ↓
1397security checks
1398 ↓
1399signing
1400 ↓
1401deployment
1402 ↓
1403rollback available
1404```
1405
1406AIEN may improve itself.
1407
1408AIEN does not simply declare its own rewrite trustworthy.
1409
1410---
1411
1412# 33. What the finished system feels like
1413
1414The user presses power.
1415
1416AIENOS verifies itself.
1417
1418The resident agent wakes.
1419
1420The machine already knows:
1421
1422```text
1423who the operator is
1424who the agent is
1425what hardware exists
1426what capabilities exist
1427what state existed before shutdown
1428what projects are active
1429what memories are trusted
1430what permissions have been granted
1431what branches are suspended
1432what models are available
1433```
1434
1435The user doesn't need to open an application to begin computing.
1436
1437They interact with AIEN.
1438
1439If they need something visual, AIEN creates an interface.
1440
1441If they need code built, AIEN invokes build capabilities.
1442
1443If they need mail sent, AIEN invokes mail capabilities.
1444
1445If they need a simulation, AIEN creates a World.
1446
1447If more reasoning is useful, AIEN forks state.
1448
1449If hardware state disappears, AIEN reconstructs it.
1450
1451If another machine is better suited, AIEN eventually moves work there.
1452
1453The operating system becomes the substrate of the agent rather than the collection of applications the user manually coordinates.
1454
1455---
1456
1457# 34. The adoption proposition
1458
1459The message isn't:
1460
1461> Throw away your computer and install an experimental OS.
1462
1463It becomes:
1464
1465> Let AIEN learn the machine you already own.
1466
1467Then:
1468
1469> Let AIEN build a native environment for it.
1470
1471Then:
1472
1473> Restart into AIEN.
1474
1475Then eventually:
1476
1477> The old operating system is no longer necessary.
1478
1479The host exists to help AIEN escape the host.
1480
1481---
1482
1483# 35. The strategic endpoint
1484
1485The largest possible outcome is not merely an AIEN-branded operating system.
1486
1487It is the establishment of a different abstraction for personal computing:
1488
1489```text
1490old model:
1491
1492user
1493 ↓
1494applications
1495 ↓
1496operating system
1497 ↓
1498hardware
1499
1500
1501AIEN model:
1502
1503operator
1504 ↓
1505persistent intelligent agent
1506 ↓
1507capabilities + Worlds + memory + authority
1508 ↓
1509AIENOS
1510 ↓
1511hardware
1512```
1513
1514And underneath the agent:
1515
1516```text
1517logical identity ≠ physical execution
1518knowledge ≠ speculation
1519intelligence ≠ authority
1520compatibility ≠ architecture
1521performance ≠ correctness
1522model ≠ agent
1523machine ≠ identity
1524```
1525
1526Those separations are the real architecture.
1527
1528---
1529
1530# 36. The master execution sequence
1531
1532The overall journey is:
1533
1534```text
1535CURRENT AIEN
1536 ↓
1537PHASE 1
1538Freeze Linux/Spark reference
1539 ↓
1540PHASE 2
1541Native AIENOS boots
1542 ↓
1543PHASE 3
1544Persistent AIEN wakes natively
1545 ↓
1546PHASE 4
1547Cortex + AEGIS + Worlds + capabilities
1548 ↓
1549PHASE 5
1550Native high-performance hardware paths
1551 ↓
1552PHASE 6
1553Host-to-AIENOS migration compiler
1554 ↓
1555PHASE 7
1556Additional hardware
1557 ↓
1558PHASE 8
1559Personal multi-machine fabric
1560 ↓
1561MATURE AIENOS
1562Persistent sovereign agent-native computing
1563```
1564
1565The phases may overlap when engineering reality makes that useful.
1566
1567Their order expresses dependency, not bureaucracy.
1568
1569The engineering agent may discover a better path.
1570
1571It should take it if the architectural invariants and milestone proofs remain intact.
1572
1573---
1574
1575# 37. Final definition of success
1576
1577AIENOS has achieved its core vision when all of these statements are true:
1578
1579The machine can boot without Windows, macOS or Linux acting as its host.
1580
1581AIENOS can recover without an AI model.
1582
1583The AIEN agent survives reboot as the same logical entity.
1584
1585Cortex survives and preserves evidence/provenance semantics.
1586
1587The model can be replaced without replacing AIEN.
1588
1589Agent inference state can be branched, suspended, reclaimed and reconstructed without changing logical identity.
1590
1591The agent operates the machine through explicit capabilities.
1592
1593Irreversible effects cross enforceable authorization boundaries.
1594
1595The operator can recover from AIEN failure.
1596
1597No outside company is required for ordinary continued operation.
1598
1599Important native hardware paths are directly controlled by AIENOS.
1600
1601Compatibility layers are optional rather than foundational.
1602
1603The system can prove its important performance and correctness claims.
1604
1605The user can move to another supported machine without the idea of “their AIEN” being tied permanently to the old hardware.
1606
1607And the ordinary experience becomes:
1608
1609> Power on the machine. AIEN wakes up.
1610
1611That is the final vision.