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#357 (code only)

closed derived dc38272b09d015ba #357

Imported from GitHub aien-dev/omega-mv#357 (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 fad0f49b14f747baa7dad4087ab5f906e8a58dba · Head d5e2326900d418b31303edd0f1b775467f1b4e19

Apply it

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

Changes

diff --git a/.crumb b/.crumb
index 5d7f1c0df..5901f2c2c 100644
--- a/.crumb
+++ b/.crumb
@@ -52,7 +52,7 @@
         },
         {
           "digest": "3673104df86f5f0de1d235244dc6f42823fd82cdd99abca341250579bbfc65bc",
-          "last_commit": "35492f5",
+          "last_commit": "fad0f49",
           "name": "docs",
           "purpose": "Directory docs. Purpose not yet described by a human."
         },
@@ -93,8 +93,8 @@
           "purpose": "Directory src. Purpose not yet described by a human."
         },
         {
-          "digest": "3d7c5bcf7d44a931f6def8354e1cebdfac6178a9fbc6fcc8a149d10287e68102",
-          "last_commit": "1b0e296",
+          "digest": "6632b2d7fadadd84a7188d5ddefc5029ba0c0492cd29672269dd2b198f787112",
+          "last_commit": "d2ab554",
           "name": "tests",
           "purpose": "Directory tests. Purpose not yet described by a human."
         },
@@ -105,15 +105,15 @@
           "purpose": "Directory tools. Purpose not yet described by a human."
         }
       ],
-      "children_root": "sha256:97e02ad98c51faad14bc0d8120b17e2a4befb78a223d3e08d87383155716139c",
-      "compiled_at": "2026-10-09T20:43:24Z",
+      "children_root": "sha256:783eef0ebbd8a38a65d7de949d4db683f9249ffab82d976646b308c7c270ead1",
+      "compiled_at": "2026-10-09T21:50:08Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:3e833c1496e24ce3de1b7852f02c9001f8532c16f269baac30d4d76adf4eff9d",
+      "digest": "sha256:c829e7912cba7f90007613ec94eb49ed1ca3c4838ee887979777812130876e99",
       "evidence_files": 4847,
       "evidence_root": "sha256:8a1e306ee977789a3394c51305afc3121a0ba0d5e1735b29b2cc16ffd12f668a",
       "files": 6858,
