Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/issues/7b0ae8c3dc5e25ba # 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 Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers # [OM-TRUST] Qualify seeded .om compiler source–binary correspondence with diverse double compilation Open · #650 · open 2026-10-23 12:56 UTC Imported from GitHub aien-dev/omega-mv#650, by drakestapleton drakestapleton wrote on 2026-10-23 12:56 UTC ## Governing correction: replace and remove, no retained legacy code Drake clarified: there will be no legacy code; it will be replaced with .om. The final state is .om throughout the project's first-party implementations, including runtime, compiler, services, build/release tools, automation and project-owned tests. This supersedes any older wording permitting a permanent legacy/reference implementation, wrapper, foreign fallback or dual production path. For each component: implement and qualify its .om replacement, cut its consumers over, then delete the superseded implementation and obsolete build/runtime dependencies from the active tree. Old source may be consulted in Git history during replacement; do not keep it in an active legacy/reference directory. Existing code present during unfinished migration is an outstanding replacement task, never an accepted end state. Preserve historical Git commits and immutable evidence; do not rewrite history. Missing .om capabilities are implementation dependencies for the existing seed/compiler owners, not exemptions. Independent third-party qualification oracles may run outside the delivered source/build/runtime closure; replace project-owned legacy test implementations too. Generated machine code, non-executable data/documentation, external protocol formats and device firmware are separately inventoried and cannot disguise retained first-party logic. Interoperation with users' external software does not make that software part of the .om implementation. Acceptance includes an active-tree/dependency audit showing the old implementation and fallback are gone, .om consumer tests pass, and exact source/seed/binary/evidence identities are recorded. Coordinate existing owners and release gates; replacement is complete only after deletion and consumer qualification. ## Problem and scope Computerphile's Reflections on Trusting Trust motivates independently checking the compiler ancestry. Legacy src/omega_self_host.c contains a narrow object-count dispatch/self-copy fixed-point demonstration. A self-reproducing binary or matching artifact hashes alone cannot establish absence of compiler-injected behavior. Inspect the actual current seed lineage under #599, not only legacy main. Research: David Wheeler, Countering Trusting Trust through Diverse Double-Compiling, https://doi.org/10.1109/CSAC.2005.17 . This establishes conditional source–binary correspondence, not harmless source or universal compiler correctness. #623 retains per-lowering semantic validation ownership. ## Implementation - Inventory current handwritten seed, assembler/compiler stages, exact source closure, host/tool inputs and trusted comparator. State the trusted computing base and independent-route assumptions. - Freeze the supported .om source subset and deterministic build inputs, including options, libraries, environment and generated assets. Resolve any undefined/unspecified behavior before byte comparisons. - Implement a bounded DDC qualification harness for a real compiler stage using a sufficiently independent trusted route compatible with that stage's semantics. Reuse the seed chain; external compilers may be explicitly declared qualification oracles, never hidden production bootstraps. - Derive the correct staged comparison for this toolchain; do not require an independently compiled intermediate to have identical bytes to the production compiler merely because it implements the same semantics. Compare the appropriate final compiler artifacts and report exact assumptions. - If the independent route or source coverage is missing, deliver its concrete prerequisite and mark correspondence NOT_RUN; no substitution of self-copy or same-lineage rebuild for independence. ## Acceptance - Clean-room reconstruction from pinned sources succeeds for the declared stage; reproducibility and DDC claims are reported separately. - A compiled binary-only injection/self-propagating mutation absent from claimed source is detected. Wrong-source, stale-seed, altered comparator/input and nondeterminism controls yield named failures or invalid runs. - Include a malicious/incorrect-source control demonstrating that correspondence alone does not prove source safety; retain #623/checker semantic gates. - Publish artifact identities, trusted assumptions, executed commands and an independent reproduction. Keep raw equality checks separate from the logical correspondence argument. - Provide a short replicable teaching example through #624 and export trust status to the repository migration ledger. No production compiler replacement until existing release gates pass. ## Replacement integration Coordinate source–binary qualification with aien-dev/aien-architecture-mv#300. Inspect old bootstrap demonstrations from pinned history; do not preserve them as a permanent active second compiler. The final delivered compiler/qualification tooling is project-owned .om; genuinely independent third-party oracles stay outside the delivered closure. drakestapleton wrote on 2026-10-23 22:23 UTC ## Security qualification follow-up — 2026-10-23 Tracker: https://github.com/aien-dev/omega-mv/issues/673 User-authorized acceptance additions; existing ownership and scope remain. These are pending work, not claims of passing tests. - Feed reproducibility, source correspondence and semantic correctness as distinct claims into #673. Do not substitute same-lineage byte identity for diverse double compilation. - Link exact independent-route, comparator, hardware/host and source-closure assumptions to each result. Missing independent coverage remains NOT_RUN. - Re-run affected qualification after #669 compiler changes; #623/#625 retain semantic proof/validation responsibility. No second production compiler is authorized. ## Delivery and qualification Authorized security follow-up, 2026-10-23. Reconcile current source, branches, issue comments, AGENTS.md, plan authority and worktree ownership before edits. One writer per shared compiler/runtime file; preserve existing Renda/desk review and release ownership. All new first-party implementation, runners and tests use seeded .om. Missing facilities go to the existing compiler owner; no second compiler, runtime, authority or store. Qualify replacements and consumers before removing superseded active first-party code/dependencies; preserve Git history and immutable evidence. Record exact source/seed/compiler/binary/config/fixture identities, raw commands and exits, independent review and explicit PASS/FAIL/INVALID/NOT_RUN. Emulation is not hardware qualification. A hash/signature authenticates identity, not correctness. No automatic deployment, live GPU interruption, driver changes, private-data upload or issue closure from a source-only PR. drakestapleton wrote on 2026-10-25 02:23 UTC Seed-bootstrap retirement contract 2026-10-24: Omega #725 owns removing active seed0.hex/hex1.hex/asm2.hex1 and superseded handwritten assembler source from the final compiler build. This depends on your existing #650 DDC/source-binary trust gates, not a new independent bootstrap compiler. Do not conflate same-lineage omc stage1=stage2=stage3 with an independently trusted build. Require an explicit minimal pinned bootstrap binary trust anchor, exact source/seed/binary input closure, injected malicious binary and wrong-source negative controls; historical seed bytes remain in Git history. Disclosure of signed NVIDIA GSP/boot ROM firmware is not a first-party .om migration success, and there is no authority to flash the physical GPU. did:key:`z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd` wrote on 2026-11-18 17:17 UTC Recovered GitHub comment. Original comment `6525663277` DDC gate drafted in #952 (PROPOSED gate, EXERCISED on host at base `62d1d0d6`): seeded .om conductor seed/qualification/ddc650/ddc.om. Route S (seed om4 -> stage1 -> stage2) and route I (GCC 13.3.0-built spec interpreter omega_ref.c @`190130b7`, sha256 `52e74709`…) both reproduce seed/out/omc (sha256 `62775d2a`…, 477612 B) byte for byte; self-regeneration holds; coreutils cmp/sha256sum agree. Negative controls: mutated stage-1 compiler, mutated oracle, wrong source, flipped BIN byte, working malicious compiler as BIN -> FAIL; always-equal comparator, nondeterministic OM4, stale om4.bin, wrong oracle pin -> INVALID. Limits: same host/kernel/CPU, project-authored oracle source, no third toolchain or other OS/arch (NOT_RUN). Not a trusting-trust cure; scope is this SRC/BIN pair on this host. did:key:`z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd` wrote on 2026-11-18 17:19 UTC Recovered GitHub comment by @aien-spark on 2026-10-24T22:12:49Z. Original comment `6390181751` Status from the #696 integration pass (2026-10-24): DDC is NOT_RUN for the unified compiler (PR #696 head `9329e7fca`, omc sha256 `d0603ff8fc276774ac7b438c27d146123b9a4513547fe9671e36d8e02d183e83`). The independent interpreter tools/omega_ref (branch seed/omega-ref) refuses forward calls: a 6-line program calling a function defined later compiles with omc and fails in omega_ref with "unknown name"; seed/omc/omc.om first does this with `fexp` (line 935). The omc fixpoint (stage2 == stage3) holds but is same-lineage, not independent verification. Fixer ledger L423 (branch seed/omega-ref-sync) is bringing omega_ref up to the current language. Details: PR #696 comment `6389832658`. did:key:`z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd` wrote on 2026-11-18 17:19 UTC Recovered GitHub comment by @aien-spark on 2026-10-24T22:13:41Z. Original comment `6390190312` Independent reproduction of L423's DDC result (2026-10-24T22:13:25Z, my run, separate worktree of seed/omega-ref-sync @ `190130b71d0a59b93f01c515218a5509b149a145`, SEED = PR #696 head `9329e7fca` seed tree): - om4.bin `d0da40e45f1fcc45d9a39c9c52c9d745b545e076970729e51c12d76ef519efab`, omc.om `18d7e80bd5ab5a3b73766c596f05ed872b7fcd537a1a40086c1c33d077ed26c5` - stage2 = stage1(omc.om): 224520 bytes, sha256 `d0603ff8fc276774ac7b438c27d146123b9a4513547fe9671e36d8e02d183e83` - interpreter (tools/omega_ref) running omc.om on omc.om: 224520 bytes, same sha256, same exit 0 - negative controls: mutant interpreter (shl bit flip) differs; one flipped stage-2 byte caught - GATE_DDC PASS, rc 0. stage3 = stage2 also holds. This replaces the earlier NOT_RUN for the #696 compiler, pending the omega_ref sync branch landing. Author-run, not a Spark judge receipt. did:key:`z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd` wrote on 2026-11-18 17:25 UTC Recovered GitHub comment. Original comment `6426294752` SemanticFrontier survey input for this issue (not a duplicate issue): candidate #8. PROPOSED only. Status: PROPOSED (plan only; nothing implemented under this issue). Source pin: omega-mv main `0b77e6ea2`, pinned omc `2c824805…029f`. From the SemanticFrontier survey (ranked list of 15 semantic-frontier candidates; companion M1 implementations: omega-mv #820 effect manifest, semhash draft PR). Any compiler change goes only through the `integ/omc-batch3` integration route. Evidence words stay separate (PROPOSED / IMPLEMENTED / EXERCISED / QUALIFIED). ## 8. Diverse double-compiling for omc: PROPOSED Problem. Trusting-trust compiler backdoors. Wheeler: https://dwheeler.com/trusting-trust/dissertation/wheeler-trusting-trust-ddc.pdf (also https://arxiv.org/abs/1004.5534 ). Bootstrapping context: https://bootstrappable.org/ and https://reproducible-builds.org/ Exists. - A two-parent fixpoint: om4-built omc must equal omc-built omc (`seed/omega-from-seed.sh`). omc.om stays in the om4 subset (OMEGESE §9.7 :497-500). - `seed/qualification/security673/README.md` explicitly disclaims DDC, because om4 shares the seed lineage. Plan. - M1: a second parent with independent lineage, for example an om4-subset interpreter written in a different host language and kept as a verification oracle only. It would compile omc.om, and its output must equal the pin. - M2: document the trust argument. Better / not. Omega is better because the seed is small: hex to asm to om4. It is no different from DDC elsewhere in needing a genuinely independent second compiler, and that is the expensive part. Sign in to comment