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

fix(ci): preserve dagsim failures through tee

closed a6c1c05bd028abed #973 · opened 2026-10-30 18:44 UTC · closed 2026-11-04 20:54 UTC

Imported from GitHub aien-dev/omega-mv#973, by drakestapleton

Base f5c9bd89ae604a65d7c777a5739c176f41a036ec · Head c92174de36805b7c55be2d6216ec01100b895feb

drakestapleton wrote on 2026-10-30 18:44 UTC

Evidence first

Published head: c92174de36805b7c55be2d6216ec01100b895feb, tree decbc7084aaaa4efb2ac6b06484c7072ae45612f, based on #972 merge f5c9bd89ae604a65d7c777a5739c176f41a036ec. Local checks below were repeated after fetching that exact published commit. Linux x86_64 host only.

Exact-head hosted CI, completed 2026-10-30

All triggered workflows for c92174de36805b7c55be2d6216ec01100b895feb reached SUCCESS:

Both dagsim job logs show /usr/bin/bash --noprofile --norc -e -o pipefail {0}, with 203 checks and zero failures on x86_64 and ARM64, plus killed lifetime/prediction mutants. ARM64 generated-binding parity and SHA256/BLAKE3 checks also pass. The checked-out PR merge f60e74fb2b7e241af48fae9c294ca57549f15ec0 has the same tree decbc7084aaaa4efb2ac6b06484c7072ae45612f as the published head. AIEN Alpha is skipped because this is not an Alpha tag; these advisory checks do not replace the still-pending Spark operator run.

MEASURED:

  • The unchanged x86 workflow run block, extracted from YAML and invoked with bash --noprofile --norc -e -o pipefail <extracted-step.sh>, exited 0. dagsim_unit: 203 checks, 0 failed; CLI controls passed; lifetime and prediction mutants were killed.
  • Independent read-only witness: both actual workflow run blocks tested against real GNU make in disposable directories. Success remains exit 0. A failing recipe makes GNU make exit 2; the old bash -e pipeline incorrectly reports 0, while explicit Bash with pipefail reports 2. Both stdout and stderr remain in the log, byte-identical to console output in every control. The witness found no blocking defect in this narrow change.
  • crumb verify . with the unchanged crumb.lock tool d0f0b95d344b4c6628c3d868346932fd247ce168: OK: 182 crumbs current, before and after the repair. Source blob independently matched the pinned tool. crumb compile . rewrote only the root crumb; crumb validate . passed.
  • bash tests/gates/run.sh evidence-immutable: exit 0, evidence/: additions only.
  • bash tests/gates/run.sh zero-disk-secrets: exit 0, Zero plaintext .env files verified.
  • git diff HEAD^ HEAD --check, YAML parsing and extracted Bash syntax checks passed. Working tree clean.

Minimal change

Follow-up to #938 and #941, included in #972. Add shell: bash only to the two test-dagsim steps. GitHub's unspecified Linux shell uses bash -e; explicitly selecting Bash includes pipefail. GitHub shell documentation.

A failed make must not become success because tee succeeds. Commands, logging, artifacts, permissions, conditions, test assertions, thresholds and pins are unchanged. Other changes are the required CONTRIBUTORS row and generated root crumb metadata. No new first-party test/runtime implementation.

The original #972 dagsim runs actually passed on x86 and ARM64. This fixes a reproduced failure-propagation defect, not a claim of hidden failures in those runs:

Reproduce the isolated regression

Save the following disposable external probe as independent-probe.py, outside the checkout. It requires Python 3 and PyYAML for parsing the workflow; it is not Omega product/test implementation. From the candidate checkout, run:

python3 /path/to/independent-probe.py "$PWD"

Expected and observed final line: PASS: eight isolated workflow-block controls; no checkout writes, exit 0. The old-shell failure controls intentionally observe the incorrect zero status; candidate-shell failure controls must return 2.

<details> <summary>Exact independent probe</summary>

