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

closed derived ab8988a215f47858 #974

Imported from GitHub aien-dev/omega-mv#974 (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 b5ab3fe943048ac896b368a687a38fdc1dea4077 · Head fc22efba73e024304f21162f3aac7053c25981d1

Fetch it

A git bundle of the pull request's head, 8029 bytes.

curl -fsSL https://interplane.io/drakestapleton/omega-mv/patches/ab8988a215f47858.bundle -o ab8988a215f47858.bundle
git fetch ab8988a215f47858.bundle refs/pull/974/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
974
fc22efba73e024304f21162f3aac7053c25981d1
{"kind":"github-import","owner":"aien-dev","repo":"omega-mv","number":974,"url":"https://github.com/aien-dev/omega-mv/pull/974","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:39:35Z","metadata":"unavailable","state_derived":true}

Changes

diff --git a/.crumb b/.crumb
index d15c7032e..8ad94307c 100644
--- a/.crumb
+++ b/.crumb
@@ -95,8 +95,8 @@
           "purpose": "Directory src. Purpose not yet described by a human."
         },
         {
-          "digest": "2fea9ebee3cfe635a960e9622bdf360c4239b5392af803a22bad32e3ba4770d1",
-          "last_commit": "f5c9bd89a",
+          "digest": "c7007b5f5d79842fdf1c778fe77e23dca0d40e367e9ae56864e0864efebabb88",
+          "last_commit": "3c181b04f",
           "name": "tests",
           "purpose": "Directory tests. Purpose not yet described by a human."
         },
@@ -107,15 +107,15 @@
           "purpose": "Directory tools. Purpose not yet described by a human."
         }
       ],
-      "children_root": "sha256:0d778cb47824c47507be084220209161a0b445ab13815350c1cb65386a530707",
-      "compiled_at": "2026-10-30T18:47:32Z",
+      "children_root": "sha256:984d4b0c27a1ca0436c535abc743c1621196dd712bda58a009e682d69e9f3944",
+      "compiled_at": "2026-10-30T19:37:57Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:18a24ece0216514a7809f90a1c3842b3b4104d1207b6318f4f1f7d667f37dcfd",
+      "digest": "sha256:15c5771fc1011e787d59829fd022d4974ac6c8d7258c2a47de61f4f8cc01aecb",
       "evidence_files": 14460,
       "evidence_root": "sha256:59287e49f62c620e14a0dd56c32f5320ebe7f1ec2e365daa19d0082c70e51dc5",
       "files": 20399,
-      "generated_at_commit": "f5c9bd89ae604a65d7c777a5739c176f41a036ec",
-      "source_tree": "sha256:4752bde279338ba211649064f25544031186c790033bc3cd9308d0f4a43fce5a"
+      "generated_at_commit": "e38242fc7dfc7baf65aac2fa8130b49c3bb4d8ef",
+      "source_tree": "sha256:ce6304e0bea37bafd61ce59fe68345863eb93d6681235a09d9ca1934a72fdb7e"
     },
     "owner_lane": "",
     "provenance": {
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md
index 6c013dda0..1afe5bd39 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 |
 |---|---|
+| Claude Opus 5.5 (via omp) | Repaired the source-aware translation guard after train r2 (#974): the ten legacy files r2 edited (#942 `osc_ir.c`, #963 `src/osh`) are pinned by the SHA-256 of their whole content, so `test-source-aware` passes on main again while any other legacy edit, addition or rename still fails and the 60-fixture IR byte-identity check still runs. Controls 6 of 6, IR decoder mutants 22 of 22 caught. |
 | Grok 4.7 | Merged current main (`62d1d0d66`) into #934. Conflicts were generated crumbs (`.crumb`, `spec/.crumb`, `src/.crumb`, `tests/.crumb`) and CONTRIBUTORS.md. The Makefile kept the test-costmodel mutant block and the test-dagsim block. Regenerated crumbs with the crumb.lock tool (`d0f0b95d`). |
 | Grok 4.7 | Treated an unsupported or refused rx_cm_predict result as an unknown cell in the offline DAG evaluator, including when known is set. Merged #934's predict API to build that check. Host test and a mutant that drops it. |
 | Grok 4.7 | Refused inverted buffer lifetimes in the imported offline DAG evaluator so a negative live-byte ledger cannot hide a capacity overflow (#705). Host fixtures and a mutant that drops the check. |
diff --git a/tests/.crumb b/tests/.crumb
index 9db784477..fe296ed29 100644
--- a/tests/.crumb
+++ b/tests/.crumb
@@ -134,7 +134,7 @@
         },
         {
           "digest": "e83c52ffc46da0e9df448bc5d28a70b08a8cbcd6858e8adea7a842791717c024",
-          "last_commit": "7f9437429",
+          "last_commit": "f5c9bd89a",
           "name": "compiler",
           "purpose": "Directory tests/compiler. Purpose not yet described by a human."
         },
@@ -200,13 +200,13 @@
         },
         {
           "digest": "a4e1544a88e0b71ced2340ed880985b6ceaad797023b74a683d470971a8d47d4",
-          "last_commit": "81404672e",
+          "last_commit": "f5c9bd89a",
           "name": "orig4",
           "purpose": "ORIG-4 shadow advisor tests: shadow-test.om (in-process checks over the SYNTHETIC fixture and th"
         },
         {
           "digest": "628d85f858a9ed11e4502064192aeb797bf9fe6f73a3932db520d5b9c22d43f1",
-          "last_commit": "d43d19b44",
+          "last_commit": "f5c9bd89a",
           "name": "osh",
           "purpose": "osh lexer host driver, vendored aien-protocols PR#16 draft vectors (5ae5292)"
         },
@@ -272,7 +272,7 @@
         },
         {
           "digest": "891ced287901fa14a10e93dce7dae2ada551f7b69752098f957d1471bff4d072",
-          "last_commit": "64942e2df",
+          "last_commit": "f5c9bd89a",
           "name": "runtime",
           "purpose": "Directory tests/runtime. Purpose not yet described by a human."
         },
