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/native/orig4/README.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 / native / orig4 / README.md` 26 lines ยท 1813 bytes Raw Blame History Rendered 1 # native/orig4: ORIG-4 shadow advice (omega-mv#731) 2 3 Default-off shadow advisor for the matvec arm chooser; specification in 4 `spec/shadow-advice-v0.md`. It consumes the `omexp-v1` records written by the 5 default-off tap of `tests/runtime/rx_empirical_optimizer.c` and scores the admissible 6 arms with the ORIG-2 candidate scorer. It changes no decision: output is `SHADOW`, 7 `ADVICE`, `FALLBACK` and `COST` lines on fd 1, nothing is read back. 8 9 | file | role | 10 |---|---| 11 | `shadow.om` | the advisor unit (admission, per-record advice `hvscore`, cost sums, modes S/G/H); handwritten .om | 12 | `shadowmain.om` | `fn main`: mode dispatch, the last file of the program unit | 13 | `orig4.pin` | the compiler hash and every pinned source (repo, commit, path, sha256) and candidate image hash; all aien-train units at one aien-train main commit, the omega unit at an ancestor of HEAD | 14 | `candidates/` | the immutable ORIG-2 candidates (`SHA256SUMS`), byte-identical to aien-train `evidence/SI19-ORIG2/candidates` | 15 16 Unit order (concatenation, no import): add32 mul32 metadata affine fixture world omexp 17 omexpfix select (pinned) + `shadow.om` + caller (`shadowmain.om` or 18 `tests/orig4/shadow-test.om`). Compiler: this repository's `seed/out/omc`. 19 20 Run: `ORIG4_TRAIN_GIT= sh tests/orig4/run.sh` (output under 21 `build/orig4`, scratch build directory removed on exit; gate 22 `tests/gates/omega-orig4-shadow.gate`, step `tests/gates/run.sh orig4-shadow`, which needs 23 the sibling `../aien-train` and checks out the one aien-train main commit `orig4.pin` 24 names). Expected stdout of every SYNTHETIC-fixture run: `tests/orig4/expected/`. Real records: `ORIG4_RECORDS= 25 ORIG4_ALLOW= OUT= sh tests/orig4/run.sh`; the owner 26 dataset stays local, only its hash and the receipts are public.