-      "generated_at_commit": "35492f58825f65a5d0e2fee6763beae3b1c86fac",
-      "source_tree": "sha256:eda00333d931d63b3eb39896eb97b79d3b6b3bc04a2c2963c108d4f77659ccb6"
+      "generated_at_commit": "d2ab554be81f4f7d7506afab8a6cfc9a0db64a27",
+      "source_tree": "sha256:ebe1b1d6bcad56600990a87c1a150151c3863929c7c814a23a7503031b7f6c79"
     },
     "owner_lane": "",
     "provenance": {
diff --git a/tests/.crumb b/tests/.crumb
index db9568521..0f6b3067b 100644
--- a/tests/.crumb
+++ b/tests/.crumb
@@ -110,25 +110,25 @@
       "children": [
         {
           "digest": "e7498eca87fe5ca8dc27d92f2d99be0de3e4c804711f9d8cba5bb1e47ca95f74",
-          "last_commit": "a9b9d0d",
+          "last_commit": "28911be",
           "name": "algebra",
           "purpose": "Directory tests/algebra. Purpose not yet described by a human."
         },
         {
           "digest": "d484ca176e9932b098df5664d01bdd679c78f5b89f4d15a77eb30f43d235f570",
-          "last_commit": "a9b9d0d",
+          "last_commit": "834ee93",
           "name": "ans",
           "purpose": "Tests 1-10 for ANS (docs/ans/INERTIAL_ALIGNMENT_SPEC_V1.md): freeze/digest, hostile reference mu"
         },
         {
           "digest": "42a7efc25b16d1ea7bd7a5cbc31be7e499c9bc64c9e7df179c7627121d7df637",
-          "last_commit": "4be83d1",
+          "last_commit": "1b0e296",
           "name": "brownian",
           "purpose": "Directory tests/brownian. Purpose not yet described by a human."
         },
         {
           "digest": "1cbe9561b87b394e200f67996ce1407c377025d07ad033b27cdd542625e277d4",
-          "last_commit": "a9b9d0d",
+          "last_commit": "30bb116",
           "name": "canonicalization",
           "purpose": "Directory tests/canonicalization. Purpose not yet described by a human."
         },
@@ -140,97 +140,97 @@
         },
         {
           "digest": "47683e6a56ca8e14ee526004b2a90dd08498507e8d4b0b42c3d85d22afb07d28",
-          "last_commit": "a9b9d0d",
+          "last_commit": "28b8793",
           "name": "constraints",
           "purpose": "Directory tests/constraints. Purpose not yet described by a human."
         },
         {
           "digest": "95b2041562face1ba7baa6c57456bf07d77a0f44e093b989ec18f559064e22d9",
-          "last_commit": "a9b9d0d",
+          "last_commit": "49abb02",
           "name": "crumbline",
           "purpose": "Directory tests/crumbline. Purpose not yet described by a human."
         },
         {
           "digest": "d57833fb3f63ef6475cf25e2e16319d818a0a407b825d5b4c5cbdd3cc0e06492",
-          "last_commit": "a9b9d0d",
+          "last_commit": "00f54b6",
           "name": "dual_experiment",
           "purpose": "Tests for the DUAL applicability experiment: determinism (same seed, byte-identical results dige"
         },
         {
           "digest": "fb0a9296a93d065d5e016ad0a950fc6b9691f8ddca12ad0111cee2e35791cdb4",
-          "last_commit": "a9b9d0d",
+          "last_commit": "c819b37",
           "name": "effect",
           "purpose": "Directory tests/effect. Purpose not yet described by a human."
         },
         {
           "digest": "bc2473da101ba5a74c32021a9d27ecb2007897f07a9689ba50ccc99b9030bf0c",
-          "last_commit": "a9b9d0d",
+          "last_commit": "1a147e4",
           "name": "estimation",
           "purpose": "Directory tests/estimation. Purpose not yet described by a human."
         },
         {
           "digest": "de2bc4e310a257dbd21cc5c9624641b137b1b4487d8876cb52469aea2af5b904",
-          "last_commit": "a9b9d0d",
+          "last_commit": "3108fc2",
           "name": "fabric",
           "purpose": "Directory tests/fabric. Purpose not yet described by a human."
         },
         {
           "digest": "90418926706f827aafd72938aee1dea89222cb5e465fba06a8df5a83253e0412",
-          "last_commit": "a9b9d0d",
+          "last_commit": "28b8793",
           "name": "identity",
           "purpose": "Directory tests/identity. Purpose not yet described by a human."
         },
         {
           "digest": "c653c851c8934ce9ac4eabaa32a9df65d858c9ac7a556e76b265b1ee81494443",
-          "last_commit": "a9b9d0d",
+          "last_commit": "4f55f45",
           "name": "language",
           "purpose": "Directory tests/language. Purpose not yet described by a human."
         },
         {
           "digest": "e485aa0a00f0a588e22d55caa704db8581a5da1b53080b311086e6edd38f6044",
-          "last_commit": "a9b9d0d",
+          "last_commit": "30bb116",
           "name": "malformed",
           "purpose": "Directory tests/malformed. Purpose not yet described by a human."
         },
         {
           "digest": "adba9b5ea1c000db36078fca7d1bfef0b2769b73c8fb474024d9409bd48bdbc1",
-          "last_commit": "a9b9d0d",
+          "last_commit": "40d1ea3",
           "name": "numeric_native",
           "purpose": "Simulated M16 driver for numeric resource-lifecycle tests. No device execution or numeric parity"
         },
         {
-          "digest": "73b1c903b94cd9f94314eb99e32a0245756c4ad241c49c92339ee9978cacd532",
-          "last_commit": "22f7fb7",
+          "digest": "28f6692284fe7212911bd3b34371abcade37106df0f3fc1879c7e283259a660d",
+          "last_commit": "d2ab554",
           "name": "osh",
           "purpose": "osh lexer host driver, vendored aien-protocols PR#16 draft vectors (5ae5292)"
         },
         {
           "digest": "a4d320b3203650a28c43ea954957d8902d1cc25cbdc8aecd15628c01a92f68f8",
-          "last_commit": "a9b9d0d",
+          "last_commit": "d550b70",
           "name": "path",
           "purpose": "Directory tests/path. Purpose not yet described by a human."
         },
         {
           "digest": "1fd5f914f326a1a51fc343ab633ac411e86bea22beee718b1460db066807f292",
-          "last_commit": "a9b9d0d",
+          "last_commit": "8a2e268",
           "name": "physics0",
           "purpose": "PD-0 gates: world self-test, oracle calibration, learner L0/L1/NULL, mutations, OSC differential"
         },
         {
           "digest": "4619a90a957e77cd3d5680132ab4d1a5ef65f43419ddcc089743ca5b7a7719ee",
-          "last_commit": "a9b9d0d",
+          "last_commit": "8f8babe",
           "name": "polyglot",
           "purpose": "Directory tests/polyglot. Purpose not yet described by a human."
         },
         {
           "digest": "16bea65aa50f0b3ab8b90cb286de048639fa8e635ff84e517e138c6f9f26a059",
-          "last_commit": "a9b9d0d",
+          "last_commit": "3c82389",
           "name": "program",
           "purpose": "Directory tests/program. Purpose not yet described by a human."
         },
         {
           "digest": "ba0c09f67d12b5d7de906129bdbe2f6e0a228e1a34236ecc4b779c523cb2061e",
-          "last_commit": "a9b9d0d",
+          "last_commit": "6fdc4c3",
           "name": "r16_inventory",
           "purpose": "Directory tests/r16_inventory. Purpose not yet described by a human."
         },
@@ -242,19 +242,19 @@
         },
         {
           "digest": "25cabf47d18353539db28146434d246a2f81bf9c323471566451aca56806f279",
-          "last_commit": "a9b9d0d",
+          "last_commit": "44d8c06",
           "name": "r16_surface",
           "purpose": "Directory tests/r16_surface. Purpose not yet described by a human."
         },
         {
           "digest": "9106f2ea57e8f453322f0a988b61cfcbd06631573c9ff32a777903d27d7741e1",
-          "last_commit": "a9b9d0d",
+          "last_commit": "40d1ea3",
           "name": "realize",
           "purpose": "Directory tests/realize. Purpose not yet described by a human."
         },
         {
           "digest": "381184e79b26920b256dd4a774fb11f17a92afa8ceda4813eada241bac4163a9",
-          "last_commit": "a9b9d0d",
+          "last_commit": "30bb116",
           "name": "relations",
           "purpose": "Directory tests/relations. Purpose not yet described by a human."
         },
