interplane.Get Omega
Read in your language

omega-harness

Agent skills for operating, encoding and communicating in Omega (.om) and the AIEN repositories

Brought by drakestapleton

GitHub aien-dev/omega-harness#72 (code only)

closed derived c3102ef1367615cc #72

Imported from GitHub aien-dev/omega-harness#72 (code only)

GitHub's metadata for this pull request is unavailable: its state is DERIVED from the commits (merged: the head is reachable from this project's main; open: GitHub kept a merge ref; else closed).

Base 8a4558c4d68433280b0d205050244d1bf8957506 · Head 81c512b918263f53d7a66948fb6c3a9e3ec8b612

Fetch it

A git bundle of the pull request's head, 6935 bytes.

curl -fsSL https://interplane.io/drakestapleton/omega-harness/patches/c3102ef1367615cc.bundle -o c3102ef1367615cc.bundle
git fetch c3102ef1367615cc.bundle refs/pull/72/head

Raw bundle · Diff

Provenance

This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record:

github-import 1
aien-dev/omega-harness
72
81c512b918263f53d7a66948fb6c3a9e3ec8b612
{"kind":"github-import","owner":"aien-dev","repo":"omega-harness","number":72,"url":"https://github.com/aien-dev/omega-harness/pull/72","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:39:48Z","metadata":"unavailable","state_derived":true}

Changes

diff --git a/skills/aien-repositories/SKILL.md b/skills/aien-repositories/SKILL.md
index 8a6f120..1e59a3d 100644
--- a/skills/aien-repositories/SKILL.md
+++ b/skills/aien-repositories/SKILL.md
@@ -53,15 +53,17 @@ Names below are current catalog slugs under `https://github.com/aien-dev/`. Use
 
 ### Core foundations
 
