omega-harness
Agent skills for operating, encoding and communicating in Omega (.om) and the AIEN repositories
Brought by drakestapleton
GitHub aien-dev/omega-harness#198 (code only)
Apply it
git checkout -b patch-e31804dcf0ebdd19 56f119235915d8477c3810847801810ffa8a7865 curl -fsSL https://interplane.io/drakestapleton/omega-harness/patches/e31804dcf0ebdd19.patch | git am
Provenance
github-import 1
aien-dev/omega-harness
198
adc0b6295a97c8ab0b3033f03b50ad8238ab2049
{"kind":"github-import","owner":"aien-dev","repo":"omega-harness","number":198,"url":"https://github.com/aien-dev/omega-harness/pull/198","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:39:41Z","metadata":"unavailable","state_derived":true}
Changes
diff --git a/skills/writing-omega/SKILL.md b/skills/writing-omega/SKILL.md index 2431e00..2882286 100644 --- a/skills/writing-omega/SKILL.md +++ b/skills/writing-omega/SKILL.md @@ -191,8 +191,10 @@ A trap ends the process with exit status 100 + N. Output already written stays w IR mode 1..1000000). Without `bound` the limit is 1000000. One more pass traps 4. Choose N from an argument you can write down in a `note`, for example "every pass consumes at least one byte of a 65536-byte input". -- `for i T K` runs i from 0 to K-1. `for i T K bound N` takes the same N as `while` and traps 4 - when K exceeds N (`for_bound.om`, `trap4_for_bound.om`). +- `for i T K` runs i from 0 to K-1. A number K is unguarded. Any other K (a name or value) with no + `bound` traps 4 (exit 104) after 1000000 passes, as a `while` with no bound. `for i T K bound N` + takes the same N as `while`, caps every count and traps 4 when K exceeds N (`for_bound.om`, + `trap4_for_bound.om`). The MCP pin (e5b32567) has no `for ... bound` (error 5). - `break` and `continue` work in both loops. There is no `else if`: nest an `if` inside `else`. - No loop runs forever and recursion is bounded by the stack.