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

[OM-SEED-HEX0] Retire active seed0/hex1/asm2 handwritten hex via verified .om self-hosting

Open · #725 · open 2026-10-25 02:17 UTC

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

drakestapleton wrote on 2026-10-25 02:17 UTC

Observed code on Omega main a0eafa39 (2026-10-24)

  • seed/rung0/seed0.hex, seed/rung0/seed0.bin and load0.sh;
  • seed/rung1/hex1.hex, hex1.hex1 and binary;
  • seed/rung2/asm2.hex1, asm2.s and binary;
  • seed/omega-from-seed.sh currently runs this hand-written text chain to build seed/omc/omc.om, a self-hosting .om compiler. These are actual active handwritten machine-code bootstrap inputs, not just non-executable .hex protocol fixtures.

Target

Retire human-maintained hex and assembly as the delivered active compiler source/build dependency and build onward from qualified .om first-party source and a minimal declared bootstrap trust anchor. Do not claim hardware can execute pure abstract semantics without initial machine instructions. Keep immutable seed history and receipts in prior Git commits, not a permanent active legacy directory. Generated ELF/SASS and hexadecimal numbers for data or encoding are not legacy authored source.

Reuse existing owners and dependencies

Omega #599 seed-to-LLM; #650 independent diverse double compilation; #660 reproducible pinned seed; #623 per-lowering semantic verification; #635 shell host glue; #636 native host facilities. One existing seed/omc source writer; never start a new parallel assembler or overwrite any active worktree.

Bounded cutover

  1. Freeze all compiler/bootstrap inputs (machine, ISA, endian, binary headers, entry and syscalls, stage1/2/3 hashes, build variables), current consumer roots, independent oracles and trusted floor.
  2. Implement an owner-approved cold-bootstrap route with a small versioned pinned executable seed or qualified host bootloader, explicit trust assumptions, reproducible source compiler build, and independent DDC/source-binary correspondence. A self-copy fixed-point alone is NOT a proof the source is benign or corresponds to the binary. Detect binary-only compiler injection, wrong source and changed seed mutations. Reuse #650.
  3. Build compiler, native CLI and representative end application with .om sources under a clean environment that lacks the old hand-hex generator and first-party C compiler paths. Test repeated deterministic compile and semantic/negative gates independently.
  4. Use seeded .om for first-party build/install automation via #635; any tool that remains external is inventoried and not quietly called "Omega". No hidden gcc, C translator, assembler or foreign fallback in final product closure.
  5. In a separately reviewed retirement PR, remove active seed0.hex/hex1.hex/hex1.hex1/asm2.hex1/asm2.s and superseded runnable generator path only after all consumers are migrated and rollback is qualified. Maintain historical exact content through Git history. Do not delete noncode golden protocol vectors or unrelated documented historical evidence.

Gates

  • Declared irreducible bootstrap binary trust boundary with exact hashes, independent checks, and ability to reproduce source toolchain from clean checkout.
  • All delivered authored implementation in .om; no first-party handwritten machine-hex/assembly or old .hex generator on the active build path.
  • Independent DDC and semantic validation with injected-binary/wrong-source/refusal mutants; full source-to-native provenance.
  • Actual consumer integration, source deletion, transitive dependency removal, rollback and owner-reviewed clean-room reproduction.
  • Separate HOST, EMULATED, GB10 and NOT_RUN outcomes; no live 35B interruption, driver change or firmware flash.

This is a migration leaf under architecture #300 and semantic compression #315; no competing master plan or merge permission.

did:key:z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd wrote on 2026-11-18 17:15 UTC

Recovered GitHub comment. Original comment 6392728052

M1 finding: the birth script does not check the born compiler against its committed identity (2026-10-24, Spark)

Reproduced on a clean copy of aien-dev/omega-mv main a0eafa39 (seed chain untouched, no shared worktree used).

Baseline. sh seed/omega-from-seed.sh RC=0, omc fixpoint 734f0a39319fbfa930bcc62cb30dbf06d47d78e126372b74f5baf478e6126b61, equal to the committed seed/out/omc.sha256.

Mutant A (seed input). One hex word of seed/rung0/seed0.hex altered: load0 refuses the line, chain stops. Detected.

Mutant B (probe expectation). seed/rung4/tests/r5b_fwd.om ret 7→ret 8: FAIL: fwd ran as 8, wanted 7. Detected.

Mutant C (semantic change to the compiler source). seed/omc/omc.om line 1483 fail 12→fail 13 (an error code the compiler emits). Result: PASS omc fixpoint ca2aa132bbad234bf9ff192255f0cf8481966616941af1441961fbecf0dc56aa, script RC=0, and the script overwrote seed/out/omc and seed/out/omc.sha256 with the mutant's identity (git status: both modified). Nothing in the chain compared stage3 against the identity that was committed. A note-only change (Mutant D) reproduces 734f0a39… exactly, as expected.

So today "the chain is green" means: seed0/hex1/asm2 match their committed .bins, and omc is a fixpoint of whatever omc.om is present. It does not mean the compiler is the one that was reviewed. For #650 this is the trusting-trust gap in its simplest form: a source edit that preserves self-reproduction is invisible to the birth script, and the DDC referee (om4 as parent) is only consulted for stage1 == stage2, which a source-level change passes by construction.

Proposed fix (one block in seed/omega-from-seed.sh, for the seed owners; I have not edited the shared script): after the fixpoint, compare $s3 to the committed seed/out/omc.sha256 and FAIL on mismatch unless OMEGA_SEED_ACCEPT=1 is set deliberately by a review that updates the pin; never rewrite seed/out/omc.sha256 implicitly. A consumer-side version of this check is already in aien-dev/aien-architecture-mv#317 (tools/zero-legacy/omega.pin + sha256 check before any use).

Refs #650, #660, aien-dev/aien-architecture-mv#300 (M1).

Sign in to comment