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/aienos.com/blob/main/public/research/aien-research-plan.md # aienos.com Source of www.aienos.com, served from my own hardware 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 `aienos.com / public / research / aien-research-plan.md` 417 lines · 21668 bytes Raw Blame History Rendered 1 # AIEN Research Plan — V3 (Substrate Edition) 2 3 **Status: RATIFIED. Frozen edition.** 4 **Date: 27 September 2026** 5 **Ratified by the conductor, 27 September 2026, after a five-point corrective pass.** 6 7 This edition supersedes the frozen 27 September 2026 V2 brief as the 8 current research plan. V2 remains archived unchanged. 9 Nothing in this edition may be quoted as a result. Every new claim below 10 is a hypothesis with a named falsifier, not a finding. 11 12 --- 13 14 ## 1. What changed from V2 15 16 V2 established the research program: a sovereign synthesis intelligence 17 built from a small inspectable lineage, where programs explain, models 18 suggest, verification decides, and evidence teaches. 19 20 V3 adds one architectural thesis and six testable hypotheses that follow 21 from it. The thesis concerns the physical machine the system actually 22 inhabits, and it changes what Omega synthesizes, what Forge reports, what 23 AEGIS proves, and what counts as a good realization. 24 25 **The substrate thesis:** the DGX Spark (GB10) is one coherent computational 26 medium, not three separate boxes labeled CPU, memory, and GPU. 128 GB of 27 coherent unified LPDDR5x at 273 GB/s is shared by Grace and Blackwell with 28 no ownership-transfer copies required for cooperation. From registers down 29 to NVMe the machine is one continuous gradient of faster/smaller/private 30 versus slower/bigger/shared. The one remaining physical cliff is power-loss 31 survival: DRAM forgets, NVMe remembers. 32 33 Therefore AIEN's continuity is a **logical boundary, not a physical place**. 34 The architecture promises continuity for a defined region of logical state 35 (the resident object graph: identity, generations, rights) and promises 36 nothing for processor microstate (registers, caches, in-flight warps). 37 "Resident" means *inside the continuity boundary*, not *inside the RAM chips*. 38 39 **Language correction adopted in V3:** earlier formulations said "AIEN lives 40 in memory; hardware visits it." That phrasing reifies an engineering 41 convenience into an ontological claim and contradicts the architecture's own 42 invariant that logical identity is not physical address. V3 replaces it: 43 44 > **The box is one thing; the promise is the architecture.** 45 46 AIEN is a pattern of organization within one medium. Continuity is the 47 promise. Everything outside the boundary is execution froth the system 48 promises nothing about. 49 50 ### Four doctrine corrections (adopted) 51 52 1. **Host/device copying is not the canonical programming model.** (Not 53 "there is nothing to copy to.") Data still moves through caches, memory 54 channels, DMA/copy engines (GB10 exposes two), and GPU mappings. The 55 break is semantic: ordinary CPU/GPU cooperation must not be expressed as 56 explicit ownership transfer between separate memory universes. 57 Ownership-transfer copies are not mandatory for cooperation; that is the 58 rule. It does not follow that copy engines never participate in 59 cooperation. Whether a copy engine is the cheapest realization of a given 60 task is decided by Omega's physical cost calculus on measured physics, 61 not by architectural fiat. Checkpoint staging, compaction migration, and 62 snapshot writes are candidate uses, not assigned ones. 63 64 2. **Shared substrate, separate authority domains, logical references.** 65 Private address spaces are not abolished; they are abolished *as the 66 interchange model*. MMU/SMMU isolation, capabilities, bounds, and 67 protection domains remain. What crosses an authority boundary is never a 68 raw pointer: it is ObjectId + Generation + Offset/Region + Bounds + 69 Rights. This distinction is load-bearing for AEGIS. 70 71 3. **Checkpointing uses an epoch barrier.** A single coherent pool removes 72 duplicated application-state reconciliation between separately owned 73 host/device copies, but a consistent cut is still hard 74 while CPU, GPU, J-Space, Cortex, and external effects mutate concurrently. 75 GPU internal execution state still exists; it is classified as execution 76 froth outside the continuity boundary, in exactly the language the 77 boundary definition uses. 78 The primitive: Generation N active -> open checkpoint epoch N+1 -> new 79 mutations become N+1 -> drain and resolve N in-flight work -> freeze 80 reachable committed N state -> publish Generation N. AIEN keeps running; 81 no global stop. **Open sub-problem (named, not solved): the device 82 frontier.** Effects already outside memory (in-flight DMA, half-done 83 network sends, device state) cannot be epoch-tagged. Devices must either 84 reach the barrier as participants or journal their effects as intents. 85 This is Forge's problem and it is on the list. 86 87 4. **Movement is a first-class synthesis-time cost.** (Not "compilers ignore 88 memory"; roofline models, tiling, and tensor compilers are real.) The 89 genuinely new claim: physical data movement must enter Omega's *search 90 objective during synthesis*, not arrive as an after-the-fact compiler 91 optimization. That changes the search problem itself. The claim is not 92 that GB10 is universally bandwidth-bound; boundness is workload-dependent 93 (compute, latency, synchronization, or bandwidth can each dominate). The 94 defensible claim: on GB10, data movement and shared-memory contention can 95 dominate important AIEN workloads (1 PFLOP FP4 compute fed through a 273 96 GB/s straw shared by both engines), so Omega must price movement as a 97 first-class synthesis cost rather than presuming operation count is the 98 dominant resource. Whether movement-first synthesis wins is what H9 99 tests; this edition does not assume the outcome. 100 101 --- 102 103 ## 2. New hypotheses (H5-H10) 104 105 Each follows the V2 discipline: a claim, its boundary, the test protocol, 106 and the named falsifier. If the falsifier fires, the hypothesis is weakened 107 or dropped. No silent tense changes. 108 109 ### H5. Shared Object Pool 110 111 **Claim:** A single generation-tagged object pool with logical identity 112 (resident ObjectId + Generation + rights; see the identity ladder invariant 113 under H8, no raw pointers crossing authority boundaries) can serve as the 114 sole canonical allocation substrate for cross-engine AIEN semantic state on 115 GB10, with zero ownership-transfer copies in the cooperation hot path. 116 Hardware-private structures (queue metadata, page tables, firmware state, 117 device control objects, registers, caches, specialized scratch) are outside 118 this claim. 119 120 **Boundary:** GB10 silicon, DGX Spark. Cooperation workloads: graph frontier 121 expansion, shared work queues, tensor staging. Does not yet claim 122 multi-machine pools. 123 124 **Test protocol:** 125 - Implement the pool; run CPU+GPU cooperative workloads through it. 126 - Instrument the hot path; assert zero ownership-transfer copies. 127 - Run the no-raw-pointer-persistence gate over all durable artifacts: 128 reject boot-specific virtual addresses, physical addresses, process 129 handles, GPU handles, transient queue pointers, kernel addresses. 130 - Run the stale-generation rejection suite: relocated objects keep logical 131 identity; stale handles are refused. 132 133 **Falsifier:** a workload class in scope where correctness or performance 134 requires explicit ownership-transfer copies; or any authority escape; or 135 any stale reference accepted. 136 137 **Status:** embryonic. Omega's accelerator world already carries 138 generation-tagged handles (world_epoch, object_id, object_generation, 139 object_type, permissions) with cpu_addr/gpu_va internal to the physical 140 registry, plus persistent coherent buffer registries, stale-handle 141 rejection, bounded permissions, a scratch arena, and a persistent 142 accelerator context. Items H5/H6 are therefore not greenfield; the missing 143 jump is from dispatch/wait to shared-world participation. 144 145 **Maps to:** M15-M19 era extension (accelerator cognition substrate). 146 147 ### H6. Cross-Engine Object ABI 148 149 **Claim:** Logical references (resident ObjectId + Generation + 150 Offset/Region + Bounds + Rights; see the identity ladder invariant under 151 H8) can fully replace raw pointers across authority boundaries 152 with cooperation overhead inside budget versus a raw-pointer baseline, while 153 MMU/SMMU isolation and capabilities hold. 154 155 **Boundary:** Same hardware. Budget to be frozen per workload before 156 measurement (proposed: within 10% of baseline handoff latency; AEGIS 157 authority proofs must pass absolutely, not relatively). 158 159 **Test protocol:** 160 - Microbenchmark handoff latency: logical-reference path vs raw-pointer 161 baseline, same workload, same silicon. 162 - AEGIS proofs: no authority escape from shared-state references; object 163 relocation does not alter logical identity; CPU and GPU cannot gain 164 authority from shared references. 165 - Adversarial suite: forged generations, out-of-bounds offsets, rights 166 escalation attempts, replayed handles. 167 168 **Falsifier:** overhead exceeds the frozen budget; or any authority escape; 169 or any stale generation accepted. 170 171 **Maps to:** M15-M19 era extension; AEGIS verification duties. 172 173 ### H7. Resident Cooperation Protocol 174 175 **Claim:** Fine-grained CPU/GPU co-production on shared objects (both 176 engines consume and publish work against the shared object world) beats 177 bulk offload (CPU prepares dispatch, rings GPU, waits) on latency and/or 178 bytes moved for interactive frontier-style workloads on the shared 179 273 GB/s pipe. 180 181 **Boundary:** Representative workloads: J-Space frontier expansion, 182 concurrent graph mutation, mixed CPU/GPU pipelines. Not claimed for 183 embarrassingly parallel bulk kernels where offload is already optimal. 184 185 **Test protocol:** 186 - Head-to-head: cooperation protocol vs dispatch/wait, identical semantics, 187 identical silicon. 188 - Measure wall-clock latency, bytes through the shared pipe, cache-line 189 touches, coherence transitions, synchronization events. 190 - The workload set and the win criteria are frozen before measurement. 191 192 **Falsifier:** dispatch/wait wins across the frozen representative set on 193 both latency and bytes moved. 194 195 **Maps to:** proposed era extension between M19 and M20. 196 197 ### H8. Generation/Checkpoint Barrier 198 199 **Claim:** An epoch barrier (open N+1, drain N, freeze committed N, publish 200 Generation N) produces consistent semantic cuts of the live world without 201 global pauses exceeding budget, and cold reconstruction from sealed 202 generations reproduces logically identical state. 203 204 **Boundary:** Single machine. Pause budget frozen before measurement 205 (proposed: no global pause longer than 10 ms; checkpoints progress during 206 soak). Crash recovery must yield OLD or NEW generation, never half of each. 207 208 **Test protocol:** 209 - AIEN_RESIDENT_WORLD_RESTORE_PASS: create state, checkpoint, destroy all 210 volatile state, reboot, reconstruct from durable artifacts only, verify 211 logically identical committed state. 212 - Crash-at-every-boundary: crash at each write/flush step of checkpoint 213 publication; only complete previous or new generations may be visible. 214 - Accelerator-loss gate: reset Blackwell mid-run; CPU-resident authority 215 intact; accelerator realizations rebuilt without corrupting logical 216 identity. 217 - Long soak: bounded allocation growth, checkpoint progress, stable 218 latency, no generation exhaustion. 219 220 **Falsifier:** any torn generation; reconstructed state logically diverges; 221 pauses exceed budget; soak shows unbounded growth. 222 223 **Identity ladder (invariant).** Three identifier concepts already exist in 224 the system and must never accidentally collapse into one: 225 226 - Omega SemanticId = identity of meaning. 227 - Resident ObjectId + Generation (+ Rights) = identity of a live logical 228 object incarnation. 229 - AIENOS Store ObjectId = identity of durable stored bytes. 230 - Physical address / GPU VA = disposable realization. 231 232 The complete ladder: 233 234 MEANING (SemanticId) 235 -> LIVE LOGICAL OBJECT (ObjectId + Generation + Rights) 236 -> DURABLE REPRESENTATION (Store ObjectId) 237 -> PHYSICAL REALIZATION (CPU VA / GPU VA / pages / device objects) 238 239 Wherever H5, H6, or H8 says "ObjectId" without qualification, it means the 240 resident live-object identifier. Builders must not substitute the Omega 241 SemanticId or the Store ObjectId. 242 243 **Maps to:** redefines M37 (AIEN_RESIDENT); touches the AIENOS trust lane 244 (power-cycle continuity for one agent identity). 245 246 ### H9. Physical Cost Calculus 247 248 **Claim:** Synthesis guided by a movement-first physical cost model produces 249 realizations with measurably lower GB10-measured physical cost than 250 synthesis guided by op-count cost, for identical semantics. 251 252 **Boundary:** The cost model counts bytes read/written per engine, 253 cache-line touches, coherence transitions, synchronization events and 254 barriers, estimated reuse distance, arithmetic intensity, peak live bytes, 255 and contention-aware pricing, with measured latency/bandwidth/energy 256 feeding back to correct the predictor. Predicted cost (used in search) and 257 measured cost (empirical ledger) are kept distinct. 258 259 **Test protocol:** 260 - Freeze a semantics set (starting with: bounded concurrent work queue). 261 - Synthesize under op-count cost and under physical cost. 262 - Measure both realizations on GB10 silicon: time, bytes moved, energy. 263 - The metric set and significance bar are frozen before synthesis. 264 265 **Falsifier:** no statistically significant measured-cost difference across 266 the frozen set. 267 268 **Maps to:** extends M8 (cost models), M13/M14 (machine graph gains 269 measured contention facts); evolves OmegaCost toward OmegaPhysicalCost. 270 271 ### H10. The Closed Loop 272 273 **Claim:** The loop OMEGA proposes -> AEGIS proves -> FORGE realizes -> 274 GB10 executes -> EVIDENCE measures -> OMEGA searches again can run 275 end-to-end without human intervention, and can produce a substrate 276 realization that holds all invariants and beats the human reference oracle 277 on measured physical cost. 278 279 **Boundary:** First target: the bounded concurrent work queue, with 280 semantics, machine description (GB10 coherent memory), invariants (no stale 281 generation, no authority escape, no torn publication, exactly-once state 282 transition), and objective (minimize measured physical cost) all frozen 283 before the loop starts. Humans build the first reference oracle. 284 285 **Test protocol:** 286 - Milestone 1 (keystone): one full loop turn with zero human intervention. 287 The loop running closed matters more than winning. 288 - Milestone 2: a loop-produced realization that AEGIS proves and that beats 289 the oracle on measured physical cost. 290 - Every turn emits immutable receipts: proposal identity, proof outcome, 291 realization identity, machine identity, measurements, and the decision. 292 293 **Falsifier:** the loop cannot close without human repair; AEGIS rejects all 294 proposals over N frozen iterations; or no measured improvement over K 295 frozen iterations with honest measurement. 296 297 **Maps to:** the concrete mechanism for M38 (continual library learning) 298 and for the RSI story: this is what "the machine improves itself" cashes 299 out to. Long-horizon, it is the engineering shape of M40 succession. 300 301 ### Deferred: H11 Semantic Reconstruction (candidate, not in this edition) 302 303 **Candidate claim:** a sealed generation can be destroyed physically and 304 reconstructed at different addresses, possibly in a fresh Store region, 305 retaining the same LogicalAgentId, the same Omega SemanticIds, the same 306 committed relationships, and the same authority semantics, with a different 307 physical realization. 308 309 This would connect the substrate research directly to the 310 resident-continuity architecture instead of leaving persistence as an 311 AIENOS-side detail. Deferred deliberately: H5-H10 must stand first. 312 313 --- 314 315 ## 3. Implementation order (ratified) 316 317 1. Shared Object Pool: logical identity + generations + rights. 318 2. Cross-Engine Object ABI: no pointers crossing authority boundaries. 319 3. Resident Cooperation Protocol: both engines consume and publish. 320 4. Generation/Checkpoint Barrier: consistent semantic cuts of the live world. 321 5. Physical Cost Calculus: bytes + locality + synchronization + compute, 322 contention-aware, predicted vs measured split. 323 6. Omega Synthesizes the Above: humans build reference oracles first; then 324 Omega proposes realizations against frozen semantics, machine facts, 325 invariants, and measured-cost objectives. 326 327 Steps 1-2 are embryonic in the current Omega accelerator world. Steps 3-4 328 are buildable now. Step 5 is instrumentation plus model work. Step 6 is the 329 research program. Treating 6 as a build ticket will produce fake compliance 330 or stalled builders; it is a research track with the keystone experiment 331 (H10, milestone 1) as its first gate. 332 333 --- 334 335 ## 4. New research questions 336 337 - **RQ7:** Can CPU/GPU cooperation be expressed without ownership-transfer 338 copies while preserving isolation between authority domains? 339 - **RQ8:** Can checkpointing produce consistent cuts of a live world 340 without stopping cognition, and can cold reconstruction preserve logical 341 identity? 342 - **RQ9:** Does movement-first synthesis produce better realizations than 343 op-count synthesis on coherent shared-memory hardware? 344 - **RQ10:** Can the propose/prove/realize/execute/measure/research loop run 345 closed, and does it compound? 346 347 --- 348 349 ## 5. New measurement families 350 351 **Movement:** bytes read/written per engine, cache-line touches, coherence 352 transitions, synchronization events and barriers, all measured on GB10 353 silicon under declared contention conditions. Contention conditions are 354 part of the measurement contract: bytes moved during GPU saturation are 355 priced differently from bytes moved idle. 356 357 **Continuity:** checkpoint pause durations (max and distribution), 358 generation publish atomicity (OLD-or-NEW under crash injection), 359 cold-reconstruction logical-equivalence rate, soak resource-growth curves, 360 generation exhaustion distance. 361 362 **Loop:** closed-loop turns completed without human intervention, AEGIS 363 acceptance rate per turn, measured-cost delta vs oracle per turn, invariant 364 violations (must be zero; any violation fails the turn, not the hypothesis). 365 366 --- 367 368 ## 6. New risks (added to the V2 risk table) 369 370 | Risk | Why it matters | Research response | 371 |---|---|---| 372 | The fragmentation dragon | Shared-everything plus intended infinite lifetime is one of the hardest memory-management problems there is. Systems famous for long uptime isolate heaps; this architecture shares everything. | Name it as the central research risk. Generational addressing is the mitigation bet; the soak gates are the detectors, not the cure. A soak test detects fragmentation; it does not solve it. | 373 | Contention mispricing | On a shared 273 GB/s pipe, the cost of moving bytes depends on what else is moving. A static machine graph misprices under contention. | Price movement against live contention; contention conditions are part of every measurement contract; predicted vs measured cost split with the empirical ledger correcting the predictor. | 374 | Device frontier | Epoch barriers tag memory, not packets. External effects escape the consistent cut. | Name it now. Devices reach the barrier as participants or journal effects as intents. Forge owns this problem. | 375 | Live substrate update | "Remain resident" has no story for patching ATLAS, AIENOS, or Omega semantics beneath a running world. The first security patch ends "never shuts off" without one. | Named as an open problem. Candidate direction: dual-world handoff (build new world beside old, migrate generations, cut over). Not claimed, not scheduled. | 376 | Capacity budget | 128 GB is the hard ceiling: weights, KV, semantic graph, branch worlds, Cortex hot set, sealed generations. A resident intelligence that does not fit in RAM is not resident. | Working-set discipline and a capacity budget are required before M37 can be claimed. "Save the minimum information necessary to recreate the same logical intelligence" is the principle; the budget makes it testable. | 377 | Closed-loop theater | A loop that runs but never improves, or that AEGIS waves through, is process theater. | The keystone milestone is a *closed* loop, honestly measured. Improvement is milestone 2. Any invariant violation fails the turn. | 378 379 --- 380 381 ## 7. What V3 does not change 382 383 - V3 is the frozen current edition as of 27 September 2026. V2 remains 384 archived unchanged. No silent edits. 385 - The Infinite Game method (propose, freeze contract, admit, decompose, 386 build isolated, test at the right layer, hostile review, escalate, receipt, 387 ratify/reject/reopen, feed forward) is unchanged. The closed loop of H10 388 is that method turned inward on the substrate. 389 - The claim ledger discipline is unchanged: what exists, what is being 390 repaired, what remains a target. Every H5-H10 entry above is a target. 391 - M19 remains reopened. Nothing in V3 builds on a misleading layer. 392 - The lineage boundary is unchanged: contemporary AI systems are 393 construction tools and oracles, not permanent ancestors. 394 - No sovereign training has occurred. AIEN_0 and M20-M40 remain planned. 395 396 --- 397 398 ## 8. Roadmap mapping 399 400 | V3 element | Roadmap touchpoint | Note | 401 |---|---|---| 402 | H5, H6 | M15-M19 era extension | Embryonic in current Omega accelerator work | 403 | H7 | Proposed era extension, M19-M20 | Head-to-head vs dispatch/wait | 404 | H8 | Redefines M37; AIENOS trust lane | Epoch barrier; power-cycle continuity | 405 | H9 | Extends M8, M13, M14 | OmegaPhysicalCost; measured contention facts | 406 | H10 | Mechanism for M38; shape of M40 | Keystone: first closed loop | 407 | Copy engines (cost-selected, not doctrinally assigned) | Forge duties | Omega's physical cost calculus decides per task; candidate uses include checkpoint staging, compaction, snapshots | 408 | Authority domains | AEGIS duties | Capabilities + shared substrate | 409 410 Roadmap numbering changes, if any, require a new dated edition per the V2 411 freeze rule. Nothing here renumbers milestones unilaterally. 412 413 --- 414 415 *Ratified 27 September 2026. H5-H10 are the canonical research program. 416 Every claim above is a hypothesis with a named falsifier; none is a 417 finding.*