omega-harness
Agent skills for operating, encoding and communicating in Omega (.om) and the AIEN repositories
Brought by drakestapleton
GitHub aien-dev/omega-harness#108 (code only)
Fetch it
curl -fsSL https://interplane.io/drakestapleton/omega-harness/patches/b75cc262c679e6b4.bundle -o b75cc262c679e6b4.bundle git fetch b75cc262c679e6b4.bundle refs/pull/108/head
Provenance
github-import 1
aien-dev/omega-harness
108
5672a01fb1c4b4686b711f3192a0cb646bc53db8
{"kind":"github-import","owner":"aien-dev","repo":"omega-harness","number":108,"url":"https://github.com/aien-dev/omega-harness/pull/108","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:39:30Z","metadata":"unavailable","state_derived":true}
Changes
diff --git a/skills/omega-encoding/SKILL.md b/skills/omega-encoding/SKILL.md index 89a3538..eaeaed0 100644 --- a/skills/omega-encoding/SKILL.md +++ b/skills/omega-encoding/SKILL.md @@ -10,6 +10,9 @@ cannot express, and before encoding bytes, integers or host I/O in Omega. ## 0. Pin and how to re-check it +Pending, not merged or deployed: bounded connected-peer metadata, omega-mv draft +[#918](https://github.com/aien-dev/omega-mv/pull/918) (section "Pending peername candidate" below). + Merge status, 2026-10-29: compiler batch #904 merged at `e2662fffbce1c21ef09da71c0d8808133a6af8ab`; x86 integration #923 merged at `bf54b19fa590e8ae925c0e80815516dbf41e7326`. Earlier pending labels describe the recorded pre-merge tests. Native x86 @@ -37,6 +40,41 @@ only its unmasked store (negative control) changed the run exit to 44. The same prefixed with `target x86linux` compiled with exit 0 to an x86-64 static ELF that printed `0b e9 47 1a` with exit 0 under `qemu-x86_64` 8.2.2: EMULATED, not native x86. +### Pending peername candidate (checked 2026-10-30) + +| Item | Value | +|---|---| +| Repository | `github.com/aien-dev/omega-mv`, branch `fix/accepted-peer-metadata` (draft #918) | +| Source commit | `8f0c9c1da8869a7be0aa551d5399a3a44847c512`, main `6d482de0e7b83fe947a1597e0515f0ccf194e3a0` merged in | +| Compiler source `seed/omc/omc.om` | 15,643 lines, 512 functions, sha256 `6a2916cd329ddeb918e7e568ef6688abb77690aed341cf403d5f691800a2ae63` | +| Compiler `seed/out/omc` | sha256 `4ef67f1861f7dbae8863e001e60525b708770b5ad0b7e16e8b8e71b9bf4d7924` (size-history row `RM-peername`) | + +`peername fd A off n` is keyword 224, program mode only. Types are `int`, +writable `uchar[]`, `ulong`, `ulong`; result `long`. It queries Linux AArch64 +getpeername syscall 205 on the existing process descriptor; under +`target x86linux` it lowers to x86-64 getpeername 52. Its bounded slice +and private 32-bit socklen lowering are shared with `sockname`; no socket is +acquired or connected. Return full native sockaddr length on success, even if +greater than capacity; preserve raw negative errno. Zero capacity, including +at array end, returns full length without address writes. Invalid slices trap 3; +readonly buffers are compile error 20. Check success, length and family before +decoding; keep descriptor lifetime under caller control. + +Host observations at this candidate (AArch64 Linux): two complete seed rebuilds reached +the same compiler digest. `tests/gates/run.sh` steps `seed` (native host qualification +with the accepted-peer loopback fixture, 59 host negative controls, gate18 159 literal +packs, GATE5 177 cases), `om-units`, `language` (407/407) and `compiler` passed; +`seed/host/net-mutant.py` caught getpeername replaced with getsockname. The peername +fixture compiled with `target x86linux` passed under `qemu-x86_64` (EMULATED, not native +x86); args 1..3 exited 103, and a compiler with getpeername 52 replaced by 51 failed it. + +Guide examples at this compiler: `fnv1a32.om` compiled with exit 0 and empty stderr, +and `abc` gave `0b e9 47 1a`, exit 0 (also under `target x86linux` in `qemu-x86_64`); +`trap_narrow.om` compiled with exit 0 and ran with exit 105; deleting only its unmasked +store (negative control) changed the run exit to 44. +A transport peer is not an authenticated user or original client behind a +proxy. No forwarding header, shared secret or caller claim gains authority. + ### x86 integration as tested before merge (observed 2026-10-28) Then-draft [#923](https://github.com/aien-dev/omega-mv/pull/923), source diff --git a/skills/omega-harness/SKILL.md b/skills/omega-harness/SKILL.md index f32c4a4..f38fcb6 100644 --- a/skills/omega-harness/SKILL.md +++ b/skills/omega-harness/SKILL.md @@ -130,6 +130,16 @@ Current main source pin (checked 2026-10-29): omega-mv The earlier candidate pin `1fe5976d` (#911, compiler `d6290c76...6b84`) and older pins below remain dated history. +Pending peername candidate (checked 2026-10-30): omega-mv draft +[#918](https://github.com/aien-dev/omega-mv/pull/918), branch `fix/accepted-peer-metadata`, +head `8f0c9c1da8869a7be0aa551d5399a3a44847c512` (main `6d482de0` merged in). Not merged or +deployed. `seed/omc/omc.om`: 15,643 lines, sha256 +`6a2916cd329ddeb918e7e568ef6688abb77690aed341cf403d5f691800a2ae63`; `seed/out/omc`: sha256 +`4ef67f1861f7dbae8863e001e60525b708770b5ad0b7e16e8b8e71b9bf4d7924`. Use only the compiler +matching the chosen source: `peername` is not in the main pin above. The peername API, host +controls and example reruns are in `omega-encoding` section 0. Peer metadata does not +authenticate proxy headers or authorize gateway policy changes. + ```sh git clone https://github.com/aien-dev/omega-mv.git omega-src