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 / evidence / BATCH-2c824805 / README.md
| 1 | # Compiler batch 2 (pin 2c824805) |
| 2 | |
| 3 | This batch was EXERCISED on the arm64 Linux host. That is not GPU qualification. |
| 4 | |
| 5 | - Integration branch: `integ/omc-batch2`, cut from main `c5d98104`. It contains: |
| 6 | - #810, IR v1 validation (OmegaMemory) |
| 7 | - #808, `peercred` 220, `pollfds` 221 and `sendmsg` 222, the sockopt allowlist, and getppid moved to syscall 173 (OmegaNet) |
| 8 | - #806, function-mode `const` (OwnDriver) |
| 9 | - #805, `flock` 197 (AllenContacts) |
| 10 | - #815, saturating float-to-integer casts and the const-after-fn ordering fix (OmegaNext) |
| 11 | - Compiler: `seed/out/omc` sha256 `2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f`, from the om4 → stage1 → stage2 fixpoint. |
| 12 | - Source `seed/omc/omc.om`: sha256 `7703da00055fc0c7a91fcae43071df76a3f277dbe867cb284a3bdff3bedb7e1b`, 12,040 lines, 405 functions. |
| 13 | - Size: 325,524 bytes. `WolframLanguageEvaluator: (325524-176)/4 -> 81337` words. |
| 14 | - `om/units.sh` pins this compiler. The bindings were regenerated from omega-bridge `431fff0a`, and `size-history.tsv` gained the row `RM-batch2`. |
| 15 | |
| 16 | ## Checks (nice -n 19 ionice -c3, -j2) |
| 17 | |
| 18 | | Check | Result | Log | |
| 19 | |---|---|---| |
| 20 | | C oracles built; `seed/host/check.sh`, which covers gate-ir with the oracles, gates 7..18, contracts and their mutants, C parity, native host fixtures and 53 host negative controls | RC=0 | qualification.log | |
| 21 | | `seed/omc/gate5.sh` referee | GATE5 PASS | qualification.log | |
| 22 | | gate8, including `convert_sat` (25 checks: both ends of every integer width, truncation, NaN → 0, f32 and f64 sources) | 27 cases PASS | qualification.log | |
| 23 | | gate16, including `const_order` | 19 programs PASS | qualification.log | |
| 24 | | gate18: keyword table parity, now 157 packs with flock and the network words | PASS | qualification.log | |
| 25 | | `gate-ir-trap.py`; `mutants-ir-trap.py` | RC=0; 5/5 caught | ir-trap.log | |
| 26 | | Frozen C2 `manifest-c2.txt` | 5870/5876; the 6 failures are exactly the declared rows below | c2.log | |
| 27 | | `manifest-c2-capacity.txt` (#768) | 3/3 | c2.log | |
| 28 | | `manifest-c2-batch2.txt` | 3/3 | c2-batch2.log | |
| 29 | | Negative control: compiler 189ada82 on `manifest-c2-batch2.txt` | 0/3 | c2-batch2-negative.log | |
| 30 | |
| 31 | Negative controls for the fixes: |
| 32 | - The 189ada82 compiler runs `convert_sat` with exit 1, because it leaves uchar 300 uncanonicalized instead of 255. |
| 33 | - The 189ada82 compiler refuses `const_order` with error 16. |
| 34 | - The new instruction encodings were checked against GNU as/objdump, and the decimal values computed with Wolfram. |
| 35 | |
| 36 | ## Declared C2 deltas |
| 37 | |
| 38 | `manifest-c2.txt` stays frozen. The new rows are in the additive file `manifest-c2-batch2.txt`, which records the reason for each: |
| 39 | - **c2-00015:** getppid now uses syscall 173. The new binary exits 0, while the 189ada82 build of the same source exits 7. |
| 40 | - **c2-00033:** the sockopt allowlist adds checking code. The program exits 0 under both compilers. |
| 41 | - **c2-00728:** IR `continue` outside a loop is still error 3, now reported on its own line (#810). |
| 42 | |
| 43 | ## Not in this batch |
| 44 | |
| 45 | - NoSystemd host words 198..219: no PR exists yet, so they move to batch 3. |
| 46 | - `peernam` 223, requested by AllenScience: batch 3. |
| 47 | - #775, the length of an empty text passed to a `view`: batch 3. |
| 48 | - The v7 memory producer, irwasm and oracle: OmegaMemory2 is building them on this branch for a later reseed. |
| 49 | - #789 stays BLOCKED_OPERATOR. |
| 50 | |
| 51 | ## Final run on the promotion head (added 2026-10-26) |
| 52 | |
| 53 | After main `705c0f01` (#813 om/tls, #814 seed/json and seed/net) was merged into the branch and the |
| 54 | seed/json gate pin was moved from `189ada82` to this compiler, a fresh clone of `integ/omc-batch2` at |
| 55 | `87f501ad980ca7406f8186612db30945a0bfd907` ran every check below under nice -n 19 ionice -c3, -j2, |
| 56 | with siblings physics `048e5f5e` and omega-bridge `431fff0a`. Logs are in `final-87f501ad/` |
| 57 | (`SHA256SUMS` lists them). Compiler bytes are unchanged from the rows above. |
| 58 | |
| 59 | | Check | Result | Log | |
| 60 | |---|---|---| |
| 61 | | C oracles; `seed/host/check.sh`; `seed/omc/gate5.sh` | HOSTGATE5_RC=0, GATE5 PASS (gate8 27, gate16 19, gate18 157, 53 host negative controls) | qualification.log | |
| 62 | | Frozen `manifest-c2.txt` | 5870/5876; the 6 failures are exactly c2-00304/00306/00675 (capacity) and c2-00015/00033/00728 (batch 2) | c2.log | |
| 63 | | `manifest-c2-capacity.txt`; `manifest-c2-batch2.txt` | 3/3; 3/3 | c2.log | |
| 64 | | Negative control: 189ada82 on `manifest-c2-batch2.txt` | 0/3 | c2-batch2-negative.log | |
| 65 | | `gate-ir-trap.py`; `mutants-ir-trap.py` | RC=0; RC=0 | ir-trap.log | |
| 66 | | `tests/gates/run.sh om-units` | SHA256-PARITY PASS, BLAKE3-PARITY PASS, rc 0, work tree clean | om-units.log | |
| 67 | | `seed/json/tests/gate-json.sh` (pin now 2c824805) | JSONGATE PASS rows=8758 mutants=5 | json.log | |
| 68 | | `seed/net/tests/check.py` | HTTP-CHECK PASS | net.log | |
| 69 | | `om/tls/test/*/run.sh`, eight suites, `TLS_NET=1` | all PASS; final lines identical to 189ada82; net=PASS (read-only GETs to api.github.com and raw.githubusercontent.com, EHLO/QUIT to mail.gandi.net) | tls-*.log | |
| 70 | | `crumb verify .`; history diff of SEED-0, CONTRACTS, BATCH-189ada82 against `326b4a63` | 164 current; no diff | crumb-history.log | |
| 71 | |
| 72 | Pin negative controls on the working clone (not in this directory): the 189ada82 compiler and the |
| 73 | old `JSON_OMC_PIN` both end the JSON gate with `JSONGATE FAIL ... differs from pin`, and the x509 |
| 74 | suite refuses 189ada82 with `FAIL omc is not the pinned compiler`. |