interplane.Get Omega
Read in your language

aien-architecture-mv

Canonical architecture for the AIEN ecosystem: flows, boundaries, ADRs, and the map from design to implementation repositories.

Brought by drakestapleton

[OMEGA-UNIVERSAL P0] Connect adapter, runtime and substrate contracts into one executable profile

Open · #298 · open 2026-10-23 11:30 UTC

Imported from GitHub aien-dev/aien-architecture-mv#298, by drakestapleton

drakestapleton wrote on 2026-10-23 11:30 UTC

Parent: https://github.com/aien-dev/aien-architecture-mv/issues/295

Dependencies

Problem

Language translation, runtime interoperation, device lowering and OS replacement cross different boundaries. Individual successful components do not establish a coherent application contract.

Work

  • Extend the existing architecture contract with versioned language semantics, component ABI, effects/authority, host services, target capabilities and evidence requirements.
  • Define the four supported outcomes: native execution, declared runtime requirement, explicit emulation, unsupported. A dependency must never become a silent fallback.
  • Declare protocol negotiation, compatibility/version rules, error categories, ownership and cancellation propagation. Version adapters independently of the language core.
  • Keep inspection/compile/check stages composable; keep large buffers and execution handles out of text pipes. Reuse #632 instead of prescribing another pipeline.

Acceptance

  • One machine-readable application profile validates across the existing boundaries; malformed versions, missing capabilities and mismatched semantics refuse.
  • A dependency map names an owner and existing/new issue for each boundary.
  • One recorded example explains every required service from source to device or host execution.

Scope

integration contract, not another compiler or a universal driver.

Reconciled delta and ownership

Cross-boundary application composition is the missing delta. Existing semantic/source-aware, machine-profile, adapter-interface, typed component and Unix GPU contracts retain ownership. This issue adds their application-level compatibility contract, not another IR, compiler, proof checker or runtime. Specification can proceed against explicit versioned inputs; execution waits for qualified implementations. Programme coordination/integration: L707; PR review/judge/publication: existing sole Renda desk, L708. Shared compiler source remains with L408; no duplicate worker or assigned GitHub person is implied.

Shared acceptance

Implement in the existing seeded Omega path and follow current repository instructions. Reconcile live ownership before editing shared compiler/runtime sources. Keep first-party production computation native to the agreed Omega seed lineage; external compilers and interpreters may be explicit test oracles or declared compatibility dependencies. No hidden runtime fallback. Use existing checker, receipts, test harness and GPU launcher. Record exact source/tool/binary pins, commands, exit codes and tested profiles. Distinguish PROVEN, TESTED, EMULATED, HARDWARE, NOT_RUN and UNSUPPORTED; signatures/hashes and self-hosting do not prove equivalence. Include meaningful failure/negative controls and independent review of final functional source. Preserve local trace ownership, existing visibility and live services. Do not close issues from a branch or partial demonstration. Existing release/merge/hardware coordination remains authoritative.

Agent-controlled application and physical resource contract

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.

Consume aien-dev/omega-mv#648 (typed frontend/backend bindings) and #649 (agent-driven resource lifecycle) in this existing application contract. Add shared versioned wire types, calls/results/events, bounded streams, cancellation and schema compatibility, plus typed desired/observed resource state, generation checks and per-operation effects. Reuse #706 component semantics without treating remote messages as shared pointers.

Resources cover UI/backend services, CPU/GPU jobs, storage and networking through qualified providers. The physical storage profile consumes aien-dev/aienux#31 and aien-dev/synapse#54: .om-generated CPU instructions own the native driver path through PCIe MMIO, DMA and NVMe commands. Distinguish hosted passthrough, native OS driver, emulator and physical qualification. Record compiler memory-order/MMIO requirements and platform DMA/authority ownership; do not collapse these into a generic external API adapter or claim raw NAND control.

Acceptance adds one machine-readable profile from agent intent and UI operation through backend execution and durable storage, with explicit identities, dependencies, authority, data movement, errors, recovery and evidence. Missing physical/device capabilities refuse or remain NOT_RUN. Existing owners and separate component boundaries remain.

No comments.

Sign in to comment