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 / FOLDERS.md
| 1 | # Folders: what each one is for |
| 2 | |
| 3 | These notes were kept from the retired crumb files (Drake, 2026-11-08: "get rid of crumbs", |
| 4 | "keep the parts that worked"). They are plain notes: nothing generates or checks them. If a change |
| 5 | makes a note wrong, fix the note in the same change. Folders with no written note are not listed. |
| 6 | Two crumb files already under evidence/ stay, because existing evidence is never deleted; their notes are still listed here. |
| 7 | |
| 8 | ## `aienux/` |
| 9 | |
| 10 | Aienux, the OS layer of Sovereign Intelligence (SI), mirroring `gpu/`: pure-Omega units moved here from canonical Aienux (`rad:z2Q6ob2gL6Qo5oUMpyehukayVF7mN`, `1f12818d`) plus its OS-layer siblings `rtl8127-omega`, `spark-supervisor`, and `spark-connector` with full Git history, and pure-Omega conversions of `atlas` (`aienux/atlas/`), `pi-register` (`aienux/pi-register/`), `spark-debugger` (`aienux/debugger/`), `capability`, `store`, `boot`, `argus`, `disk`, `net/core`, `kernel/core`, `kernel/hal`, `kernel/mm`, `kernel/arch`, `kernel/artifact`, `aegis`, and all 21 remaining Wave 4 Rust crates (`aienux/crates/`). `aienux/README.md` gives the layout and `aienux/UNITS.md` lists the 112 verified units (42 `@run` behavioral suites). |
| 11 | |
| 12 | Rules: |
| 13 | |
| 14 | - only Omega source and the provenance tables describing the move; C, Rust, assembly, Python, shell and other files stay upstream until rewritten in Omega and are listed in `aienux/NOT-YET-OMEGA.tsv` and `aienux/NOT-YET-OMEGA-EXTRAS.tsv` |
| 15 | - every unit is built by this repository's own `seed/out/omc`; no moved unit carries a compiler pin of its own and `aienux/units-gate.om` refuses any other compiler |
| 16 | - `aienux/import/` is the record of each move (`filter-repo` command, `paths.txt`, `commit-map`, `ref-map`); never edited after the landing that wrote it |
| 17 | - existing receipts stay upstream where they were written; new receipts are written in this repository's `evidence/` |
| 18 | |
| 19 | ## `apps/` |
| 20 | |
| 21 | User-facing Sovereign Intelligence applications, Forge, web generators, Lean proof DAG tooling and publishing tools (`interplane-forge`, `aienos.com`, `interplane.io`, `hop`, `omtex` moved with full Git history under `apps/import/`, plus pure-Omega conversions of `omega-projects`, `aien-edge`, `readings-window`, `aien-translate`, `apps/core/`, `apps/site_builder/`, and `apps/lean-opt/`), mirroring `gpu/`: pure-Omega `.om` units only, gated by `apps/units-gate.om` (`OMEGA-APPS-UNITS`, 131 units). Remaining non-Omega files stay upstream and are indexed in `apps/NOT-YET-OMEGA.tsv`. |
| 22 | |
| 23 | ## `bridge/` |
| 24 | |
| 25 | Compatibility, conversion and ecosystem bindings of Sovereign Intelligence: existing CUDApp compatibility slices (`bridge/cuda/`, `bridge/nvml/`, `bridge/shlib/`) plus pure-Omega units moved with history from `omega-bridge`, `omega-bridge-kit`, `ggml-omega`, and `babel` (`bridge/import/`) and `bridge/core/`, gated by `bridge/units-gate.om` (`OMEGA-BRIDGE-UNITS`, 176 units). Remaining non-Omega files stay upstream (`bridge/NOT-YET-OMEGA.tsv`). |
| 26 | |
| 27 | ## `core/` |
| 28 | |
| 29 | Runtime, memory, recursive self-improvement, mission orchestration and agent core of Sovereign Intelligence (`aien-sovereign-core-mv`, `aien`, `cortex`, `spark-rsi-mv`, `omega-mission`, `hive-view` moved with full Git history under `core/import/`, plus pure-Omega conversions of `hive-not-swarm`, `spark-dream`, `spark-hive`, `mobhub`, `openclaw-rs`, and `aegis-runtime-mv`, and pure-Omega V2 P-256 RSI promotion gate and Sovereign Core standalone runtime/CLI), mirroring `gpu/`: pure-Omega `.om` units only, gated by `core/units-gate.om` (`OMEGA-CORE-UNITS`, 55 units). Remaining non-Omega files stay upstream (`core/NOT-YET-OMEGA.tsv`). |
| 30 | |
| 31 | ## `protocol/` |
| 32 | |
| 33 | Security networking, wire protocols and Synapse coordination of Sovereign Intelligence (`omnet`, `aien-protocols-mv`, `interplane-mv`, `synapse-map`, `synapse-board`, `synapse-claims`, `synapse-pulse`, `synapse-mcp` moved with full Git history under `protocol/import/`, plus pure-Omega conversions of `rad-id-sync`, `open-humanity` including the exact-byte wire codec and `AITR` v1 consent/export + trace-receiver contract, and `synapse` under `protocol/synapse/core/`, and the pure-Omega UOR/Prism GPU bundle verifier and CLI under `protocol/uor-gpu/` with its Lean 4 policy model in `protocol/uor-gpu/proofs/`), mirroring `gpu/`: pure-Omega `.om` units only, gated by `protocol/units-gate.om` (`OMEGA-PROTOCOL-UNITS`, 34 units). Remaining non-Omega files stay upstream (`protocol/NOT-YET-OMEGA.tsv`). |
| 34 | |
| 35 | ## `si/` |
| 36 | |
| 37 | Sovereign Intelligence front-door tools, architecture/benchmark/receipt checkers, Omega MCP server, harness examples, Rosetta corpus, editor fixtures and master integration ledger (`si/STACK.tsv`), mirroring `gpu/`: pure-Omega `.om` units only (`sovereign-intelligence`, `aien-architecture-mv`, `benchmarks-mv`, `aien-receipts`, `omega-mcp`, `omega-harness`, `omega-rosetta`, `tree-sitter-omega`, `vscode-omega`, `omega-packages` moved with full Git history under `si/import/`, plus pure-Omega conversions of `omega-seed-challenge`, `homebrew-omega`, `harvester`, `aien-harness`, `agent-archive`, and `spark-inquisitor`), gated by `si/units-gate.om` (`OMEGA-SI-UNITS`, 501 units). `si/directives/` holds shared 1-line `.om` directives (`om2.om`, `target-*.om`). Every public SI repository is classified in `si/STACK.tsv`, and remaining non-Omega upstream files are indexed in `si/NOT-YET-OMEGA.tsv`. |
| 38 | |
| 39 | ## `train/` |
| 40 | |
| 41 | Training, neural-network primitives and accelerator kernel labs of Sovereign Intelligence (`aien-train`, with Omega LLM (`ollm`) in `train/omega-llm/` across `aarch64`/`gb10`/`x86linux`/`x86efi`/`a64efi`/`darwin`, `omega-dnn`, `omega-blas`, `openaccel-lab`, `omega-kernel-template`), mirroring `gpu/`: pure-Omega `.om` units only, moved with full Git history (`train/import/`), gated by `train/units-gate.om` (`OMEGA-TRAIN-UNITS`, 81 units). Remaining non-Omega files stay upstream (`train/NOT-YET-OMEGA.tsv`). Omega LLM is developed here since 2026-11-19, so `train/omega-llm/` also holds Omega written in this repository. |
| 42 | |
| 43 | ## `train/omega-llm/tools/bench/` |
| 44 | |
| 45 | The Omega coding benchmark of Omega LLM: `bench.om` (the tool), `tasks.om` (165 tasks, one behaviour each, with their shared inputs) and `expect.txt` (the frozen results of the references). The task set is frozen: a change to `tasks.om` or `expect.txt` makes earlier scores incomparable, and `bench check` must pass after any change. Written here, not imported. |
| 46 | |
| 47 | ## `bench/inference_cost/` |
| 48 | |
| 49 | Held-out inference-cost benchmark: evaluate verified programs produced per unit of inference cost; `handover.om` decides from its run records whether a candidate model takes over a job (no real handover decided yet) |
| 50 | |
| 51 | ## `bench/omc_efficiency/` |
| 52 | |
| 53 | OMC-EFF fixed efficiency protocol for the seeded Omega compiler (PROTOCOL.md; PROTOCOL-2.md in-process runtime metric; PROTOCOL-3.md OM-2 source profile; PROTOCOL-4.md Omega drivers and corrected control and exit checks): seven scalar kernels with C twins and committed OM-2 variants, Wolfram-computed expected outputs, the Omega measurement conductor, its coordinator and its self-test |
| 54 | |
| 55 | Rules: |
| 56 | |
| 57 | - PROTOCOL.md, PROTOCOL-2.md, PROTOCOL-3.md and PROTOCOL-4.md are frozen at their commits; any change to cases, arms, rounds, seeds, metrics or rules is a new protocol version, never an edit |
| 58 | - want/*.out values are computed by Wolfram independently of both compilers; never regenerate them from a compiler's output |
| 59 | - the conductor computes no statistics and never reruns a case to select a result |
| 60 | - kernels/om2/CASE.om is kernels/CASE.om plus one om2 line and out spelled obuf, checked by run.om and never generated at run time |
| 61 | - the drivers are Omega (conductor.om, run.om, selftest.om); a control counts as detected only on a valid run whose output differs, and run exits 1 when any conductor invocation fails |
| 62 | |
| 63 | ## `bench/prime_race/` |
| 64 | |
| 65 | AIEN Prime Drag Race implementation side: the shared protocol helper (command line, timed loop, report, canonical bitmap export) and the conventional CPU baseline sieve that other entries are checked and compared against |
| 66 | |
| 67 | Rules: |
| 68 | |
| 69 | - canonical bitmap format is the contract; never reuse previous pass results; no CUDA symbols in AIEN binaries |
| 70 | |
| 71 | ## `bridge/cuda/` |
| 72 | |
| 73 | The CUDA compatibility profile slice: one slice of CUDApp `compat/` at `84b524ca` (its `compat/cuda/` profile), written in Omega only: the profile checker (`c0_check.om`), the frozen profiles, the fixture writer that makes the PTX, the link-only `libcuda.so.1` stub and synthetic executables (`fixture.om`), and the gate (`gate.om`, step `bridge-cuda`) that replays CUDApp's `test.sh`. See its README. |
| 74 | |
| 75 | Rules: |
| 76 | |
| 77 | - the profiles and `c0_check.om` are byte copies of CUDApp's, pinned by `copied.tsv`; v1 and v2 are history and never edited |
| 78 | - `test-sh-84b524ca.txt` and `fixture-*.tsv` are outputs of the old implementation, never retyped; only the oracle tier (CUDApp checkout and old omc given) checks gcc's builds and transcript lines 1 and 2 |
| 79 | - no C, Python or shell in this directory; the C test application stays in CUDApp as the foreign program under test |
| 80 | |
| 81 | ## `bridge/nvml/` |
| 82 | |
| 83 | The NVML library slice: one slice of CUDApp `compat/` at `84b524ca` (its `compat/nvml/` files). `libnvidia-ml.c`, `nvml.h` and `libnvidia-ml.map` are omega-bridge output of `gpu/nvidia/native/nvml/api.om`, so they are listed as derived in `derived.tsv` and not stored; the gate (`gate.om`, step `bridge-nvml`) makes them again with a pinned omega-bridge generator and compares digests. See its README. |
| 84 | |
| 85 | Rules: |
| 86 | |
| 87 | - nothing generated is stored here; a derived file is a row of `derived.tsv` (source, generator and output digests) |
| 88 | - the omega-bridge generator is an input pinned by digest, never a copy in this tree |
| 89 | |
| 90 | ## `bridge/shlib/` |
| 91 | |
| 92 | AArch64 Linux shared libraries written by Omega alone: `shlib.om` turns omc's object-mode output (`OMOBJ001`) and a table into an ELF shared object (no C compiler, assembler or linker), and writes a probe executable that loads it through the system's dynamic loader. Libraries can need other libraries, import C functions, keep state between calls and run every call under a lock. `test.om`, `dep.om` and `imp.om` are the gate's test units; `nvml.om` is CUDApp's libnvidia-ml.so.1 with real bodies over `gpu/nvidia/native/nvml/`, and `nvrmfake.om` with `rmfake.om` (CUDApp's RM fake, unchanged) is the transport the gate runs it against. `ampqmd.om` is CUDApp's `src/omega_ampere_qmd.c` as `libomega-ampere-qmd.so.1`. `README.md` says what works and its limits. |
| 93 | |
| 94 | Rules: |
| 95 | |
| 96 | - only Omega source and its tables; C and `gcc` checks run outside the tree, and the gate runs `readelf` only as a read-only oracle |
| 97 | - every change keeps `tests/gates/run.sh shlib` passing with all its controls caught |
| 98 | |
| 99 | ## `docs/autodiff/` |
| 100 | |
| 101 | M21 OMEGA_AUTODIFF scope, op and error-contract table, status (not qualified) |
| 102 | |
| 103 | ## `docs/dual/` |
| 104 | |
| 105 | DUAL (ARCH-0031) documents in omega: applicability experiment method and findings (APPLICABILITY_EXPERIMENT.md). Experimental; no production gate. |
| 106 | |
| 107 | ## `docs/baremetal/` |
| 108 | |
| 109 | DGX Spark bare-metal live-boot operator runbook (`SPARK-LIVE-BOOT.md`) covering unified `SPARK.EFI` build, offline `OMFWBND1` bundle packing, and fail-closed `BootNext` staging rules. |
| 110 | |
| 111 | ## `docs/gpu/` |
| 112 | |
| 113 | Clean-room GPU driver wire-format, bring-up, and silicon benchmark references (`GSP_RPC_REGISTRY_REFERENCE.md`, `PI_DRIVE_27B_SPARK.md`, `Q38_27B_GB10_STRESS_20261119.md`). Documentation only; pure-Omega driver units live under `gpu/driver/`. |
| 114 | |
| 115 | ## `docs/reservoir/` |
| 116 | |
| 117 | Reservoir reference and contracts (omega#440): RESERVOIR_REFERENCE.md pins the authors' paper and code, lists discrepancies, declares the Gate 2 contract and benchmark protocol before any run, and reports the results; gate2_config.json is generated by res_qualify config and checked for drift. |
| 118 | |
| 119 | ## `docs/tensor/` |
| 120 | |
| 121 | M20 OMEGA_TENSOR spec and qualification checklist |
| 122 | |
| 123 | ## `evidence/hosted-x86-aien-abi1/` |
| 124 | |
| 125 | Seed0-born exact ABI1 plus hosted-x86 superset CPU qualification; no GPU or driver execution |
| 126 | |
| 127 | ## `evidence/physics0/learner/` |
| 128 | |
| 129 | Immutable receipts of learner development runs (seeds 1..5 per level, HOLDOUT/TRIAL/REP withheld by the harness). New files per cut, never rewritten. |
| 130 | |
| 131 | ## `gpu/` |
| 132 | |
| 133 | Omega GPU, the GPU layer of Sovereign Intelligence (SI) (aien-architecture-mv ADR 0047): one directory per back end (`gpu/amd/`, `gpu/nvidia/`, `gpu/intel/`, `gpu/spirv/`, `gpu/hw/`), moved here from CUDApp one piece per landing with the history of its Omega files (`gpu/units.tsv`, 405 units, `OMEGA-GPU-UNITS`), plus `gpu/driver/`, `gpu/cuda-crack/`, and pure-Omega conversions `gpu/adapters/`, `gpu/head-to-head/`, `gpu/forge/`, `gpu/algebra/`, `gpu/checker2/`, `gpu/rx/`, `gpu/physics0/`, and `gpu/turing/` (gated separately by `gpu/extra-units.tsv` / `gpu/extra-units-gate.om`, 22 units, `OMEGA-GPU-EXTRA-UNITS`). `gpu/README.md` gives the layout. |
| 134 | |
| 135 | Rules: |
| 136 | |
| 137 | - only Omega source and the data tables its units read; a C, Python, shell or other file is rewritten in Omega first or stays out (Drake, 2026-11-14: "make sure it's pure omega"); for AMD, `gpu/amd/NOT-YET-OMEGA.tsv` lists each such file and its class, generated by `gpu/amd/rest/classify.om`, never typed |
| 138 | - every unit is built by this repository's own `seed/out/omc`; a back end carries no compiler pin of its own and its gate refuses any other compiler |
| 139 | - `gpu/<vendor>/card.tsv` records the bytes the receipts record (what ran on hardware, and host-built references marked `host`), written once from the receipts it names; never regenerated from a build |
| 140 | - `gpu/<vendor>/import/` is the record of a move (command, commit map); never edited after the landing that wrote it |
| 141 | - receipts stay in CUDApp where they were written; new receipts are written in this repository's `evidence/` |
| 142 | |
| 143 | ## `gpu/amd/rest/` |
| 144 | |
| 145 | One slice of the AMD back end: the checks that CUDApp `84b524ca` ran in C, Python, shell and LLVM assembly, written in Omega: `gate.om` (step `gpu-amd-rest`) replays the verdicts those checkers recorded against the Omega-built units, `classify.om` writes `gpu/amd/NOT-YET-OMEGA.tsv` from `classes.tsv`. See its README. |
| 146 | |
| 147 | Rules: |
| 148 | |
| 149 | - the `*-verdicts.tsv` and `llvm18-sections.tsv` tables are outputs of the old checkers, generated by the oracle scripts named in their headers and the README, never retyped; a case not replayed is a `notrun` row with its reason |
| 150 | - `gpu/amd/NOT-YET-OMEGA.tsv` is regenerated by `classify.om` when `classes.tsv` or the CUDApp tree changes; a CUDApp AMD path no rule covers fails it |
| 151 | - no C, Python or shell here; the old checkers stay in CUDApp as the oracles that recorded the tables |
| 152 | |
| 153 | ## `gpu/amd/bench/barrier/` |
| 154 | |
| 155 | Host micro-benchmark for a gfx942 grid barrier against an AQL dispatch barrier. `gate.om` is the program (compiled with `gpu/amd/gfx942/exec/fma.om` by `seed/out/omc`). `seq.s` and `seq.enc` are the data tables that program feeds to `llvm-mc-18` and compares. It does not submit a packet. `README.md` has the command; `CAPABILITY.md` is the list of operations Omega cannot express yet. |
| 156 | |
| 157 | ## `gpu/nvidia/` |
| 158 | |
| 159 | The NVIDIA units of Omega GPU, the GPU layer of Sovereign Intelligence (SI) (aien-architecture-mv ADR 0047), moved from CUDApp with the history of their files. Step 2 brought the five seeded-Omega units Omega NG pins (`seed/ng/cudapp.lock`): the sm_121 encoder ng pins (a different file from the top-level `om/encoder/bw_enc_sm121.om`, which the Makefile uses), the allocator, the cubin writer, the Blackwell launch unit and the nvrm context unit. Step 3 brought the rest of CUDApp's `om/` tree to `gpu/nvidia/om/` and step 4 the rest of its `native/` tree to `gpu/nvidia/native/` (their CUDApp layout kept). `gpu/nvidia/README.md` and `gpu/UNITS.md` say what is here and what is still in CUDApp. |
| 160 | |
| 161 | Rules: |
| 162 | |
| 163 | - only Omega source (Drake, 2026-11-14: "make sure it's pure omega"); anything else is rewritten in Omega first or stays in CUDApp, listed in the README |
| 164 | - the bytes of the five pinned units are checked by `seed/ng/gpu/gate.cases` against the digests in `seed/ng/cudapp.lock`; a change to one is a re-qualification of that gate, never a silent edit |
| 165 | - `gpu/nvidia/import/` and `gpu/import/` are the records of the moves (command, commit map); never edited after the landing that wrote them |
| 166 | - every unit in `gpu/units.tsv` must compile reproducibly with `seed/out/omc` (`tests/gates/run.sh gpu-units`); the table is written from CUDApp `om/units.sh` and the moved `native/` programs, and changes only with the units it lists |
| 167 | |
| 168 | ## `gpu/nvidia/driver/` |
| 169 | |
| 170 | New Omega for decision logic still written in C in CUDApp `nvrm/` and `m16/` (84b524ca), not a move: card selection, the class-list marshalling, the GPFIFO retire window, the `/proc` readers and failure messages, the M16 marker wait, the enqueue bound and slot search, the extra-channel guard, the copy, allocation-size and VRAM checks. Its gate (`tests/gates/run.sh gpu-driver`) compares it with `oracle-cases.tsv`, printed by a C oracle kept outside the tree. `coverage.tsv` says where the logic of every C function of those directories lives. See its README. |
| 171 | |
| 172 | Rules: |
| 173 | |
| 174 | - `oracle-cases.tsv` is output of the old C, never retyped; regenerate it with the oracle the README names (sha256) and change it only with that oracle |
| 175 | - the parts are joined in the order of `parts.txt`, not listed in `gpu/units.tsv` |
| 176 | - `coverage.tsv` is generated by the generator the README names, never edited by hand |
| 177 | - no C, Python or shell in this directory; the oracle, its mutation controls and the coverage generator stay outside |
| 178 | |
| 179 | ## `gpu/runtime/` |
| 180 | |
| 181 | One slice of the work on CUDApp `src/` (the C runtime, `84b524ca`), not its move: the inventory of every CUDApp `src/` file against this tree (`inventory.om`, its input lists and its committed output `INVENTORY.tsv`), the Omega rewrites done so far of files without an ident record (listed in `rewrites.tsv`; `scanref.om` replaces CUDApp's `src/omega_gpu_scan_ref.c`, not this tree's own `src/` copy), and the gate (`gate.om`, step `gpu-runtime`). See its README. |
| 182 | |
| 183 | Rules: |
| 184 | |
| 185 | - only Omega source and the tables it reads; the old C stays in CUDApp, and the oracle drivers that run it are kept outside the repository by the lane that wrote them, identified by sha256 in the README |
| 186 | - `INVENTORY.tsv` and `check/*.expect.txt` are outputs, never typed: the first is regenerated by `inventory.om`, the second by the oracle |
| 187 | - a rewrite adds its row to `rewrites.tsv` and a `checks.tsv` row whose parts include the Omega file; the gate fails a rewrite with no such row |
| 188 | |
| 189 | ## `gpu/nvidia/checks/` |
| 190 | |
| 191 | Omega checks for part of CUDApp `tests/` and `tools/` (one slice of porting them, not the whole port), each with its table of expected values, their gate `OMEGA-GPU-CHECKS` (`tests/gates/run.sh gpu-checks`), and `INVENTORY.tsv`, which lists every file of CUDApp `tests/` and `tools/` with its status. `README.md` says what each check covers and what it does not. |
| 192 | |
| 193 | Rules: |
| 194 | |
| 195 | - only Omega, tables and Markdown; the C oracles that wrote the tables are kept outside the repository by the lane, identified by sha256, with their build line in `README.md` |
| 196 | - a table is the output of its oracle at the CUDApp commit its header names; regenerate it, never retype a value |
| 197 | - `ports.tsv` is the only hand-written input; `INVENTORY.tsv` is written by `inventory.om` from it, a CUDApp checkout and the `gpu/` file list, and the gate fails when it disagrees with `ports.tsv` or names a `gpu/` file this tree does not have |
| 198 | - every check has a table control, every row of `mutants.tsv` must compile and be caught, and a FROM must match exactly one line of its part |
| 199 | |
| 200 | ## `gpu/spirv/`, `gpu/intel/`, and `gpu/hw/` |
| 201 | |
| 202 | Seeded-Omega SPIR-V and Intel Xe GPU units: `gpu/spirv/` holds the pure-Omega SPIR-V emitter (`emit.om`), validator (`val.om`), compute executor (`run.om`), bit-exact 0-ulp reference/checker with SHA-256 (`conform.om`), and `omega-run.sh` / `check.sh` (replacing Vulkan/lavapipe, external `spirv-val`, and Python OpenCL/Level Zero runners). `gpu/intel/` holds the pure-Omega Intel Xe2/Xe3 (Panther Lake) direct `drm/xe` backend (`xe/requests.tsv`, `records.om`, `batch.om`, `isa.om`, `plan.om`, `launch.om`, and `gate.sh`). `gpu/hw/` holds `hwman`, the hardware capability manifest (`gpu/hw/*.om` with `gpu/hw/manifest.tsv`). |
| 203 | |
| 204 | ## `gpu/kernels/` |
| 205 | |
| 206 | The model-kernel registry of the `omega` package (docs/OMEGA-PACKAGE.md "Kernels"): `registry.tsv` maps (op, shape, target) to how `omega kernels` builds the kernel with this repository's own emitters and how it checks it, and `models/*.ops` lists the ops of a model. |
| 207 | |
| 208 | - only tables; a row names files that exist in the tree and a BUILD/CHECK kind that `tools/omega/kernels.om` implements |
| 209 | - a GPU row's check is a host check; device execution stays NOT_RUN until that device has a receipt |
| 210 | - an op a device cannot get has no row for that target: `select` names the skip, it never borrows another target's row |
| 211 | |
| 212 | ## `tools/omega/` and `bin/` |
| 213 | |
| 214 | The `omega` package: `bin/omega` (the one shell file, choosing lib/<cpu> by `uname -m`), the seeded-Omega command (`driver.om`, `kernels.om`, `main.om`, `arch-<cpu>.om`), its builder (`build.om` with `package.tsv`) and its gate (`gate.sh`). |
| 215 | |
| 216 | - every program in the package is seeded Omega compiled by the pinned `seed/out/omc`; `bin/omega` only picks a directory |
| 217 | - `package.tsv` lists every program and shared file; the builder records every hash in MANIFEST.tsv |
| 218 | - a kernel enters the cache only after its check passed, under a key that covers every program the build and check run and every file the build reads |
| 219 | |
| 220 | ## `native/` |
| 221 | |
| 222 | Handwritten .om units of omega-mv that are not part of the seed ladder: the ORIG-4 shadow advisor (native/orig4). |
| 223 | |
| 224 | ## `native/autodiff664/` |
| 225 | |
| 226 | Bounded native .om reverse-mode tape (rank 2, f32, 32 nodes) over M20 metadata-v1; E1-tile reductions and C M21 accumulation order (#664, not qualified) |
| 227 | |
| 228 | ## `native/orig4/` |
| 229 | |
| 230 | ORIG-4 shadow advice for the matvec arm chooser (omega-mv#731, spec/shadow-advice-v0.md): shadow.om advisor unit, shadowmain.om entry, orig4.pin, immutable ORIG-2 candidate images. Default off; advice only, never a decision. |
| 231 | |
| 232 | ## `native/orig4/candidates/` |
| 233 | |
| 234 | Immutable ORIG-2 candidate checkpoints (aien-train evidence/SI19-ORIG2/candidates, byte-identical; SHA256SUMS) scored by the ORIG-4 shadow advisor. Never edited; a new candidate is a new file. |
| 235 | |
| 236 | ## `neuralese/` |
| 237 | |
| 238 | Bounded untrusted representation envelopes and explicit checked Omega decoding; learned extension remains proposed |
| 239 | |
| 240 | ## `neuralese/fixtures/` |
| 241 | |
| 242 | Independent SHA-256 envelope fixtures and exact decoded-source oracles for the native Omega host conductor |
| 243 | |
| 244 | ## `om/runtime/` |
| 245 | |
| 246 | Pure seeded OM-2 runtime units bound through `om/units.sh` into `src/omega_om_units.c`, backing the C runtime facades under `src/runtime/`: `rx_regulate.om`, `rx_mid.om`, `rx_cortex_rec.om`, `rx_plan_core.om`, `rx_projection.om`, `rx_capq_core.om`, `rx_costmodel_core.om`, `rx_route_core.om`, `rx_world_core.om`, `rx_skillroute_core.om`, and `rx_fusion_core.om`. |
| 247 | |
| 248 | ## `om/tls/` |
| 249 | |
| 250 | TLS 1.3 client (chacha20-poly1305, aes-gcm, x25519, P-256/RSA signatures, X.509 path validation) in seeded Omega with its KAT, DNS, interop and mutant suites |
| 251 | |
| 252 | ## `research/atemporal/` |
| 253 | |
| 254 | AT-0 Clock-Free Universe research program: relational (Page-Wootters) quantum models with no external time parameter; contracts live in aien-architecture docs/plans/atemporal |
| 255 | |
| 256 | ## `research/atemporal/at0/` |
| 257 | |
| 258 | AT-0 V1: finite clock plus one qubit under the AT0_CASE_V1 / AT0_RESULT_V1 contracts |
| 259 | |
| 260 | ## `research/atemporal/at0/evaluator/` |
| 261 | |
| 262 | Agent 4 independent adversarial evaluator for AT-0: independent AT0_CASE_V1 codec, exact-arithmetic AT0_RESULT_V2 checker, long-double shadow oracle, 25 planted-defect mutants, 59-case public corpus, hidden-set commitment, isolation gate, qualification harness (run.sh) and machine-readable results |
| 263 | |
| 264 | ## `research/atemporal/at0/integration/` |
| 265 | |
| 266 | AT-0 Agent 5 integration runner, exact result assembler/judge, hygiene and isolation controls, and the first-run qualification report |
| 267 | |
| 268 | ## `research/atemporal/at0/model/` |
| 269 | |
| 270 | Agent 3 candidate relational quantum engine in portable C11: state, Hamiltonians, constraint kernel, clock POVM, conditional states, Pauli probabilities, versioned case input and engine output |
| 271 | |
| 272 | ## `research/atemporal/at0/model/tests/` |
| 273 | |
| 274 | Component tests and case files for the candidate engine |
| 275 | |
| 276 | ## `research/atemporal/at0/model/tests/cases/` |
| 277 | |
| 278 | AT0_CASE_V1 case files used by the tests; the KAT file is the contract section 6 example byte for byte |
| 279 | |
| 280 | ## `research/atemporal/at0/oracle/` |
| 281 | |
| 282 | AT-0 reference oracle (Rust, standard library only, built by rustc directly; research cross-check, not part of active execution): AT0_CASE_V1 parser, direct-matrix and analytic paths, exact judge, AT0_RESULT_V2 writer, tests, isolation gate |
| 283 | |
| 284 | ## `research/atemporal/at0/oracle/fixtures/` |
| 285 | |
| 286 | Deterministic AT-0 oracle calibration fixtures: case files, computed values/verdict blocks, CALIBRATION.md |
| 287 | |
| 288 | ## `research/atemporal/at1/evaluator/` |
| 289 | |
| 290 | AT-1 Agent 4 adversarial evaluator: independent AT1_CASE_V1 codec, exact-arithmetic AT1_RESULT_V1 / AT0_RESULT_V2 verifier with exact shadow model, runner splice, 95-file public corpus (12 positive, 12 negative, 71 refusals), mutant kill receipt, isolation gate with controls, 27-case hidden-set commitment, qualification harness (run.sh) |
| 291 | |
| 292 | ## `research/atemporal/at1/integration/` |
| 293 | |
| 294 | AT-1 Agent 5 integration runner (run.sh), engine and oracle shims for the evaluator, contract pin, and the qualification report |
| 295 | |
| 296 | ## `research/atemporal/at1/oracle/` |
| 297 | |
| 298 | AT-1 reference oracle (Rust, standard library only, built by rustc directly; research cross-check, not part of active execution): AT1_CASE_V1 validator, exact level kernel, literal matrix route plus closed-form and Bloch references, exact judge, AT1_RESULT_V1 oracle-record writer, tests, isolation gate |
| 299 | |
| 300 | ## `research/om-bench/` |
| 301 | |
| 302 | om-bench (#653): frozen measurement contract, family-disjoint task splits, oracles, controls and runner for agent-written Omega |
| 303 | |
| 304 | ## `seed/agent/` |
| 305 | |
| 306 | Seeded Omega coding agent omagent (nanobot-style): agent loop, permissioned tools, JSONL session memory, SSE model streaming, CLI; scripted-mock test referee and nanobot benchmark |
| 307 | |
| 308 | Rules: |
| 309 | |
| 310 | - Every implementation byte is seeded .om compiled by seed/out/omc; Python under tests/ and bench/ is a test-only referee or mock |
| 311 | - The model is untrusted: its output is parsed by json.om/http.om under fixed caps and a malformed reply runs nothing |
| 312 | - Tool permissions come only from the operator's command line; the default is read_file inside the workspace |
| 313 | - The API key appears only in the Authorization header, never in stdout, stderr, the session file or a child environment |
| 314 | - Tests and benchmarks bind 127.0.0.1 with kernel-chosen ports only and never contact port 18091 |
| 315 | |
| 316 | ## `seed/agent/bench/` |
| 317 | |
| 318 | Test-only equal-work benchmark of omagent against nanobot reduced to the same four tools: scripted streaming mock, paired interleaved driver, nanobot launcher. |
| 319 | |
| 320 | ## `seed/build/` |
| 321 | |
| 322 | Pure seeded-Omega build, release, and automation coordinators (`common.om`, `birth.om`, `units.om`, `tlsbuild.om`, `sparkefi.om`, `gpucoord.om`, `release.om`, `gate.om`) taking shell and Python out of the delivery path: dynamic run-time pools (`global ... *`), streaming FIPS 180-4 SHA-256, compiler birth & 8-case size-record verification, byte-for-byte `src/omega_om_units.*` regeneration, TLS 1.3 + FIPS stamping, bare-metal `SPARK.EFI` PE32+ build/verification, SPIR-V/Intel Xe/SM121 GPU model builds, lockfile/zero-disk-secrets/Windows-path checks, UXL delivery verification, reproducible release packaging/verification, and the self-qualification gate `OMEGA-BUILD-COORD`. |
| 323 | |
| 324 | ## `seed/effects/` |
| 325 | |
| 326 | Effect-derived capability manifest in seeded Omega: host-word manifest, ELF syscall check, seccomp cBPF, with probe-parity, strace and bwrap oracle gate |
| 327 | |
| 328 | ## `seed/equiv/` |
| 329 | |
| 330 | Seeded Omega exhaustive u8/u16 equivalence checker for OSC IR v1 scalar functions (issue 826) |
| 331 | |
| 332 | ## `seed/helix/` |
| 333 | |
| 334 | Proof-Carrying Evolutionary Helix, 4-Strand BFT Stem-Cell Braid (`1,612 B` independent AArch64 seeds: Monk `408 B`, Predator `396 B`, Trickster `404 B`, Ascetic `404 B`), Four-Wall Loop-1 Helical RSI Containment Gate (`rsi-loop1.sh --lean`), in-process zero-CUDA SM121 Evolutionary JIT (`helix_jit.om`, `helix-build-jit.sh`), Arboris nervous system benchmarks, pure-Omega RFC 8032 Ed25519 DDC receipt signer, `EGP2` structural e-graph + dual-checker, 15 SM121/`uor-gpu` antibodies, 29 Lean 4.36.0 theorems under `seed/helix/proofs/`, and the 5-stage Omega LLM closed-loop verified RLVR & SM121 training JIT factory under `seed/helix/ollm_factory/` |
| 335 | |
| 336 | ## `seed/json/` |
| 337 | |
| 338 | Strict RFC 8259 JSON reader, writer and optional exact binary64 conversion in seeded Omega, with CPython-oracle parity gate (omega-mv #788) |
| 339 | |
| 340 | ## `seed/net/` |
| 341 | |
| 342 | Seeded Omega network protocol libraries: bounded HTTP/1.1 server and client (http.om) with chunked bodies, keep-alive and server-sent events, embeddable examples and a host referee (omega-mv #788) |
| 343 | |
| 344 | Rules: |
| 345 | |
| 346 | - Every implementation byte is seeded .om compiled by seed/out/omc; Python under tests/ is a read-only referee |
| 347 | - No globals in http.om: connection state and buffers are caller-owned arrays (cs ulong HCSLEN, io uchar) |
| 348 | - Strict framing per RFC 9112: CRLF only, no obs-fold, Content-Length with Transfer-Encoding refused, only chunked transfer coding |
| 349 | - Every read, write and wait is bounded by a cap, a loop bound or a monotonic deadline; no busy wait |
| 350 | - Tests bind 127.0.0.1 with kernel-chosen ephemeral ports only and never contact port 18091 |
| 351 | |
| 352 | ## `seed/ng/` |
| 353 | |
| 354 | Omega NG: the next Omega compiler (Hive NG). Its intermediate form ΩIR (IR.md) with validator, text tools and gate; the ng compiler units (src/, ng.units, ngbuild) |
| 355 | |
| 356 | ## `seed/ng/front/` |
| 357 | |
| 358 | ng-front tools and evidence: the differential gate gate-front.om (front.om against the pinned omc: same refusal line and code, BEYOND_OMC and scope classes, mutants), the ΩIR emission gate gate-front-ir.om (@ng front-ir output through ngcheck and ngrun against the omc binary), the renamer and pruner that made src/front.om from omc.om@943d9555, case lists, fixtures and kernel copies |
| 359 | |
| 360 | Rules: |
| 361 | |
| 362 | - Every tool here is seeded .om compiled by the pinned seed/out/omc (sha256 5f90edea61bac241398df5036990d899361a5acd9decb37954ce088ec0f6f6df); no shell, C or Python |
| 363 | - gate-front and gate-front-ir refuse (INVALID) unless the oracle omc matches the given sha256; they never edit seed/omc/omc.om |
| 364 | - gate-front-ir passes only when every run case agrees (ngcheck ACCEPT; ngrun equal to the omc binary on exit status and stdout), every refuse case keeps omc's exit and stderr, and every lowering mutant and mode control fails a case |
| 365 | - declared.txt holds only beyond (omc refused with 12, 14, 24 or 25 for a code generator limit, D6) and scope (x86/EFI, IR v1, om2 fmt: exit 64) rows, each with its reason; a declared row no case uses is a FAIL |
| 366 | - Every mutant in mutants.txt must be KILLED by a real case failure; a SURVIVED mutant fails the gate |
| 367 | - No committed copy of the whole omc.om: src/front.om carries only the front end, with no machine code emission |
| 368 | |
| 369 | ## `seed/ng/front/cases/` |
| 370 | |
| 371 | ng-front fixture programs for gate-front: f64 rem/and/or/xor refusals and the gate15 refusal cases that error-codes.reg names (D9) |
| 372 | |
| 373 | ## `seed/ng/front/kernels/` |
| 374 | |
| 375 | ng-front copies of the ten ng-bench kernels, the run cases of gate-front-ir (omc binary against ngrun on ng's @ng front-ir output) |
| 376 | |
| 377 | Rules: |
| 378 | |
| 379 | - Each .om is a verbatim copy of the ng-bench kernel of the same name; its sha256 is listed in PROVENANCE.md and equals ng-bench's PROVENANCE.md; a changed kernel is a new name |
| 380 | |
| 381 | ## `seed/ng/front/mutants/` |
| 382 | |
| 383 | ng-front mutant pairs for gate-front: NAME.from text that occurs exactly once in src/front.om and the NAME.to text that replaces it; each mutant must be KILLED |
| 384 | |
| 385 | ## `seed/ng/src/` |
| 386 | |
| 387 | The ng compiler units listed in ../ng.units and built into the one ng binary (D1b): ir.om (ΩIR in memory, ng-ir), front.om (Omega source checks, ng-front), main.om (modes, ng-ir) |
| 388 | |
| 389 | ## `seed/nki/` |
| 390 | |
| 391 | Seeded Omega OSC IR v1 elementwise scalar to AWS NKI (nki.isa) kernel emitter with NKI CPU simulator interop-oracle verification |
| 392 | |
| 393 | ## `seed/node/` |
| 394 | |
| 395 | Bounded shared-memory artifact transport for cooperative Omega workers |
| 396 | |
| 397 | ## `seed/omc/contracts/` |
| 398 | |
| 399 | Executable native contract fixtures, C oracle parity, release erasure and enforcement mutant |
| 400 | |
| 401 | ## `seed/profile/` |
| 402 | |
| 403 | Critical source profile (DRA-419) in seeded Omega: Power-of-Ten rules B1 B2 B3 E1 X1 P1 C1 over .om units, fixtures, checker mutants, authority-module check |
| 404 | |
| 405 | ## `seed/qualification/security673/` |
| 406 | |
| 407 | Issue #671 packed-list hostile-ingress campaign: corpus generator, execprog consumer and OM-2 conductor cases run by seed/host/check.sh. |
| 408 | |
| 409 | ## `seed/qualification/security673/packets/` |
| 410 | |
| 411 | Packed-list fixtures for #671: generated packet bytes (proven equal to packet-corpus.om), expected echo output, and exact-once compiler substitutions for the bound mutants. |
| 412 | |
| 413 | ## `seed/spirv/` |
| 414 | |
| 415 | Seeded Omega OSC IR v1 to SPIR-V OpenCL Kernel backend with CPU differential verification and demo |
| 416 | |
| 417 | ## `seed/stablehlo/` |
| 418 | |
| 419 | Seeded Omega OSC IR scalar unit to StableHLO MLIR, verified on IREE and XLA CPU PJRT interop oracles (Google TPU path) |
| 420 | |
| 421 | ## `seed/tensix/` |
| 422 | |
| 423 | Tenstorrent Tensix RV32IM vecadd: seeded Omega emitter irrv32.om (OSC IR v1 -> RV32) and asm2 table, interop-oracle gate (ttsim WH/BH, qemu, two disassemblers) |
| 424 | |
| 425 | ## `seed/wasm/` |
| 426 | |
| 427 | Seeded Omega OSC IR v1 scalar to WebAssembly MVP backend with host differential verification |
| 428 | |
| 429 | ## `src/ans/` |
| 430 | |
| 431 | ANS (Alignment Navigation System), Inertial Alignment v1: frozen reference atoms, drift filter over EST-1, three sensor classes, autonomy tiers, promotion gate. Advisory only: measures and recommends, never grants, revokes or promotes (ARCH-0017 shape); the candidate never receives a mutable reference. No allocation, globals or I/O. |
| 432 | |
| 433 | ## `src/autodiff/` |
| 434 | |
| 435 | M21 OMEGA_AUTODIFF: reverse-mode tape over M20 tensor CPU ops, caller-owned nodes and scratch, per-op error contract, flat float32 gradients for M22 (not qualified) |
| 436 | |
| 437 | Rules: |
| 438 | |
| 439 | - never edit src/tensor or src/train from here; tensor API needs are filed as change requests in docs/autodiff/M21_OMEGA_AUTODIFF.md |
| 440 | - no heap allocation and no global state in src/autodiff |
| 441 | - every MUT: marker must stay in tools/autodiff_mutations.sh |
| 442 | |
| 443 | ## `src/dual_experiment/` |
| 444 | |
| 445 | DUAL applicability experiment library (ARCH-0031 offline evidence lane): deterministic discrete workload simulator with exact ledger, aggregate flow-balance predictor, heterogeneity measurements, campaign driver, digests. Pure calculator: no I/O, no allocation, no globals; nm -u purity check. EXPERIMENT ONLY, never linked by src/runtime/. |
| 446 | |
| 447 | ## `src/osh/` |
| 448 | |
| 449 | osh (Omega-native shell, arch#158) lexer unit: layout list, generator, osh_lex.osc, C reference tokenizer |
| 450 | |
| 451 | ## `src/osh/host/` |
| 452 | |
| 453 | osh Linux host: execution service (request decoder, resolution, builtins, redirections, pipelines), unit loader, driver loop and main for the osh program (arch#158; replaceable scaffolding per ADR 0024) |
| 454 | |
| 455 | ## `src/physics0/` |
| 456 | |
| 457 | PD-0 hidden-equation benchmark (Physics-0 Discovery Engine cut 1): world, oracle, scorer, ladder checker, planner, learner. Generators live only in pd0_gen.c; learner objects must never link it. |
| 458 | |
| 459 | ## `src/physics0/controls/` |
| 460 | |
| 461 | PD-0 controls: see docs on physics main |
| 462 | |
| 463 | ## `src/physics0/ladder/` |
| 464 | |
| 465 | PD-0 ladder: see docs on physics main |
| 466 | |
| 467 | ## `src/physics0/learner/` |
| 468 | |
| 469 | PD-0 learner (Physics-0 Discovery Engine D4): fits compact one-step relations over a bounded monomial vocabulary from FIT/SELECT records only; emits candidates, correlation evidence and preregistered experiments for the independent ladder checker. Links only ladder/pd0_fmt.c and sha256; never the generators, the world, file I/O or a level identity (p0l-isolation). |
| 470 | |
| 471 | ## `src/physics0/learner_v2/` |
| 472 | |
| 473 | PD-0 learner v2 (G3): seal-1 learner plus 20-step SELECT rollout ranking, rollout hidden-state flag and an injectable prior. New version; src/physics0/learner stays frozen. |
| 474 | |
| 475 | ## `src/physics0/regime/` |
| 476 | |
| 477 | Dev-only PD-0 regime switch: redraws the world constants from the declared ranges at an episode boundary. World side, links the generator; never sealed runs. |
| 478 | |
| 479 | ## `src/physics0/score/` |
| 480 | |
| 481 | PD-0 score: see docs on physics main |
| 482 | |
| 483 | ## `src/reservoir/` |
| 484 | |
| 485 | Ionic-droplet reservoir simulator (omega#440): binary32 fixed-step RK4 of the authors' droplet model, refusals instead of silent repair, run receipts, binary64 ridge readout. CPU only; the reference and contract are docs/reservoir/RESERVOIR_REFERENCE.md. |
| 486 | |
| 487 | ## `src/synapse/` |
| 488 | |
| 489 | Synapse ADR 0003 J1 binary codec port: layout list, generator, syn_codec.osc (A1 WAL records + checkpoints, strict decode, typed refusals) |
| 490 | |
| 491 | ## `src/tensor/` |
| 492 | |
| 493 | M20 OMEGA_TENSOR: immutable tensor semantic layer, views, generation-checked storage, CPU realization over E1 (not qualified) |
| 494 | |
| 495 | ## `tests/ans/` |
| 496 | |
| 497 | Tests 1-10 for ANS (docs/ans/INERTIAL_ALIGNMENT_SPEC_V1.md): freeze/digest, hostile reference mutation, drift growth, FIX restore, IMU limit, disagreement, refusals, promotion gate, encodings with golden digests, self-modification. Run with make test-ans (plain + ASan/UBSan). |
| 498 | |
| 499 | ## `tests/autodiff664/` |
| 500 | |
| 501 | Native tape tests: differential checks, refusals, no-FMA control, compiled source mutants of native/autodiff664/tape.om |
| 502 | |
| 503 | ## `tests/dual_experiment/` |
| 504 | |
| 505 | Tests for the DUAL applicability experiment: determinism (same seed, byte-identical results digest), exact ledger at every step, predictor finite and bounded, shuffled and constant negative controls, pinned parameter digest. Run with make test-dual-applicability (plain + ASan/UBSan + purity). |
| 506 | |
| 507 | ## `tests/numeric_native/` |
| 508 | |
| 509 | Simulated M16 driver for numeric resource-lifecycle tests. No device execution or numeric parity evidence. |
| 510 | |
| 511 | Rules: |
| 512 | |
| 513 | - Never link this driver into production executables. |
| 514 | |
| 515 | ## `tests/orig4/` |
| 516 | |
| 517 | ORIG-4 shadow advisor tests: shadow-test.om (in-process checks over the SYNTHETIC fixture and the real candidate) and run.sh (POSIX sh glue sequencing pin checks, compile, fixture, refusals, budget, default-off proof; gate omega-orig4-shadow). |
| 518 | |
| 519 | ## `tests/osh/` |
| 520 | |
| 521 | osh lexer host driver, vendored aien-protocols PR#16 draft vectors (5ae5292) |
| 522 | |
| 523 | ## `tests/osh/e2e/` |
| 524 | |
| 525 | end-to-end tests of the osh program: argprint helper plus a runner comparing native and OSH_INTERP=1 (arch#158) |
| 526 | |
| 527 | ## `tests/osh/host/` |
| 528 | |
| 529 | tests for the osh Linux host adapter execution service (hand-built request records, helper-mode test binary) |
| 530 | |
| 531 | ## `tests/osh/trace/` |
| 532 | |
| 533 | Core-only step traces of the osh shell units over fixture scripts (OSH-AIENOS-0 differential fixture); .trace files are generated by make osh-trace-gen |
| 534 | |
| 535 | ## `tests/physics0/` |
| 536 | |
| 537 | PD-0 gates: world self-test, oracle calibration, learner L0/L1/NULL, mutations, OSC differential, isolation check. |
| 538 | |
| 539 | ## `tests/physics0/learner/` |
| 540 | |
| 541 | Learner gates: unit tests (determinism, PDLAW1 round trip, memoriser vs compact theory, null world, withholding), the development harness that drives pd0-world and the test-only truth process over pipes, tags the split, builds the PD0LEDG1 ledger and scores against the truth. The truth process is the only binary here that links the generators. |
| 542 | |
| 543 | ## `tests/physics0/learner_v2/` |
| 544 | |
| 545 | Learner v2 tests and dev drivers: unit tests, byte-level dev world, C1 flag, C2 regime switch and C3 prior dev runs; receipts/ holds the text dev receipts (development evidence only). |
| 546 | |
| 547 | ## `tests/physics0/verify/` |
| 548 | |
| 549 | PD-0 verify: see docs on physics main |
| 550 | |
| 551 | ## `tests/reservoir/` |
| 552 | |
| 553 | Reservoir tests (omega#440): Gate 1 simulator and readout checks against an independent binary64 oracle, and the Gate 2 .mat and inflate reader tests; run by make test-reservoir, plain and ASan/UBSan. |
| 554 | |
| 555 | ## `tests/reservoir/fixtures/` |
| 556 | |
| 557 | Two unmodified CC-BY-4.0 files from the authors' Zenodo archive 10.5281/zenodo.17296788 (Length5.mat, Length50.mat), sha256-pinned in RESERVOIR_REFERENCE.md section 11.6, so CI can test the .mat reader without the archive. Data, never code; do not edit. |
| 558 | |
| 559 | ## `tests/synapse/` |
| 560 | |
| 561 | J1 parity driver for syn_codec.osc against the sealed Rust A1 corpus (aien-dev/synapse j1-codec-corpus), interp and native |
| 562 | |
| 563 | ## `tools/codebook/` |
| 564 | |
| 565 | Signed 3-digit layered codebook (`codebook.om`, `main.om`, `codebook.tsv`, Lean 4 proof `proof/CodebookProof.lean`, tests and mutants) for `ocb2:` HMAC-SHA256 inbox authentication (T-002). See `tools/codebook/README.md`. |
| 566 | |
| 567 | ## `tools/dual_experiment/` |
| 568 | |
| 569 | Runner for the DUAL applicability experiment: runs the pre-registered campaign and writes results.csv, params.txt and results.md under evidence/DUAL/applicability/. make dual-applic-run. |
| 570 | |
| 571 | ## `tools/migration/` |
| 572 | |
| 573 | C-to-OM retirement check: `parity_check.sh` (run by `make check-retirement`, mk/migration.mk) checks docs/migration/PARITY.tsv against the C a change deletes or replaces, with `cfuncs.awk` listing each C file's external functions. See REVIEW-LESSONS.md "C to OM migration". |
| 574 | |
| 575 | ## `tools/reservoir/` |
| 576 | |
| 577 | Gate 2 tooling for the reservoir (omega#440): in-house zlib inflate and MAT v5 reader, the archived-reference comparison (res_qualify), benchmarks and timing (res_bench), and qualify_reservoir.sh, which writes the content-addressed receipt under evidence/RESERVOIR. No Python; reads the untrusted archive as data only. |
| 578 | |
| 579 | ## `tools/trit/` |
| 580 | |
| 581 | Trinary Doctrine wake-signal tool (`trit`, T-002) in seeded OM-2 sharing `tools/codebook/codebook.om`, with Lean 4 legacy proof `proof/TritSignal.lean`, host/daily tests and mutants (`tests/gates/omega-trinary.gate`). See `tools/trit/README.md`. |
| 582 | |
| 583 | ## `seed/omc/tests/struct-bool/` |
| 584 | |
| 585 | Boolean struct-field execution regressions, exact expected outcomes, scalar controls and deliberate broken-compiler controls. Run by the seeded host gate. Results are kept in unique build directories. |
| 586 | |
| 587 | ## `om/gpu/dsv41/` |
| 588 | |
| 589 | Seeded Omega SM121 kernel emitters, their byte-level ABI, the native final-head executor, and single-Spark numerical checks for the original DeepSeek-V4.1-Flash text checkpoint. |
| 590 | |
| 591 | ## `gpu/nvidia/native/arboris/` |
| 592 | |
| 593 | Native Blackwell Arboris arena importer, compute lock, sparse/gated QMD step executors, signed receipt commitment, and query router in seeded Omega. |
| 594 | |
| 595 | ## `om/compiler/` |
| 596 | |
| 597 | Seeded Omega implementations of OSC lexer, parser, semantic/ownership checker, control-flow/IR layout, AArch64 encoding, and artifact emission, bound via `om/units.sh`. |
| 598 | |
| 599 | ## `seed/authority/` |
| 600 | |
| 601 | Seeded Omega capability root, queue, and durable Ed25519 world signer (`arboris-signer.om`) for Arboris step commitments. |
| 602 | |
| 603 | ## `tests/arboris/` |
| 604 | |
| 605 | Host and GB10 silicon qualification probes, SM121 disassembly golden files, compute-lock/capability/signer regressions, and `host.sh` driver for Arboris. |
| 606 | |
| 607 | ## `seed/helix/` |
| 608 | |
| 609 | Proof-Carrying Evolutionary Helix (Phases 1–4): independent second tiny W^X seed ladder (`rung0/seedB0.b0` 396 B → `rung1/hexB1` → `rung2/omB2` pure stack-machine compiler) for 7-way cross-OS/ISA Diverse Double Compilation against Strand A (`seed0.hex` 408 B) and Strand B (`seed/ng`), pure-Omega RFC 8032 Ed25519 receipt signer/verifier (`sign_ddc.om`), Monk SM121 proof-rung verifier (`monk_check.om`), verified GB10 e-graph optimizer (`egraph_opt.om`), standalone Strand A dual-checker trust anchor (`dual_checker.om`), production `q36` SM121 kernel extractor (`extract_q36_kernels.om`), Arboris nervous-system + SM121 Predator (`arboris_predator.om`, `arboris_nervous_bench.om`), 11-antibody adversarial Immune System (`immune.om`), Lean 4 formal proofs (`proofs/{HelixSoundness,HelixAntibodies,HelixKernelIR}.lean`), dual-seed bootstrap (`helix-from-seeds.sh`), and single-command zero-C/Python/CUDA cold-regrowth harness (`cold-regrowth.sh`). |