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/929175782b417e38 # 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 ## tests/gates: restore the 5 hosted jobs phase 3 dropped without a gate (checker2, exp445-tools, omegese-oracle, gpu-engine, reservoir) closed `929175782b417e38` #597 · opened 2026-10-19 22:12 UTC · closed 2026-10-29 19:01 UTC Imported from GitHub aien-dev/omega-mv#597, by drakestapleton Base `a8ffd2b912c84197d08f963b05f9c7d8b30a3f8a` · Head `67868991678bab3619c04e751a0dbc9a1f134fce` drakestapleton wrote on 2026-10-19 22:12 UTC Phase 3 (#564) deleted the hosted test workflows. Five hosted jobs had no Spark gate behind them, so their tests stopped running anywhere. This restores them as Spark gates, with the same commands as the removed jobs: gate step removed hosted job OMEGA-CHECKER2 checker2 host-suites.yml checker2 OMEGA-EXP445-TOOLS exp445-tools host-suites.yml exp445-tools OMEGA-OMEGESE-ORACLE omegese-oracle host-suites.yml omegese-oracle OMEGA-GPU-ENGINE gpu-engine host-suites-2.yml gpu-engine (incl. session platform) OMEGA-RESERVOIR reservoir reservoir.yml reservoir-gates One real fix came out of running them: `tools/exp445/{run,score,measure}.sh` read binaries from a fixed `build/`, but since #511 each gate step builds in its own `OUT_DIR`. The scripts now use `${OUT_DIR:-build}`, the same rule as the Makefile. When nothing sets OUT_DIR, behaviour does not change. ## Local runs (Spark, `nice -n 19 bash tests/gates/run.sh `, load 30 to 50) - checker2: PASS (104/104 mutants killed), earlier run on `7bf3e4fb` - exp445-tools: rc=2 before the OUT_DIR fix ("build/omega_emit/x445: No such file or directory"); rc=0 after it, `test-exp445: PASS` - omegese-oracle: rc=0, `test-omegese: PASS`, no ASan/UBSan report - gpu-engine: rc=0, session platform 8 passed 0 failed (host only, simulated driver) - reservoir: rc=0, plain and ASan/UBSan pass, Gate 2 config unchanged Pipeline configuration change (rule A4): needs an operator run. drakestapleton wrote on 2026-10-29 19:01 UTC Closing in org cleanup (Drake, 2026-10-29): abandoned: no activity in 10 days with merge conflicts and failing CI checks. Reopen if still needed. ### Apply it ``` git checkout -b patch-929175782b417e38 a8ffd2b912c84197d08f963b05f9c7d8b30a3f8a curl -fsSL https://interplane.io/drakestapleton/omega-mv/patches/929175782b417e38.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 597 67868991678bab3619c04e751a0dbc9a1f134fce ``` ``` {"kind":"github-import","owner":"aien-dev","repo":"omega-mv","number":597,"url":"https://github.com/aien-dev/omega-mv/pull/597","export_sha256":"7319147b350ad908bf0b731068ec3be7b8dee848041dc862f71455e8e4680140","imported_utc":"2026-11-18T16:35:51Z"} ``` ### Changes ``` diff --git a/.crumb b/.crumb index d121d2dad..c071983ac 100644 --- a/.crumb +++ b/.crumb @@ -83,27 +83,27 @@ "purpose": "Directory src. Purpose not yet described by a human." }, { - "digest": "4eb9d4d76234448c0ed691f0aeb9c90d785f8a47b1b1291d728bbe3e1509dc10", - "last_commit": "88e24bdd", + "digest": "dfb942f427f8e18da9b68194cc7b25adec2ea3001cbb8b927381d362e9ad81a0", + "last_commit": "7bf3e4fb", "name": "tests", "purpose": "Directory tests. Purpose not yet described by a human." }, { - "digest": "566a123ba248da906e3c42430b73decd7c3ec030a4fd26c909d265aa9bf67db9", - "last_commit": "88e24bdd", + "digest": "f18caed9831e9be017a7b3fcfe5d873809b15f5cad8aee5bcd3b96543bd60258", + "last_commit": "c721305d", "name": "tools", "purpose": "Directory tools. Purpose not yet described by a human." } ], - "children_root": "sha256:e1a8c008214ad5dbc33a3e184d7e882dc56d1d50f9bd14c58f8773992961557e", - "compiled_at": "2026-10-18T21:10:38Z", + "children_root": "sha256:a3c1bc310b6ac0dd8e7c3f8aa454a676468f71ee424f1c9291ac23607718323d", + "compiled_at": "2026-10-19T22:11:49Z", "compiler": "crumb-compile/1", - "digest": "sha256:be7220db494238bb4c33023d1df17286c35f947336bee5fc2e0405c136ec3e73", + "digest": "sha256:3d539f8e669c9cc4612447e1095e8914e55447f31991a58362bc630110c60d2f", "evidence_files": 11127, "evidence_root": "sha256:4528085ec1661c442b64fb5dc8def65067ea2620ff88e42bcf52d58b7642ea6e", - "files": 14100, - "generated_at_commit": "f4a9849fb127f8d2d664dfc56890752ad180c507", - "source_tree": "sha256:21f93defce6c9ba159a4bd31083db787e156dfaa4afb80c3427cf88f732f8258" + "files": 14105, + "generated_at_commit": "c721305d3cbf98cfa7d6013e853f51974dbd5f7e", + "source_tree": "sha256:d5b148089215b6f073bf9967e0c760d52c55cb15bddfc7ceaf33f9b42bed1445" }, "owner_lane": "", "provenance": { diff --git a/tests/.crumb b/tests/.crumb index bd5535a8b..8ba710315 100644 --- a/tests/.crumb +++ b/tests/.crumb @@ -296,14 +296,14 @@ } ], "children_root": "sha256:ddc3618190458bc5073e3bee67ffccc68a2ee9f065f2cb0d86545386a29fddf8", - "compiled_at": "2026-10-16T19:04:20Z", + "compiled_at": "2026-10-19T22:11:49Z", "compiler": "crumb-compile/1", - "digest": "sha256:4eb9d4d76234448c0ed691f0aeb9c90d785f8a47b1b1291d728bbe3e1509dc10", + "digest": "sha256:dfb942f427f8e18da9b68194cc7b25adec2ea3001cbb8b927381d362e9ad81a0", "evidence_files": 16, "evidence_root": "sha256:96d08097822ad95f4e562c19e0ba5df5a035774c48632f1832912c40a27bd27a", - "files": 1270, - "generated_at_commit": "88e24bdd57b27817d030d0ad95f62c3f3eacf426", - "source_tree": "sha256:e6c4f0021d383ba2e59da0d85d06a0b98170f6d188289c891b5745200548e6fc" + "files": 1275, + "generated_at_commit": "c721305d3cbf98cfa7d6013e853f51974dbd5f7e", + "source_tree": "sha256:0fd93af756d82b35ed44480cca36dfd66d9366188149015493d32f61e8a998a0" }, "owner_lane": "", "provenance": { diff --git a/tests/gates/omega-checker2.gate b/tests/gates/omega-checker2.gate new file mode 100644 index 000000000..a9d7281a6 --- /dev/null +++ b/tests/gates/omega-checker2.gate @@ -0,0 +1,25 @@ +# tests/gates/omega-checker2.gate +# Restored: hosted host-suites.yml checker2: test-checker2 (independent checker2, LRAT gate, receipts, mutants; hosted 20 min). The hosted job was removed in phase 3 (#564) without a gate; same command here. +gate: OMEGA-CHECKER2 +manifest_version: 2 +owner: omega +requires: + - host +inputs: + - Makefile + - mk/ + - src/ + - tests/ + - tools/ + - docs/ + - physics.lock + - tests/gates/ +run: + exec: tests/gates/run.sh + args: ["checker2"] +expects: + exit: 0 + verdict: PASS +timeout: 20m +exactness: EXACT +cache_scope: machine diff --git a/tests/gates/omega-exp445-tools.gate b/tests/gates/omega-exp445-tools.gate new file mode 100644 index 000000000..4df69dad6 --- /dev/null +++ b/tests/gates/omega-exp445-tools.gate @@ -0,0 +1,25 @@ +# tests/gates/omega-exp445-tools.gate +# Restored: hosted host-suites.yml exp445-tools: test-omega-emit test-exp445 (stage-2 tools, fake server; needs jq curl flock). The hosted job was removed in phase 3 (#564) without a gate; same command here. +gate: OMEGA-EXP445-TOOLS +manifest_version: 2 +owner: omega +requires: + - host +inputs: + - Makefile + - mk/ + - src/ + - tests/ + - tools/ + - docs/ + - physics.lock + - tests/gates/ +run: + exec: tests/gates/run.sh + args: ["exp445-tools"] +expects: + exit: 0 + verdict: PASS +timeout: 20m +exactness: EXACT +cache_scope: machine diff --git a/tests/gates/omega-gpu-engine.gate b/tests/gates/omega-gpu-engine.gate new file mode 100644 index 000000000..20cc8f357 --- /dev/null +++ b/tests/gates/omega-gpu-engine.gate @@ -0,0 +1,25 @@ +# tests/gates/omega-gpu-engine.gate +# Restored: hosted host-suites-2.yml gpu-engine: GPU engine core on the fake backend, freestanding link and codegen, engine mutants, session over OmegaGpuPlatform, Linux reference platform (host, no device). The hosted job was removed in phase 3 (#564) without a gate; same command here. +gate: OMEGA-GPU-ENGINE +manifest_version: 2 +owner: omega +requires: + - host +inputs: + - Makefile + - mk/ + - src/ + - tests/ + - tools/ + - docs/ + - physics.lock + - tests/gates/ +run: + exec: tests/gates/run.sh + args: ["gpu-engine"] +expects: + exit: 0 + verdict: PASS +timeout: 20m +exactness: EXACT +cache_scope: machine diff --git a/tests/gates/omega-omegese-oracle.gate b/tests/gates/omega-omegese-oracle.gate new file mode 100644 index 000000000..64301b1be --- /dev/null +++ b/tests/gates/omega-omegese-oracle.gate @@ -0,0 +1,25 @@ +# tests/gates/omega-omegese-oracle.gate +# Restored: hosted host-suites.yml omegese-oracle: test-omegese (Omegese oracle self-tests, -O2 then ASan and UBSan; hosted 30 min). The hosted job was removed in phase 3 (#564) without a gate; same command here. +gate: OMEGA-OMEGESE-ORACLE +manifest_version: 2 +owner: omega +requires: + - host +inputs: + - Makefile + - mk/ + - src/ + - tests/ + - tools/ + - docs/ + - physics.lock + - tests/gates/ +run: + exec: tests/gates/run.sh + args: ["omegese-oracle"] +expects: + exit: 0 + verdict: PASS +timeout: 30m +exactness: EXACT +cache_scope: machine diff --git a/tests/gates/omega-reservoir.gate b/tests/gates/omega-reservoir.gate new file mode 100644 index 000000000..4ca631283 --- /dev/null +++ b/tests/gates/omega-reservoir.gate @@ -0,0 +1,25 @@ +# tests/gates/omega-reservoir.gate +# Restored: hosted reservoir.yml reservoir-gates: test-reservoir (omega#440 Gate 1, Gate 2 reader and config; CPU only). The hosted job was removed in phase 3 (#564) without a gate; same command here. +gate: OMEGA-RESERVOIR +manifest_version: 2 +owner: omega +requires: + - host +inputs: + - Makefile + - mk/ + - src/ + - tests/ + - tools/ + - docs/ + - physics.lock + - tests/gates/ +run: + exec: tests/gates/run.sh + args: ["reservoir"] +expects: + exit: 0 + verdict: PASS +timeout: 15m +exactness: EXACT +cache_scope: machine diff --git a/tests/gates/run.sh b/tests/gates/run.sh index 6c5c918d5..ea02cce65 100755 --- a/tests/gates/run.sh +++ b/tests/gates/run.sh @@ -114,6 +114,25 @@ case "$step" in one-layer-acceptance) make $NOPHYS test-one-layer-acceptance ;; physics0) make $NOPHYS physics0-test ;; chip-tool-selftests) for t in test-m19r-qualify test-gate14-combine test-window-lane-guard test-unwritten-trap-host test-ldst-host; do make $NOPHYS $t; done ;; + # Restored: hosted jobs that phase 3 (#564) removed without a gate. Same commands as the removed jobs. + checker2) make $NOPHYS test-checker2 ;; # host-suites.yml checker2 + exp445-tools) command -v jq && command -v curl && command -v flock; make $NOPHYS test-omega-emit test-exp445 ;; # host-suites.yml exp445-tools + omegese-oracle) make $NOPHYS test-omegese ;; # host-suites.yml omegese-oracle + gpu-engine) # host-suites-2.yml gpu-engine + make $NOPHYS test-gpu-engine-compile test-gpu-engine + make $NOPHYS test-gpu-engine-freestanding + make $NOPHYS test-codegen-freestanding + make $NOPHYS test-gpu-engine-mutants + make $NOPHYS build/test_omega_gpu_session_platform test-gpu-session-mutants && ./build/test_omega_gpu_session_platform + physics_pin; make test-gpu-session-platform + ;; + reservoir) # reservoir.yml reservoir-gates + set -o pipefail; mkdir -p build + make $NOPHYS test-reservoir | tee build/res.log + test "$(grep -cE '^test_reservoir: [0-9]+ checks, 0 failed' build/res.log)" -eq 2 + test "$(grep -cE '^test_res_mat: [0-9]+ checks, 0 failed' build/res.log)" -eq 2 + grep -q 'Gate 2 config unchanged' build/res.log + ;; # host-suites-2.yml visor) aienos_pin; make $NOPHYS test-visor ;; turing) make $NOPHYS test-turing; make $NOPHYS test-turing-exp001-a test-turing-exp001-coders; make $NOPHYS test-turing-verify-indep; make $NOPHYS test-turing-qcont test-turing-qrecord ;; diff --git a/tools/.crumb b/tools/.crumb index 8cf70bcac..4de9d39d2 100644 --- a/tools/.crumb +++ b/tools/.crumb @@ -62,14 +62,14 @@ } ], "children_root": "sha256:e1f826c2beb8604bb0dcba49575f7c6b48cf5488c40b616b212fda2ed70c62ee", - "compiled_at": "2026-10-16T19:04:20Z", + "compiled_at": "2026-10-19T22:11:49Z", "compiler": "crumb-compile/1", - "digest": "sha256:566a123ba248da906e3c42430b73decd7c3ec030a4fd26c909d265aa9bf67db9", + "digest": "sha256:f18caed9831e9be017a7b3fcfe5d873809b15f5cad8aee5bcd3b96543bd60258", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 284, - "generated_at_commit": "88e24bdd57b27817d030d0ad95f62c3f3eacf426", - "source_tree": "sha256:eee0218ae5c8d003fa0a585291551799e81e6c329a7f5db1295e771a75aee167" + "generated_at_commit": "c721305d3cbf98cfa7d6013e853f51974dbd5f7e", + "source_tree": "sha256:01549367dc014beea9993c8153082cd4c28412298cb277fc1feff97e253cac62" }, "owner_lane": "", "provenance": { diff --git a/tools/exp445/measure.sh b/tools/exp445/measure.sh index dd2d2f23a..bbf68374b 100755 --- a/tools/exp445/measure.sh +++ b/tools/exp445/measure.sh @@ -8,9 +8,11 @@ set -euo pipefail HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" ROOT="$(cd "$HERE/../.." && pwd)" +# Build outputs follow OUT_DIR like the Makefile (omega#511: every gate step builds in its own dir). +BLD="${OUT_DIR:-build}"; case "$BLD" in /*) ;; *) BLD="$ROOT/$BLD" ;; esac [ $# -eq 3 ] || { echo "usage: measure.sh " >&2; exit 2; } BASE="${1%/}" MODEL="$2" CASES="$3" -make -s -C "$ROOT" PHYSICS_DIR=/nonexistent PHYSICS_LOCK_CHECK=0 omega-emit build/compiler/oscc >&2 +make -s -C "$ROOT" PHYSICS_DIR=/nonexistent PHYSICS_LOCK_CHECK=0 omega-emit "${OUT_DIR:-build}/compiler/oscc" >&2 T="$(mktemp -d "${TMPDIR:-/tmp}/exp445-measure.XXXXXXXX")"; trap 'rm -rf "$T"' EXIT ptoks() { # ptoks : prompt tokens of one user message holding the file jq -n -c --arg m "$MODEL" --rawfile c "$1" '{model: $m, messages: [{role: "user", content: $c}], max_tokens: 1, temperature: 0}' | @@ -20,8 +22,8 @@ ptoks() { # ptoks : prompt tokens of one user message holding the file echo "# task text bytes structured (tokens; empty-message baseline $base subtracted)" for c in "$CASES"/*/; do id="$(basename "$c")" - "$ROOT/build/compiler/oscc" "$c/hidden/reference.osc" "$T/$id" > /dev/null - "$ROOT/build/omega_emit/x445" tohex "$T/$id.ir" > "$T/$id.hex" - "$ROOT/build/omega_emit/omega_emit" lift "$T/$id.ir" > "$T/$id.json" + "$BLD/compiler/oscc" "$c/hidden/reference.osc" "$T/$id" > /dev/null + "$BLD/omega_emit/x445" tohex "$T/$id.ir" > "$T/$id.hex" + "$BLD/omega_emit/omega_emit" lift "$T/$id.ir" > "$T/$id.json" echo "$id $(( $(ptoks "$c/hidden/reference.osc") - base )) $(( $(ptoks "$T/$id.hex") - base )) $(( $(ptoks "$T/$id.json") - base ))" done diff --git a/tools/exp445/run.sh b/tools/exp445/run.sh index b0c194bc2..2d00f737c 100755 --- a/tools/exp445/run.sh +++ b/tools/exp445/run.sh @@ -38,6 +38,8 @@ set -euo pipefail HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" ROOT="$(cd "$HERE/../.." && pwd)" +# Build outputs follow OUT_DIR like the Makefile (omega#511: every gate step builds in its own dir). +BLD="${OUT_DIR:-build}"; case "$BLD" in /*) ;; *) BLD="$ROOT/$BLD" ;; esac die() { echo "run.sh: $*" >&2; exit 2; } PARAMS="${EXP445_PARAMS:-$HERE/PARAMS}" [ -f "$PARAMS" ] || die "no PARAMS file $PARAMS" @@ -103,10 +105,10 @@ if [ "$HELD" = 1 ]; then case "$SERVER" in PLACEHOLDER*) die "config $CONFIG server is still a placeholder in PARAMS: held-out generation waits for the commit that freezes it (protocol 13.3)" ;; esac [ "$MODE" = "$(kv heldout_prompt_mode)" ] || die "a held-out run uses the $(kv heldout_prompt_mode) prompt mode (protocol 13.4), not $MODE" fi -B="$ROOT/build/omega_emit" +B="$BLD/omega_emit" make -s -C "$ROOT" PHYSICS_DIR=/nonexistent PHYSICS_LOCK_CHECK=0 omega-emit >&2 case ",$ARMS," in *,omegese,*) make -s -C "$ROOT" PHYSICS_DIR=/nonexistent PHYSICS_LOCK_CHECK=0 omegese >&2 ;; esac -X="$B/x445" EMIT="$B/omega_emit" G="$ROOT/build/omegese/omegese" +X="$B/x445" EMIT="$B/omega_emit" G="$BLD/omegese/omegese" weights_ok "$OUT" "$WLIST" "$FMODEL" || die "$OUT/weights.check + server.json missing or not all OK: run tools/exp445/check_weights.sh $CONFIG $OUT first (protocol section 9)" # G0 (13.4): a PASS for this configuration, server and PARAMS, re-derived from its raw responses diff --git a/tools/exp445/score.sh b/tools/exp445/score.sh index 8d9c7cf37..25a1ae328 100755 --- a/tools/exp445/score.sh +++ b/tools/exp445/score.sh @@ -42,6 +42,8 @@ set -euo pipefail HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" ROOT="$(cd "$HERE/../.." && pwd)" +# Build outputs follow OUT_DIR like the Makefile (omega#511: every gate step builds in its own dir). +BLD="${OUT_DIR:-build}"; case "$BLD" in /*) ;; *) BLD="$ROOT/$BLD" ;; esac die() { echo "score.sh: $*" >&2; exit 2; } TEST="${EXP445_TEST:-0}" PARAMS="$HERE/PARAMS" @@ -64,7 +66,7 @@ NAMED="$(awk -F= '$1 ~ /^config\.[A-Za-z0-9]+\.model$/ { split($1, p, "."); prin AVAIL=""; for c in ${NAMED//,/ }; do [ -n "$(kv "config.$c.unavailable")" ] || AVAIL="$AVAIL${AVAIL:+,}$c"; done [ -n "$CONFIGS" ] || CONFIGS="$AVAIL" for c in ${CONFIGS//,/ }; do un="$(kv "config.$c.unavailable")"; [ -z "$un" ] || die "config $c is unavailable: $un"; done -B="$ROOT/build/omega_emit" X="$ROOT/build/omega_emit/x445" EMIT="$ROOT/build/omega_emit/omega_emit" G="$ROOT/build/omegese/omegese" +B="$BLD/omega_emit" X="$BLD/omega_emit/x445" EMIT="$BLD/omega_emit/omega_emit" G="$BLD/omegese/omegese" make -s -C "$ROOT" PHYSICS_DIR=/nonexistent PHYSICS_LOCK_CHECK=0 omega-emit omegese >&2 . "$HERE/reader.sh" OUT="${runs[0]}/../score-$(date -u +%Y%m%dT%H%M%SZ)-$$" ```