omega-harness
Agent skills for operating, encoding and communicating in Omega (.om) and the AIEN repositories
Brought by drakestapleton
GitHub aien-dev/omega-harness#139 (code only)
Apply it
git checkout -b patch-0375525cd3335e1b 68eaa3c49b87f0137fb72ed2fd36f197a96d82c0 curl -fsSL https://interplane.io/drakestapleton/omega-harness/patches/0375525cd3335e1b.patch | git am
Provenance
github-import 1
aien-dev/omega-harness
139
66e1730844f86496e333281cc5e420750955f3e2
{"kind":"github-import","owner":"aien-dev","repo":"omega-harness","number":139,"url":"https://github.com/aien-dev/omega-harness/pull/139","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:39:35Z","metadata":"unavailable","state_derived":true}
Changes
diff --git a/skills/omega-encoding/SKILL.md b/skills/omega-encoding/SKILL.md index 89a3538..efc46d7 100644 --- a/skills/omega-encoding/SKILL.md +++ b/skills/omega-encoding/SKILL.md @@ -737,8 +737,23 @@ OM-2 units add or extend codes ([OMEGESE 9.13](https://github.com/aien-dev/omega [`spec/omegese-om2.md` section 8](https://github.com/aien-dev/omega-mv/blob/19f014f2178ca9cd3473728fe00a475a2398c409/spec/omegese-om2.md#L225)): 27 initialization (`fresh`), 28 constructor discipline (`seal`, `holds`), 29 external `layout`; 14 also covers expansion fuel (`obligation=growth`) and a 33rd `export`; 24 keeps its OM-1 meaning -(branch displacement). gate15 pins only codes 3..23 (roadmap RM8, #797). Merged contracts -(#807 through #768) add error **30**, diagnostic `obligation=contract` (section 11a). +(branch displacement). Merged contracts (#807 through #768) add error **30**, diagnostic +`obligation=contract` (section 11a). + +PENDING aien-dev/omega-mv#965 (draft, not merged; rechecked 2026-10-30 at head +`595050a01763c94622b2629dbc200fa92fc8fcf2`, committed omc sha256 +`6ad704d124bdc62657f3759c9c7f5197ccca157f57544dd5659a49deeac374f8`, self-rebuild byte-identical): one +registry `seed/omc/error-codes.reg` lists every omc code 1..30 plus irwasm exit codes 20..28 as a +separate namespace; gate15 covers 1..25 and 27..30 at exact lines, checked by `seed/omc/codereg.om`; +OMEGESE §9.14 is the table. Codes 24..30: 24 AArch64 branch displacement out of range; 25 unknown target +or AArch64-only path on another target; 26 unused; 27 fresh element read before written; 28 seal outside +its constructor or unsupported holds; 29 external layout out of bounds; 30 contract syntax misplaced, +including any `requires`/`ensures`/`invariant` clause line in IR mode (#791). Only the clause form is +error 30: `ensures = ulong 1` in IR still assigns a local named `ensures`. Observed with that omc: the +three IR clause lines (`requires lt x 10`, `ensures lt x 10`, `invariant lt x 10`) are each +`omc: line 3: error 30`, and `ensures = ulong 1` / `ret ensures` compiles (55 bytes of IR). Main's omc +`62775d2a…` compiles the `requires` and `ensures` lines as locals (exit 0) and gives error 13 for +`invariant` (a 9-byte IR name); the assignment form gives identical IR bytes under both compilers. Limits met while porting CUDApp's encoder and cubin writer (aien-dev/CUDApp#143, merged `2fab72fde0`), rechecked with omega-mv main `bf54b19f` (`seed/out/omc` sha256 `62775d2a...`):