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#107 (code only)

closed derived 7d98cfecc0241762 #107

Imported from GitHub aien-dev/omega-harness#107 (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 7a1f9762cd2c7edceaf32c8e8854be13eddbfaa1 · Head 909592268f9b68571a8c048980b628eed72e683e

Fetch it

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

curl -fsSL https://interplane.io/drakestapleton/omega-harness/patches/7d98cfecc0241762.bundle -o 7d98cfecc0241762.bundle
git fetch 7d98cfecc0241762.bundle refs/pull/107/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
107
909592268f9b68571a8c048980b628eed72e683e
{"kind":"github-import","owner":"aien-dev","repo":"omega-harness","number":107,"url":"https://github.com/aien-dev/omega-harness/pull/107","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:39:30Z","metadata":"unavailable","state_derived":true}

Changes

diff --git a/README.md b/README.md
index be3e380..36a0756 100644
--- a/README.md
+++ b/README.md
@@ -95,4 +95,6 @@ The `omega-encoding` skill (section 13) records the full set of observed results
 
 Each skill names the omega-mv commit it was checked against and lists known disagreements. Historical sections retain their dated pins. `omega-encoding` section 0 adds scoped pins for the IR/wasm backend, the merged Omega 1.0 roadmap, and main `91b3c932` (compiler `189ada82…3b54`): executable contracts, expanded capacity and the f32 return fix. The batch has host evidence, not GPU qualification. When the compiler changes, recheck cited lines, rerun examples, then update pins. Do not edit old evidence. Contributions follow the [shared AIEN agent rules](https://www.aienos.com/agents/RULES.md).
 
+The [native GPU realization guidance](skills/omega-communication/SKILL.md#native-gpu-realization-records-2026-10-28) distinguishes quantization indexes, canonical artifact identity, session residency and independent qualification. It tracks the CUDApp #26 work without treating host fixtures or unmerged components as production admission.
+
 Written by Drake Stapleton with AIEN agents. Apache License 2.0.
diff --git a/skills/omega-communication/SKILL.md b/skills/omega-communication/SKILL.md
index 46a5bfd..d1d05e0 100644
--- a/skills/omega-communication/SKILL.md
+++ b/skills/omega-communication/SKILL.md
@@ -54,6 +54,181 @@ When designing state communication, follow the canonical contract in `spec/seman
 
 Every serialized format needs field order, width, signedness, endianness, ranges, versioning, canonicalization and rejection behavior. Test boundaries and malformed or truncated input.
 
+### Native GPU realization records (2026-10-28)
+
+The canonical consumer integration is [CUDApp #169](https://github.com/aien-dev/CUDApp/pull/169),
+merged as `c6977b4906229fe83f41103b7eff65b64a0986d6` from reviewed
+`7a354dbda9eddd405610fdcabf4fc4e24c1a0f47`. Its
+[host acceptance receipt](https://github.com/aien-dev/CUDApp/pull/169#issuecomment-6476381404)
+records 52 host targets, 23 runtime controls, byte-identical regeneration of 37
+production roots and the zero-CUDA gate. This is source integration and host evidence,
+not GPU execution, independently accepted candidate qualification or full-model evidence.
+Production native resolution remains `NULL` with record count zero.
+Its records have different roles:
+
+- **Quant semantic declaration vs physical preparation request:** [QSCHEMA-1 source
+  `fe25929ce71b11703eafa72395df2dd495aa61f2`](https://github.com/aien-dev/CUDApp/blob/fe25929ce71b11703eafa72395df2dd495aa61f2/docs/models/QUANT.md)
+  separates these identities. Successful parsing does not establish executable repack
+  capability. The FNV values are lookup indexes, not content digests or authentication;
+  compare canonical bytes and bind actual weight/scale content independently.
+- **Realization identity vs qualification:** [component source
+  `8bfc7083cb2a90506816f92f6854c829e5bf20ac`](https://github.com/aien-dev/CUDApp/blob/8bfc7083cb2a90506816f92f6854c829e5bf20ac/om/components/README.md)
+  binds semantic, compiler, encoder, instruction-specification, code, launch and lineage
+  identities. Compatibility matching is not qualification inheritance. Launch digests
+  must bind the actual admitted parameter ABI, constant-bank and address-free QMD
+  templates, not an independently valid but unrelated manifest.
+- **Portable artifact vs resident object:** [cache production source
+  `693464cfcff678a9278fe4586f8a24b07ce45fb2`](https://github.com/aien-dev/CUDApp/tree/693464cfcff678a9278fe4586f8a24b07ce45fb2/om/cache)
+  separates content identity from session generation, residency and live references.
+  A device address is not a portable cache key. A timeout is not evidence that a
+  recorded or in-flight reference can be freed.
+- **Kernel vs complete operation:** [selector #57](https://github.com/aien-dev/CUDApp/issues/57)
+  and [indexed MoE #159](https://github.com/aien-dev/CUDApp/issues/159) require the
+  complete workload and routing contract. Matching two kernel hashes does not bind
+  router, gather/scatter, shared-expert or reduction-order semantics. An opaque digest
+  is useful only when its canonical preimage and validator are specified.
+
+An ordinary record containing `qualified=true`, a descriptive qualification string,
+or nonzero digest fields is not an independently accepted receipt. Keep synthetic host
+fixtures out of production admission. Record implementation, host execution, consumer
+binding, chip qualification and complete-model qualification separately; production
+selection stays refused or on the qualified incumbent when any required proof is absent.
+The individual source pins above identify their measured contract revisions; their
+pending wording must not override the merged integration status of #169. Conversely,
+merged source must not promote synthetic host evidence into hardware qualification.
+The [capacity repair #173](https://github.com/aien-dev/CUDApp/pull/173) and
+[command-lifetime repair #174](https://github.com/aien-dev/CUDApp/pull/174) landed on
+CUDApp main as separate commits rather than through their own PRs (both closed
+2026-10-29): `8717565d5936b1631a07b6a89d480577edc9b4a3` (command-list lifetime race
+and host-acceptance repair, [#179](https://github.com/aien-dev/CUDApp/pull/179)) and
+its child `a25fb9f1129bf2d49baba19fa71646a784569d5d` (capacity defects and
+clean-output build). Checked 2026-10-30 with `git diff`: across the 14 files #173
+changed from `c6977b49`, `a25fb9f1` matches #173's final head
+`ca441c5a92f5a951a67de00aeddae0e077f10216` except
+`tests/test_omega_gpu_session_platform.c`, whose only difference is #179's change;
+`a25fb9f1` adds further capacity and clean-output fixes. #173's host contract stands:
+instruction-slot exhaustion must refuse with result 2 instead of reaching a
+branch-patch or tail-store bounds trap (103); actual `nv_staged` recomposition
+must refuse without changing caller code. Reset the generated adapter's failure
+sentinel before every invocation, including repeated calls and recovery: a prior
+success must not mask a later omitted status write. Missing-status call-one,
+call-two and recovery mutants each fail with status 1. Landing on main is source
+integration with host evidence, not device or full-model qualification.
+The independent [consumer recovery #924](https://github.com/aien-dev/omega-mv/pull/924)
+preserves the original staged source/index and remains a draft. Its host acceptance
+at `cafb7be0` retains canonical weak-identity archive members in Visor machine tests
+and stages before tensor mutation runners. Numeric CPU/GB10-host models, program
+FP32/realization/identity, tensor/store/ASan/mutants and Visor host controls pass
+against the reviewed #169 source `7a354dbda9eddd405610fdcabf4fc4e24c1a0f47`.
+Manifest provenance/refusal mutants also pass on the synthetic chip-run seam.
+This is exercised old-pin consumer compatibility, not acceptance of the main
+`a25fb9f1` consumer or a physical inference run.
+
+The existing 35B Core consumer follow-through is tracked in
+[Core MV #797](https://github.com/aien-dev/aien-sovereign-core-mv/issues/797).
+Its canonical GPU identity must describe `libcudapp.a` and the authenticated
+CUDApp source; `libomega_gpu.a` is a separately authenticated Omega CPU/evidence
+companion with ABI status `none`, never a fabricated GPU ABI pass. Require
+independent source/target/compiler digest records for both link inputs, the
+canonical archive alone to satisfy GPU layout/symbol checks, and refusal of
+GPU API symbols supplied by the companion.
+
+Authenticate the source checker's commit, root tree, tools tree and blob before
+executing a private copy. A checker that only validates itself after execution
+does not authenticate its bootstrap. Corrupt-object controls must refuse before
+the poisoned checker writes its marker. Rehash private link snapshots against
+the admitted independent digests; regenerated stage checksum files alone must
+not bless a substituted archive.
+
+Optional FP8/MoE/prefill callers
+must derive availability from the admitted canonical archive, not retired
+Omega-local header presence or a prebuilt override. Persistent KV namespaces
+must bind both actual archives, both sources, both targets and the clean engine
+commit using length-framed, domain-separated hashing. Keep the existing bounded
+KV format: the explicit `v2:` identity must reject old single-archive namespaces,
+not extend the field limit to fit concatenated hashes. Host ABI/refusal, tiny
+host-engine HTTP, and persistence controls remain host evidence, not a physical
+35B candidate qualification.
+The engine build stamp must invalidate on tracked source and outside-crate changes,
+not only HEAD/index changes. Use read-only Git status, require an actually Fresh
+no-op Cargo build, and make a watcher-removed private mutant reproduce stale-clean
+metadata. Accidental always-rerunning build scripts do not prove source tracking.
+
+The canonical archive must be compiled from the authenticated CUDApp tree only.
+A parent `make PHYSICS_DIR=<physics>` reaches a nested CUDApp make through
+`MAKEFLAGS` and overrides `PHYSICS_DIR ?= .`, silently compiling physics'
+`nvrm.c`, `nvrm.h` and `m16_native.c` into an archive attributed to the CUDApp
+revision. At CUDApp `7a354dbd` the clean stage is `353b1131…`; the inherited
+variant is `cf95a6a7…`, the digest first recorded for #924/#798, which is
+therefore not CUDApp's archive. Build the stage under a cleared environment with
+`PHYSICS_DIR=.`, and keep a control that stages under a hostile inherited
+`PHYSICS_DIR`, `CFLAGS` and `CUDAPP_ENCODER` and requires identical bytes.
+Compare a consumer-built archive against an independent restage before
+recording any lock line.
+
+Status vocabulary for the 35B consumer chain: capacity
+[#173](https://github.com/aien-dev/CUDApp/pull/173), command-lifetime
+[#174](https://github.com/aien-dev/CUDApp/pull/174) and shape/MoE runner
+[#175](https://github.com/aien-dev/CUDApp/pull/175) are on CUDApp main
+(`8717565d` via #179, then `a25fb9f1`): merged source with host evidence, not
+device-qualified. Historical: before 2026-10-29 they were `EXERCISED_HOST_UNMERGED`
+and a local merge of their heads was recorded as a separate combined host candidate;
+cite main commits now, not that candidate. The x86 dependency has landed (below);
+[#924](https://github.com/aien-dev/omega-mv/pull/924),
+[CUDApp #97](https://github.com/aien-dev/CUDApp/pull/97) and
+[Core MV #797](https://github.com/aien-dev/aien-sovereign-core-mv/issues/797) remain pending.
+
+Shape-aware selection and grouped MoE acceptance must cover the actual recorded owner,
+not just a selector fixture. The complete ordered operation binds every relevant
+router, gather, expert, shared-expert, activation and combine occurrence, including
+all chunks before any queue commit. Version2 nested code/launch series belong to the
+single existing [MoE closure owner at `4aef070`](https://github.com/aien-dev/CUDApp/blob/4aef070f207f849e1672103e9edd0be21600e1a3/native/learn53/moe-closure.om),
+not a second qualification registry. Observe the mode-final emitted QMD, active
+argument/driver-bank bytes and resolved options consumed unchanged by submission;
+raw retained QMD storage before mode preparation is insufficient. Refusal resets
+the unsubmitted list without fallback. The approved joint qualification subject
+is distinct from the live operation-instance digest. Actual-owner host controls,
+protected evaluator execution, independent numerical/model-quality/full-cost results,
+physical paired large-M/grouped runs and full-model qualification are separate claims.
+Absent physical evidence remains NOT_RUN.
+The standalone grouped host runner compatibility repair was
+[draft #175 at `491da3c`](https://github.com/aien-dev/CUDApp/pull/175); #175 was closed
+because the runner repair is on main in #179 (`8717565d`).
+It compiles the included incumbent graph with the production GNU11 dialect while
+retaining strict C11 for the generated native caller. Its reproduced strict-C11
+`strnlen` build failure and repaired index/admission/refusal/mutant PASS are host
+runner evidence only, not a new runtime implementation or device result.
+
+For the existing Q36 35B candidate, freeze Core/Omega/CUDApp source and executable
+identities, generated-unit/archive hashes, model/config/tokenizer/weight/scale
+content identities, workload and exact command/environment. Reliability repairs
+#173 and #174 (now on main, above) precede candidate qualification. Require correctness, memory, speed,
+reliability, recovery and neighboring-process evidence against that same manifest.
+NVIDIA kernel-driver replacement is a separate active objective: the current path
+still uses Linux RM/UVM device nodes, ioctls and mappings through the versioned
+580.173.02 interface headers. Record actual kernel-driver and firmware dependencies
+separately. No userspace zero-CUDA result proves kernel-driver independence or
+drop-in compatibility, and a replacement must be qualified before any cutover.
+Do not infer that the canonical #169 archive includes an independent-driver
+adapter: it does not. The separate Compute ABI 1 adapter is
+[CUDApp draft #97](https://github.com/aien-dev/CUDApp/pull/97), whose observed
+remote head is `7036170b`; local discovery snapshot `03eb155d` is not that head.
+Its tracked UAPI header is `third_party/aien-gpu-abi1/aien_gpu_uapi.h`, with
+`src/omega_gpu_platform_aien.c`. Its `/dev/aien-gpu` selection and simulated
+host controls are not hardware qualification or production activation. Keep
+the standalone private driver, this adapter branch, and the separate public
+Omega driver bootstrap experiments as distinct source/evidence subjects.
+
+The x86 compiler [omega-mv #923](https://github.com/aien-dev/omega-mv/pull/923) merged at
+`bf54b19fa590e8ae925c0e80815516dbf41e7326`; the x86 binding landed as
+[omega-bridge #40](https://github.com/aien-dev/omega-bridge/pull/40) (`ed420fcb`, superseding
+closed #37), and [guide #116](https://github.com/aien-dev/omega-harness/pull/116) merged at
+`515f15b1`. omega-mv `docs/X86-LINUX.md` is still DRAFT with native x86 NOT_RUN;
+emulated boundary checks are not native x86 execution. None of these changes the
+production resolver defaults or authorizes GPU execution or production activation.
+Device and full-model execution for this chain remain NOT_RUN.
+
+
 ## Corrections
 
 When a statement is wrong, name the false claim, replacement evidence and affected decisions. Preserve historical receipts and old failures; add a correction rather than silently rewriting the record. If a broadly used instruction was stale, update it with source revision and invalidation condition.
diff --git a/skills/omega-harness/SKILL.md b/skills/omega-harness/SKILL.md
index 54bed01..f32c4a4 100644
--- a/skills/omega-harness/SKILL.md
+++ b/skills/omega-harness/SKILL.md
@@ -276,6 +276,7 @@ Paths below are on CUDApp main (present at `cc0908bdc0`).
 - Keep private machine targets, addresses, usernames and home paths in ignored local configuration. Keep intentional public attribution intact.
 - Hardware and live services need the operator's current authorization procedure. Host and emulator checks never qualify hardware. Machine-specific operator rules belong in that machine's local instructions, not in public guidance.
 - Escalate to an independent reviewer for hard-to-reverse changes to authority, protocols or gates, for contradictory evidence, or when two distinct fixes have failed. A model review is not an execution receipt.
+- For the native GPU swarm, follow the [realization-record evidence boundary](../omega-communication/SKILL.md#native-gpu-realization-records-2026-10-28). A unit test calling an isolated cache or selector is not proof that the existing runtime records the selected code. Exercise the actual generated binding and consuming cache/command-list path, with stale-generation, wrong-artifact and missing-qualification controls. Keep device and whole-model tests NOT_RUN until their authorized execution; never populate production candidates from synthetic host records.
 - **Fix it, don't file it** (Drake, 2026-10-25). A defect you can reproduce is a defect you chase in the same piece of work, including one you found while reviewing someone else's lane: read the code, build the smallest reproduction, change it, prove it, ship it. Reporting a blocker you have not tried to fix, or handing a reproduced bug to an "owner", is unfinished work. Stop only for a real external gate (authorization, a user decision, an exhausted check) and name it after the attempt.
 
 ## 5. Communicate and learn