From 8e36add8757c57f96f5982cb62fe71289a3c1b0a Mon Sep 17 00:00:00 2001 From: Drake Stapleton Date: Sun, 25 Oct 2026 19:23:19 -0500 Subject: [PATCH] omega: the page names src/sha256.c, deleted by omega-mv #776 The published sentence said src/sha256.c keeps only its entry points and the algorithm is om/sha256/sha256.om called through the native call ABI. At omega-mv 7505b3a3 src/sha256.c does not exist: src/sha256.h keeps the declarations and om/units.sh compiles the OM-2 unit om/sha256/sha256-om2.om into src/omega_om_units.c (with omega_native.h, omega_api_decl.h and omega_om_units.ident, gated by units.sh --check on the pinned omc 49923639 and native.om 24f252b9). Also drops the "87 C files in the live server's build" count, which I cannot re-derive from the tree (src/ holds 284 C files at 7505b3a3), and corrects the "The CPU" block so it does not say the GPU library reaches SHA-256 through the call ABI when the unit is generated C. Built with cargo run --release ... -- build dist, Integrity & Unslop PASS. --- crates/site-builder/data/omega.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/site-builder/data/omega.json b/crates/site-builder/data/omega.json index 0c3e8596..3f165031 100644 --- a/crates/site-builder/data/omega.json +++ b/crates/site-builder/data/omega.json @@ -490,7 +490,7 @@ }, { "title": "The runtime written in Omega", - "text": "The GPU runtime and libraries are mostly C today: 87 C files in the live server's build. The move into Omega has started. Since 2026-10-25 the SHA-256 in that library is Omega: src/sha256.c keeps only its entry points, and the algorithm is om/sha256/sha256.om, compiled by the seed-born compiler and called in place through the native call ABI, with byte parity against the C it replaced. The rest follows file by file, each checked byte for byte against the C it replaces. The language rule (aien-architecture ADR 0024) keeps C only where hardware, boot, ABI or measurement justifies it.", + "text": "The GPU runtime and libraries are mostly C today. The move into Omega has started. Since 2026-10-25 the SHA-256 in that library is Omega: src/sha256.c is deleted, src/sha256.h keeps the declarations, and the algorithm is om/sha256/sha256-om2.om, compiled by the seed-born compiler into src/omega_om_units.c by om/units.sh, with byte parity against the C it replaced. The rest follows file by file, each checked byte for byte against the C it replaces. The language rule (aien-architecture ADR 0024) keeps C only where hardware, boot, ABI or measurement justifies it.", "links": [ [ "SHA-256 in Omega", @@ -501,7 +501,7 @@ }, { "title": "The CPU", - "text": "The OSC and Omegese backends emit AArch64 machine code today (src/compiler/osc_a64.c). Code the seed-born compiler writes now runs inside C and Rust programs through the native call ABI (omega-bridge), and the GPU library calls it for SHA-256. The live server is still a gcc and Rust build linked against glibc; it picks up each Omega replacement when it is next rebuilt, and moves to Omega-compiled code file by file.", + "text": "The OSC and Omegese backends emit AArch64 machine code today (src/compiler/osc_a64.c). Code the seed-born compiler writes now runs inside C and Rust programs through the native call ABI (omega-bridge), and the GPU library ships its Omega SHA-256 as generated C in src/omega_om_units.c. The live server is still a gcc and Rust build linked against glibc; it picks up each Omega replacement when it is next rebuilt, and moves to Omega-compiled code file by file.", "links": [ [ "native call ABI",