interplane.Get Omega
Read in your language

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

GitHub aien-dev/omega-mv#365 (code only)

closed derived b40bacd15a82c500 #365

Imported from GitHub aien-dev/omega-mv#365 (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 7843a7489f9777040cfeb38560c46ac47502dbc1 · Head 6af3286ba9d460df75d156eccd110f013b92569f

Apply it

git checkout -b patch-b40bacd15a82c500 7843a7489f9777040cfeb38560c46ac47502dbc1
curl -fsSL https://interplane.io/drakestapleton/omega-mv/patches/b40bacd15a82c500.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
365
6af3286ba9d460df75d156eccd110f013b92569f
{"kind":"github-import","owner":"aien-dev","repo":"omega-mv","number":365,"url":"https://github.com/aien-dev/omega-mv/pull/365","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:37:32Z","metadata":"unavailable","state_derived":true}

Changes

diff --git a/.crumb b/.crumb
index 02595eec1..fd1ed0b4d 100644
--- a/.crumb
+++ b/.crumb
@@ -64,7 +64,7 @@
         },
         {
           "digest": "d9fc697e5709ba2f0facb12f9a0ec8f4aa01474882c8d0311da037c00b8e7338",
-          "last_commit": "72ddbca",
+          "last_commit": "7843a74",
           "name": "mk",
           "purpose": "Directory mk. Purpose not yet described by a human."
         },
@@ -75,8 +75,8 @@
           "purpose": "Directory polyglot. Purpose not yet described by a human."
         },
         {
-          "digest": "1fe37a6230ee731e692215e08360e61b4d9b894af544341233eb24c807feb148",
-          "last_commit": "a801641",
+          "digest": "ea3a37031e91270e15960dcf18564f6dd00c04e0a244e9438d2086688d05ada5",
+          "last_commit": "39c3503",
           "name": "research",
           "purpose": "Directory research. Purpose not yet described by a human."
         },
@@ -105,15 +105,15 @@
           "purpose": "Directory tools. Purpose not yet described by a human."
         }
       ],
-      "children_root": "sha256:34c2d61c59a13da766b4d6a88a50e1895e60fdbd3ef9498643465c31e0b9732c",
-      "compiled_at": "2026-10-09T23:49:30Z",
+      "children_root": "sha256:20776129d93d04954bbcc933b522374929db226ecf6fb7451f2e283eb5bfb191",
+      "compiled_at": "2026-10-10T00:09:03Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:ba3a3f975e3a69d6fe81f238d267fce952081937ffd8a5e675be71e2be8bc11c",
+      "digest": "sha256:c365f43bb366a5313c16abd7d635d5f4e4ceecca8ecb3c7e505c55b2de8d57f4",
       "evidence_files": 5073,
       "evidence_root": "sha256:bb99548e90817b99c9dec34420512eea42356dde58aac5b0235f63431f73831e",
       "files": 7253,