@@ -302,20 +302,20 @@
         },
         {
           "digest": "aad47a6f37231afcd415798fcd7f18cbcb541066bb958c09d44cb755ce385057",
-          "last_commit": "436ceaae8",
+          "last_commit": "f5c9bd89a",
           "name": "visor",
           "purpose": "Directory tests/visor. Purpose not yet described by a human."
         }
       ],
       "children_root": "sha256:4e202b52b2c80d88dc93220a0c00cda479e52c2e63f847fbb30b9b1f426294f5",
-      "compiled_at": "2026-10-30T18:10:55Z",
+      "compiled_at": "2026-10-30T18:47:23Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:2fea9ebee3cfe635a960e9622bdf360c4239b5392af803a22bad32e3ba4770d1",
+      "digest": "sha256:c7007b5f5d79842fdf1c778fe77e23dca0d40e367e9ae56864e0864efebabb88",
       "evidence_files": 16,
       "evidence_root": "sha256:96d08097822ad95f4e562c19e0ba5df5a035774c48632f1832912c40a27bd27a",
       "files": 1504,
-      "generated_at_commit": "76a6ceeefb359cc68f58f87898f5b3a46c0686fc",
-      "source_tree": "sha256:4a84ccb12dec44e1d1cf1885e683615579f3e29d688ae2bdc367d7aa28ef0b4b"
+      "generated_at_commit": "f5c9bd89ae604a65d7c777a5739c176f41a036ec",
+      "source_tree": "sha256:e97a2b056f8bb668b419c8d0afa8438ef0bdce4ec96ff094d0bbd4f2a17e5873"
     },
     "owner_lane": "",
     "provenance": {
diff --git a/tests/universal/source-aware/legacy.mjs b/tests/universal/source-aware/legacy.mjs
index 3b75736a7..76e38056a 100644
--- a/tests/universal/source-aware/legacy.mjs
+++ b/tests/universal/source-aware/legacy.mjs
@@ -2,12 +2,29 @@
 import fs from 'node:fs';import path from 'node:path';import assert from 'node:assert/strict';import {spawnSync,execFileSync} from 'node:child_process';import {hash} from './fixtures.mjs';
 const run=process.argv[2],base='69790fb4ad1e803ca79245430745b96129d1dcf4',out=path.join(run,'legacy');fs.mkdirSync(out,{recursive:true});
 const cmd=(e,a)=>{let r=spawnSync(e,a,{maxBuffer:16*1024*1024});if(r.status!==0)throw Error(e+' '+r.status+' '+r.stderr);return r.stdout;};
-// The legacy paths must still hold the base's code. Since base, main changed them in exactly two ways, each
+// The legacy paths must still hold the base's code. Since base, main changed them in exactly three ways, each
 // checked byte for byte here; anything else (an added, renamed or otherwise edited file) fails:
 // (1) the Apache-2.0 SPDX header (HDR) put in front of a file, base bytes unchanged after it, and committed
 //     .crumb metadata; (2) the SHA-256 cutover (#776): src/sha256.c deleted, src/sha256.h reduced to the
 //     include of the Omega-generated API. The current oracle is then built against that generated SHA-256
-//     (src/omega_om_units.c), so the byte-identical IR comparison below also covers the cutover.
+//     (src/omega_om_units.c), so the byte-identical IR comparison below also covers the cutover;
+// (3) reviewed edits merged after base, each file pinned by the SHA-256 of its whole current content
+//     (ACCEPTED). Train r2 (#972) carried two: #942 put per-maximum and opcode-default mutant switches into
+//     the OSC IR decoder (src/compiler/osc_ir.c; the default build defines no mutant, so every refusal stays
+//     live) and #963 made the osh follow-ups (src/osh). The oracle below is built from the current
+//     src/compiler and the src/osh .osc files are fixtures, so the byte-identical IR comparison covers both.
+//     Any further edit to a pinned file fails here until it is reviewed and its hash re-pinned.
+const ACCEPTED={
+ 'src/compiler/osc_ir.c':'eca9afd656100ed58c23314a8b6e367a94eb5b8656504cbaf60f5397e9c92cef',
+ 'src/osh/host/osh_builtin.c':'24658416184462ca93830efbd7bf5c318b13d0259c413fd738acc9bca1b02a86',
+ 'src/osh/host/osh_exec.c':'086762229ce1cc2023ec0712483cd4f0431b0ac36ab450b40e625ab665ad9e1a',
+ 'src/osh/host/osh_host.h':'5ec628fb5ef7f90306e9d32f31d8ad79a77dd50880d2824d90c364dfbcd26ea5',
+ 'src/osh/host/osh_shell.c':'98449941764020b78b29acc6f3ace5de8359615ebd91ed787eaa8f91958d1714',
+ 'src/osh/host/osh_vars.c':'8f3e0a3a03c361097a8bb21407130e3416503f053f6dd2d4156fdc563e818e8f',
+ 'src/osh/osh_expand.osc':'78bede578b860826b01592458ec9861ef13f70a30a7c023add62ec989650c71d',
+ 'src/osh/osh_expand.osc.in':'5aa979a36c98e5b5819560b5c3fa18d99519a723cee54d7b7788595e14d8a961',
+ 'src/osh/osh_expand_ref.c':'9d84d760aa8ff3c9434241280ddd531a00fd61aa8a191b1d5f32e2eba5dc3bbe',
+ 'src/osh/osh_layout.lst':'5706e9fd6ca28b3bdcc3d5cb4e8a9abc1f662b5b3da7a96c273f4644716401f5'};
 const HDR=['/* SPDX-License-Identifier: Apache-2.0',' * Copyright 2026 Drake Stapleton (AIEN / aien-dev)',' *',' * Licensed under the Apache License, Version 2.0 (the "License");',' * you may not use this file except in compliance with the License.',' * You may obtain a copy of the License at',' *',' *     http://www.apache.org/licenses/LICENSE-2.0',' *',' * Unless required by applicable law or agreed to in writing, software',' * distributed under the License is distributed on an "AS IS" BASIS,',' * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.',' * See the License for the specific language governing permissions and',' * limitations under the License.',' */',''].join('\n');
 const legacyPaths=['src/compiler','src/checker2','src/sha256.c','src/sha256.h','tests/compiler/progs','tests/compiler/slices','tests/physics0/osc','src/osh'];
 const changed=cmd('git',['diff','--no-renames','--name-status','-z',base,'--',...legacyPaths]).toString().split('\0').filter(Boolean);
@@ -18,6 +35,7 @@ for(let i=0;i<changed.length;i+=2){const st=changed[i],f=changed[i+1];
  assert.equal(st,'M','legacy path changed: '+st+' '+f);
  const cur=fs.readFileSync(f,'utf8');
  if(f==='src/sha256.h'){assert.ok(cur.startsWith(HDR)&&/#include "omega_api_decl\.h"/.test(cur)&&!/[{;]/.test(cur.replace(/\/\*[\s\S]*?\*\//g,'')),'src/sha256.h is not the generated-API include');continue;}
+ if(Object.hasOwn(ACCEPTED,f)){assert.equal(hash(fs.readFileSync(f)).toString('hex'),ACCEPTED[f],'legacy path changed beyond its accepted edit: '+f);continue;}
  const old=cmd('git',['show',base+':'+f]).toString('utf8'),rest=cur.startsWith(HDR)?cur.slice(HDR.length):null;
  assert.ok(rest!==null&&(rest==='\n'+old||rest===old),'legacy path changed beyond the SPDX header: '+f);}
 assert.ok(cutover===fs.existsSync('src/omega_om_units.c')&&cutover!==fs.existsSync('src/sha256.c'),'SHA-256 cutover state inconsistent');