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
omega-mv / docs / rx-r1-world-unification.md
| 1 | # One resident object |
| 2 | |
| 3 | Status: host CPU implementation. The qualification receipt is what claims the |
| 4 | gate. This is not a graphics-processor result, and it is not the native |
| 5 | capability root. |
| 6 | |
| 7 | There are still two records, and they are two aspects of one object: |
| 8 | |
| 9 | - `RxObject` in `src/runtime/rx_world.h` is the canonical object. It holds the |
| 10 | only id and the only generation. |
| 11 | - The 32-byte `OmegaSharedWorldObject` from `OMEGA_SHARED_WORLD_V1` is the |
| 12 | physical projection of that same object: id, generation, active or revoked, |
| 13 | a byte offset, and a length. The permission word in that record is written |
| 14 | as zero and is never read as authority. |
| 15 | |
| 16 | No third world type was added. The physics `m20-shared-world` tree was not |
| 17 | edited. Its object table holds 64 records; the host image holds one 32-byte |
| 18 | slot per host object. That slot starts empty. A live object does not need a |
| 19 | window. Attaching a window does not allocate an id and does not advance the |
| 20 | generation. A second attach is refused. Detaching the window leaves the id |
| 21 | and the generation in place. Moving the bytes to another offset leaves the |
| 22 | content digest in place. The 32-byte record and the 128-byte descriptor are |
| 23 | the frozen layout. |
| 24 | The frozen header's transform request and result are rejected on this path. |
| 25 | A ring slot here is a wake, a claim, a publication, a completion, a fault, or |
| 26 | a shutdown. |
| 27 | |
| 28 | ## What one object holds |
| 29 | |
| 30 | Semantic aspect, on `RxObject`: type, field values, per-field versions, the |
| 31 | writer of each field, persistence class, publication version, content digest, |
| 32 | and a capability reference `{cap_id, generation}`. |
| 33 | |
| 34 | Physical aspect, on that same `RxObject`, and copied into the 32-byte record |
| 35 | only while a window is attached: region offset, byte length, placement, |
| 36 | machine locality, and coherency. With no window, the 32-byte slot is revoked, |
| 37 | zero-length, and carries the same generation. It is not a second object. |
| 38 | Locality and coherency do not fit the 32-byte record. The coherent record |
| 39 | carries offset, length, and active or revoked. The CPU image's coherency value |
| 40 | means "host image of the shared layout." It does not mean a graphics processor |
| 41 | has mapped it. |
| 42 | |
| 43 | Identity is the id plus the generation. It is not the offset, not a CPU |
| 44 | pointer, not a graphics address, and not a ring slot. |
| 45 | |
| 46 | The projection does not allocate. Creating an object uses the generation |
| 47 | already on that slot. Retiring advances that same generation and copies it |
| 48 | into the projection. A write to the projection's generation or offset is |
| 49 | rejected as a lie. A write to its permission word changes nothing. |
| 50 | |
| 51 | ## Descriptor |
| 52 | |
| 53 | Publication of an object that has a capability reference places one 128-byte |
| 54 | descriptor on the publication ring. The descriptor names the same id and |
| 55 | generation, the canonical publication version, and the causal record of the |
| 56 | write. The CPU checker refuses a bad magic or version, a sequence that is not |
| 57 | the next one, a torn checksum, a stale generation, a length outside the |
| 58 | object, a capability reference the root does not accept, and a transform call. |
| 59 | |
| 60 | Rings are transport. They are not a second copy of the object. |
| 61 | |
| 62 | ## Not claimed |
| 63 | |
| 64 | - The graphics-processor worker was not run. |
| 65 | - The Linux mint process is still the authority oracle. |
| 66 | - Real AIEN and real Omega synthesis are not connected. |
| 67 | - AEGIS was not rewritten. |