-      "generated_at_commit": "a8016410b5cd528d88d990c12814f61fa51d7b4e",
-      "source_tree": "sha256:0f91275aeb2d4b2b90903120cd64d0c4d975735ccbb744b963a194084b5a35ba"
+      "generated_at_commit": "39c350332866605ee01491c70580b54b07ef8b45",
+      "source_tree": "sha256:8f3c1564d3923ba279a0f46f1d5796b901ed5b88b97d1f9a6b73d599aa0cdae3"
     },
     "owner_lane": "",
     "provenance": {
diff --git a/research/.crumb b/research/.crumb
index d913d151b..163f4fbb8 100644
--- a/research/.crumb
+++ b/research/.crumb
@@ -21,8 +21,8 @@
     "generated": {
       "children": [
         {
-          "digest": "40c0754b7e1f9337a1397ba6f3f5372aa09f04c1f1c9790c424893da90dda53a",
-          "last_commit": "a801641",
+          "digest": "6208f2a08a8fdbfead5db85e5d8bd7d2bae563f87493e31c1627866389c4e2f8",
+          "last_commit": "39c3503",
           "name": "atemporal",
           "purpose": "AT-0 Clock-Free Universe research program: relational (Page-Wootters) quantum models with no ext"
         },
@@ -33,15 +33,15 @@
           "purpose": "Directory research/dirac-oracle. Purpose not yet described by a human."
         }
       ],
-      "children_root": "sha256:611b800e8a906718b70183a7ab1cf982ccb6e013e05aa15765f22c85612822ec",
-      "compiled_at": "2026-10-09T23:49:30Z",
+      "children_root": "sha256:cf93af95572d0f136cd27ed1b79fa35acdfd4fa72d7d7db2b5eea4d466869516",
+      "compiled_at": "2026-10-10T00:09:03Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:1fe37a6230ee731e692215e08360e61b4d9b894af544341233eb24c807feb148",
+      "digest": "sha256:ea3a37031e91270e15960dcf18564f6dd00c04e0a244e9438d2086688d05ada5",
       "evidence_files": 0,
       "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
       "files": 314,
-      "generated_at_commit": "a8016410b5cd528d88d990c12814f61fa51d7b4e",
-      "source_tree": "sha256:e804d58cc49e8687f67f0e1ac5684a14091381634b658cde64c7242631a71bbf"
+      "generated_at_commit": "39c350332866605ee01491c70580b54b07ef8b45",
+      "source_tree": "sha256:319c187afbe3d0bb370d530be5558e273139255ee2d3b872d84de3b8bd152f5b"
     },
     "owner_lane": "",
     "provenance": {
diff --git a/research/atemporal/.crumb b/research/atemporal/.crumb
index 81ad07184..54361e7ea 100644
--- a/research/atemporal/.crumb
+++ b/research/atemporal/.crumb
@@ -3,21 +3,21 @@
     "generated": {
       "children": [
         {
-          "digest": "f873df3566e459cfeb62239664a94726dbe9b3aa02441db659dd96dbf23bf717",
-          "last_commit": "a801641",
+          "digest": "257419dd786e25e4a7ee16a0f5c2d6201ae949fa5b181baf5937f89019a7108a",
+          "last_commit": "39c3503",
           "name": "at0",
           "purpose": "AT-0 V1: finite clock plus one qubit under the AT0_CASE_V1 / AT0_RESULT_V1 contracts"
         }
       ],
-      "children_root": "sha256:ce0ae56cd977dd775ce23c3d32ffec19b5fd6f408bd90d9929c868efd997000e",
-      "compiled_at": "2026-10-09T23:49:30Z",
+      "children_root": "sha256:835d008833885a7959df3afb610decf6308263d8c9ebbf2bf762f45ce106883d",
+      "compiled_at": "2026-10-10T00:09:03Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:40c0754b7e1f9337a1397ba6f3f5372aa09f04c1f1c9790c424893da90dda53a",
+      "digest": "sha256:6208f2a08a8fdbfead5db85e5d8bd7d2bae563f87493e31c1627866389c4e2f8",
       "evidence_files": 0,
       "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
       "files": 168,
-      "generated_at_commit": "a8016410b5cd528d88d990c12814f61fa51d7b4e",
-      "source_tree": "sha256:565952033536bcac047abcba4bccbd854d0a657d6dbcc9e264973f9c5367ad03"
+      "generated_at_commit": "39c350332866605ee01491c70580b54b07ef8b45",
+      "source_tree": "sha256:ab99529f9f0913fb6def248129e2b6b2d7471c0a04750d979707f085930cb94b"
     }
   },
   "name": "atemporal",