#!/usr/bin/env python3
"""Disposable independent shell-semantics witness, not an Omega/native test."""
import pathlib
import tempfile
import subprocess
import os
import sys
import yaml

repo = pathlib.Path(sys.argv[1]).resolve()
base_revision = 'f5c9bd89ae604a65d7c777a5739c176f41a036ec'
root = pathlib.Path(tempfile.mkdtemp(prefix='omega-independent-pipefail-', dir='/tmp'))
print('CONTROL_ROOT', root)
for name in ['aien-verification.yml', 'om-units-arm64.yml']:
    path = repo / '.github/workflows' / name
    doc = yaml.safe_load(path.read_text())
    step = [s for j in doc['jobs'].values() for s in j['steps']
            if s.get('name', '').startswith('test-dagsim (')][0]
    assert step['shell'] == 'bash'
    base = subprocess.check_output(
        ['git', 'show', f'{base_revision}:.github/workflows/{name}'],
        cwd=repo, text=True)
    assert path.read_text().replace('        shell: bash\n', '', 1) == base
    for fail in (False, True):
        for explicit, args in [(False, ['bash', '-e']),
                               (True, ['bash', '--noprofile', '--norc', '-eo', 'pipefail'])]:
            directory = root / f'{name}-{fail}-{explicit}'
            directory.mkdir()
            (directory / 'build').mkdir()
            # Real GNU make with a purpose-built target outside the repository.
            (directory / 'Makefile').write_text(
                'test-dagsim:\n\t@printf "witness stdout\\n"\n'
                '\t@printf "witness stderr\\n" >&2\n' +
                ('\t@exit 17\n' if fail else '\t@true\n'))
            script = directory / 'step.sh'
            script.write_text(step['run'])
            env = os.environ.copy()
            env['RUNNER_TEMP'] = str(directory / 'runner')
            env.pop('SHELLOPTS', None)
            env.pop('BASH_ENV', None)
            result = subprocess.run(args + [str(script)], cwd=directory, env=env,
                                    capture_output=True, text=True)
            log = (directory / 'runner/dagsim/test-dagsim-x86_64.log'
                   if name.startswith('aien-')
                   else directory / 'build/test-dagsim-aarch64.log')
            content = log.read_text()
            assert 'witness stdout\n' in content and 'witness stderr\n' in content
            assert content == result.stdout
            expected = 2 if fail and explicit else 0
            assert result.returncode == expected, (result.returncode, expected)
            print(name, 'make_fail=' + str(fail), 'explicit_bash=' + str(explicit),
                  'status=' + str(result.returncode), 'log_bytes=' + str(len(content)),
                  'log_matches_console=true')
print('PASS: eight isolated workflow-block controls; no checkout writes')

</details>

Boundaries

Drake explicitly approved changing these workflow steps and opening a draft PR. Existing #938/#941 ownership and open PRs were checked before the narrow follow-up claim; no overlapping repair was found.

BLOCKED_OPERATOR: the required Spark operator run has not happened. Native AArch64 execution is NOT_RUN locally; hosted ARM64 CI is separate evidence. No GPU, live hardware, merge, deployment, compiler/runtime change, security-policy change, gate weakening or issue closure.

The separate same-tree G3 translation failure from #972 (run) is untouched. This PR does not qualify translation or the whole system.

Prepared with Codex. Draft only; external maintainer review and operator qualification remain required.

Apply it

git checkout -b patch-a6c1c05bd028abed f5c9bd89ae604a65d7c777a5739c176f41a036ec
curl -fsSL https://interplane.io/drakestapleton/omega-mv/patches/a6c1c05bd028abed.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
973
c92174de36805b7c55be2d6216ec01100b895feb
{"kind":"github-import","owner":"aien-dev","repo":"omega-mv","number":973,"url":"https://github.com/aien-dev/omega-mv/pull/973","export_sha256":"7319147b350ad908bf0b731068ec3be7b8dee848041dc862f71455e8e4680140","imported_utc":"2026-11-18T16:35:42Z"}

