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 / SECURITY-673 / host-gate1 / REPORT.md
| 1 | # Host fixture gate as `.om` |
| 2 | |
| 3 | ## Change |
| 4 | |
| 5 | `seed/host/gate.sh` is deleted. `seed/host/gate.om` is compiled by |
| 6 | `seed/out/omc` and performs the fixture gate itself: it creates and enters |
| 7 | `build/seed/host/run`, compiles each fixture with the seed compiler, runs it, |
| 8 | enforces a native 10-second deadline with `waitpid`/`killpid`, and rejects every |
| 9 | leftover artifact. `seed/host/check.sh` only builds and launches the gate. |
| 10 | |
| 11 | The gate needs the native `chdir` word from `a897ecc`; no shell command performs |
| 12 | a test operation. |
| 13 | |
| 14 | ## Identity |
| 15 | |
| 16 | ```text |
| 17 | 39d4be6db9c1cbc99158251a8ecbd4eb90220fd84d21cb3d7f0f4185660e776d seed/host/gate.om |
| 18 | 66b4cf34e5cd2c8ff003bd142e7309f52178b66c2380f78ac313b6eb8b67471b seed/out/omc |
| 19 | ``` |
| 20 | |
| 21 | The compiler is the self-reproducing fixpoint reported by |
| 22 | `seed/omega-from-seed.sh` (`PASS omc fixpoint 66b4cf34...`). |
| 23 | |
| 24 | ## Verification |
| 25 | |
| 26 | Command: `sh seed/host/check.sh` |
| 27 | |
| 28 | Result: exit 0. The gate printed all ten fixture lines, including the new |
| 29 | `PASS native chdir, create below it and unlink`, followed by: |
| 30 | |
| 31 | ```text |
| 32 | PASS 18 bounds, packet, mutability, type and function-mode negative controls |
| 33 | PASS 41 total host negative controls, including cwd, readlnk and sockopt |
| 34 | PASS 70 original fixtures retain identical machine code, refusal status and diagnostics |
| 35 | PASS native-host qualification; no C/Rust compiler, assembler or linker used |
| 36 | ``` |
| 37 | |
| 38 | Raw output: `host-gate.log`. |
| 39 | |
| 40 | ## Limits |
| 41 | |
| 42 | `check.sh` remains shell because it is the bootstrap/quotation boundary: it |
| 43 | rebuilds `seed/out/omc` and launches the gate. The gate uses `seed/out/omc` as |
| 44 | the compiler under test and `/proc/self/exe` for the `location` fixture, so that |
| 45 | fixture is emitted as `build/seed/host/run/location` rather than the shared |
| 46 | `fixture` name. |