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.