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/9423eedf25a9d8d5 # 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 ## fix(sm121dis): reject decoder failures before comparing output merged `9423eedf25a9d8d5` #986 · opened 2026-10-31 02:37 UTC · closed 2026-10-31 03:07 UTC · merged 2026-10-31 03:07 UTC Imported from GitHub aien-dev/omega-mv#986, by drakestapleton Base `613765d2b75383212c50520ff7a7295bff01f1bb` · Head `de362efc515f1be257f7765dd5ec6d599cb9a938` Merged on GitHub as `22011cbc9a27c85c0afd0449ad5b0adbb5b0f64a`; reachable from main `c7acd2607139eedfabeac16b6042cefe8ede431f` (observed 2026-11-18T16:35:42Z) drakestapleton wrote on 2026-10-31 02:37 UTC ## Evidence EXERCISED, Linux x86_64 host fixture, exact head `9d669f8a52f4a3c70bafd889cab50b1e86ba24fc` (tree `2b525108951f9d9d0d300d722e8d90f04d504b25`): ``` make PHYSICS_DIR=/nonexistent PHYSICS_LOCK_CHECK=0 test-sm121dis-check-controls test-sm121dis-corpus-controls PASS: decoder exit controls (serial and parallel) PASS: missing and failing corpus producers are refused sh -n tools/sm121dis/check.sh tools/sm121dis/check_selftest.sh # exit 0 crumb verify . crumb verify: OK: 183 crumbs current ``` Crumb tool source matches `crumb.lock` `d0f0b95d`, Git blob `03a043f7309a55b54e6e0ba1bfdc0ea29f863473`. The regression test fails against merged main `6d7b8838`'s original checker: decoder exit 7 with identical valid text still prints `VERDICT PASS`; the test exits 1. An independent read-only reviewer repeated both selftests, shell syntax and that original-checker negative control, with no blocking finding. Same reviewed source tree was fetched from the published branch and tested again at this exact head. ## Change The decoder was piped through sed, hiding its process status. Capture stdout and stderr separately, require decoder exit 0 before normalization/comparison, and report its exit plus diagnostic on failure. Refuse failed normalization too. Add host-only synthetic exit 0/7/127 controls in serial and parallel modes; reuse a work directory so stale PASS cannot mask the next failure. Wire the controls into the existing test-sm121dis target. This is a narrow repair to the existing shell test harness, not a new language/runtime implementation. No frozen C, protected gate manifests, workflows or historical evidence changed. Coordination: #984 comment `6537851019`, existing C6/L386 owner. Refs #984, #638. ## Limits Full real-kernel corpus/NVIDIA-oracle run, native AArch64/compiler qualification, Spark operator gates and GPU/hardware runs are NOT_RUN here. Fixtures prove process-status handling, not disassembler correctness or hardware qualification. Exact-head hosted CI is pending; no merge or approval requested by this automation. drakestapleton wrote on 2026-10-31 02:41 UTC Exact-head hosted CI completed for `9d669f8a52f4a3c70bafd889cab50b1e86ba24fc`: AIEN run `41160833489` SUCCESS (AIEN Checks passed pinned crumb verification, test-dagsim and portable smoke); evidence-immutable run `41160833494` SUCCESS. AIEN Alpha was skipped, not passed. Full real-corpus/oracle, Spark operator and hardware qualification remain NOT_RUN. No merge or approval performed. ### Fetch it A git bundle of the pull request's head, 4070 bytes. ``` curl -fsSL https://interplane.io/drakestapleton/omega-mv/patches/9423eedf25a9d8d5.bundle -o 9423eedf25a9d8d5.bundle git fetch 9423eedf25a9d8d5.bundle refs/pull/986/head ``` Raw bundle · 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 986 de362efc515f1be257f7765dd5ec6d599cb9a938 ``` ``` {"kind":"github-import","owner":"aien-dev","repo":"omega-mv","number":986,"url":"https://github.com/aien-dev/omega-mv/pull/986","export_sha256":"7319147b350ad908bf0b731068ec3be7b8dee848041dc862f71455e8e4680140","imported_utc":"2026-11-18T16:35:42Z"} ``` ### Changes ``` diff --git a/.crumb b/.crumb index 5a5111ccd..db16c070d 100644 --- a/.crumb +++ b/.crumb @@ -48,7 +48,7 @@ }, { "digest": "039bcef8053012cc38f5bf18680a5493585d0289d7787f932e8d3e3921df04c6", - "last_commit": "34cb8ec3e", + "last_commit": "4376c2112", "name": "docs", "purpose": "Directory docs. Purpose not yet described by a human." }, @@ -59,8 +59,8 @@ "purpose": "Directory doctrine. Purpose not yet described by a human." }, { - "digest": "e42ed0520e8c87d3dd48b5d783ca0cdfc8da3edf78b5af42632b80a88767b5ee", - "last_commit": "6d7b88384", + "digest": "c0668c8969cceab0f03ac6ab352ae579c8b473a9ec743d80c89fc187b769c12c", + "last_commit": "9d669f8a5", "name": "mk", "purpose": "Directory mk. Purpose not yet described by a human." }, @@ -78,7 +78,7 @@ }, { "digest": "c73d74e9c743c8b541ec2418e815095d748e2e15d0b89857d683dbd5b76b3bf9", - "last_commit": "7513c410c", + "last_commit": "450bbefd4", "name": "research", "purpose": "Directory research. Purpose not yet described by a human." }, @@ -90,7 +90,7 @@ }, { "digest": "ee281fc724e51e89ed3b1707a88f8497f752bca12d80e9e5801c32b09d8a9ae1", - "last_commit": "e06f60130", + "last_commit": "6d7b88384", "name": "src", "purpose": "Directory src. Purpose not yet described by a human." }, @@ -101,21 +101,21 @@ "purpose": "Directory tests. Purpose not yet described by a human." }, { - "digest": "5a673a62f8a762806b0551d1c92bcb9643a929a64e2e98b8eadf47ecbe2f798e", - "last_commit": "6d7b88384", + "digest": "c9c0eb6fcb03f5be2576714a9b49e2ead49190277059fcbbd253f49db07c047d", + "last_commit": "9d669f8a5", "name": "tools", "purpose": "Directory tools. Purpose not yet described by a human." } ], - "children_root": "sha256:282abe03828521c27732b2206039fc43e2844eee116954b306f9eff672dc62a2", - "compiled_at": "2026-10-31T02:31:23Z", + "children_root": "sha256:274babda50155c644ea4db4b73886a9d5cbb96f89c7e4b67f732cd66505b9392", + "compiled_at": "2026-10-31T02:54:05Z", "compiler": "crumb-compile/1", - "digest": "sha256:5e6eb21b5643e645b0760f478e3b47b361bbd12e9386a3006d11b3edeac6a724", + "digest": "sha256:e352959e414097e562e1e3c1c5beed73df498c2af953658aa73728a5d78558af", "evidence_files": 14606, "evidence_root": "sha256:977ce24a5fca8d0df8866a6798f73d2e02410a352366a2d9b7f5a23ea6d967aa", - "files": 22755, - "generated_at_commit": "e06f6013079e146b9b9c9c4692b05e9a52364cac", - "source_tree": "sha256:3b7c8cb44d07778901d7798ba1713fbc8f4667bc50ff98b23116c15a5f1a8bac" + "files": 22756, + "generated_at_commit": "9d669f8a52f4a3c70bafd889cab50b1e86ba24fc", + "source_tree": "sha256:cd18f586c2e2d12d7d63c4fb146604633db6e1526dca3e3d87362477216c6659" }, "owner_lane": "", "provenance": { diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 068bc4950..cfa33b00f 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -7,6 +7,7 @@ The current development method is [Human-Directed Agentic Engineering (HDAE)](RE | Model | What it did | |---|---| +| OpenAI Codex | C6 comparison harness: preserve decoder exit status before normalization; host-only serial and parallel regression controls reject nonzero exits despite identical output. | | Claude Opus 5.5 (via omp) | #944 (#601, #560): the OM_COMPLETION FR-5 row records the shipped handle-checked mapping and device words (ids 166..177, contracts in `seed/host/MAPPING.md`, the four `seed/host/tests` units run by `seed/host/gate.sh`), and FR-5 leaves the decision-blocked list. The tern header's shared-memory comment states the 32 KiB QMD limit and that one 8192-column x chunk is 16 KiB. Docs and comments only. | | Claude Opus 5.5 (via omp) | #931: README FR-9 bullet, OM_COMPLETION FR-9 rows and ROADMAP item 7 and x86 row record that the x86 backend merged as a DRAFT (#923) whose last fixture differential ran EMULATED (QEMU) at `62d1d0d6`: 15182 PASS, 0 FAIL, 2 NOT_RUN, 222 EXCLUDED, verdict FAIL, native x86 NOT_RUN. The sm121 rows cite the author chip run in `evidence/SEED-0/sm121/chip/` (load average 61, not an exclusive window) and keep the chip gate BLOCKED_OPERATOR. OM_COMPLETION's next step drops FR-5 as #944 does. Merged main `b5ab3fe94`, keeping its StableHLO row ahead of the x86 row. Docs only. | | Claude Opus 5.5 (via omp) | C6 zero-nvdisasm repair: #589's hazard cross-check had brought back a call to `/usr/local/cuda/bin/nvdisasm` and the gate's `zero_nvdisasm.*` work dir turned PATH lookups into false nvdisasm execs. `tests/bw_hazard_test.c --disasm` now cross-checks with our decoder in process; the gate runs it as a dynamic row, refuses a work dir or checkout path naming nvdisasm (NOT_RUN) and fails closed when mktemp fails. Decoder rows for the sweep's HMMA.16816.F32, LDG/STG .STRONG.SYS and ATOMG.E.ADD.STRONG.SYS forms and IMAD.SHL 2^7/2^8; the hazard sweep's kernels joined the `test-sm121dis` corpus (2,980 kernels), which `check.sh` now compares `SM121DIS_JOBS` at a time. Closed four fail-open paths, each reproduced before the fix and refused after: a stale PASS read back from a symlinked work dir, a red check that accepted NOT_RUN, a kernel dump cut short by a full disk kept under its full name, and an empty work dir left when strace is missing. Host evidence only. | diff --git a/mk/.crumb b/mk/.crumb index f9a3a84e3..e7c066246 100644 --- a/mk/.crumb +++ b/mk/.crumb @@ -7,14 +7,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-31T02:04:31Z", + "compiled_at": "2026-10-31T02:35:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:e42ed0520e8c87d3dd48b5d783ca0cdfc8da3edf78b5af42632b80a88767b5ee", + "digest": "sha256:c0668c8969cceab0f03ac6ab352ae579c8b473a9ec743d80c89fc187b769c12c", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 97, - "generated_at_commit": "bfb791feab971401d7e2322f3aee5fdbf3e0b96f", - "source_tree": "sha256:8488e483c6826d7cffd3ae766adcac11308788bb45530d01a4dd35f339cdf5d3" + "generated_at_commit": "6d7b883844a0f17a7a3ceb427108be7e01e4c677", + "source_tree": "sha256:bca5f08744bd80629e47ac0c27aaeda59e174ed0a3e0cc1d55378862bae21e78" }, "owner_lane": "", "provenance": { diff --git a/mk/sm121dis.mk b/mk/sm121dis.mk index b82fc54d3..c9440caa7 100644 --- a/mk/sm121dis.mk +++ b/mk/sm121dis.mk @@ -21,11 +21,14 @@ sm121dis-corpus-bins: $(addprefix $(OUT_DIR)/,gpu_matmul_api_test gpu_elementwis gpu_scan_test gpu_gemm_test gpu_streams_test gpu_isolation_test bw_hazard_test) \ build/test_omega_divsqrt_gb10_cpu build/test_omega_ldst_gb10_cpu -.PHONY: test-sm121dis sm121dis-corpus-bins test-sm121dis-corpus-controls +.PHONY: test-sm121dis sm121dis-corpus-bins test-sm121dis-corpus-controls test-sm121dis-check-controls test-sm121dis-corpus-controls: sh tools/sm121dis/corpus_selftest.sh -test-sm121dis: $(SM121DIS) $(SM121DIS_RED) sm121dis-corpus-bins test-sm121dis-corpus-controls +test-sm121dis-check-controls: + sh tools/sm121dis/check_selftest.sh + +test-sm121dis: $(SM121DIS) $(SM121DIS_RED) sm121dis-corpus-bins test-sm121dis-corpus-controls test-sm121dis-check-controls rm -rf $(SM121DIS_K) && sh tools/sm121dis/corpus.sh $(OUT_DIR) $(SM121DIS_K) sh tools/sm121dis/check.sh $(SM121DIS) $(SM121DIS_K) $(OUT_DIR)/sm121dis-work @if sh tools/sm121dis/check.sh $(SM121DIS_RED) $(SM121DIS_K) $(OUT_DIR)/sm121dis-red > $(OUT_DIR)/sm121dis-red.log 2>&1; then \ diff --git a/tools/.crumb b/tools/.crumb index 1b56386ad..b2b573d7c 100644 --- a/tools/.crumb +++ b/tools/.crumb @@ -26,50 +26,50 @@ "children": [ { "digest": "9f82d33852a7cdcedb210ee1525f42c4d963c18940cae1df7f69d1210de71985", - "last_commit": "d863780eb", + "last_commit": "6d7b8838", "name": "argus", "purpose": "Directory tools/argus. Purpose not yet described by a human." }, { "digest": "4b3a030252eaa6f1c693105a76092e8a5fccfd340658a982f5bb1130ce9aba33", - "last_commit": "d863780eb", + "last_commit": "6d7b8838", "name": "brownian", "purpose": "Directory tools/brownian. Purpose not yet described by a human." }, { "digest": "1d21e7e466d0fd96abf30d11b2d7e45718bc42ada1784bc8bc2a749f541b3ab7", - "last_commit": "d863780eb", + "last_commit": "6d7b8838", "name": "dual_experiment", "purpose": "Runner for the DUAL applicability experiment: runs the pre-registered campaign and writes result" }, { "digest": "2a1bd46e9c9502d02144e3f76c784863001323c564a22bdae2905c0660a5f7a4", - "last_commit": "d863780eb", + "last_commit": "6d7b8838", "name": "estimation", "purpose": "Directory tools/estimation. Purpose not yet described by a human." }, { "digest": "b3241d8cdc884bbfcca5cf9d5f4ed0aac8f7e2df43d9ab47ca2789432dd49a75", - "last_commit": "d863780eb", + "last_commit": "6d7b8838", "name": "reservoir", "purpose": "Gate 2 tooling for the reservoir (omega#440): in-house zlib inflate and MAT v5 reader, the archi" }, { "digest": "f1a1a7f24d51a52f01171d01edbd59e8b15c53b15eeffb97e3c0ffc553e639af", - "last_commit": "d863780eb", + "last_commit": "6d7b8838", "name": "turing_verify_indep", "purpose": "Directory tools/turing_verify_indep. Purpose not yet described by a human." } ], "children_root": "sha256:8d3d3b952374b3b72e667521f07bf028c4c02bcefff772ad1a71cfff3e5266f2", - "compiled_at": "2026-10-31T02:04:31Z", + "compiled_at": "2026-10-31T02:35:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:5a673a62f8a762806b0551d1c92bcb9643a929a64e2e98b8eadf47ecbe2f798e", + "digest": "sha256:c9c0eb6fcb03f5be2576714a9b49e2ead49190277059fcbbd253f49db07c047d", "evidence_files": 17, "evidence_root": "sha256:47b1bcb263a96edaab5a4a5214d92ebc385d5511b120201567d280410a749703", - "files": 411, - "generated_at_commit": "bfb791feab971401d7e2322f3aee5fdbf3e0b96f", - "source_tree": "sha256:6b1e752a93cbe7df14c9f0b0929045a09f39f9781306b3807877398cbf2debd4" + "files": 412, + "generated_at_commit": "6d7b883844a0f17a7a3ceb427108be7e01e4c677", + "source_tree": "sha256:757ae5bba9d7b33f785803527c6548b5232595a913555ea2c21211f9cf5ceb54" }, "owner_lane": "", "provenance": { diff --git a/tools/sm121dis/check.sh b/tools/sm121dis/check.sh index 7091e0a5d..45b94a610 100755 --- a/tools/sm121dis/check.sh +++ b/tools/sm121dis/check.sh @@ -19,9 +19,15 @@ if [ "${1:-}" = --one ]; then { echo "FAIL 0"; echo "[FAIL] $b: nvdisasm refused it"; head -3 "$WORK/$b.nv"; } > "$WORK/$b.res.tmp" else sh "$HERE/oracle_pairs.sh" "$WORK/$b.nv" > "$WORK/$b.want" - "$DIS" --pairs "$f" | sed 's/[[:space:]]\{1,\}/ /g' > "$WORK/$b.got" n=$(wc -l < "$WORK/$b.want") - if [ "$n" -gt 0 ] && cmp -s "$WORK/$b.want" "$WORK/$b.got"; then + # Capture the decoder directly: a pipeline would hide its exit status behind sed. + rc=0 + "$DIS" --pairs "$f" > "$WORK/$b.raw" 2> "$WORK/$b.err" || rc=$? + if [ "$rc" -ne 0 ]; then + { echo "FAIL $n"; echo "[FAIL] $b: decoder exited $rc"; head -3 "$WORK/$b.err"; } > "$WORK/$b.res.tmp" + elif ! sed 's/[[:space:]]\{1,\}/ /g' "$WORK/$b.raw" > "$WORK/$b.got"; then + { echo "FAIL $n"; echo "[FAIL] $b: decoder output normalization failed"; } > "$WORK/$b.res.tmp" + elif [ "$n" -gt 0 ] && cmp -s "$WORK/$b.want" "$WORK/$b.got"; then { echo "PASS $n"; echo "[PASS] $b: $n words"; } > "$WORK/$b.res.tmp" else { echo "FAIL $n"; echo "[FAIL] $b: $(diff "$WORK/$b.want" "$WORK/$b.got" | grep -c '^<') of $n words differ" diff --git a/tools/sm121dis/check_selftest.sh b/tools/sm121dis/check_selftest.sh new file mode 100644 index 000000000..cd976fbf3 --- /dev/null +++ b/tools/sm121dis/check_selftest.sh @@ -0,0 +1,44 @@ +#!/bin/sh +# Host-only fixture: identical output cannot excuse a failed decoder process. +set -eu +HERE=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd) +WORK=$(mktemp -d "${TMPDIR:-/tmp}/sm121dis-check-control.XXXXXX") +trap 'rm -rf "$WORK"' EXIT HUP INT TERM +mkdir "$WORK/kernels" +# The fixture decoders supply text, not real machine decoding or hardware evidence. +printf '\000' > "$WORK/kernels/a.bin" +printf '\000' > "$WORK/kernels/b.bin" +cat > "$WORK/oracle" <<'ORACLE' +#!/bin/sh +if [ "$1" = --version ]; then echo 'release 13.0, V13.0'; exit 0; fi +printf '/*0000*/ EXIT ; /* 0x0000000000000000 */\n/* 0x0000000000000000 */\n' +ORACLE +cat > "$WORK/decoder" <<'DECODER' +#!/bin/sh +printf '0000 0000000000000000\t0000000000000000 EXIT ;\n' +echo deliberate-decoder-diagnostic >&2 +exit "${DECODER_RC:-0}" +DECODER +chmod +x "$WORK/oracle" "$WORK/decoder" +for jobs in 1 2; do + for decoder_rc in 0 7 127; do + rc=0 + NVDISASM="$WORK/oracle" SM121DIS_JOBS=$jobs DECODER_RC=$decoder_rc \ + sh "$HERE/check.sh" "$WORK/decoder" "$WORK/kernels" "$WORK/results" > "$WORK/log" 2>&1 || rc=$? + if [ "$decoder_rc" -eq 0 ]; then + [ "$rc" -eq 0 ] && grep -qx 'VERDICT PASS' "$WORK/log" && + grep -qx 'kernels: 2, words: 2, failed kernels: 0' "$WORK/log" || { + cat "$WORK/log"; echo 'FAIL: successful decoder refused'; exit 1; + } + else + [ "$rc" -eq 1 ] && grep -qx 'VERDICT FAIL' "$WORK/log" && + grep -qx 'kernels: 2, words: 2, failed kernels: 2' "$WORK/log" && + grep -q "decoder exited $decoder_rc" "$WORK/log" && + grep -q 'deliberate-decoder-diagnostic' "$WORK/log" && + ! grep -q '^\[PASS\]' "$WORK/log" || { + cat "$WORK/log"; echo 'FAIL: nonzero decoder exit accepted or not diagnosed'; exit 1; + } + fi + done +done +echo 'PASS: decoder exit controls (serial and parallel)' ```