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/omega-mv/blob/main/spec/r13-living-system.md # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / spec / r13-living-system.md` 162 lines ยท 9263 bytes Raw Blame History Rendered 1 # R13 living system 2 3 Status: see the receipt under `evidence/R13/`. The receipt names its exact 4 candidate commit. Only a clean, candidate-bound GB10 run with the resident seat 5 observed and every control passing may say `R13_LIVING_SYSTEM = PASS`. 6 R14, R15 and R16 are not claimed. 7 8 This is the component acceptance specification for ADR 0016 R13. It composes 9 R3 to R12. It does not change what any of them means. 10 11 ## What is proved 12 13 I gave the running body a goal. After that, the test only serves production 14 requests (on their own thread) and reads the world. Nobody called AIEN, Omega, 15 AEGIS, the seat or R9. 16 17 ```text 18 human goal (outside publication: matvec 64x256 below 55% of the confirmed cost) 19 -> aien.assess -> aien.plan (reason GOAL, names goal seq 1) 20 -> omega.reconsider (search epoch 2 takes up the plan) 21 -> omega.synthesize.k -> verify.k -> measure.k (R10, unchanged) 22 -> living.experiment.prepare (trial 0 from plan seq and epoch) 23 -> living.blackwell.add x16 (R5 admits the Blackwell need, R7 24 validates the grant read from an R8 25 slot, the resident GB10 seat claims, 26 executes IADD3 and publishes) 27 -> living.experiment.evidence x16 (each sum checked, next trial posed) 28 -> aien.experiment (belief: SUPPORTED, 16 replicates) 29 -> omega.select (waits for that belief for its epoch) 30 -> generation.prepare (R9 draft proposed, subject 63) 31 -> generation.promote (subject 64 holds PROMOTE; R9 barrier) 32 -> in-force record (only now does production switch) 33 -> aien.observe/predict/assess (confirmed prediction on the new 34 record; goal status MET) 35 ``` 36 37 The order comes only from object dependencies, capability checks, R5 38 admission, the seat's claim ring, and R9's generation state. 39 40 ## Seams added 41 42 | Where | What | Why | 43 |---|---|---| 44 | `rx_living.{c,h}` | five reactions and six objects in the caller's world | the experiment, its evidence, the R9 draft, the promotion, the in-force record | 45 | `rx_aien.c` | `aien.experiment` (opt-in); goal branch of `aien.plan` first; `aien.assess` keeps a confirmed cost from another core class as the expected value while status stays UNKNOWN | AIEN must read physical evidence; a goal must be able to cause the plan when the body has moved to an unexplored core class | 46 | `rx_omega.c` | `rx_omega_require_evidence` (opt-in): a later selection waits for AIEN's belief for its epoch. `rx_omega_serve_from` (opt-in): production reads the in-force record. `rx_omega_identity_of` | Omega reacts to the evidence; a selection is only eligible until promoted; the durable bytes must rebuild the identity | 47 | `rx_world.c` | a seat descriptor may carry one more trigger when it is its own R8 capability slot | defect, below | 48 49 R10 and R11 never call the opt-in functions. The two `rx_aien.c` goal changes 50 matter only when a human goal is present: the goal is considered before an 51 open hypothesis, and a cost confirmed on another core class, above the target, 52 with the current class unexplored, plans once (reason GOAL) instead of waiting 53 for the old prediction to fail. `make test-r10` (198 checks) and 54 `make test-r11` (355 checks, living run on both core classes) pass unchanged. 55 56 ## The GPU bridge 57 58 R10's matvec and R12's add share no operation. The bridge is the smallest one 59 that keeps every rule: an Rx reaction (`living.blackwell.add`) on canonical 60 objects, asking R5 for the Blackwell feature, holding its output WRITE through 61 an R8 slot, executed by the resident R12 seat. Its operands come from the plan 62 sequence and search epoch; 16 trials wrap past 2^32. The add is a physical 63 witness of the experiment and its authority path. It does not measure matvec 64 cost and is not the promoted realization. The receipt says so. 65 66 ## Authority 67 68 - The experiment grant is acquired once, before the goal, through the real R8 69 path: a client reaction publishes a request, `aegis.decide` applies policy, 70 `root.install` mints through the Aienux admin and fills slot 0. 71 - During the episode the seat runs 16 claims on that slot: 72 `aegis.decide` and `root.install` activations during the episode are 0. 73 - The authority table is swept at the end of every mode. Only subject 64 holds 74 `RX_GEN_RIGHT_PROMOTE` (on `RX_GEN_RES_PROMOTION`, nothing else); AIEN, 75 Omega, serve, the experiment subjects, AEGIS and the outside hold no mint, 76 revoke, reclaim, epoch, clock or promote right. Entry 0 is the Aienux office 77 itself. 78 - R9 refuses a promoter that is the proposer, and validates the promotion 79 right against the native authority. 80 81 ## Generation 82 83 `generation.prepare` wakes on the selection, the goal and the plan. It checks 84 who wrote each input (selection by `omega.select`, 85 belief by `aien.experiment`, evidence by the evidence reaction, GPU output by 86 the seat, search by `omega.reconsider`, plan by `aien.plan`, goal from 87 outside); a selection that lands before the goal (the body researched a new 88 core class on its own) is declined for want of an author and checked again 89 when the goal arrives. It re-derives the realization identity from the stored bytes, walks the 90 crumbs selection <- measure <- verdict <- synthesis and GPU output <- ... <- 91 trial 0, and proposes a draft binding: 92 93 - 11 canonical objects `{id, generation, digest}` (snapshot content digest, or 94 the publishing crumb's digest for objects outside its snapshot); 95 - evidence (epoch, sums, trials, selected and reference cost); 96 - model (AIEN's experiment belief fields); 97 - realization bytes; config (regime, margin, kind, length, identity); 98 - provenance: for each of the 11 nodes, its crumb id, publishing reaction and 99 crumb digest; 100 - the authority epoch and generation of the experiment grant. 101 102 The R9 proposal is an effect outside the world; it is keyed by epoch so a 103 re-run after an invalidated publication reuses it. Promotion is keyed by the 104 active generation for the same reason. 105 106 ## Liveness 107 108 Production runs on its own thread from before the goal. The receipt counts 109 production commits between crumbs: goal to AIEN's evidence belief, plan to 110 selection, trial 0 to evidence, goal to promotion, candidate to promotion 111 (the R9 barrier, about 100 ms of disk sync, runs inside `generation.promote` 112 while production continues). It also reports production that committed while 113 an AIEN activation itself was executing; AIEN activations take microseconds, 114 so that number is usually 0 and is not gated. The AIEN, Omega and GPU windows 115 largely coincide: Omega's own search finishes before the experiment does, and 116 its selection then waits for the belief. 117 118 ## Causal proof 119 120 - `rx_world_verify_crumbs` succeeds; no illegal lifecycle transition. 121 - Promotion's crumb reaches goal, plan, search, trial 0, GPU output, evidence, 122 belief, selection and candidate. 123 - The durable provenance is read back from the promoted generation's files: 124 each crumb exists, has the recorded digest and publishing reaction, and is 125 an ancestor of the promotion; adjacent nodes are ancestors of each other. 126 - The realization bytes on disk rebuild the identity in the durable config and 127 in the in-force record. 128 - After the goal, every outside publication is a production request. 129 - No production result used a realization before it was in force. 130 131 ## Controls 132 133 | Control | Setup | Must hold | 134 |---|---|---| 135 | A no AIEN | R11 and `aien.experiment` not registered | no plan, no GPU claim, no candidate, generation unchanged | 136 | B no promotion authority | promoter holds no PROMOTE capability | candidate proposed; R9 returns `RX_GEN_ERR_AUTHORITY`; nothing in force; production stays on the reference; recovery sees the old generation | 137 | C revoked experiment | grant revoked before the goal | seat blocked on authority, no claim, no evidence, production continues | 138 | D stale generation | GPU output retired while the seat holds the claim | result refused, no evidence, no candidate | 139 | E failed verification | a crashing candidate added to the search | verifier refuses it; the promoted generation holds a verified one | 140 141 ## Defect found in an earlier gate 142 143 Before R13 the world refused any resident-seat reaction with more than one 144 trigger. R8's `rx_aegis_use_slot` adds a slot trigger to every slotted 145 reaction, so a seat could not use the R8 fast path at all. The fix accepts 146 exactly one extra trigger, only when it is that reaction's own declared 147 capability slot. Regression checks are in `rx_r12_resident.c` (valid slot wake 148 accepted, unrelated second trigger refused). R8, R12 host and R12 GB10 were 149 rerun. 150 151 ## Qualification 152 153 `make test-r13-host` runs on the Spark with R12's processor stand-in in place of 154 the chip and reports `HOST_PASS_NON_SILICON` at best. `make test-r13-silicon` 155 uses the resident Blackwell seat. Hosted CI only builds R13: its runners have 156 one core class and no GB10. 157 158 ## Not claimed 159 160 R14, R15, R16; cognition beyond R11's statistical model; realization invention 161 beyond R10's emitters; kernel isolation of the authority (it is the host-library 162 C port of Aienux); that the GPU add measures matvec cost.