Changes

diff --git a/.crumb b/.crumb
index 16a80a19a..a124ac81d 100644
--- a/.crumb
+++ b/.crumb
@@ -42,80 +42,80 @@
       "children": [
         {
           "digest": "9f19f11674ca5dfc3c9c3ae35fe6106557aee9583210da13d257e1b9d88e052c",
-          "last_commit": "d863780eb",
+          "last_commit": "d863780e",
           "name": "calibration",
           "purpose": "Directory calibration. Purpose not yet described by a human."
         },
         {
           "digest": "0b0dc279d12f55baae03672d30aaddc021cb5b0700f4b0cb5060aa2ea16caf95",
-          "last_commit": "534c30019",
+          "last_commit": "f5c9bd89",
           "name": "docs",
           "purpose": "Directory docs. Purpose not yet described by a human."
         },
         {
           "digest": "536f7b8db9a92a1f586bad4379d47544a30d1b8e83c2d799c18e66cf8660c9ae",
-          "last_commit": "30bb116cc",
+          "last_commit": "30bb116c",
           "name": "doctrine",
           "purpose": "Directory doctrine. Purpose not yet described by a human."
         },
         {
           "digest": "53e1795a99de5ea48a195efccb27465f40c82628d663033cdf2fec9b90143b48",
-          "last_commit": "07497b934",
+          "last_commit": "f5c9bd89",
           "name": "mk",
           "purpose": "Directory mk. Purpose not yet described by a human."
         },
         {
           "digest": "e3b64c1dcb1f3780099de62f72c818627e4dfea55a7978c84170d0d31126b162",
-          "last_commit": "81404672e",
+          "last_commit": "f5c9bd89",
           "name": "native",
           "purpose": "Handwritten .om units of omega-mv that are not part of the seed ladder: the ORIG-4 shadow adviso"
         },
         {
           "digest": "0cf0eba142c8b72205e4a3f002c1899f3961b07e3188815460d8f09673c69b88",
-          "last_commit": "1d6277d75",
+          "last_commit": "f56a372a",
           "name": "neuralese",
           "purpose": "Bounded untrusted representation envelopes and explicit checked Omega decoding; learned extensio"
         },
         {
           "digest": "62b92244c52fa8af6f511012dee2967e98dff162cc1d8bf45d0b2f15cb0adc5f",
-          "last_commit": "450bbefd4",
+          "last_commit": "450bbefd",
           "name": "research",
           "purpose": "Directory research. Purpose not yet described by a human."
         },
         {
           "digest": "c48e49ac936f1ca243f52f7464c9503249e1c057a7fd64d405c369efda42ca69",
-          "last_commit": "64942e2df",
+          "last_commit": "f5c9bd89",
           "name": "spec",
           "purpose": "Directory spec. Purpose not yet described by a human."
         },
         {
           "digest": "2e166f32c0d101b4f78705870bd8213809296312aed76cffceae737f9f9d0b86",
-          "last_commit": "07497b934",
+          "last_commit": "f5c9bd89",
           "name": "src",
           "purpose": "Directory src. Purpose not yet described by a human."
         },
         {
           "digest": "2fea9ebee3cfe635a960e9622bdf360c4239b5392af803a22bad32e3ba4770d1",
-          "last_commit": "7f2f9980c",
+          "last_commit": "f5c9bd89",
           "name": "tests",
           "purpose": "Directory tests. Purpose not yet described by a human."
         },
         {
           "digest": "1da62f1e28f3b743a58c3cc1d6b8cb3298621d0fb3c258626c57cfc027196ea6",
-          "last_commit": "07497b934",
+          "last_commit": "f5c9bd89",
           "name": "tools",
           "purpose": "Directory tools. Purpose not yet described by a human."
         }
       ],
       "children_root": "sha256:0d778cb47824c47507be084220209161a0b445ab13815350c1cb65386a530707",
