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

closed derived f6ef325ae8d59fe5 #151

Imported from GitHub aien-dev/omega-harness#151 (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 7b4c553c8f31b61ab6dfe923bb71082a846deb6c · Head d4969cf399ad0555b68b868a3bfba9b2fd608147

Fetch it

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

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

Changes

diff --git a/skills/omega-encoding/SKILL.md b/skills/omega-encoding/SKILL.md
index 0811e4a..d071d19 100644
--- a/skills/omega-encoding/SKILL.md
+++ b/skills/omega-encoding/SKILL.md
@@ -1086,6 +1086,12 @@ Older compiler `befb8199` does not implement these contextual contract words.
   same syntax, scope, type and purity checks; `om2 diag debug` / `om2 diag release` add diagnostic
   records; `om2 fmt` keeps its canonical output and still checks contracts. No environment variable
   selects the policy. The words are contextual: OM-1 units and the keyword table are unchanged.
+  Warning: an OM-1 unit that contains a contract line still compiles, and the contract never runs.
+  `fn step x long to long` / `requires ge x 0` / `ret add x 1` called with -5 compiles with no
+  diagnostic and returns -4; adding `om2` as the first line makes the same call trap 9 (exit 109),
+  and with `om2` a call with 5 passes the contract and returns 6. Observed with omc 734f0a39,
+  2c824805, the guide pin 2aec185d (omega-mv `91c83438`) and omc e4d84bc3 (omega-mv main
+  `d39450a2`). Every unit that relies on a contract must start with `om2`.
 - **Where clauses go.** `requires BOOL` and `ensures BOOL` form a function's prefix, before its first
   executable statement (blank and `note` lines may separate them; at most 64). `invariant BOOL` forms
   the prefix of a `while` or `for` body (at most 64 per loop). Anywhere else is error 30.