Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-harness/patches/cd2d1eb1647096e2 # omega-harness Agent skills for operating, encoding and communicating in Omega (.om) and the AIEN repositories Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers ## GitHub aien-dev/omega-harness#109 (code only) closed derived `cd2d1eb1647096e2` #109 Imported from GitHub aien-dev/omega-harness#109 (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 `b1fe5d19cce9917bd992aa76991fe9444846d99e` ### Fetch it A git bundle of the pull request's head, 14378 bytes. ``` curl -fsSL https://interplane.io/drakestapleton/omega-harness/patches/cd2d1eb1647096e2.bundle -o cd2d1eb1647096e2.bundle git fetch cd2d1eb1647096e2.bundle refs/pull/109/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 109 b1fe5d19cce9917bd992aa76991fe9444846d99e ``` ``` {"kind":"github-import","owner":"aien-dev","repo":"omega-harness","number":109,"url":"https://github.com/aien-dev/omega-harness/pull/109","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 3e2951d..efc7c5d 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,15 @@ emitter, a PoCL CPU parity gate and a minimal OpenCL IL demo. `omega-harness` section 3 records the exact exercised source, toolchain, ABI, refusal boundary and evidence. CPU execution is not GPU or DPC++ qualification. +The Neuralese supplement ([#919](https://github.com/aien-dev/omega-mv/pull/919), merged by +train r1 #971 as `f56a372a`) keeps Omega's name and proposes model/decoder-bound +representations that decode into explicit Omega operations on the ordinary checked +path. `omega-harness` section 2 and `omega-communication` record its pin, native host +codebook evidence and trust boundary. The learned experiment is PROPOSED / NOT_RUN; the +bounded reference is MERGED and IMPLEMENTED / EXERCISED on the host, not hardware +QUALIFIED or deployed. + + ## Check the examples yourself The examples run on Linux AArch64 hosts only: diff --git a/skills/omega-communication/SKILL.md b/skills/omega-communication/SKILL.md index d1d05e0..884f28b 100644 --- a/skills/omega-communication/SKILL.md +++ b/skills/omega-communication/SKILL.md @@ -54,6 +54,76 @@ 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. +### Neuralese envelopes and decoded proposals + +Keep Omega's name. The Neuralese supplement from omega-mv #919 is on main: it was +merged by train r1 [#971](https://github.com/aien-dev/omega-mv/pull/971) as +`f56a372aec4909f0601bb4f74ce07b066dd54cf2` (head `9a173940` unchanged). +`neuralese/README.md` distinguishes the PROPOSED learned envelope/experiment +from the IMPLEMENTED / EXERCISED host-only fixed codebook. + +- Require immutable producer model/artifact and decoder identities, compatible + representation layer/version, dimension/shape, dtype, canonical byte encoding, + byte order, framing bound and checksum. A non-model fixture must identify + itself as non-model. Same shape does not make models or decoders interchangeable. +- A checksum authenticates nobody and conveys no execution authority. Keep task + context bindings where applicable; unknown identity pairs or malformed data + must be refused before any output is executed. +- Retain envelope bytes, the exact decoded explicit Omega artifact, compiler + identity and receiver policy/acceptance evidence. Decoded output re-enters the + ordinary checked path with normal contracts, effects and capabilities; it gets + no privileged execution. The current pure codebook is not a general native + capability sandbox or effectful executor. +- Report bounded validator/codebook results separately from learned-producer + results. No model was run for this supplement; learned reasoning, compression + benefits, model interoperability, GPU qualification and deployment are not + established by the host codebook's passing cases. + +For the canonical LTP0/NL4 lanes (all source dependencies merged), distinguish +the following explicitly: + +- LTP0 structural/template conformance, merged as + [protocols #71](https://github.com/aien-dev/aien-protocols-mv/pull/71) squash + `703eb1b2fdf72cc03ef9851957d70054957e01fe` (its `specs/latent-payload/validator.om` + is byte-identical to the reviewed source `6fb728a14781eb4e5262ffbdc9c2e6be64974f36`, + sha256 `e85d1748...b003`), is not a signed producer MJR1 output/consumer CONTENT + admission, atomic durable reservation or capability. Its SPEC status stays + PROPOSED for endpoint adoption and model communication. + Field101 is a producer-node effect class, never receiver authorization. +- NL4 source `09b1394fe68287eaa10b0d90cf07a9dd00e6cb60` (omega-mv #922, merged by + train #971 squash `f56a372aec4909f0601bb4f74ce07b066dd54cf2`) executes only closed + pure uint increment/double/identity after receiver-owned typed expectation. + The actual result is HOST_SYNTHETIC:63/63 native cases, including 24 positive + executions, 27 refusals, 9 killed mutants, two ordinary contract traps and one + independent sixteen-payload codec oracle. Inherited #919 cases separately 54/54. + Rerun 2026-10-31 at omega-mv main `91c83438daec0bdb88bf5c077cae10f3d15d365d` + with omc sha256 `2aec185d4ed6d7a6a5779ed656b4e56904742bde5551b02893fb5f73916ad8d5`: + `OM2GATE PASS cases=63 pass=63`; an appended byte in the `f32-double0` + expected fixture gives `OM2GATE FAIL cases=63 pass=62 fail=1` (exit 1). +- Preserve raw frame/context/request, exact source/compiler hashes, result channel + and exit. `NL4R1 decision op lhs rhs rank dim0 dim1 elements effects result` + has decision0 only for an executed success on stdout. A nonzero refusal is + stderr, stdout empty, every other numeric field zero. Do not count that as an + executed task success or an authorized production receipt. +- A local expected capability reference or SHA256 checksum grants nothing. + Actual native gateway/reservation bindings remain owner proposals AEGIS #79 + and protocols #70; production authority, durable replay, signed MJB/MJR relation + and effectful execution are NOT_RUN. +- The independent experiment preregistration is design freeze + `8ee0a494bf73230c9d37647eb3caea792298fa8d`, published by + [benchmarks #56](https://github.com/aien-dev/benchmarks-mv/pull/56), merged as + `b1cefe485099f8c7092055274b1844edcb02726f`. Public sixteen-case toy/ + deterministic codec controls are not the secret held-out campaign and are + not independent statistical trials. Preserve failures and refusal channels. + Use NL6's independent request/result replay; producer-reported scores are not + acceptance evidence. Never tune on a held-out result then call it preregistered. + At that merge, `native/neuralese/nl4-independent.json` records an independent + rebuild of NL4 source 09b1394 and actual success/refusal replay: exact raw + channels match, success exit 0 with result 3 recomputed by `score.om`, + foreign-tenant exit 20 with empty stdout and zero-residue refusal on stderr; + both checker exits 0. These are HOST_SYNTHETIC boundary checks, not a learned + campaign (NOT_RUN) or physical GB10 qualification (BLOCKED). + ### Native GPU realization records (2026-10-28) The canonical consumer integration is [CUDApp #169](https://github.com/aien-dev/CUDApp/pull/169), diff --git a/skills/omega-harness/SKILL.md b/skills/omega-harness/SKILL.md index 114a998..5b7df2e 100644 --- a/skills/omega-harness/SKILL.md +++ b/skills/omega-harness/SKILL.md @@ -115,6 +115,151 @@ say so and stop rather than estimating. Source merge status does not establish browser deployment. - No outside dependency is adopted silently (Drake, 2026-10-25). When the work needs one, code it in seeded Omega and route any conversion through `aien-dev/omega-bridge` — which, per `docs/CAPABILITIES.md` and `docs/NATIVE-ABI.md`, emits checked C and Python from a bounded `.om` subset and lets foreign callers call compiled Omega units. It does **not** import arbitrary C or Python (`Python/C input conversion is not implemented`), so an existing host implementation cannot be pulled in; a missing converter is a concrete extension proposal, not an assumption. A host binary, library or language runtime that remains in the build or production path gets its exact version, what it does for us, and the Omega replacement recorded next to the artifact. Verification oracles are exempt: the pinned compiler, QEMU/OVMF and read-only checkers (mtools, sgdisk, fsck.vfat, git, gh) stay in use. +### Neuralese supplement: merged reference, not a second execution language + +Keep **Omega**. Neuralese is a **PROPOSED** learned-representation supplement, +not a rename, new compiler mode or latent-reasoning claim. The bounded native +reference from omega-mv #919 is **MERGED** and **IMPLEMENTED / EXERCISED (host)**, +not QUALIFIED or DEPLOYED: train r1 [#971](https://github.com/aien-dev/omega-mv/pull/971) +merged it as `f56a372aec4909f0601bb4f74ce07b066dd54cf2` +([#919 close comment](https://github.com/aien-dev/omega-mv/pull/919#issuecomment-6529992046)). +Current pin: omega-mv main `91c83438daec0bdb88bf5c077cae10f3d15d365d`. The original +evidence pins were documentation `e79566c191ea8ef11888e69ce50d8fadf375d4fd` and clean +implementation `39e89fb1c2aaed99ddc05ec565274dd05792b70f` on main `6999fa9e6`. + +- Read `neuralese/README.md` at the current pin. Bind producer model/artifact and decoder + identities, dimension, dtype, canonical byte encoding and checksum explicitly. + Different models/layers/decoder revisions are not interchangeable. The current + producer is explicitly a hand-authored fixture, not a trained model. +- Treat every representation as untrusted data. Decode only into explicit Omega + operations; preserve the envelope and decoded artifact. Feed the output through + the ordinary compiler, kept runtime contracts and receiver's existing + effect/capability admission policy. No decoder-created authority or privileged + execution path is permitted. +- The reference codebook emits only pure scalar operations and uses `om2 debug`. + Native host words use ambient process permissions, not general capability + confinement. This patch is not a sandbox for arbitrary source. An effectful + proposal without a checked receiver executor must be refused. +- First-party implementation and the existing host conductor are `.om`. + `neuralese/decode.om` composes with `om/tls/sha2.om`; static independent byte + fixtures do not introduce a host decoder or runtime dependency. + +The original run used compiler `seed/out/omc` SHA-256 +`d6290c7663c2b4bafb59eb3fdf812476e977f4c144def71095c6248ef9b96b84` (receipt +`neuralese/host-results.287fdc263f7af93107c378ba63c92202a0e6c1479cb1ff6971706b423b0b15fb.json`, +kept unedited on main). The conductor refuses any compiler other than the pinned one, +so at main `91c83438` use the current omc SHA-256. From a fresh Linux AArch64 clone, +with the scratch directory absent: + +```sh +mkdir -p build +if seed/out/omc < seed/qualification/om2/gate.om > build/neuralese-gate; then + chmod +x build/neuralese-gate && + build/neuralese-gate seed/out/omc \ + 2aec185d4ed6d7a6a5779ed656b4e56904742bde5551b02893fb5f73916ad8d5 \ + neuralese/host.cases build/neuralese-host +else + exit 1 +fi +``` + +MEASURED 2026-10-31 at main `91c83438` (omc `2aec185d...d8d5`): +`OM2GATE PASS cases=54 pass=54 fail=0 invalid=0 not_run=0`, the same count as the +original `d6290c76` receipt. Negative control: one byte appended to +`neuralese/fixtures/positive-1-7.om` gives `decode-positive-1-7 FAIL ... stdout differs +at byte 128` and `OM2GATE FAIL cases=54 pass=53 fail=1`. Cases include exact +decoded-source and executed-result checks, seventeen guard-removal mutant kills, +a wrong-codebook control, type/purity refusals and runtime contracts. The learned-producer experiment remains +**PROPOSED / NOT_RUN**: same tasks and independent acceptance checks for source +text, structured operations and a pinned compatible learned producer/decoder. +No model, GPU, live service or compiler syntax change was used in this work. + +### NL3/NL4 canonical latent boundary (source lanes merged) + +The canonical LTP0 schema belongs to +[aien-protocols-mv #71](https://github.com/aien-dev/aien-protocols-mv/pull/71), +reviewed source `6fb728a14781eb4e5262ffbdc9c2e6be64974f36`, merged as squash +`703eb1b2fdf72cc03ef9851957d70054957e01fe`; not a second Omega wire format. +Its `specs/latent-payload/validator.om` SHA-256 is +`e85d174839f7d0c3406f783ec0fd69d52ce5576bdcca4892c16b21b09f14b003`. +Compose after `om2 debug`, with the pinned Omega `om/tls/sha2.om`. +The native API is +`lpvalid(frame view uchar *, context view uchar *, now ulong, lastseq ulong) -> int`; +the comma notation here describes the API, not Omega source syntax. +The receiver owns the exact1024-byte context. Status0 means structural and +template conformance only: rank/shape/contiguous strides, precision/quantization, +finite f32 payload, time, seq and receiver challenge, identity/context fields, +reserved bytes and SHA256 integrity. It does not authenticate a sender, allocate +a challenge, consume a durable attempt, verify consent against current authority, +or grant a capability. The source lane's recorded133-case host result belongs +to that exact source/evidence pair; it is not production qualification. + +LTP0 field101 is the producer-node effect class, not a receiver grant. +Fields192/224 are existing producer MJR1 DAG/input-binding fields. +Production relation is completed producer MJR1.output_digest == +SHA256(whole LTP0) == independently admitted consumer CONTENT.digest, with +generation and objective/tenant/subject agreement. The consumer's verifier and +capability admission are independent. Do not invent a self-hashing producer DAG, +an omitted-operand binding, parent/child authority, or producer-supplied trust +booleans. Signed MJB/MJR relation and atomic durable replay admission are NOT_RUN. + +[omega-mv #920](https://github.com/aien-dev/omega-mv/issues/920) consumes this +validator and NL1's fixed Hadamard unit, not another implementation: +train source `0e01c58a41f1a2fb976efa75c1cc554503aa2ee4`, +`native/neuralese/hadamard.om` SHA-256 +`da4a1b91fcd72b4f5fa3a70461932626acdbc62a9a8d0b9876433f4a44f6ed20`. +Retain its AGPL-3.0-only license in composed executables. The native NL4 +`nl4-dependencies.json` locks exact source versions, paths and licenses. +The numerical projection proposes explicit uint operands, output shape and +resource/effect bounds. Independent receiver expectation must match every typed +field before ordinary compiled `om2 debug` operations run. +Only closed pure host-synthetic operations are in scope; all nonzero effect +classes and native-model profiles refuse. No vector bytes become instructions. +`NL4R1` is a HOST_SYNTHETIC stream, not an authorized production receipt. +Never infer learned-channel quality from these deterministic fixed-codebook cases. + +The absent bindings are owner proposals, not decoder-created authority: +[AEGIS #79](https://github.com/aien-dev/aegis-runtime-mv/issues/79) binds the +existing gateway/capability admission, and +[protocols #70](https://github.com/aien-dev/aien-protocols-mv/issues/70) binds +the existing atomic durable microjob reservation after `lpvalid`. +Effects remain refused until those existing owner paths are actually exercised. +No new compiler, scheduler, Cortex writer, authority or protocol is needed here. + +Compiler hash resolution is source-backed: `d6290c76...` is the committed +`seed/out/omc` introduced by Omega +`1fe5976d398646b17acabbf6d9dfae96b017e439`, matching the full hash above. +Older `2c824805...` (82a399b9) and `49923639...` (ec07d25d) are distinct historical +binaries, not aliases. Do not compile this candidate with a stale mounted pin +and claim the result covers the candidate compiler. + +NL4 exercised implementation pin: +`09b1394fe68287eaa10b0d90cf07a9dd00e6cb60`, merged to omega-mv main by train +[#971](https://github.com/aien-dev/omega-mv/pull/971) squash +`f56a372aec4909f0601bb4f74ce07b066dd54cf2` (omega-mv #922). +Its native unchanged OM2GATE conductor observed +`OM2GATE PASS cases=63 pass=63 fail=0 invalid=0 not_run=0`; +the inherited #919 suite separately observed 54/54 PASS. +Rerun 2026-10-31 at omega-mv main `91c83438daec0bdb88bf5c077cae10f3d15d365d`, +omc sha256 `2aec185d4ed6d7a6a5779ed656b4e56904742bde5551b02893fb5f73916ad8d5`, +validator taken from protocols merge `703eb1b2` (byte-identical, same SHA-256): +`OM2GATE PASS cases=63 pass=63` (exit 0); one byte appended to the +`f32-double0` expected fixture gives `OM2GATE FAIL cases=63 pass=62 fail=1` (exit 1). +The content-addressed HOST_SYNTHETIC receipt is +`neuralese/nl4-host-results.03b624d6ad393604d958f554fc55844885712ca49f425f98459974846e9e5280.json`. +Read `neuralese/README.md` and `nl4-dependencies.json` at that exact source for +reproduction and source/license staging. Do not concatenate the consumer before +the Hadamard globals: compose entry + Hadamard unit + proposal + validator + SHA2. +No examples in this guide were changed; no compiler or language pin was changed. +The protocol source/evidence head was +`01b5dc3c9f127d988d7c4e5c9ab10ef8dd140d2e`; at merge `703eb1b2` its +`specs/latent-payload/evidence/host-final.log` still records +`OM2GATE PASS cases=133 pass=133`. That is host structural conformance, not +MJB/MJR authority or production qualification. The independent NL6 replay is +[benchmarks #56](https://github.com/aien-dev/benchmarks-mv/pull/56), merged as +`b1cefe485099f8c7092055274b1844edcb02726f`. + + ## 3. Compile, execute, challenge Use the target repository's documented commands. A host-only seed workflow on AArch64 Linux, in a disposable clone pinned to an exact revision, looks like this: ```