Goal
Expose one agent-operable .om lifecycle for describing, inspecting and changing an application and its compute resources. The scope includes UI/service composition, storage/network dependencies, processes/jobs and CPU/GPU placement through registered qualified providers. Broad scope is expressed as provider coverage, not a claim that every device or cloud already works.
Parents: aien-dev/aien-architecture-mv#295/#298. Consume #642 planning, #643 transactional adapter lifecycle, #648 frontend/backend bindings, #628/#632 target/backend contracts, #644 buffer dependencies, aienux#446 host-service contracts and aien-sovereign-core-mv#706/#709 component/runtime contracts. Qualification lives in architecture #299 and Omega #624.
Code grounding
- src/runtime/rx_capq.h already models semantic capability needs, typed inputs/results, effects/authority ceilings, locality, budgets, evidence and deterministic provider selection. Reuse its existing native migration.
- src/omega_resolve.{h,c} is the existing semantic dependency resolver identified by #642; this work consumes its qualified native successor.
- aien-sovereign-core-mv/crates/aien-runtime/src/objective.rs binds durable operator objectives to grants and rechecks them before intents and reconciliation. Preserve this behavior through its existing .om migration/authority owner.
- Interplane core validates/translates messages; it explicitly executes and authorizes nothing. Do not turn it into a second scheduler or capability authority.
Work
- In the existing .om application contract express typed resource references, desired configuration, observed state/version, dependencies, health criteria, operation intent, authority/objective reference, budget and evidence requirements. Cover UI endpoint, backend service, storage object, network binding, CPU job and optional GPU job as provider classes; each has discoverable supported operations.
- Offer agent-callable inspect/plan/apply/status/events/cancel/reconcile/rollback-or-compensate operations through existing Omega command/API names. Resolve naming with current owners; these are semantic operations, not an instruction to add duplicate CLIs.
- Reuse #642's pinned plan. Before each effect, check expected resource generation, still-valid provider/contract, objective and capability authority. Replan/refuse changed conditions; compilation or an LLM-generated plan never grants permission.
- Extend the existing objective/effect lifecycle with durable operation IDs, dependency ordering, bounded concurrency/backpressure, explicit retries/deadlines, cancellation and crash recovery. Do not introduce a new master daemon, scheduler, state store or generic retry engine.
- Distinguish requested/accepted/running/succeeded/failed/cancelling/cancelled/uncertain, mapped to existing lifecycle vocabulary. A timeout/disconnect does not prove an effect did not happen. Reconcile against the authoritative provider before retry; exactly-once requires provider support, not an invented promise.
- Define ownership/conflict behavior for two agents or a human changing the same resource. Bind effects to preconditions and generation checks; retain independent services and use the existing local trace/provenance store.
- Define per-operation reversibility: true rollback, compensating action, or irreversible. Do not promise atomic transactions across arbitrary backends. Partial failure produces a useful state and recovery plan; no duplicate storage writes or repeated deployments on restart.
- Keep control metadata separate from tensor/data movement; use #644 handles/residency contracts. Map requested CPU/GPU placement to actual qualified resources and refuse unsupported devices. No silent remote execution or fallback.
- Demonstrate an agent submitting .om intent to compose a UI and backend, run a real bounded CPU computation, store a result, stream progress and update UI; then inspect, cancel, recover from an injected service crash and restore a previous supported configuration. GPU and additional machine profiles are separately measured cells.
- Tests cover stale plan, revoked authority, wrong objective, version skew, unavailable adapter, mid-effect crash, lost acknowledgement, duplicate command, concurrent change, partial rollback and unsupported provider. Raw action receipts must match actual effects, not generated descriptions.
Scope and delivery
Implement a finite end-to-end control path with a coverage registry for the wider ecosystem. Distinguish controlling an existing runtime via an adapter, executing .om natively, compiling to an outward target, and replacing an OS component. No 'entire ecosystem implemented' claim from one demo. Existing verified schemas/components feed this increment without reopening all prior work. Native facilities missing today are concrete dependencies to their existing owners.
Governing implementation direction
Drake, 2026-10-23: the agent must be able to control the compute ecosystem through Omega, including frontend/backend composition. .om is the only forward source-language path; .osc is legacy. Extend existing handwritten seeded .om production components and their current owners. External UI frameworks, runtimes and services are declared endpoints/targets, not hidden implementations of Omega semantics. Legacy C/Rust sources below document existing contracts and migration obligations; do not create parallel replacements or require legacy .osc production execution. Keep the Unix division of responsibilities: typed contracts and small adapters with bounded interfaces, one coherent Omega-facing surface. Reconcile current branches/comments/ledger and existing migration owners before editing. Reuse native capability, objective/effect, transport, adapter lifecycle, receipt, trace and judge machinery. Preserve existing Renda publication/review ownership and live services. Record source/tool/adapter/profile pins, real commands/exits, negative controls and independent final-source review. Unsupported/unrun targets are explicit. This issue authorizes development, not deployment to external accounts or changes to live machines.
Physical hardware is an intended endpoint
The scope explicitly includes driving physical hardware from compiled .om. Consume existing aien-dev/aienux#31 for PCIe/MMIO/DMA/NVMe and aien-dev/synapse#54 for the raw segment store. Agent intent flows through checked compiled operations; the LLM is not invoked for each register access or I/O completion.
Expose device/namespace identity, extent bounds, generation, queue/buffer limits, completion versus durability, timeout/uncertain state and reset ownership through existing contracts. Preserve DMA/buffer ownership until completion or proven quiescence; cancellation alone cannot release device-accessible memory. A hosted control adapter, emulated controller and native physical driver each retain distinct evidence. All forward first-party implementation remains .om; .osc remains legacy. Broader device families require their own qualified protocol/provider profiles.
The first physical storage work follows existing #31/#336 provisioning and hardware gates. Complete independent contract, code and disposable-emulator work first. Queue/buffer arithmetic has been checked with Wolfram in #31; no device performance claim follows from it.