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/cfb4de29b1b35fa2 # 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 # [OMEGA-UNIVERSAL P1] Import/export a restricted Go u64 source profile Open · #741 · open 2026-10-25 13:49 UTC Imported from GitHub aien-dev/omega-mv#741, by drakestapleton drakestapleton wrote on 2026-10-25 13:49 UTC ## Goal Provide Go -> Omega and Omega -> newly generated Go, independently of the existing cgo native-call binding. ## Scope and dependencies Concrete bidirectional source-adapter implementation under #631, not a second registry/compiler or a native-binding substitute. Coordinate #625 semantics, #621 representation, #622 first C slice, #623 independent validation and #624 conformance. Existing handwritten seeded .om implementation is the forward path; adapters remain outside the stable core. Preserve existing owners and reviewed branches; one writer per path. Implement only a versioned pure-u64 straight-line profile initially: one function, 0–6 scalar parameters, 1–64 SSA results including parameters/constants, +, -, * modulo 2^64. Pin source language/toolchain, exact accepted syntax, resource limits and errors before implementation. Do not widen the frozen v1 representation in place. Both import into canonical .om and export of newly generated editable source are required; source-byte replay and FFI wrappers are separate capabilities. ## Acceptance - Freeze profile, source locations/provenance, diagnostics, names and deterministic export policy through #625/#631. - Implement both directions in existing seeded Omega adapter paths; no hidden LLVM, original-language process or runtime fallback. External toolchains are declared output compilers/test oracles, not first-party semantic implementations. - Compile and execute original and generated source; test source -> Omega -> source, Omega -> source -> Omega and both directed compositions with qualified C/Rust profiles. Compare behavior, not semantic-hash equality. - Known answers, zero/max-u64/overflow, argument-order and boundary fixtures, seeded differential inputs, unsupported syntax and malformed-input refusals. Independently detect compiled wrong-operator/overflow/argument-order mutants. - Native result from the same represented algorithm agrees via the qualified backend; record source/profile/compiler/target hashes, commands, exits and raw receipts. Independent final-source reviewer; NOT_RUN/UNKNOWN never PASS. - #624 distinguishes import, source export, native binding, target and runtime qualification. Eventually cover all 30 directed language pairs when all six source profiles are qualified. ## Delivery boundaries Contract/corpus design can proceed alongside the C/Rust slices; qualification follows their gates. Claim paths in the live ledger before writes and reuse existing fixtures. No new repo, new test framework, ownership transfer, merge/deployment authorization or hardware interruption. Runtime-dependent unsupported features refuse; any later FFI boundary must be explicit and disclosed, never counted as source translation. ## Go boundary Pin the Go language/toolchain and explicit uint64 arithmetic. Refuse goroutines, channels, unrestricted interfaces/reflection, pointers, allocation and panic/recover until separately specified. Later buffer/FFI work must obey Go pointer and runtime-lifetime rules; cgo is a disclosed native-binding route, never source translation. No comments. Sign in to comment