+Ownership rule for the Omega/GPU/compatibility trio (Drake's forwarded omega-bridge assessment, 2026-10-27; [ADR 0042](https://github.com/aien-dev/aien-architecture-mv/blob/main/docs/adr/0042-omega-cudapp-bridge-ownership.md), Accepted by Drake 2026-10-30, merged as [aien-architecture-mv#342](https://github.com/aien-dev/aien-architecture-mv/pull/342) `6b924d4f8e`): **Omega owns computation. CUDApp owns GPU execution. Omega Bridge owns compatibility.** Route new work by that rule, not by where a copy happens to live today. Known copies outside their owner, each with its owner's issue (all open at 2026-10-31): GPU C in omega-mv `src/` ([CUDApp#106](https://github.com/aien-dev/CUDApp/issues/106)), driver client in physics-mv ([CUDApp#107](https://github.com/aien-dev/CUDApp/issues/107)), a second cubin writer ([CUDApp#108](https://github.com/aien-dev/CUDApp/issues/108)), the disassembler in omega-mv ([CUDApp#10](https://github.com/aien-dev/CUDApp/issues/10)), omega-bridge's own seed bootstrap ([omega-mv#870](https://github.com/aien-dev/omega-mv/issues/870)) and front end ([omega-mv#871](https://github.com/aien-dev/omega-mv/issues/871)). Omega main (`91c83438da`) has no `cudapp.lock` yet.
+
 | Task | Start here | Boundary |
 | --- | --- | --- |
 | Whole-system entrypoint, component set or pin changes | [aienix](https://github.com/aien-dev/aienix) | **AienOS**, the whole system. Currently a pinned submodule front door, not an imported monorepo. Component fixes belong in their own repos. |
 | Architecture, accepted boundaries, sequence, milestone interpretation | [aien-architecture-mv](https://github.com/aien-dev/aien-architecture-mv) | Doctrine and checking tools, not the product runtime. |
 | Boot, kernel scheduling, IPC, isolation, capabilities, recovery/storage | [aienux](https://github.com/aien-dev/aienux) | **Aienux**, the kernel, not the whole AienOS system. Read its local roadmap and security invariants. |
-| Language, seed/compiler, semantics, reaction composition, native GPU engine | [omega-mv](https://github.com/aien-dev/omega-mv) | Separate seeded `.om`, legacy C, host references and chip-qualified work. |
-| Machine realization, FORGE providers, native GB10 submission and historical boot artifacts | [physics-mv](https://github.com/aien-dev/physics-mv) | Current subsystem name is FORGE; old `PHYSICS_*` identifiers and receipts stay unchanged. |
+| Language, seed/compiler and the compiler pin, semantics, IR, reaction composition, the declared contract of what a kernel computes | [omega-mv](https://github.com/aien-dev/omega-mv) | Owns computation. Separate seeded `.om`, legacy C, host references and chip-qualified work. The GPU C under `src/omega_blackwell_*`/`src/omega_gpu_*` is a copy of CUDApp's responsibility (CUDApp#106); change it in coordination with that issue. |
+| Machine realization policy, FORGE providers and historical boot artifacts | [physics-mv](https://github.com/aien-dev/physics-mv) | Current subsystem name is FORGE; old `PHYSICS_*` identifiers and receipts stay unchanged. Its `nvrm/`/`m16/` driver client (what omega-mv builds via `physics.lock`) is a copy of CUDApp's responsibility (CUDApp#107). |
 | Small boot root | [atlas](https://github.com/aien-dev/atlas) | Read its actual default branch (`master` in this snapshot); QEMU qualification is not native hardware qualification. |
-| GPU machine-code toolchain/runtime/driver-client work | [CUDApp](https://github.com/aien-dev/CUDApp) | Check target support and remaining driver/OS dependencies; do not imply a complete driver replacement. Only the GB10 (sm_121) is a supported GPU; every other GPU (other NVIDIA generations, AMD, Intel, Apple, mobile) is a PLANNED target, hardware NOT_RUN. Multi-target work (target table, code-object loader, SPIR-V on CPU drivers, HSACO checks) merged in CUDApp#138 (`0c782c44af`); host CPU runs never make a vendor "supported". CUDApp is still mostly C. [#143](https://github.com/aien-dev/CUDApp/pull/143) (merged `2fab72fde0`) runs the sm_121 encoder and cubin writer as `.om` units through an omega-bridge binding in the default hosted build; freestanding builds keep C. Do not call CUDApp "written in Omega". |
+| GPU execution: encoders and ISA tables, GPU code generation, cubin writer and exporter, artifact admission, disassembler, driver client, submission, GPU runtime | [CUDApp](https://github.com/aien-dev/CUDApp) | Owns GPU execution ([ADR 0042](https://github.com/aien-dev/aien-architecture-mv/blob/main/docs/adr/0042-omega-cudapp-bridge-ownership.md), Accepted by Drake 2026-10-30, merged as aien-architecture-mv#342 `6b924d4f8e`; [CUDApp docs/ARCHITECTURE.md](https://github.com/aien-dev/CUDApp/blob/main/docs/ARCHITECTURE.md)). The decision routes new work; the cut-over is not done: the encoder/codegen/runtime still exist as diverged copies in omega-mv and CUDApp ([CUDApp#106](https://github.com/aien-dev/CUDApp/issues/106), open), omega-mv builds physics-mv's driver client ([CUDApp#107](https://github.com/aien-dev/CUDApp/issues/107), open), and omega-mv does not consume CUDApp at a pin (no `cudapp.lock` at omega-mv main `91c83438da`). The resident 35B is served by the C stack. Check target support and remaining driver/OS dependencies; do not imply a complete driver replacement (NVIDIA kernel modules and GSP firmware stay required). Only the GB10 (sm_121) is a supported GPU; every other GPU (other NVIDIA generations, AMD, Intel, Apple, mobile) is a PLANNED target, hardware NOT_RUN. Multi-target work (target table, code-object loader, SPIR-V on CPU drivers, HSACO checks) merged in CUDApp#138 (`0c782c44af`); host CPU runs never make a vendor "supported". CUDApp is still mostly C. [#143](https://github.com/aien-dev/CUDApp/pull/143) (merged `2fab72fde0`) runs the sm_121 encoder and cubin writer as `.om` units through an omega-bridge binding in the default hosted build; freestanding builds keep C. Do not call CUDApp "written in Omega". |
 | Deep-learning primitives (norms, activations, RoPE, MatMul, attention, conv, pooling) written in seeded `.om` | [omega-dnn](https://github.com/aien-dev/omega-dnn) | The `.om` ops are host code (AArch64, through the omega-bridge ABI), not GPU kernels. omega-dnn#1 (merged `ff030473f6`) ships `tests/`, `docs/TOLERANCE.md` and a GB10 tier: CUDApp's native kernels for RMSNorm, RoPE (split), SwiGLU, SiLU, Softmax (c <= 64), GQA decode, causal prefill and paged-KV attention and f32 MatMul, gated against the `.om` host result (EXERCISED on the chip, not QUALIFIED: one seed, 32 cases per op; receipts `evidence/GPU-9841bb3a`, `evidence/GPU-b28372d1`, the MatMul one on unmerged CUDApp#139). Quote GPU coverage only from those receipts and the README "Not on the GPU" list (LayerNorm, GELU, ReLU, conv, pooling and others are NOT_RUN). There is no oneDNN speed comparison (NOT_RUN). |
 
 ### Runtime and learning
@@ -79,7 +81,7 @@ For memory, do not route to an archived repo just because its name sounds right.
 
 - [aien-protocols-mv](https://github.com/aien-dev/aien-protocols-mv): canonical wire/state specifications and schemas. Change the contract here rather than silently forking it in a consumer.
 - [interplane-mv](https://github.com/aien-dev/interplane-mv): model/runtime interoperability and conformance. Its [instructions](https://github.com/aien-dev/interplane-mv/blob/main/AGENTS.md) make the model untrusted: parsing never executes, transport never grants, a valid envelope is not authorization, and a signature proves origin, not authority. Runtime policy decides; requests cannot upgrade its decision. `STATUS.md` owns implementation/qualification claims.
-- [omega-bridge](https://github.com/aien-dev/omega-bridge): checked Omega-subset conversion, native bindings and opt-in GPU artifact boundary. [Current instructions](https://github.com/aien-dev/omega-bridge/blob/main/AGENTS.md) explicitly refuse universal conversion: Python/C input conversion is not implemented. Adapter admission is not proof of device execution.
+- [omega-bridge](https://github.com/aien-dev/omega-bridge): owns compatibility, not computation or GPU execution. Checked Omega-subset conversion to C/Python (`src/toc.om`), native bindings so foreign callers call compiled Omega (`src/native.om`), framework attachments (PyTorch, llama.cpp/GGML, MAX) and the opt-in GPU artifact boundary (`src/gpu_adapter.om`, which runs no kernel; device runs go through CUDApp). It is an adoption mechanism that makes existing ecosystems optional and must not constrain Omega to them. [Current instructions](https://github.com/aien-dev/omega-bridge/blob/main/AGENTS.md) explicitly refuse universal conversion: Python/C input conversion is not implemented. Adapter admission is not proof of device execution. Do not take a compiler from it; pin omega-mv's (omega-mv#870, open).
 - [omega-mcp](https://github.com/aien-dev/omega-mcp) (created 2026-10-27): an MCP stdio server written in `.om` that lets an agent `compile` and `run` Omega with the pinned seeded omc (omega-mv `e5b32567`, omc sha256 `2c824805…`) in a per-call bwrap+prlimit sandbox, and answers `explain_error` and `lookup` from data checked against that pin. At main `6eba894d87b3486957d03bc62e630723545ac6eb` its smoke session, reference oracle and trust gate (a `~/.local/state` read, a fork bomb, an infinite loop and a 10 GiB write, each with a no-isolation negative control) PASS on the Spark host only: no CI yet, and bwrap and prlimit are recorded host dependencies awaiting Omega namespace and rlimit words. It is agent tooling, not a conversion route: conversion stays with omega-bridge.
 - [babel](https://github.com/aien-dev/babel) (created 2026-10-26): the code-translation CLI that goes through Omega. `babel <dir> --to rust|c|python|cpp|zig|go` writes `<dir>.babel/` (input copy, Omega units, target project, differential vectors, REPORT.md/report.json). The driver is `.om`; the translation adapters stay in omega-mv (#624 lanes), so change adapters there, not in babel. Only profile S1 (C17 pure `uint64_t` functions, adapters pinned at `universal/624-g1-integration` `2d4c6407`) is implemented. Everything else is refused or MISSING_IMPLEMENTATION per item. TRANSLATED requires the original C, the Omega unit and the target output to agree byte for byte on every vector. Its README matrix and `tests/run.sh` (with a mutated-oracle negative control) own the status; host CI is not hardware qualification.
 - [omnet](https://github.com/aien-dev/omnet): Omega security-critical networking, initially server-side Tailnet Lock. It is not part of the alpha bundle. Its [README](https://github.com/aien-dev/omnet/blob/main/README.md) Status section (main `83f605b`, 2026-10-26) records the Omega daemon with all eight TKA RPCs and isolated end-to-end verification of the Headscale adapter and stock-client control-plane lifecycle, and says this is not deployed tailnet protection, data-plane qualification or a production security audit. Live deployment needs its own evidence.
@@ -127,6 +129,7 @@ Observed contradictions to keep visible, not silently reconcile:
 - The AienOS README describes an older universal Spark-before-merge process. Its [newer repository instructions](https://github.com/aien-dev/aienix/blob/main/AGENTS.md) warn that historical README prose is not current merge policy.
 - Omega README's opening sentence used to say the seeded compiler was only on candidate branches while line 27 said it landed from PR #696. omega-mv #801 corrected the opening at main `19f014f21`. Source and current instructions still decide availability.
 - Architecture README acknowledges roadmap R15/R16 wording lagging candidate results. The execution plan contains dated corrections to older baselines. Read exact candidate receipts and exceptions before raising status.
+- CUDApp's README, `AGENTS.md`, `docs/NAMING.md` and Makefile said Omega builds CUDApp from `cudapp.lock`; omega-mv main (`e5b32567`, 2026-10-26, and still at `91c83438da`) has no such file and builds its own diverged GPU copy with `nvrm` from physics-mv. Corrected in CUDApp#109 (merged `c1652b0d53`); the cut-over is CUDApp#106/#107. At CUDApp main `edb9a70361`, `AUDIT_SCOPE.md` line 141 and `docs/START_HERE.md` line 65 still describe the lock as existing.
 - [ADR 0038](https://github.com/aien-dev/aien-architecture-mv/blob/main/docs/adr/0038-names-aienux-kernel-aienos-system.md) establishes **AienOS system / Aienux kernel**, but its rename request is not proof both renames happened. Current system slug is **`aien-dev/aienix`**, kernel **`aien-dev/aienux`**. Do not rename `aienix` or reuse `aienos` as onboarding cleanup: redirects, signed repository identities, pins, judge consumers and receipt paths require a coordinated migration. Preserve historical evidence, cryptographic labels and identifiers exactly.
 
 ## Refresh before acting
diff --git a/skills/omega-harness/SKILL.md b/skills/omega-harness/SKILL.md
index 114a998..d2d1912 100644
--- a/skills/omega-harness/SKILL.md
+++ b/skills/omega-harness/SKILL.md
@@ -59,6 +59,8 @@ say so and stop rather than estimating.
   ```
 - Reuse the existing unit composition, error handling, buffer layouts and build patterns. Make bounds, types, ownership, effects and wire encodings explicit. Keep authorization and refusal paths working, not just the happy-path bytes.
 - Migrate the actual consumers before deleting a replaced implementation. Preserve history and immutable evidence. Matching a recorded hash does not prove parity with the current foreign reference; where the contract calls for it, run an independently built oracle.
+- Route by the ownership rule (Drake's forwarded omega-bridge assessment, 2026-10-27; ADR 0042, Accepted by Drake 2026-10-30, merged as [aien-architecture-mv#342](https://github.com/aien-dev/aien-architecture-mv/pull/342) `6b924d4f8e`): **Omega owns computation, CUDApp owns GPU execution, Omega Bridge owns compatibility.** Language, compiler, compiler pin, semantics and kernel contracts go to omega-mv. Encoders, GPU code generation, cubin writing, disassembly, the driver client, submission and the GPU runtime go to `aien-dev/CUDApp`, even where omega-mv still carries a copy (CUDApp#106, #107, #108, #10, all open). Conversion, bindings, framework attachments and GPU artifact negotiation go to omega-bridge, which never encodes, launches or ships a compiler. A new copy of another repository's owned code needs an ADR amendment first.
+- Existing code stays where it is (Drake, 2026-10-27: "keep the repos we've got, but then we make new repos that are connected to the bigger repos"). Do not move, split or rewrite code already in omega-mv, CUDApp, omega-bridge or aienos.com; the copies above stay until Drake decides otherwise. A new standalone server, kit, bench, library or app gets its own aien-dev repository (check `gh repo list aien-dev` for near-duplicates first) that pins its parent by tag or sha, names it in `.crumb`/`.goals.json` (`scaffold-project`, `crumb-protocol`), and is linked both ways (parent README "Connected repos" line). One tool, one job: stdin or files in, plain text or JSONL on stdout, diagnostics on stderr, meaningful exit codes. omega-mv takes only language, compiler and gate changes; aienos.com only the page that consumes a component.
 - Conversion between Omega and other languages is not this skill's job. Route it to `aien-dev/omega-bridge`, which implements checked conversion for a declared subset and refuses universal conversion. An MCP wrapper is optional tooling and does not widen what the bridge can convert. A native binding counts as working for a language only when its caller was built and executed by the bridge's native-call runner (section 3); a binding that was generated but never called is IMPLEMENTED, not EXERCISED.
   Bridge ABI2 rollup [PR #15](https://github.com/aien-dev/omega-bridge/pull/15) merged at
   `826cb8aee4a09b65cc1b2e295b1dc9e50e155253` (2026-10-28), preserving its later main