diff --git a/research/atemporal/at0/.crumb b/research/atemporal/at0/.crumb
index 5a028e730..c324c2c1e 100644
--- a/research/atemporal/at0/.crumb
+++ b/research/atemporal/at0/.crumb
@@ -3,14 +3,14 @@
     "generated": {
       "children": [
         {
-          "digest": "190980a2004ccf444ac557f03a736fa621e7aa238d4123b70244d9727da704ab",
-          "last_commit": "216b817",
+          "digest": "7095b71ea2f1ecd9bbb9e8be207e4e6311eeb7f701f5b631575dcbcdb8075881",
+          "last_commit": "39c3503",
           "name": "evaluator",
           "purpose": "Agent 4 independent adversarial evaluator for AT-0: independent AT0_CASE_V1 codec, exact-arithme"
         },
         {
           "digest": "d2b983f44cc5a729702d696b262ed45db193f7d02f0b59375ada9b92721fcb03",
-          "last_commit": "a801641",
+          "last_commit": "7843a74",
           "name": "integration",
           "purpose": "AT-0 Agent 5 integration runner, exact result assembler/judge, hygiene and isolation controls, a"
         },
@@ -27,15 +27,15 @@
           "purpose": "AT-0 reference oracle (Rust, standard library only, built by rustc directly; research cross-chec"
         }
       ],
-      "children_root": "sha256:27a02833f248b5a11e380e2c65e0e9990bcb44656214643fb65812f68eb9bc3b",
-      "compiled_at": "2026-10-09T23:49:30Z",
+      "children_root": "sha256:15245bbd2fc936ede92056d8f36379ff65af928ffda2f8ca324849ce45d1c704",
+      "compiled_at": "2026-10-10T00:09:03Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:f873df3566e459cfeb62239664a94726dbe9b3aa02441db659dd96dbf23bf717",
+      "digest": "sha256:257419dd786e25e4a7ee16a0f5c2d6201ae949fa5b181baf5937f89019a7108a",
       "evidence_files": 0,
       "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
       "files": 168,
-      "generated_at_commit": "a8016410b5cd528d88d990c12814f61fa51d7b4e",
-      "source_tree": "sha256:565952033536bcac047abcba4bccbd854d0a657d6dbcc9e264973f9c5367ad03"
+      "generated_at_commit": "39c350332866605ee01491c70580b54b07ef8b45",
+      "source_tree": "sha256:ab99529f9f0913fb6def248129e2b6b2d7471c0a04750d979707f085930cb94b"
     }
   },
   "name": "at0",
diff --git a/research/atemporal/at0/evaluator/.crumb b/research/atemporal/at0/evaluator/.crumb
index cb651be38..0936a131f 100644
--- a/research/atemporal/at0/evaluator/.crumb
+++ b/research/atemporal/at0/evaluator/.crumb
@@ -3,14 +3,14 @@
     "generated": {
       "children": [],
       "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
-      "compiled_at": "2026-10-09T23:11:27Z",
+      "compiled_at": "2026-10-10T00:09:03Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:190980a2004ccf444ac557f03a736fa621e7aa238d4123b70244d9727da704ab",
+      "digest": "sha256:7095b71ea2f1ecd9bbb9e8be207e4e6311eeb7f701f5b631575dcbcdb8075881",
       "evidence_files": 0,
       "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
       "files": 83,
-      "generated_at_commit": "902708063784b32f77b61912e18fadd4c4389ab9",
-      "source_tree": "sha256:d9d340264f32beaa09383052aaaf3821d0e198f17c87703bf8c8a9b2a5a20664"
+      "generated_at_commit": "39c350332866605ee01491c70580b54b07ef8b45",
+      "source_tree": "sha256:7ecca3b6079ab19d28d539c5a8f314b70c1cc5060da81112738e912614cb9b08"
     }
   },
   "name": "evaluator",
