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.
Governing .om direction and recursive-program qualification
Drake, 2026-10-23: .osc is legacy; .om is the only forward source-language path. This supersedes older OSC-first mandates in the historical baseline and phases below. All new first-party production language/computation and examples extend the existing handwritten seeded .om toolchain. Legacy OSC code/formats remain explicitly labelled migration/reference evidence only; do not require .osc as a user-facing or hidden mandatory production stage. Preserve versioned identities, historical receipts and independent validation when migrating; do not simply rename IDs or remove checker guarantees. Existing native owners remain authoritative for the implementation.
Current source correction: the seeded C importer already has bounded recursive parsing; legacy main's call-order rejection does not describe all current .om behavior. The source-aware-v1 contract still excludes functions/control flow/recursion from imported units. That is the uncovered cross-language gap.
Scoped work
- Omega #645: qualify bounded recursive interchange/execution on .om.
- Omega #646: exact pure subproblem reuse, measured with full cache costs.
- Omega #647: bounded worklist analysis in the seeded .om verifier.
Existing #625/#621/#623/#624 have been updated with the .om governing direction and corresponding contracts, versioning, validation, mutation controls and teaching evidence. Reuse their owners and reviewed candidate artifacts; do not redo completed codec/importer work or launch duplicate agents. #645 follows the specific #625/#621 contracts and #623 validation; #646 follows the bounded semantics and existing native cache seam; #647 is independent after native verifier ownership/seams are resolved. #624 integrates the results. No need to block baseline adapter delivery on optional optimization experiments.
Coordinator instructions
Reconcile current main, active seeded/migration candidates, issue comments, live ledger/worktree ownership and final-source reviews before coding. Keep one writer per shared module and preserve L707/current successor coordination and Renda’s existing PR/judge/publication role. Reference/corpus work may proceed independently after contracts freeze; native interface or trust changes must be coordinated. Record missing native seams as concrete dependencies and extend the existing owner’s migration work, never resurrect OSC or build a duplicate runtime. Keep historical review pins immutable. Accept negative speed results; no automatic model-weight reuse, intelligence or universal language-support claims.
Goal
Make Omega the authoritative language of computational meaning, with explicit, testable import/export paths for other languages and checked realization on heterogeneous hardware. The aspirational scope is broad language/chipset coverage; arbitrary, lossless, semantics-preserving conversion is not generally possible. Never silently claim full equivalence.
Inspected repository baseline (2026-10-22)
- Omega
src/compiler/osc_ir.{h,c}: typed CFG/vreg IR, canonical encode/decode;src/compiler/osc_interp.c: independent reference interpreter;src/compiler/osc_cg.c,osc_a64.c,osc_native.c: native AArch64 only. tools/omegese/omegese.candtools/omega_emit/: Omegese -> operation list -> canonical OSC IR ->src/checker2/-> receipts. Do not rebuild this pipeline.src/omega_types.h,omega_canonical.c,spec/program-identity.md: OMG0 and program identity. Content hash != proof of behavioral equivalence.src/polyglot/omx_lang.h: registry of kernel implementations in different languages, not a general source-to-source importer.src/omega_gpu_platform.h: negotiated native GPU platform ABI; device support outside existing GB10 paths must be proven.docs/osc/OSC-4-DESIGN.md: FP, large buffers, C externs, syscalls, long loops are design, not baseline implementation. OSC is not yet general or self-hosting.
Existing ownership: reuse, don't duplicate
- aien-architecture-mv #248 (E05: IR -> executable translation-validation slice)
- omega-mv #444 (closed; strict canonical IR decoder), #446 (closed; independent checker), #505 (verified Omegese execution), #601 (Omegese kernel missing features), #593 (GPU runtime), #596 (GPU portability), #619 (replicable walkthrough).
- Any child PR must cite overlapping work and demonstrate a delta. Do not replace checker2, existing decoder, Omegese or GPU session.
Governing principles
- Source-language semantic specifics survive lowering until a validated conversion proves their elimination; support source-aware dialects/annotations instead of flattening Python/Rust/C into a falsely universal low-level IR.
- Specify observable behavior (return values, traps, errors, allocation, effects, thread/memory behavior, ABI, exception/resource lifecycle), environment assumptions and supported subsets. Preserve source bytes/provenance for exact text round trip; distinguish this from behavioral equivalence.
- Every transformation produces a proof/translation-validation receipt or honest bounded evidence class. UNKNOWN/TIMEOUT/UNSUPPORTED/UB/MISSING_RUNTIME is not PASS. Never use a source hash as evidence of semantic equivalence.
- Keep Omega's semantic authority local-first; use LLVM/MLIR/Wasmtime as optional adapters/validation comparators, not replacement for Omega's semantics or mandatory opaque runtime. No unapproved network access, owner trust bypass, GitHub visibility widening or hidden telemetry.
- Preserve canonical format identities and signed receipt trust anchors; any format migration requires versioned spec, backward compatibility policy and negative fixtures.
- Target machine profiles (ISA, ABI, memory model, vector extensions, OS/runtime, GPU device capabilities), not vague “works on all chips.”
- Existing Spark-controlled local verification/receipts process remains the judge; QEMU/emulation cannot be called physical-chip qualification.
Research references (sources/limits)
- MLIR dialect infrastructure: https://doi.org/10.1109/CGO51591.2021.9370308
- First-class verification dialects: https://doi.org/10.1145/3729309
- Alive2 translation validation: https://doi.org/10.1145/3453483.3454030
- AArch64 backend translation validation: https://doi.org/10.1145/3763147
- Ratte multi-level fuzzing: https://doi.org/10.1145/3676641.3716270
- DimSum multi-language semantics: https://doi.org/10.1145/3571220
- Semantic soundness for interoperability: https://doi.org/10.1145/3519939.3523703
- Research dossier (abstract/metadata synthesis, not assumed independent replication): https://app.undermind.ai/projects/71b4b2d1-0818-4a84-8c00-452e1071922a?path=/Omega%20universal%20translation%20and%20verified%20heterogeneous%20execution
Delivery gates
G0: Snapshot live main, worktree inventory, existing issue ownership, pins, commands, independent reference implementations and formal scope/negative controls. G1: One defined sequential, effect-free, bounded integer subset C <-> Omega, plus proof of source-text preservation when bytes are saved; independent interpreter, C oracle and checker2 agree. G2: Translation-validation receipts; altered/ambiguous/unsafe/unsupported/timeout cases refuse. Publish scope of proof vs fuzz vs tests. G3: LLVM-backed or dedicated x86-64 and RISC-V RV64GC realization with native/QEMU cross-checks and AArch64 regression. Native performance only when actually measured on hardware. G4: Rust and Python subset frontends, WIT/FFI component interoperability; negative cases for ownership, dynamic reflection, exceptions, Python bigints, aliasing and memory models. G5: GPU tensor/effect dialect + validated realization into CUDApp (GB10 first); target profile/memory/synchronization receipts; vendor expansions only after contracts & real hardware exist. G6: Reproducible cross-language x cross-target matrix, user-facing tutorial, source/evidence links and clearly labelled unimplemented targets.
Required result
One canonical specified computation imported from at least C, restricted Rust and restricted Python (and Omega itself), exported to a supported target language with stated fidelity, and executed/compared on AArch64, x86-64, RV64GC QEMU, plus a separate GPU operation only if validated. Each actual supported cell has pinned fixtures, differential comparator, negative controls, machine profile, run receipt, and independent review. Failed/unavailable cells remain NOT_RUN/UNSUPPORTED.
Use linked small child issues with actual repo ownership; one PR per bounded slice, no all-at-once unreviewed replacement. This epic is tracking/architecture, not authority to claim every language and device already works.
Child issue inventory / execution order (created 2026-10-22)
Phase 0 — semantics, IR, trust and first bidirectional converter
- Omega #625 — observable semantics and conversion fidelity
- Omega #621 — source-aware dialect IR and provenance
- Omega #622 — C importer/exporter, scoped round trip
- Omega #623 — per-lowering translation validation and receipts
- Omega #624 — cross-language/target conformance, fuzz and teaching docs
Phase 1 — language expansion, CPU architecture and typed interop
- Omega #626 — restricted Rust adapter with ownership
- Omega #627 — restricted Python adapter, dynamic semantics boundary
- Omega #628 — versioned ISA/ABI/capability profiles
- Omega #629 — x86-64 executable lowering
- Omega #630 — RV64GC executable lowering + QEMU qualification
- Sovereign Core #706 — typed multi-language component ABI/FFI
Phase 2 — GPU realization and extensibility
- CUDApp #35 — checked Omega semantic tensor ops to GB10 GPU
- CUDApp #36 — non-NVIDIA backend feasibility/portability
- Omega #631 — versioned language-adapter SDK and coverage registry
- AIENUX #444 — RISC-V native substrate feasibility and QEMU boot
Existing work to incorporate, not recreate: Omega #444, #446, #505, #601, #593, #596, #619, and Architecture #248.
Do not mark the parent complete merely because child issues close. Confirm the end-to-end acceptance matrix with immutable receipts and separate PROVEN/TESTED/EMULATED/HARDWARE/NOT_RUN labels. All code writes require ordinary PR review/CI and any existing local Spark judge evidence.
GPU universality + Unix-style modularity extension (2026-10-22)
The existing semantic interchange programme now includes all discoverable GPU families by registry/profile, not a false promise that every manufactured card can execute arbitrary compute. Cross-cutting architecture decisions: #296 composable GPU boundaries and reversible repo topology; Omega #632 versioned Unix GPU tool stages/backend interface. Coordinator CUDApp #36 has the 10 vendor-specific child issues.
- CUDApp #37 discoverable GPU model, API, backend and evidence registry
- CUDApp #38 Vulkan/SPIR-V portable compute route
- CUDApp #39 NVIDIA family matrix
- CUDApp #40 AMD
- CUDApp #41 Intel
- CUDApp #42 Apple
- CUDApp #43 mobile Adreno/Mali/Xclipse
- CUDApp #44 Broadcom V3D/VideoCore
- CUDApp #45 Imagination/Vivante embedded
- CUDApp #46 regional/legacy/virtual
Dependencies: semantically valid Omega ops #625/#621/#623 -> target profiles #628 + GPU registry #37 -> independent backend #632/#38 -> family qualification #39..46 -> support matrix #624. Avoid extracting empty GPU repositories; decide executable boundaries after architecture #296's local scratch experiment. Never change repository visibility or migrate code without separate owner approval.
Universal adapter application programme: reconciled draft pack
The supplied pack contained 12 local drafts, not posted issues. Open/closed issues, PR inventories, current source and existing ownership were reconciled. Eight uncovered integration slices were filed; four reuse existing trackers. No issue is complete from this inventory.
- UA-01: Connect adapter, runtime and substrate contracts into one executable profile (new)
- UA-02: Resolve and explain a complete execution plan before running an application (new)
- UA-03: Make adapter registration, upgrade and removal transactional (new)
- UA-04: Demonstrate incremental native attachment inside one existing application (reuse)
- UA-05: Preserve dynamic runtime behavior through explicit compatibility adapters (new)
- UA-06: Define portable OS service contracts with a hosted reference adapter (new)
- UA-07: Run the first application profile on native services without Linux (reuse)
- UA-08: Classify existing application compatibility before replacing OS behavior (new)
- UA-09: Separate device execution from host OS driver services (reuse)
- UA-10: Carry buffer residency and transfer dependencies across adapters (new)
- UA-11: Qualify one application across languages, machines and OS substrates (new)
- UA-12: Deliver an inspectable developer workflow for adapter-backed applications (reuse)
Dependency order: executable application contract -> explainable plan / adapter lifecycle / declared runtime compatibility / hosted service contract -> native attachment / compatibility preflight / buffer transfer -> native-service and integrated application qualification. Developer workflow consumes planner and lifecycle. Existing language, compiler, GPU and OSH owners continue; one writer per shared file set. Dependencies name required contracts/artifacts, not wholesale issue closure: already-qualified installer artifacts may feed adapter lifecycle before the expanded developer workflow is complete.
Coordination: L707 owns this finite application programme and integration reconciliation; Renda (L708) remains sole PR/judge/publication owner. L408 retains compiler/host facilities, L481/L484/L410 native attachment/ABI, L605 device/runtime continuation, L590/L696 distribution, L689 streaming and L690/L694 Allen sources. No ownership or live service was replaced. This does not supersede the repository plan authorities.
Acceptance: one real application, two language interfaces, two qualified CPU profiles, then matching declared hosted/native OS-service behavior; GPU is a separate qualified cell. Preserve translation, FFI, runtime compatibility, emulation and native execution distinctions. Exact pins, actual commands/exits, failure/recovery, negative controls, data movement, peak memory, measured performance and independent review are mandatory. Missing hardware/ABI/runtime gates remain NOT_RUN/UNSUPPORTED; all boxes stay open until their full criteria are met.
Omega as the agent's application-to-hardware language
Governing direction (Drake, 2026-10-23): .om is the only forward source-language path; .osc is legacy. Extend the existing handwritten seeded Omega toolchain and current migration owners. C/Rust code cited here is implementation/reference evidence, not permission for a hidden production fallback. Reconcile current branches, instructions, issue comments and ownership before editing.
The scope now explicitly includes frontend/backend composition, agent-controlled application/resource lifecycle and the physical storage path.
- aien-dev/omega-mv#648 — one typed .om frontend/backend interface, bindings and bounded streaming.
- aien-dev/omega-mv#649 — agent-driven .om application and compute-resource lifecycle.
- Existing aien-dev/aienux#31 — native NVMe/System Store, .om migration contract and separately gated physical qualification.
- Existing aien-dev/synapse#54 — .om raw block segment store and crash recovery over qualified NVMe.
Architecture #298 integrates these contracts; Omega #631/#642 records coverage and resolves the actual execution path; architecture #299 qualifies the combined application. Reuse aienux#367 for inference KV. Driver/store implementation is not restarted; legacy sources and prior QEMU evidence inform the existing migration. The latest inspected C driver allows one outstanding command, and its issue records physical qualification as pending. Wolfram verified illustrative queue and buffer arithmetic in #31; those numbers are neither measurements nor hardware PASS.
Extend existing worker assignments after checking the live ownership ledger; preserve existing compiler and publication/judge owners. Missing compiler MMIO/DMA/ordering support becomes a bounded dependency to those owners. Keep one .om-facing language surface with versioned hardware protocols and explicit device support. No new production .osc path, duplicate master runtime or claim that commodity SSD firmware has been bypassed.
Implementation ledger: sovereignty, speed and complete .om replacement
User direction: replace first-party implementations with .om throughout the repositories; retain no legacy implementation in active trees. Coordinate existing owners rather than starting duplicate runtimes/compiler/cache/loader work.
- aien-dev/aien-architecture-mv#300 — complete repository/path inventory, ordered .om replacements, deletion gates and CI prevention of legacy reintroduction.
- aien-dev/omega-mv#650 — compiler source–binary correspondence through independently justified diverse double compilation; separate from #623 semantic translation checks.
- aien-dev/omega-mv#651 — durable capability-aware semantic reuse with real-consumer qualification.
- aien-dev/omega-mv#646 and aien-dev/aien-architecture-mv#246 — recursive reuse semantics and full-lifecycle plan-reuse evaluation, consuming #651.
- aien-dev/omega-mv#522 and #583 — extend existing measured selection and DAG cost composition beyond matvec, one qualified operation family at a time.
- aien-dev/omega-mv#602 — complete memory-traffic attribution and one measured locality improvement.
- aien-dev/omega-mv#534 — bounded weight windows/storage-friendly streaming through the existing RIBBON owners; no duplicate loader.
- aien-dev/aien-architecture-mv#249 — bounded .om equality saturation, checked rules and measured total payoff through existing E06 ownership.
Order: inventory/ownership and semantic contracts first; independently scoped trust and fixtures can proceed; implement/qualify native consumer slices; then delete superseded sources/dependencies. Reuse lifecycle precedes its restart/revocation qualification; traffic measurements precede locality decisions; cost-model expansion precedes cost-guided rewrite adoption. Optional optimization research must not block a correct .om replacement or baseline adapter delivery. Integrate through architecture#298/#299 and Omega#624. Every implementation PR links its ledger row, exact owner, consumer tests, removal change, evidence and remaining blockers. Existing seed lineage and publication/judge roles remain; do not close these from plans or issue creation.