@@ -266,38 +266,38 @@
         },
         {
           "digest": "b1311025a3bfd8dd7b5e07b1adf1d7ece502a15200f7207f515334f7083b8315",
-          "last_commit": "a9b9d0d",
+          "last_commit": "5ae192a",
           "name": "searchtrace",
           "purpose": "Directory tests/searchtrace. Purpose not yet described by a human."
         },
         {
           "digest": "3ecf636e2923038708cafa062895b8d8f2664dc1865cdff38575911eaa9f1b2d",
-          "last_commit": "a9b9d0d",
+          "last_commit": "54826a3",
           "name": "train",
           "purpose": "Directory tests/train. Purpose not yet described by a human."
         },
         {
           "digest": "75d5e576c38a0497a55e9f5ee79550cb94f9b75008f3e4e126312802704b3f86",
-          "last_commit": "a9b9d0d",
+          "last_commit": "2564f57",
           "name": "turing",
           "purpose": "Directory tests/turing. Purpose not yet described by a human."
         },
         {
           "digest": "3f19e3034ff999211cb13ab8995ca6c38d0d8e1f5bfbbbd621caaa08412d3f1f",
-          "last_commit": "a9b9d0d",
+          "last_commit": "fed4f07",
           "name": "visor",
           "purpose": "Directory tests/visor. Purpose not yet described by a human."
         }
       ],