diff --git a/research/atemporal/at0/evaluator/ISOLATION_REPORT.md b/research/atemporal/at0/evaluator/ISOLATION_REPORT.md
index 08e23bc2e..01b17f958 100644
--- a/research/atemporal/at0/evaluator/ISOLATION_REPORT.md
+++ b/research/atemporal/at0/evaluator/ISOLATION_REPORT.md
@@ -88,3 +88,39 @@ to the frozen AT0_CASE_V1 / AT0_RESULT_V2 contracts on the cases run, and that
 its numbers agree with an independent recomputation within stated bounds.
 It is software conformance. It is not a scientific discovery verdict and must
 not be cited as evidence about the physics of time.
+
+## Independent sign-off on the Rust isolation adaptation (AT0-G2), 2026-10-09
+
+Reviewed by Agent 4 against omega main 7843a74: `research/atemporal/at0/oracle/isolation.sh`
+(Agent 2), `research/atemporal/at0/integration/isolation_check.sh` (Agent 5) and this
+directory's `gates/isolation.sh`. Method: built the oracle compute crate alone as an
+rlib three times (clean, `std::time::SystemTime::now` mutant, `extern "C" clock_gettime`
+mutant) with the oracle's own flags, unpacked the members and ran all three scanners.
+
+| scanner | clean | std::time mutant | extern clock mutant |
+|---|---|---|---|
+| integration/isolation_check.sh (Agent 5) | clean, exit 0 | HIT `_RNvMs5_NtCs..._3std4timeNtB5_10SystemTime3now` | HIT `clock_gettime` |
+| oracle/isolation.sh object rule (nm -u regex) | clean | **no hit** (regex has no Rust std path) | hit |
+| oracle/isolation.sh source rule (grep) | clean | hit (`std::time`) | hit (`extern "C"`) |
+| evaluator gates/isolation.sh before D5 | clean | **no hit** (grepped `std..time`) | hit |
+| evaluator gates/isolation.sh after D5 | clean | hit | hit |
+
+Findings:
+
+1. Agent 5's scanner is adequate for named symbols in C objects and Rust rlib
+   members under both Rust mangling schemes. Signed off.
+2. The oracle's own object rule is blind to a Rust-level clock at the symbol
+   level; it catches the std::time mutant only through its source grep. That is
+   acceptable for G2 because the source rule is part of the same gate and two
+   independent scanners (Agent 5's and this one) now also catch it at the object
+   level. Recommendation to Agent 2, not blocking: add `3std4time|SystemTime|Instant`
+   to the banned regex so the object rule stands on its own.
+3. My own gate had the same blind spot (D5). Fixed; three Rust controls run on
+   every `run.sh` and are recorded as GATE-ISOLATION-RUST-* in qualification.json.
+4. Limits that no symbol scan removes, restated: inline `svc`, raw counter reads
+   (CNTVCT_EL0), clocks reached through function pointers resolved without
+   `dlsym`. The wall-clock independence control (Agent 5's C3, this harness's
+   CAND-WALLCLOCK-INDEPENDENCE) is the only run-time check on those.
+
+Sign-off: the Rust adaptation of the isolation gate is fit for AT0-G2 on this
+evidence. UNISOLATED still applies to the whole qualification, as above.
diff --git a/research/atemporal/at0/evaluator/README.md b/research/atemporal/at0/evaluator/README.md
index db832aea1..f65b7a546 100644
--- a/research/atemporal/at0/evaluator/README.md
+++ b/research/atemporal/at0/evaluator/README.md
@@ -185,3 +185,19 @@ mutant counts as caught only on FAIL, gate control objects that fail to compile
 record NOT_RUN instead of a false PASS, the isolation gate reads dynamic symbol
 tables and forbids `syscall`, scaled-decimal bounds above 2^64 convert exactly,
 and the shadow bound follows the long double width.
+
+## Rulings applied after the first qualification run (omega#358, 2026-10-09)
+
+- D3 (Agent 0): `control_kind` with a token outside POSITIVE/NEGATIVE, and a
+  `clock_label_count` larger than the number of `clock_label` lines, are shape
+  failures (section 1 line grammar), so step 1 fires first: CASE_PARSE_ERROR,
+  not CASE_INVALID_PARAMETER. The codec and the manifest rows R31 and R36 now
+  say so. Ambiguity A2 (rational beyond the limit is a range failure) is
+  unaffected: a well-formed integer that is too large is not a grammar failure.
+- D5 (Agent 5): the isolation gate grepped `std..time`, which never matches a
+  real Rust symbol (legacy mangling writes `_ZN3std4time...`, v0 mangling
+  `_RNv...3std4time...`). The gate now scans the raw and the demangled symbol
+  tables for both mangling schemes and the `std::time`, `SystemTime`, `Instant`
+  spellings, and `run.sh` builds three Rust controls from the oracle compute
+  crate (clean, std::time mutant, extern "C" clock_gettime mutant) whenever
+  rustc is available. See ISOLATION_REPORT.md for the G2 sign-off.
diff --git a/research/atemporal/at0/evaluator/cases/MANIFEST.tsv b/research/atemporal/at0/evaluator/cases/MANIFEST.tsv
index 468b7210e..60e638c3b 100644
--- a/research/atemporal/at0/evaluator/cases/MANIFEST.tsv
+++ b/research/atemporal/at0/evaluator/cases/MANIFEST.tsv
@@ -53,11 +53,11 @@ refuse/R27-rational-over-limit.case	R3	AT0_CASE_REFUSED CASE_INVALID_PARAMETER
 refuse/R28-duplicate-label.case	R3	AT0_CASE_REFUSED CASE_INVALID_PARAMETER
 refuse/R29-ref-label-missing.case	R3	AT0_CASE_REFUSED CASE_INVALID_PARAMETER
 refuse/R30-negative-zero.case	R1	AT0_CASE_REFUSED CASE_NONCANONICAL
-refuse/R31-control-kind-bad.case	R3	AT0_CASE_REFUSED CASE_INVALID_PARAMETER
+refuse/R31-control-kind-bad.case	R3	AT0_CASE_REFUSED CASE_PARSE_ERROR
 refuse/R32-case-name-two-tokens.case	R1	AT0_CASE_REFUSED CASE_PARSE_ERROR
 refuse/R33-missing-final-lf.case	R1	AT0_CASE_REFUSED CASE_PARSE_ERROR
 refuse/R34-empty.case	R1	AT0_CASE_REFUSED CASE_PARSE_ERROR
 refuse/R35-trailing-line.case	R1	AT0_CASE_REFUSED CASE_PARSE_ERROR
-refuse/R36-label-count-mismatch.case	R3	AT0_CASE_REFUSED CASE_INVALID_PARAMETER
+refuse/R36-label-count-mismatch.case	R3	AT0_CASE_REFUSED CASE_PARSE_ERROR
 refuse/R37-model-family-bad.case	R3	AT0_CASE_REFUSED CASE_INVALID_PARAMETER
 refuse/R38-acceptance-id-wrong.case	R5	AT0_CASE_REFUSED CASE_ID_MISMATCH
diff --git a/research/atemporal/at0/evaluator/gates/isolation.sh b/research/atemporal/at0/evaluator/gates/isolation.sh
index 2ed14da06..f86776cc3 100644
--- a/research/atemporal/at0/evaluator/gates/isolation.sh
+++ b/research/atemporal/at0/evaluator/gates/isolation.sh
@@ -19,8 +19,10 @@ for o in "$@"; do
     for bad in $FORBIDDEN; do
         if echo "$syms" | grep -qx "_\{0,1\}${bad}" ; then echo "FAIL: $o references $bad"; fail=1; fi
     done
-    # Rust std time/random/env/fs/net/process/thread paths in mangled names
-    if grep -qE 'std\.\.time|std\.\.env|std\.\.fs|std\.\.net|std\.\.process|std\.\.thread|rand\.\.|getrandom' "$o.nm"; then
+    # Rust std time/random/env/fs/net/process/thread paths: legacy (_ZN3std4time..) and v0 (_RNv..3std4time..) mangling,
+    # plus the demangled spelling (nm -C), so a toolchain change in mangling cannot blind the gate
+    { nm -C -p "$o" 2>/dev/null; nm -C -D "$o" 2>/dev/null; } >> "$o.nm"
+    if grep -qE '3std4time|3std3env|3std2fs|3std3net|3std7process|3std6thread|3std2io5stdio|10SystemTime|7Instant|4rand[0-9A-Za-z_]*|getrandom|std::(time|env|fs|net|process|thread|io::stdio)|SystemTime|Instant::|rand::' "$o.nm"; then
         echo "FAIL: $o references a Rust std time/env/fs/net/process/thread or rand path"; fail=1
     fi
     rm -f "$o.nm"
diff --git a/research/atemporal/at0/evaluator/results/qualification.json b/research/atemporal/at0/evaluator/results/qualification.json
index c551658cc..c5cbc89a5 100644
--- a/research/atemporal/at0/evaluator/results/qualification.json
+++ b/research/atemporal/at0/evaluator/results/qualification.json
@@ -1,8 +1,8 @@
 {
   "program": "AT-0",
   "agent": "Agent 4 independent adversarial evaluator",
-  "generated_utc": "2026-10-09T23:11:04Z",
-  "omega_commit": "3e4e1379a900759a212b7f002616e3fd333a43f3",
+  "generated_utc": "2026-10-10T00:07:15Z",
+  "omega_commit": "7843a7489f9777040cfeb38560c46ac47502dbc1",
   "omega_tree_clean": "NO",
   "contract_commit": "044c9d11256d8642f80eedd42cbae8763faf63f5",
   "charter_commit": "00e9f2308666f74e58f524b177b2a31eccdc69ba",
@@ -11,7 +11,7 @@
   "isolation": "UNISOLATED",
   "isolation_note": "single host, single user account, shared filesystem; hidden cases are withheld but their non-access cannot be proven (ISOLATION_REPORT.md)",
   "verdict_scope": "software conformance of the AT-0 implementation to the frozen contracts; no scientific discovery verdict is awarded or implied",
-  "summary": {"pass": 14, "fail": 0, "inconclusive": 8, "blocked_no_candidate": 4, "not_run": 0, "self_test_overall": "PASS"},
+  "summary": {"pass": 17, "fail": 0, "inconclusive": 8, "blocked_no_candidate": 4, "not_run": 0, "self_test_overall": "PASS"},
   "tests": [
     {"id":"SELF-BUILD","class":"build","status":"PASS","reason":"cc -std=c11 -Wall -Wextra -Werror -pedantic"},
     {"id":"SELF-BUILD-ASAN","class":"build","status":"PASS","reason":"ASan/UBSan build"},
@@ -34,6 +34,9 @@
     {"id":"SELF-ASAN","class":"sanitizer","status":"PASS","reason":"codec, refusals, synth and verify clean under ASan/UBSan"},
     {"id":"GATE-ISOLATION-MUTANT-CAUGHT","class":"gate","status":"PASS","reason":"hidden-clock mutant rejected"},
     {"id":"GATE-ISOLATION-CLEAN-PASSES","class":"gate","status":"PASS","reason":"clean arithmetic object accepted"},
+    {"id":"GATE-ISOLATION-RUST-STD-TIME-CAUGHT","class":"gate","status":"PASS","reason":"Rust std::time::SystemTime mutant rejected (v0/legacy mangling and demangled forms scanned)"},
+    {"id":"GATE-ISOLATION-RUST-EXTERN-CLOCK-CAUGHT","class":"gate","status":"PASS","reason":"Rust extern \"C\" clock_gettime mutant rejected"},
+    {"id":"GATE-ISOLATION-RUST-CLEAN-PASSES","class":"gate","status":"PASS","reason":"oracle compute crate alone (1 rlib members) accepted"},
     {"id":"HIDDEN-COMMITMENT","class":"hidden","status":"PASS","reason":"private files match the committed digests (identity only, not non-access)"},
     {"id":"CAND-CODEC-CONFORMANCE","class":"candidate","status":"BLOCKED_NO_CANDIDATE","reason":"AT0_CANDIDATE_CASE_TOOL unset"},
     {"id":"CAND-VERIFY","class":"candidate","status":"BLOCKED_NO_CANDIDATE","reason":"AT0_CANDIDATE_RUN unset"},
diff --git a/research/atemporal/at0/evaluator/run.sh b/research/atemporal/at0/evaluator/run.sh
index 7c7ad9862..c0a5578b8 100755
--- a/research/atemporal/at0/evaluator/run.sh
+++ b/research/atemporal/at0/evaluator/run.sh
@@ -121,6 +121,22 @@ if [ $gate_build = 0 ]; then rec GATE-ISOLATION-MUTANT-CAUGHT gate NOT_RUN "cont
 if sh gates/isolation.sh build/hidden_clock_mutant.o >/dev/null 2>&1; then rec GATE-ISOLATION-MUTANT-CAUGHT gate FAIL "hidden clock_gettime mutant passed the gate"; else rec GATE-ISOLATION-MUTANT-CAUGHT gate PASS "hidden-clock mutant rejected"; fi
 if sh gates/isolation.sh build/clean_control.o >/dev/null 2>&1; then rec GATE-ISOLATION-CLEAN-PASSES gate PASS "clean arithmetic object accepted"; else rec GATE-ISOLATION-CLEAN-PASSES gate FAIL "clean object rejected"; fi
 fi
+# Rust controls (D5, omega#358): the oracle compute crate alone, plus a std::time mutant and an extern "C" clock mutant.
+ORACLE_SRC=../oracle/src/at0
+if command -v rustc >/dev/null 2>&1 && command -v ar >/dev/null 2>&1 && [ -d "$ORACLE_SRC" ]; then
+    RI="$TMP/riso"; rm -rf "$RI"; rbuild=1
+    RFL="--edition 2021 -C opt-level=2 -C codegen-units=1 -C debuginfo=0 -C panic=abort -D warnings --crate-type lib --crate-name at0"
+    for m in clean m1 m2; do mkdir -p "$RI/$m" && cp -r "$ORACLE_SRC" "$RI/$m/at0"; done
+    printf '\npub fn hidden_clock() -> u64 { std::time::SystemTime::now().duration_since(std::time::UNIX_EPOCH).map(|d| d.as_secs()).unwrap_or(0) }\n' >> "$RI/m1/at0/mod.rs"
+    printf '\n#[repr(C)] pub struct Ts { s: i64, n: i64 }\nextern "C" { fn clock_gettime(c: i32, t: *mut Ts) -> i32; }\npub fn hidden_clock() -> i64 { let mut t = Ts { s: 0, n: 0 }; unsafe { clock_gettime(0, &mut t); } t.n }\n' >> "$RI/m2/at0/mod.rs"
+    for m in clean m1 m2; do ( cd "$RI/$m" && rustc $RFL at0/mod.rs -o lib.rlib && ar x lib.rlib ) >"$TMP/r.err" 2>&1 || rbuild=0; done
+    if [ $rbuild = 0 ]; then rec GATE-ISOLATION-RUST-STD-TIME-CAUGHT gate NOT_RUN "rust control failed to build: $(head -1 "$TMP/r.err")"; rec GATE-ISOLATION-RUST-EXTERN-CLOCK-CAUGHT gate NOT_RUN "rust control failed to build"; rec GATE-ISOLATION-RUST-CLEAN-PASSES gate NOT_RUN "rust control failed to build"
+    else
+        if sh gates/isolation.sh "$RI"/m1/*.o >/dev/null 2>&1; then rec GATE-ISOLATION-RUST-STD-TIME-CAUGHT gate FAIL "Rust std::time::SystemTime mutant passed the gate (D5)"; else rec GATE-ISOLATION-RUST-STD-TIME-CAUGHT gate PASS "Rust std::time::SystemTime mutant rejected (v0/legacy mangling and demangled forms scanned)"; fi
+        if sh gates/isolation.sh "$RI"/m2/*.o >/dev/null 2>&1; then rec GATE-ISOLATION-RUST-EXTERN-CLOCK-CAUGHT gate FAIL "Rust extern clock_gettime mutant passed the gate"; else rec GATE-ISOLATION-RUST-EXTERN-CLOCK-CAUGHT gate PASS "Rust extern \"C\" clock_gettime mutant rejected"; fi
+        if sh gates/isolation.sh "$RI"/clean/*.o >/dev/null 2>&1; then rec GATE-ISOLATION-RUST-CLEAN-PASSES gate PASS "oracle compute crate alone ($(ls "$RI"/clean/*.o | wc -l | tr -d ' ') rlib members) accepted"; else rec GATE-ISOLATION-RUST-CLEAN-PASSES gate FAIL "oracle compute crate rejected: $(sh gates/isolation.sh "$RI"/clean/*.o 2>&1 | grep -m1 FAIL)"; fi
+    fi
+else rec GATE-ISOLATION-RUST-STD-TIME-CAUGHT gate NOT_RUN "rustc, ar or ../oracle/src/at0 not available"; fi
 
 # ---- hidden set commitment ----
 HD=${AT0_HIDDEN_DIR:-$HOME/at0-private/agent4}
diff --git a/research/atemporal/at0/evaluator/src/at0e_case.c b/research/atemporal/at0/evaluator/src/at0e_case.c
index c498e3d39..8f841311c 100644
--- a/research/atemporal/at0/evaluator/src/at0e_case.c
+++ b/research/atemporal/at0/evaluator/src/at0e_case.c
@@ -193,7 +193,6 @@ refusal case_parse_blocks(char **lines, size_t n, size_t *consumed, at0_case *c,
         if (p.i >= p.n) goto parse_err_eof;
         int nt = split_tokens(p.lines[p.i], tok, 8);
         if (nt != 3 || strcmp(tok[0], "clock_label") != 0) {
-            if (nt == 2 && strcmp(tok[0], "observables") == 0) { mark_param(&p, "clock_label_count larger than label lines"); c->M = k; break; }
             p.detail = p.lines[p.i]; goto parse_err;
         }
         long kk;
@@ -210,7 +209,7 @@ refusal case_parse_blocks(char **lines, size_t n, size_t *consumed, at0_case *c,
     size_t acc_start = p.i;
     if (!expect_exact(&p, "begin acceptance")) goto parse_err;
     if (!expect_key(&p, "control_kind", &v)) goto parse_err;
-    if (!strcmp(v, "POSITIVE")) c->control_positive = 1; else if (!strcmp(v, "NEGATIVE")) c->control_positive = 0; else mark_param(&p, p.lines[p.i - 1]);
+    if (!strcmp(v, "POSITIVE")) c->control_positive = 1; else if (!strcmp(v, "NEGATIVE")) c->control_positive = 0; else { p.detail = p.lines[p.i - 1]; goto parse_err; }  /* token set is line grammar: shape (Agent 0 ruling D3) */
     if (!expect_key(&p, "expected_outcome", &v)) goto parse_err;
     if (!strcmp(v, "PASS")) c->expected_pass = 1; else if (!strcmp(v, "FAIL")) c->expected_pass = 0; else mark_param(&p, p.lines[p.i - 1]);
     if (!expect_key(&p, "expected_failure_codes", &v)) goto parse_err;