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 / native / control / evidence / replay-20261116 / README.md
| 1 | # Replay onto omega-mv main, 2026-11-16 |
| 2 | |
| 3 | Evidence class: **EXERCISED** on the Spark host CPU (aarch64 Linux, native, no |
| 4 | QEMU). No GPU, timing, production dispatch or power-loss claim. |
| 5 | |
| 6 | - Base: omega-mv `main` at `50feb135306176947a999362dd637d37c907f6fc`. |
| 7 | - Source: the 2026-10-23 branch `feat/om-control-contracts` (19e8168bb, |
| 8 | 6923da4c3), cherry-picked onto that base, then the review fixes below. |
| 9 | - Compiler: in-tree `seed/out/omc`, sha256 |
| 10 | `34d611ca0415eab1728d3234911d90e74af17ba9ab0c581d559f48274d7ca6d3`. |
| 11 | - Commands: those in [../659/README.md](../659/README.md) with `seed/out/omc` |
| 12 | run directly and no QEMU wrapper. Live record: Linear DRA-312. |
| 13 | |
| 14 | ## Review fixes in this revision |
| 15 | |
| 16 | Two fresh Claude Opus 5.5 reviews (medium effort) found, and this revision fixes: |
| 17 | |
| 18 | 1. The new files were labelled AGPL-3.0-only; the tree is Apache-2.0 since |
| 19 | d863780eb. All twelve `.om` files now carry Apache-2.0. |
| 20 | 2. Guards that survived mutation, now each covered by a test: |
| 21 | zero generation and zero expiry in `actvalid`; the rights bit-subset check |
| 22 | replaced by a numeric comparison (a smaller child with a bit the parent |
| 23 | lacks); `actrecon` accepting a ready record (an unstarted or released attempt |
| 24 | could be marked performed); reserved words 6 and 7 of the authority facts and |
| 25 | word 7 of the receipt; a prefix that fills the whole context. The delegation |
| 26 | test also covers a child whose expiry equals its parent's. |
| 27 | 3. The compiler pin, the 2026-10-23 expected counts and the workflow wording were |
| 28 | stale; `../../README.md` and `../659/README.md` were updated. |
| 29 | |
| 30 | Kept as written: `kvmatch` runs `kvvalid` on the expected header as well as the |
| 31 | saved one. Once the saved header is valid and words 1..6 must match, the scalar |
| 32 | checks on the expected header can only change which refusal code is returned, |
| 33 | never whether reuse is admitted. Both headers go through the same validator. |
| 34 | |
| 35 | ## Results |
| 36 | |
| 37 | | Run | Compile exit | Run exit | Output | |
| 38 | |---|---|---|---| |
| 39 | | suite action | 0 | 0 | `action checks=241 000` | |
| 40 | | suite delegate | 0 | 0 | `delegate checks=078 000` | |
| 41 | | suite reuse | 0 | 0 | `reuse checks=075 000` | |
| 42 | | stub action | 0 | 1 | `action checks=241 135` | |
| 43 | | stub delegate | 0 | 1 | `delegate checks=078 063` | |
| 44 | | stub reuse | 0 | 1 | `reuse checks=075 072` | |
| 45 | | refusal wrong-action-size | 7 | not run | `omc: line 169: error 7` | |
| 46 | | refusal aliased-action | 19 | not run | `omc: line 168: error 19` | |
| 47 | | refusal wrong-payload-size | 7 | not run | `omc: line 87: error 7` | |
| 48 | | mutant action-attempt | 0 | 1 | `action checks=241 003` | |
| 49 | | mutant action-authority | 0 | 1 | `action checks=241 008` | |
| 50 | | mutant action-binding | 0 | 1 | `action checks=241 072` | |
| 51 | | mutant action-epoch | 0 | 1 | `action checks=241 003` | |
| 52 | | mutant action-unknown | 0 | 1 | `action checks=241 013` | |
| 53 | | mutant delegate-depth | 0 | 1 | `delegate checks=078 001` | |
| 54 | | mutant delegate-rights | 0 | 1 | `delegate checks=078 031` | |
| 55 | | mutant delegate-scope | 0 | 1 | `delegate checks=078 004` | |
| 56 | | mutant reuse-identity | 0 | 1 | `reuse checks=075 031` | |
| 57 | | mutant reuse-payload | 0 | 1 | `reuse checks=075 004` | |
| 58 | | review mutant: drop generation-0 check (action.om) | 0 | 1 | `action checks=241 002` | |
| 59 | | review mutant: drop expiry-0 check (action.om) | 0 | 1 | `action checks=241 002` | |
| 60 | | review mutant: child expiry gt to ge (delegate.om) | 0 | 1 | `delegate checks=078 001` | |
| 61 | | review mutant: rights subset to numeric gt (delegate.om) | 0 | 1 | `delegate checks=078 003` | |
| 62 | | review mutant: actrecon state guard admits ready (action.om) | 0 | 1 | `action checks=241 009` | |
| 63 | | review mutant: actauth drops reserved c6 and c7 (action.om) | 0 | 1 | `action checks=241 004` | |
| 64 | | review mutant: actrecon drops reserved s7 (action.om) | 0 | 1 | `action checks=241 002` | |
| 65 | | review mutant: kvvalid prefix gt to ge (reuse.om) | 0 | 1 | `reuse checks=075 001` | |
| 66 | |
| 67 | Review mutants were applied as exact one-line text substitutions on a scratch |
| 68 | copy of the module: |
| 69 | |
| 70 | | Mutant | Original line | Replacement | |
| 71 | |---|---|---| |
| 72 | | drop generation-0 check | `if or eq get r 4 0 eq get r 5 0` | `if eq get r 5 0` | |
| 73 | | drop expiry-0 check | `if or eq get r 6 0 ne get r 7 0` | `if ne get r 7 0` | |
| 74 | | child expiry gt to ge | `if gt get c 4 get p 4` | `if ge get c 4 get p 4` | |
| 75 | | rights subset to numeric gt | `if ne and get c 1 get p 1 get c 1` | `if gt get c 1 get p 1` | |
| 76 | | actrecon state guard admits ready | `if not or eq get r 1 2 eq get r 1 3` | `if eq get r 1 4` | |
| 77 | | actauth drops reserved c6 and c7 | `if or ne get c 3 0 or ne get c 6 0 ne get c 7 0` | `if ne get c 3 0` | |
| 78 | | actrecon drops reserved s7 | `if or gt get s 1 2 or ne get s 6 0 ne get s 7 0` | `if or gt get s 1 2 ne get s 6 0` | |
| 79 | | kvvalid prefix gt to ge | `if gt get p 2 get p 3` | `if ge get p 2 get p 3` | |
| 80 | |
| 81 | The landing receipt for the exact landed head (commands, exit codes, log |
| 82 | sha256) is kept with the lane's records; this file is the human-readable copy. |
| 83 | |
| 84 | ## Still open |
| 85 | |
| 86 | Trusted authority and receipt verification, durable store and dispatch |
| 87 | integration, concurrency, crash and restart, and GPU or hardware profiles are |
| 88 | NOT_RUN, as in [../659/README.md](../659/README.md). |