-      "children_root": "sha256:849957367e24b73a434dc9545ac6ac9703692c859a6cad7b69c743a58db3da0e",
-      "compiled_at": "2026-10-09T16:22:14Z",
+      "children_root": "sha256:68612402cafa296b02099d85a51a66f6f84f81de84ec60f4aec44566eac78d5f",
+      "compiled_at": "2026-10-09T21:50:08Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:3d7c5bcf7d44a931f6def8354e1cebdfac6178a9fbc6fcc8a149d10287e68102",
+      "digest": "sha256:6632b2d7fadadd84a7188d5ddefc5029ba0c0492cd29672269dd2b198f787112",
       "evidence_files": 11,
       "evidence_root": "sha256:d5c1bceb4d57ef0eb42797c58801b5926509711614c3e38bb7105b6efa3942f2",
       "files": 947,
-      "generated_at_commit": "7a9a3a34a93df74e2a226db8de6ba8ea0cfad672",
-      "source_tree": "sha256:16b12dc2672127f8cad803289ab34aaad0bfe510124db1a437ff87286e686f0d"
+      "generated_at_commit": "d2ab554be81f4f7d7506afab8a6cfc9a0db64a27",
+      "source_tree": "sha256:90a8486b27e34578d5bf728f5a043cd95f34f8280daabb334e8a6cba65df3bf4"
     },
     "owner_lane": "",
     "provenance": {
diff --git a/tests/osh/.crumb b/tests/osh/.crumb
index 7014fd36f..ee116a851 100644
--- a/tests/osh/.crumb
+++ b/tests/osh/.crumb
@@ -9,8 +9,8 @@
           "purpose": "end-to-end tests of the osh program: argprint helper plus a runner comparing native and OSH_INTE"
         },
         {
-          "digest": "4f87a019164c79daa5e2386ba644d9366411bc39e27c2da3e4a597b153408c54",
-          "last_commit": "7adf33e",
+          "digest": "42ff361ad0a9e05937e60d330e1bffaaf647fb0424ed103766d1989b7f2c0804",
+          "last_commit": "d2ab554",
           "name": "host",
           "purpose": "tests for the osh Linux host adapter execution service (hand-built request records, helper-mode "
         },
@@ -21,15 +21,15 @@
           "purpose": "Core-only step traces of the osh shell units over fixture scripts (OSH-AIENOS-0 differential fix"
         }
       ],
-      "children_root": "sha256:5324124d08361b8556db9e2b66e78a7937f8475e80390c0434a887394790edf0",
-      "compiled_at": "2026-10-09T04:11:18Z",
+      "children_root": "sha256:f3d920a90abfbae3f25e8a1dbe149b3fa026bb75d9080304a23e25103bf7dfbe",
+      "compiled_at": "2026-10-09T21:50:08Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:73b1c903b94cd9f94314eb99e32a0245756c4ad241c49c92339ee9978cacd532",
+      "digest": "sha256:28f6692284fe7212911bd3b34371abcade37106df0f3fc1879c7e283259a660d",
       "evidence_files": 0,
       "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
       "files": 93,
-      "generated_at_commit": "7adf33efee7b590d919662b54df824f0c2cf2cbf",
-      "source_tree": "sha256:7e2cbb72d84bce8192cbc6313ea05885284c314552c2e545c60c86257e8f5e50"
+      "generated_at_commit": "d2ab554be81f4f7d7506afab8a6cfc9a0db64a27",
+      "source_tree": "sha256:027232267f338bd2001a0e7eb31631f315a0cdcd2e423dc7eacfc662842aae52"
     }
   },
   "name": "osh-tests",