-      "compiled_at": "2026-10-30T18:21:30Z",
+      "compiled_at": "2026-10-30T18:40:01Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:38a585b8aac8575318b4749a7d68a847e1a0aed7d17d522f0f68d3b16057bd43",
+      "digest": "sha256:9fd0e5eaec255284d455ef1dedd7e29d47bbba0d76a560e7be610b224af18ea9",
       "evidence_files": 14460,
       "evidence_root": "sha256:59287e49f62c620e14a0dd56c32f5320ebe7f1ec2e365daa19d0082c70e51dc5",
       "files": 20399,
-      "generated_at_commit": "534c30019af449d88d7034da4f080d716145fe4e",
-      "source_tree": "sha256:4e7c89e8cae52145a26eeeec64142c5ec505a6624dd8ef162b90f830205de88b"
+      "generated_at_commit": "f5c9bd89ae604a65d7c777a5739c176f41a036ec",
+      "source_tree": "sha256:b6c8b61132d67b0fd15a44deb145e5eeb81a2fee82c5bd5f5c4442ce5601cf30"
     },
     "owner_lane": "",
     "provenance": {
diff --git a/.github/workflows/aien-verification.yml b/.github/workflows/aien-verification.yml
index a17075c39..1d97398a9 100644
--- a/.github/workflows/aien-verification.yml
+++ b/.github/workflows/aien-verification.yml
@@ -76,6 +76,7 @@ jobs:
       # tests/dagsim/sha256_host.c (Makefile DS_SHA_SRC); the AArch64 link
       # through src/omega_om_units.c runs in om-units-arm64.yml.
       - name: test-dagsim (offline DAG evaluator, x86_64)
+        shell: bash
         run: |
           mkdir -p "$RUNNER_TEMP/dagsim"
           make test-dagsim 2>&1 | tee "$RUNNER_TEMP/dagsim/test-dagsim-x86_64.log"
diff --git a/.github/workflows/om-units-arm64.yml b/.github/workflows/om-units-arm64.yml
index cdcbda00d..6e57c9a60 100644
--- a/.github/workflows/om-units-arm64.yml
+++ b/.github/workflows/om-units-arm64.yml
@@ -31,6 +31,7 @@ jobs:
       # #938: the AArch64 link of the offline DAG evaluator through the seeded
       # SHA-256 unit src/omega_om_units.c (Makefile DS_SHA_SRC on aarch64).
       - name: test-dagsim (offline DAG evaluator, aarch64)
+        shell: bash
         run: make test-dagsim 2>&1 | tee build/test-dagsim-aarch64.log
       - name: throughput (report only)
         run: |
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md
index 6c013dda0..fdf2f76c9 100644
--- a/CONTRIBUTORS.md
+++ b/CONTRIBUTORS.md
@@ -75,3 +75,4 @@ Update this table in the same commit as the work it credits.
 | Grok 4.7 | Cost-model refusal of unsupported semantic operation IDs before prediction or learning, with a clamp-restoring mutant (Refs #704) |
 | Grok 4.7 | AES-GCM-SIV (RFC 8452) in `om/tls/gcmsiv.om`, the #639 keystream-reuse detector (27 checks, six mutants including a one-line AES-GCM mode swap), and the `seed/host/check.sh` hook whose no-op tamper exits nonzero. Host exercised; not hardware qualified. |
 | Claude Opus 5.5 | Ported the #671 packed-list hostile-ingress campaign (from 9a2b6a5) to main as an OM-2 conductor gate in `seed/host/check.sh`: 60 runtime packet, boundary and truncation cases, with size, count and exact-length mutant compilers each detected, and the record-length mutant documented as undetectable by exit status |
+| Codex | Made both dagsim CI log pipelines propagate test failures with explicit Bash pipefail, with isolated success/failure controls and unchanged test commands (Refs #938). |