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/patches/3b063f399e916c15 # 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 ## GitHub aien-dev/omega-mv#493 (code only) closed derived `3b063f399e916c15` #493 Imported from GitHub aien-dev/omega-mv#493 (code only) GitHub's metadata for this pull request is unavailable: its state is DERIVED from the commits (merged: the head is reachable from this project's main; open: GitHub kept a merge ref; else closed). Base `8d02a016c8a0c5f30ae065d67b521c9a2d5e8e25` · Head `2a05eda8ca7fc314b7d914d1416977b255681fc4` ### Apply it ``` git checkout -b patch-3b063f399e916c15 8d02a016c8a0c5f30ae065d67b521c9a2d5e8e25 curl -fsSL https://interplane.io/drakestapleton/omega-mv/patches/3b063f399e916c15.patch | git am ``` Raw patch (mbox) · Diff ### Provenance This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record: ``` github-import 1 aien-dev/omega-mv 493 2a05eda8ca7fc314b7d914d1416977b255681fc4 ``` ``` {"kind":"github-import","owner":"aien-dev","repo":"omega-mv","number":493,"url":"https://github.com/aien-dev/omega-mv/pull/493","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:38:03Z","metadata":"unavailable","state_derived":true} ``` ### Changes ``` diff --git a/.crumb b/.crumb index c94d21c37..199f37cb8 100644 --- a/.crumb +++ b/.crumb @@ -47,8 +47,8 @@ "purpose": "Directory calibration. Purpose not yet described by a human." }, { - "digest": "e965b8e2076c58547b444a429bc01746ebf7b9ec0e5c878bf99bd95d1efa6e3e", - "last_commit": "f37bf0fd", + "digest": "4a4929da75074bcd6cdfcba39fe98d69e8deacc07b919c777477a70ad3dbcc41", + "last_commit": "1d481ab8", "name": "docs", "purpose": "Directory docs. Purpose not yet described by a human." }, @@ -77,8 +77,8 @@ "purpose": "Directory spec. Purpose not yet described by a human." }, { - "digest": "cc4271ea9ebd045d9a2d6a122ef12c10be095d791c8d26d2e6391cf04e1945e7", - "last_commit": "bbae1ddc", + "digest": "dfa36de2ac8649f66f80587abea51a7f166285ee0b92e0e09774c98689055250", + "last_commit": "1d481ab8", "name": "src", "purpose": "Directory src. Purpose not yet described by a human." }, @@ -95,15 +95,15 @@ "purpose": "Directory tools. Purpose not yet described by a human." } ], - "children_root": "sha256:d18b2a55ec5c9286626799f0f0b56b44ddd7a934ac49f438e61a1fb14e105944", - "compiled_at": "2026-10-16T05:52:55Z", + "children_root": "sha256:46a9f18100634da8c53b24acf129deaef1fb6a63f0a572fe676eeb4129814c83", + "compiled_at": "2026-10-16T07:33:43Z", "compiler": "crumb-compile/1", - "digest": "sha256:ce16d0f0537e0c634f4181c8dad9ad6387da4d4fe32bb0695e18d53e822990e8", + "digest": "sha256:dc0c9c2396f62236fd5b5f61e20f56b4b3285594137fa09fc4aac612a77f0234", "evidence_files": 11127, "evidence_root": "sha256:4528085ec1661c442b64fb5dc8def65067ea2620ff88e42bcf52d58b7642ea6e", "files": 14108, - "generated_at_commit": "bbae1ddcb625892be7b80acd082dbc11e2b00978", - "source_tree": "sha256:6fccdf63cd1030bd8a356829df7e603a3bac9c7bdb47a68f5c5ff2cc058bb329" + "generated_at_commit": "1d481ab853a14d3c11eff926ce1e25993085f76a", + "source_tree": "sha256:87db40fc53d8b47c3f60d120d287029241b53e49e522b22bc26b0963cc0e4c36" }, "owner_lane": "", "provenance": { diff --git a/.github/workflows/zig-cc.yml b/.github/workflows/zig-cc.yml index 335aaf16e..5075c0ead 100644 --- a/.github/workflows/zig-cc.yml +++ b/.github/workflows/zig-cc.yml @@ -23,13 +23,6 @@ name: Zig cc cross-check # UBSan is applied), and the QEMU-backed gates (M5 and the realization demo), # because no omega workflow installs QEMU. See docs/zig-cc-lane.md. # -# OPEN: clang 22 warns on src/omega_blackwell_encoder.c:87 (`char HEXDIGITS[16] = -# "0123456789abcdef"` drops the NUL; -Wunterminated-string-initialization), gcc -# does not. That file is GPU encoder code and this lane does not edit it, so the -# one diagnostic is demoted from error to warning with -Wno-error= on the -# compiler command below. It stays visible in the build log. Every other -# warning is still an error (-Werror from the Makefile). -# # Like pr-smoke.yml this runs on every pull request (no path filter), against the # merged result that actions/checkout produces for pull_request events. @@ -84,7 +77,7 @@ jobs: zig="$RUNNER_TEMP/zig-aarch64-linux-${ZIG_VERSION}/zig" test "$("$zig" version)" = "${ZIG_VERSION}" "$zig" cc --version | head -2 - echo "ZIGCC=$zig cc -Wno-error=unterminated-string-initialization" >> "$GITHUB_ENV" + echo "ZIGCC=$zig cc" >> "$GITHUB_ENV" - name: Build with zig cc and base gates (make test) env: PHYSICS_DIR: ${{ github.workspace }}/physics-src diff --git a/docs/.crumb b/docs/.crumb index e9e600dbf..0ee0afdee 100644 --- a/docs/.crumb +++ b/docs/.crumb @@ -88,7 +88,7 @@ }, { "digest": "6bdfbc843114954144a288eb6bc0f8c84a3be256547a8db98b2bd3ee949e95be", - "last_commit": "06d994df", + "last_commit": "f37bf0fd", "name": "osc", "purpose": "Directory docs/osc. Purpose not yet described by a human." }, @@ -124,14 +124,14 @@ } ], "children_root": "sha256:ac7f7ea4b00d4620a993c6dd88a0267f2d49008d415162976e45fa4341e43407", - "compiled_at": "2026-10-16T01:32:55Z", + "compiled_at": "2026-10-16T07:33:43Z", "compiler": "crumb-compile/1", - "digest": "sha256:e965b8e2076c58547b444a429bc01746ebf7b9ec0e5c878bf99bd95d1efa6e3e", + "digest": "sha256:4a4929da75074bcd6cdfcba39fe98d69e8deacc07b919c777477a70ad3dbcc41", "evidence_files": 34, "evidence_root": "sha256:589d8b3706e6d7a202ab20b278dac5fc5bafc973f1c2a867b2668aa7210b65cc", "files": 126, - "generated_at_commit": "06d994df9cb00eb5267a6c613552c70109a2aaa4", - "source_tree": "sha256:a9ce06854d390ffa772f9ad82d412098d88d97321aed96ac4c6828c19850758e" + "generated_at_commit": "1d481ab853a14d3c11eff926ce1e25993085f76a", + "source_tree": "sha256:75b919c410e00df7882ddbdcf0ad3b46e172bf2f2874a2dc7074054428539ca5" }, "owner_lane": "", "provenance": { diff --git a/docs/zig-cc-lane.md b/docs/zig-cc-lane.md index 4cf736c2e..8c7181480 100644 --- a/docs/zig-cc-lane.md +++ b/docs/zig-cc-lane.md @@ -50,22 +50,21 @@ changing the version means changing both together. gave different `omegatool` bytes (the gcc builds were identical), so the lane compares program behaviour, not binary hashes. -## Open item +## Resolved item -clang 22 reports `-Wunterminated-string-initialization` for -`src/omega_blackwell_encoder.c:87` (`static const char HEXDIGITS[16] = -"0123456789abcdef";` leaves no room for the terminating NUL). gcc 13 does not. -That file is GPU encoder code and the lane does not edit it. The lane passes -`-Wno-error=unterminated-string-initialization` so this one diagnostic stays a -visible warning while every other warning remains an error. A fix belongs with the -owner of that file, for example declaring `HEXDIGITS[]` with no explicit size. +clang 22 reported `-Wunterminated-string-initialization` for +`src/omega_blackwell_encoder.c` (`static const char HEXDIGITS[16] = +"0123456789abcdef";` left no room for the terminating NUL; gcc 13 does not +warn). The array is now declared `HEXDIGITS[]` (17 bytes, omega#432), and the +lane no longer passes `-Wno-error=unterminated-string-initialization`: every +warning is an error, as in the gcc lanes. ## Running it by hand From a checkout with the pinned Physics at `PHYSICS_DIR`: ZIG=/path/to/zig-aarch64-linux-0.17.0/zig - make CC="$ZIG cc -Wno-error=unterminated-string-initialization" PHYSICS_DIR=../physics test + make CC="$ZIG cc" PHYSICS_DIR=../physics test Use a separate `OUT_DIR` per compiler if you want both builds side by side. The M5 QEMU gate writes to a fixed `build/` directory, so create `build/` first when diff --git a/src/.crumb b/src/.crumb index 4a179c1ae..4fe5298a4 100644 --- a/src/.crumb +++ b/src/.crumb @@ -182,14 +182,14 @@ } ], "children_root": "sha256:15012a017b26a269feb256b64875ece2912f5f82c57804baafa3777c4fcb80b9", - "compiled_at": "2026-10-16T05:52:55Z", + "compiled_at": "2026-10-16T07:33:43Z", "compiler": "crumb-compile/1", - "digest": "sha256:cc4271ea9ebd045d9a2d6a122ef12c10be095d791c8d26d2e6391cf04e1945e7", + "digest": "sha256:dfa36de2ac8649f66f80587abea51a7f166285ee0b92e0e09774c98689055250", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 537, - "generated_at_commit": "bbae1ddcb625892be7b80acd082dbc11e2b00978", - "source_tree": "sha256:e1b513f6bde2cfdf2c9def2b18d87df6134aa8cead047ed967a0b6d0fc425e17" + "generated_at_commit": "1d481ab853a14d3c11eff926ce1e25993085f76a", + "source_tree": "sha256:200c9243151691313acb5f86d3e9cb3058f1a1b92ece2a255b3340b691dfb894" }, "owner_lane": "", "provenance": { diff --git a/src/omega_blackwell_encoder.c b/src/omega_blackwell_encoder.c index 6ab6e7a3f..dd039e891 100644 --- a/src/omega_blackwell_encoder.c +++ b/src/omega_blackwell_encoder.c @@ -84,7 +84,7 @@ int omega_blackwell_verify_encoder_fixtures(void) { return -1; } - static const char HEXDIGITS[16] = "0123456789abcdef"; + static const char HEXDIGITS[] = "0123456789abcdef"; char hex[65]; for (int i = 0; i < 32; i++) { /* no sprintf: this file is part of the freestanding link target */ hex[i * 2] = HEXDIGITS[digest[i] >> 4]; ```