diff --git a/tests/osh/host/.crumb b/tests/osh/host/.crumb
index a5ead384f..e19e66e09 100644
--- a/tests/osh/host/.crumb
+++ b/tests/osh/host/.crumb
@@ -3,14 +3,14 @@
     "generated": {
       "children": [],
       "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
-      "compiled_at": "2026-10-09T04:11:18Z",
+      "compiled_at": "2026-10-09T21:50:08Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:4f87a019164c79daa5e2386ba644d9366411bc39e27c2da3e4a597b153408c54",
+      "digest": "sha256:42ff361ad0a9e05937e60d330e1bffaaf647fb0424ed103766d1989b7f2c0804",
       "evidence_files": 0,
       "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
       "files": 3,
-      "generated_at_commit": "7adf33efee7b590d919662b54df824f0c2cf2cbf",
-      "source_tree": "sha256:7ae4369503619dbff0373f9e64045dc71e42514e41e8e6059560e551864eefa6"
+      "generated_at_commit": "d2ab554be81f4f7d7506afab8a6cfc9a0db64a27",
+      "source_tree": "sha256:7f5e59dff1e027b6bad0cc585cf1dcae1342ac220f21d4a0880c0e7ebc3244d1"
     }
   },
   "name": "host-tests",
diff --git a/tests/osh/host/test_osh_host.c b/tests/osh/host/test_osh_host.c
index e4a23c991..3af14b25a 100644
--- a/tests/osh/host/test_osh_host.c
+++ b/tests/osh/host/test_osh_host.c
@@ -1946,9 +1946,33 @@ static void test_adversarial_isolated(void)
     CHECK(badptr == 0 && accepted > 0 && refused > 0, "decoder fuzz: %d accepted, %d refused, %d pointers outside the arena", accepted, refused, badptr);
 }
 
+/* Issue #347: the kernel silently discards SIGTSTP/SIGTTIN/SIGTTOU sent to a member of an ORPHANED process group (one where no
+ * member has a parent in another group of the same session; man 7 signal, setpgid(2)). Run from a detached background loop or
+ * under `setsid`, the test's own group is orphaned, so the "stopped child" checks saw the helper exit 0 instead of stopping.
+ * The product is correct (it only observes stops the kernel delivers). The test must own its conditions: run the whole suite in
+ * a child that leads a fresh group whose parent (this process) sits in the caller's group, so the group is never orphaned. */
+static void anchor_pgrp(void)
+{
+    pid_t kid = fork();
+    if (kid < 0) { printf("fork failed\n"); exit(2); }
+    if (kid == 0) { setpgid(0, 0); return; }
+    setpgid(kid, kid);
+    int tty_fg = isatty(0) && tcgetpgrp(0) == getpgrp();
+    struct sigaction ign = {.sa_handler = SIG_IGN}, old;
+    sigaction(SIGTTOU, &ign, &old);
+    if (tty_fg) tcsetpgrp(0, kid);
+    int st = 0;
+    while (waitpid(kid, &st, 0) < 0 && errno == EINTR) {}
+    if (tty_fg) tcsetpgrp(0, getpgrp());
+    sigaction(SIGTTOU, &old, NULL);
+    if (WIFSIGNALED(st)) { printf("test run died of signal %d\n", WTERMSIG(st)); exit(128 + WTERMSIG(st)); }
+    exit(WEXITSTATUS(st));
+}
+
 int main(int argc, char **argv)
 {
     if (argc > 2 && !strcmp(argv[1], "--helper")) return helper_main(argc, argv);
+    anchor_pgrp();
     ssize_t n = readlink("/proc/self/exe", g_self, sizeof g_self - 1);
     if (n <= 0) { printf("cannot find own path\n"); return 2; }
     g_self[n] = 0;