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

Comparing 5eb9dc53978eecb222b7b0e4d05aaec4043e2556 ... 673b68fbe4988f28891fe3db433a11bc1e91c21f

85 files changed, +3460 -943

AGENTS.md+16-12
AUDIT_SCOPE.md+2-2
PIN+2-2
README.md+16-15
REPIN+1-1
SECURITY.md+1-1
coder/README.md+93-13
coder/build-context.sh+42-7
coder/eval/case.sh+38-0
coder/eval/cat.om+23-0
coder/eval/compare.sh+80-0
coder/eval/refcheck.sh+58-0
coder/eval/run.sh+114-18
coder/eval/score.sh+112-0
coder/eval/selftest.sh+438-0
coder/eval/selftest/aien+53-0
coder/eval/selftest/expect-raw.tsv+15-0
coder/eval/selftest/expect.tsv+7-0
coder/eval/selftest/src-control/st1-pass.om+6-0
coder/eval/selftest/src/sc-big.om+8-0
coder/eval/selftest/src/sc-e127.om+4-0
coder/eval/selftest/src/sc-rightout.om+6-0
coder/eval/selftest/src/st1-pass.om+6-0
coder/eval/selftest/src/st2-wrong.om+6-0
coder/eval/selftest/src/st3-exit.om+6-0
coder/eval/selftest/src/st4-badcompile.om+3-0
coder/eval/selftest/src/st6-stdin.om+32-0
coder/eval/selftest/src/st7-cheat.om+17-0
coder/eval/selftest/tasks/st1-pass/expected.exit+1-0
coder/eval/selftest/tasks/st1-pass/expected.out+1-0
coder/eval/selftest/tasks/st1-pass/spec.md+1-0
coder/eval/selftest/tasks/st1-pass/stdin+0-0
coder/eval/selftest/tasks/st2-wrong/expected.exit+1-0
coder/eval/selftest/tasks/st2-wrong/expected.out+1-0
coder/eval/selftest/tasks/st2-wrong/spec.md+1-0
coder/eval/selftest/tasks/st2-wrong/stdin+0-0
coder/eval/selftest/tasks/st3-exit/expected.exit+1-0
coder/eval/selftest/tasks/st3-exit/expected.out+1-0
coder/eval/selftest/tasks/st3-exit/spec.md+1-0
coder/eval/selftest/tasks/st3-exit/stdin+0-0
coder/eval/selftest/tasks/st4-badcompile/expected.exit+1-0
coder/eval/selftest/tasks/st4-badcompile/expected.out+1-0
coder/eval/selftest/tasks/st4-badcompile/spec.md+1-0
coder/eval/selftest/tasks/st4-badcompile/stdin+0-0
coder/eval/selftest/tasks/st5-nofile/expected.exit+1-0
coder/eval/selftest/tasks/st5-nofile/expected.out+1-0
coder/eval/selftest/tasks/st5-nofile/spec.md+1-0
coder/eval/selftest/tasks/st5-nofile/stdin+0-0
coder/eval/selftest/tasks/st6-stdin/expected.exit+1-0
coder/eval/selftest/tasks/st6-stdin/expected.out+2-0
coder/eval/selftest/tasks/st6-stdin/spec.md+1-0
coder/eval/selftest/tasks/st6-stdin/stdin+2-0
coder/eval/selftest/tasks/st7-cheat/expected.exit+1-0
coder/eval/selftest/tasks/st7-cheat/expected.out+1-0
coder/eval/selftest/tasks/st7-cheat/spec.md+1-0
coder/eval/selftest/tasks/st7-cheat/stdin+0-0
coder/observed/between_fns.om+9-0
coder/observed/elif_is_assignment.om+14-0
coder/observed/else_nested.om+11-0
coder/observed/expect.tsv+5-0
coder/observed/struct_after_fn.om+7-0
coder/omega-guard.ts+41-38
coder/omega-observed.md+4-4
coder/omega-prompt-head.md+2-2
data/SOURCE+1-1
data/reference.tsv+735-735
docs/claude-launcher.md+7-0
rules/rules.txt+169-21
skills/aien-repositories/SKILL.md+5-5
skills/lean-verify/SKILL.md+4-0
skills/nvidia-gb10/SKILL.md+369-0
skills/nvidia-gb10/references/gb20b-gsp-boot.md+60-0
skills/omega-communication/SKILL.md+32-0
skills/omega-encoding/SKILL.md+6-6
skills/omega-gpu-om/SKILL.md+41-0
skills/omega-harness/SKILL.md+11-11
skills/omegese-wire/SKILL.md+169-0
skills/spark-q38-stress/SKILL.md+44-0
skills/wolfram-math/SKILL.md+14-2
skills/writing-omega/SKILL.md+4-5
tools/check.sh+89-4
tools/claude-launcher.sh+6-0
tools/install.sh+21-14
tools/regen.sh+4-5
tools/rules.om+347-19

AGENTS.md

@@ -4,11 +4,12 @@ Operating instructions for an agent working in this repository. Read this before
44
55 Omega Harness supports local Omega and four external providers: Claude, Codex, Grok and Muse. Use this list for worker selection, setup and qualification.
66
7-**Standing rules (Drake, 2026-11-11).** Interplane (https://interplane.io, serving the Radicle
8-repositories) is the only forge and the canonical source: never push to a GitHub remote, open or update
9-a GitHub PR or issue, publish with `gh`, or cite a GitHub branch as current state. New work is a new
10-Radicle repository or a landing on Radicle `main` with a receipt, finished only when interplane.io shows
11-it (URL and HTTP status). No hard caps on our own software: put a test that alarms instead.
7+**Standing rules (Drake, 2026-11-11, Radicle retired 2026-11-13).** Interplane (https://interplane.io)
8+is the only forge and the canonical source. Clone with
9+`git clone https://interplane.io/projects/<repo>/repo.git`. Never push to a GitHub remote, open or update
10+a GitHub PR or issue, publish with `gh`, or cite a GitHub branch as current state. New work lands on
11+that repository's `main` with a receipt, finished only when interplane.io shows it (URL and HTTP status).
12+No hard caps on our own software: put a test that alarms instead.
1213 `skills/omega-harness/SKILL.md` section 1 has both rules in full. Only Drake reverses them.
1314
1415 ## What this repository is
@@ -21,15 +22,19 @@ The skills live under `skills/<name>/SKILL.md` in the Agent Skills layout (front
2122 `description`, then the body):
2223
2324 <!-- gen:skills -->
24-7 skills, each `skills/<name>/SKILL.md`; the use column is the skill's own frontmatter `description`:
25+11 skills, each `skills/<name>/SKILL.md`; the use column is the skill's own frontmatter `description`:
2526
2627 | Skill | Use |
2728 |---|---|
2829 | `skills/aien-repositories/SKILL.md` | What AIEN builds and which repository owns a task: mission, doctrine, plan authority, task routing, evidence and status discipline, known source drift. Use before choosing an AIEN repository or making a cross-repository or status claim. |
2930 | `skills/lean-verify/SKILL.md` | Machine-checked proofs with Lean 4 + Mathlib through the `lean` MCP server on the Spark. Use to prove a safety invariant (core disjointness, disk floor, lease exclusion, queue bounds, protocol/state-machine properties) about an explicit model, and to check that a proof has no sorry and no extra axioms. |
31+| `skills/nvidia-gb10/SKILL.md` | Load before touching the NVIDIA GPU in Drake's DGX Spark (the GB10 chip). Covers running or benchmarking a model on the Spark GPU, the shared model service, the chip lock and timing windows, NVIDIA driver debugging, writing kernels for the chip, and the mistakes already made there. |
3032 | `skills/omega-communication/SKILL.md` | Communicate Omega and AIEN work precisely: status and evidence labels, reports, PR text, agent handoffs, receipts, semantic needs, wire formats and corrections. Use when reporting, briefing agents, reviewing or publishing claims. |
3133 | `skills/omega-encoding/SKILL.md` | Write .om that the seeded Omega compiler actually accepts: syntax, types, traps, bounds, register limits, host I/O, byte encoding, compiler errors, verified examples. Use before writing, reviewing or explaining any Omega program. |
34+| `skills/omega-gpu-om/SKILL.md` | >- |
3235 | `skills/omega-harness/SKILL.md` | Operate in Omega and the AIEN repositories. Use for any Omega or .om task, compiler or migration work, AIEN architecture, repository routing, or project status claim. Covers source pins, .om-first implementation, compile and run evidence, safe effects, communication and stopping repeated errors. |
36+| `skills/omegese-wire/SKILL.md` | Omegese Wire protocols and wake hygiene: Trinary Doctrine (tools/trit), signed 3-digit layered codebook (tools/codebook), R45 Omegese (aien-train/docs/omegese45), bot-wire wake hygiene, and PROPOSED open tracks (R45 inst 041-099 and Gen 3 error-resistant codebook). Use when implementing, verifying, or routing agent wake signals, codebook frames, or R45 wire messages. |
37+| `skills/spark-q38-stress/SKILL.md` | Replay the physical Spark GB10 Qwen four-layer, eight-stream stress test and paged-attention suite, then compare throughput, latency and correctness with a named earlier run. |
3338 | `skills/wolfram-math/SKILL.md` | Mandatory mathematics through Wolfram. Use for any computation, derivation, identity, unit conversion, numeric constant, formula check or quantitative claim, and to set up or repair the Wolfram tools so an agent never computes by hand. |
3439 | `skills/writing-omega/SKILL.md` | Portable guide to writing Omega (.om) programs that the seeded omc compiler accepts and runs correctly: program shape, types, words, traps, compiler errors 1..30, common mistakes with the exact refusal, and tested examples. Use before writing or reviewing any .om program on any machine. |
3540 <!-- /gen:skills -->
@@ -92,7 +97,7 @@ untrue, and record what you observed with its date. Older measurements stay as d
9297 Re-check, read only, in a fresh clone:
9398
9499 ```sh
95-git clone rad://z6do9WDBhuSnvopDkgFdFr1yWA62 omega-src
100+git clone https://interplane.io/projects/omega-mv/repo.git omega-src
96101 git -C omega-src checkout "$(sed -n 's/^omega-mv //p' PIN)"
97102 sha256sum omega-src/seed/out/omc # must equal the omc-sha256 line of PIN
98103 ```
@@ -125,18 +130,17 @@ output, the negative control, and what was not run.
125130
126131 ## Contributing
127132
128-This repository lives on Radicle: `rad clone rad:z39gvwWsnkRZsAConQLjaKiNVLHfW` or `git clone
129-https://www.aienos.com/rad/z39gvwWsnkRZsAConQLjaKiNVLHfW.git`, shown at
133+This repository is `git clone https://interplane.io/projects/omega-harness/repo.git`, shown at
130134 https://interplane.io/drakestapleton/omega-harness. The `aien-dev` GitHub organization is frozen
131135 (2026-11-07) and GitHub is not a route (2026-11-11): never push, open a PR or open an issue there, and
132-treat its links as historical citations. A change lands on Radicle `main` with a receipt (receipts, not
136+treat its links as historical citations. A change lands on Interplane `main` with a receipt (receipts, not
133137 approvals, 2026-11-11): rerun `examples/gate.sh` and `tools/check.sh` with the pinned omc and a
134-wrong-compiler control in a fresh `rad clone` of the exact head, write the landing receipt (commands,
138+wrong-compiler control in a fresh clone of the exact head, write the landing receipt (commands,
135139 exit codes, pins, log sha256), land it with the hive landing tools, then confirm the head on the
136140 interplane.io page. A non-MERGE review verdict on that head stops the landing. After the landing, the
137141 landing tools' `land-hooks.sh` `harness` hook re-installs the skills and the instruction files from the
138142 landed head (`tools/install.sh --omc auto --rev <head>`; see its header). To report something stale without
139-changing it, open a Radicle issue (`rad issue open`).
143+changing it, use the existing Interplane issue route; if that route is unavailable, record it on the shared board.
140144
141145 Keep the attribution in `README.md` and `LICENSE` intact. Contributions follow the shared AIEN agent
142146 rules at https://www.aienos.com/agents/RULES.md.

AUDIT_SCOPE.md

@@ -108,7 +108,7 @@ There is no test suite. The only executable check is the example recipe from `RE
108108 "Check the examples yourself" (Linux AArch64 only), NOT_RUN while writing this document:
109109
110110 ```sh
111-git clone rad://z6do9WDBhuSnvopDkgFdFr1yWA62 omega-src
111+git clone https://interplane.io/projects/omega-mv/repo.git omega-src
112112 git -C omega-src checkout f4df82394e35893dcf1354dda69a2fe028d94bc1
113113 sha256sum omega-src/seed/out/omc
114114 omega-src/seed/out/omc < skills/omega-encoding/examples/fnv1a32.om > fnv 2> fnv.err
@@ -137,7 +137,7 @@ controls. The clone above checks out the harness pin `f4df8239`; compare the pri
137137 ## Dependencies and provenance
138138
139139 - No lockfile, no vendored code, no package dependencies.
140-- The examples depend on omega-mv (cloned at run time from Radicle `rad:z6do9WDBhuSnvopDkgFdFr1yWA62`;
140+- The examples depend on omega-mv (cloned at run time from `https://interplane.io/projects/omega-mv/repo.git`;
141141 the `aien-dev` GitHub organization is frozen since 2026-11-07) and a Linux AArch64 host.
142142 - `skills/wolfram-math/SKILL.md` relies on the hosted Wolfram MCP endpoint for agents' arithmetic.
143143 - `skills/lean-verify/SKILL.md` relies on Lean `v4.35.0`, Mathlib `v4.35.0` and `lean-lsp-mcp`

PIN

@@ -1,2 +1,2 @@
1-omega-mv 2ee0a70d1830581b706f288e722f3329d51f3583
2-omc-sha256 26540e6de62402d5784b30b24d7c6faae488137c1f8a4b3e784fd0b5d5528991
1+omega-mv 6c562dd1f7ab01fd9a2638e74a7330ec4c941ad8
2+omc-sha256 34d611ca0415eab1728d3234911d90e74af17ba9ab0c581d559f48274d7ca6d3

README.md

@@ -5,15 +5,19 @@ Agent skills for working in Omega, the `.om` language of AienOS, and in the AIEN
55 Skills can't make agents flawless. What these do is turn the mistakes agents keep repeating into checks they must run before they claim anything: stale syntax, guessed compiler limits, compiling without running, labeling host-only runs as qualified, and choosing the wrong repository.
66
77 <!-- gen:skills -->
8-7 skills, each `skills/<name>/SKILL.md`; the use column is the skill's own frontmatter `description`:
8+11 skills, each `skills/<name>/SKILL.md`; the use column is the skill's own frontmatter `description`:
99
1010 | Skill | Use |
1111 |---|---|
1212 | `skills/aien-repositories/SKILL.md` | What AIEN builds and which repository owns a task: mission, doctrine, plan authority, task routing, evidence and status discipline, known source drift. Use before choosing an AIEN repository or making a cross-repository or status claim. |
1313 | `skills/lean-verify/SKILL.md` | Machine-checked proofs with Lean 4 + Mathlib through the `lean` MCP server on the Spark. Use to prove a safety invariant (core disjointness, disk floor, lease exclusion, queue bounds, protocol/state-machine properties) about an explicit model, and to check that a proof has no sorry and no extra axioms. |
14+| `skills/nvidia-gb10/SKILL.md` | Load before touching the NVIDIA GPU in Drake's DGX Spark (the GB10 chip). Covers running or benchmarking a model on the Spark GPU, the shared model service, the chip lock and timing windows, NVIDIA driver debugging, writing kernels for the chip, and the mistakes already made there. |
1415 | `skills/omega-communication/SKILL.md` | Communicate Omega and AIEN work precisely: status and evidence labels, reports, PR text, agent handoffs, receipts, semantic needs, wire formats and corrections. Use when reporting, briefing agents, reviewing or publishing claims. |
1516 | `skills/omega-encoding/SKILL.md` | Write .om that the seeded Omega compiler actually accepts: syntax, types, traps, bounds, register limits, host I/O, byte encoding, compiler errors, verified examples. Use before writing, reviewing or explaining any Omega program. |
17+| `skills/omega-gpu-om/SKILL.md` | >- |
1618 | `skills/omega-harness/SKILL.md` | Operate in Omega and the AIEN repositories. Use for any Omega or .om task, compiler or migration work, AIEN architecture, repository routing, or project status claim. Covers source pins, .om-first implementation, compile and run evidence, safe effects, communication and stopping repeated errors. |
19+| `skills/omegese-wire/SKILL.md` | Omegese Wire protocols and wake hygiene: Trinary Doctrine (tools/trit), signed 3-digit layered codebook (tools/codebook), R45 Omegese (aien-train/docs/omegese45), bot-wire wake hygiene, and PROPOSED open tracks (R45 inst 041-099 and Gen 3 error-resistant codebook). Use when implementing, verifying, or routing agent wake signals, codebook frames, or R45 wire messages. |
20+| `skills/spark-q38-stress/SKILL.md` | Replay the physical Spark GB10 Qwen four-layer, eight-stream stress test and paged-attention suite, then compare throughput, latency and correctness with a named earlier run. |
1721 | `skills/wolfram-math/SKILL.md` | Mandatory mathematics through Wolfram. Use for any computation, derivation, identity, unit conversion, numeric constant, formula check or quantitative claim, and to set up or repair the Wolfram tools so an agent never computes by hand. |
1822 | `skills/writing-omega/SKILL.md` | Portable guide to writing Omega (.om) programs that the seeded omc compiler accepts and runs correctly: program shape, types, words, traps, compiler errors 1..30, common mistakes with the exact refusal, and tested examples. Use before writing or reviewing any .om program on any machine. |
1923 <!-- /gen:skills -->
@@ -28,20 +32,17 @@ For the documented method and systems-software case study, see Gregory M. Kurtze
2832
2933 ## Install
3034
31-One command installs the skills from Radicle `main` and records the head it installed in
35+One command installs the skills from Interplane `main` and records the head it installed in
3236 `DIR/.installed-from-omega-harness`; the same command with `--check` exits 1 when `main` has moved past
3337 that head or an installed skill was edited:
3438
3539 ```sh
36-rad clone rad:z39gvwWsnkRZsAConQLjaKiNVLHfW omega-harness
37-# or, without Radicle installed:
38-git clone https://www.aienos.com/rad/z39gvwWsnkRZsAConQLjaKiNVLHfW.git omega-harness
40+git clone https://interplane.io/projects/omega-harness/repo.git omega-harness
3941 omega-harness/tools/install.sh --skills ~/.agents/skills # pick the directory for your agent
4042 omega-harness/tools/install.sh --skills ~/.agents/skills --check # is the installed head current?
4143 ```
4244
43-`install.sh` takes `main` from Radicle itself (the local Radicle storage when it exists, else the HTTPS
44-mirror), so the clone only provides the script. It replaces only this repository's skills in that
45+`install.sh` takes `main` from that Interplane repository, so the clone only provides the script. It replaces only this repository's skills in that
4546 directory. On a Linux AArch64 machine with an overlay (`~/.config/omega-harness/local.rules`, never
4647 published), `tools/install.sh --omc OMC` also renders and installs the agents' instruction files that the
4748 overlay names (`omp` `RULES.md`, Claude Code `CLAUDE.md`, Codex and home `AGENTS.md`) from
@@ -49,7 +50,7 @@ overlay names (`omp` `RULES.md`, Claude Code `CLAUDE.md`, Codex and home `AGENTS
4950 from the landed head.
5051
5152 **Interplane is the only forge (Drake, 2026-11-11).** This repository is shown at
52-https://interplane.io/drakestapleton/omega-harness, and its Radicle `main` is the canonical source.
53+https://interplane.io/drakestapleton/omega-harness, and its Interplane `main` is the canonical source.
5354 Never push to a GitHub remote, open or update a GitHub PR or issue, publish with `gh`, or cite a GitHub
5455 branch as current state. The `aien-dev` GitHub organization has been frozen since 2026-11-07; its
5556 `github.com/aien-dev/...` links below are historical citations of the commits they name, not live
@@ -136,13 +137,13 @@ in [`PIN`](PIN), then compiles and runs every program here and in `skills/*/exam
136137 <!-- gen:pin -->
137138 | Pin (`PIN`) | Value |
138139 |---|---|
139-| omega-mv commit | `2ee0a70d1830581b706f288e722f3329d51f3583` |
140-| `seed/out/omc` sha256 | `26540e6de62402d5784b30b24d7c6faae488137c1f8a4b3e784fd0b5d5528991` |
140+| omega-mv commit | `6c562dd1f7ab01fd9a2638e74a7330ec4c941ad8` |
141+| `seed/out/omc` sha256 | `34d611ca0415eab1728d3234911d90e74af17ba9ab0c581d559f48274d7ca6d3` |
141142 | reference data | `data/reference.tsv`: omega-mcp's `data/reference.json` for this pin, with 201 keyword-table entries (80 host words), 30 compiler error codes, 14 traps and 13 topics |
142143 <!-- /gen:pin -->
143144
144145 ```sh
145-git clone rad://z6do9WDBhuSnvopDkgFdFr1yWA62 omega-src
146+git clone https://interplane.io/projects/omega-mv/repo.git omega-src
146147 git -C omega-src checkout "$(sed -n 's/^omega-mv //p' PIN)"
147148 sha256sum omega-src/seed/out/omc # must equal the omc-sha256 line of PIN
148149 examples/gate.sh omega-src/seed/out/omc
@@ -154,7 +155,7 @@ It prints `PASS name` or `FAIL name: reason` per program and ends with a line li
154155
155156 <!-- gen:gateline -->
156157 ```text
157-GATE PASS examples=132 pass=132 fail=0 omc=26540e6de62402d5784b30b24d7c6faae488137c1f8a4b3e784fd0b5d5528991
158+GATE PASS examples=132 pass=132 fail=0 omc=34d611ca0415eab1728d3234911d90e74af17ba9ab0c581d559f48274d7ca6d3
158159 ```
159160 <!-- /gen:gateline -->
160161
@@ -172,10 +173,10 @@ Repinning is editing `PIN` and running `tools/regen.sh`. The agents' standing ru
172173 `rules/rules.txt`, rendered into each agent program's instruction file by `tools/rules.om`. What people
173174 and agents still write is prose: explanations, method, rules and dated observations with their
174175 evidence. When your change makes that prose untrue, rewrite it in the same piece of work and land it on
175-Radicle `main` with a receipt (`examples/gate.sh` and `tools/check.sh` on a fresh clone of the exact
176+Interplane `main` with a receipt (`examples/gate.sh` and `tools/check.sh` on a fresh clone of the exact
176177 head, the landing receipt, then the new head on https://interplane.io/drakestapleton/omega-harness).
177-Never push to github.com. If you can't make the change, open a Radicle issue (`rad issue open`) saying
178-what is now stale. `omega-harness` section 6 has the full map. Contributions follow the
178+Never push to github.com. If you can't make the change, say what is now stale. `omega-harness` section 6
179+has the full map. Contributions follow the
179180 [shared AIEN agent rules](https://www.aienos.com/agents/RULES.md).
180181
181182 The [native GPU realization guidance](skills/omega-communication/SKILL.md#native-gpu-realization-records-2026-10-28) distinguishes quantization indexes, canonical artifact identity, session residency and independent qualification. It tracks the CUDApp #26 work without treating host fixtures or unmerged components as production admission.

REPIN

@@ -2,7 +2,7 @@ note How this repository moves to a new omega-mv pin, read by the landing tools'
22 note lands a new seed/out/omc. PIN stays the only place the pin is written; the follower rewrites PIN, runs
33 note tools/regen.sh (which needs omega-mcp's reference data for the same pin, hence the follows line), commits,
44 note and lands only when examples/gate.sh and tools/check.sh pass on a fresh clone ("Keeping it current").
5-follows rad:z3e8UBQVfwEcESJrcTWEbyMAHWFBZ
5+follows https://interplane.io/projects/omega-mcp/repo.git
66 regen sh tools/regen.sh "$OMC"
77 gate examples bash examples/gate.sh "$OMC"
88 gate check sh tools/check.sh "$OMC"

SECURITY.md

@@ -44,7 +44,7 @@ In scope:
4444 Out of scope:
4545
4646 - The Omega compiler and runtime themselves; report those privately to the omega-mv maintainer
47- (Radicle `rad:z6do9WDBhuSnvopDkgFdFr1yWA62`, https://interplane.io/drakestapleton/omega-mv).
47+ (`https://interplane.io/projects/omega-mv/repo.git`, https://interplane.io/drakestapleton/omega-mv).
4848 - Conversion between Omega and other languages; report that privately to the omega-bridge maintainer
4949 (https://interplane.io/drakestapleton/omega-bridge).
5050 - The agent harnesses that load these skills (omp, Claude Code, Codex and others), the Wolfram

coder/README.md

@@ -7,11 +7,15 @@ scripts. "Only Omega" is enforced by the harness and the compiler, not by model
77
88 | File | What it does |
99 |---|---|
10-| `omega-guard.ts` | `omp` extension (load with `-e`). Refuses every write or edit except `.om` files and `NOTES.md` inside the session directory; refuses reads outside the session directory and the context pack; compiles each written `.om` with the pinned `omc` (sha256 checked before every compile) and appends the result, with the error meaning and offending line, to the tool result; adds the `omega_run` tool (compile, then run in a `bwrap` sandbox with no network); refuses to let the session finish while a touched `.om` fails to compile, or, with `OMEGA_CASES` set, until the om2 gate passes those cases. |
10+| `omega-guard.ts` | `omp` extension (load with `-e`). Refuses every write or edit except `.om` files and `NOTES.md` inside the session directory; refuses reads outside the session directory and the context pack; compiles each written `.om` with the pinned `omc` (sha256 checked before every compile) and appends the result, with the error's meaning and fix (from the pack's `errors.tsv`) and the offending line, to the tool result; adds the `omega_run` tool (compile, then run in a `bwrap` sandbox that holds only the session directory, read-only, and the program, with no network and no `/proc`); refuses to let the session finish while a touched `.om` fails to compile, or, with `OMEGA_CHECK` set, until that command exits 0 with a `SCORE ID pass` line. |
1111 | `omega-prompt-head.md` | Rules part of the system prompt (tools, check loop, `DONE <file>`). |
12-| `omega-observed.md` | Compiler facts observed with the pinned `omc` that the skill does not state. |
13-| `build-context.sh` | Builds the context pack: `OMEGA.md` = rules + `skills/omega-encoding` sections 2-11 (citation links stripped) + observed facts + the examples it lists, each of which must compile with the pinned `omc`; `CONTROL.md` = rules only. |
14-| `eval/` | Held-out eval: 27 tasks (`tasks/ID/{spec.md,stdin,expected.out,expected.exit}`), manifest `tasks.json`, runner `run.sh`. |
12+| `omega-observed.md` | Compiler facts observed with the pinned `omc` that the skill does not state. Each has a probe in `observed/` (expected compiler and program exit status in `observed/expect.tsv`) that `build-context.sh` runs; a fact that stops holding stops the build. |
13+| `build-context.sh` | Builds the context pack: `OMEGA.md` = rules + `skills/omega-encoding` sections 2-11 (citation links stripped) + observed facts + the examples it lists, each of which must compile with the pinned `omc`; `CONTROL.md` = rules only; `PIN` (a copy of the repository's `PIN`) and `errors.tsv` (meaning and fix of each error code, from `data/reference.tsv`, which must be for the same pin), both read by the guard. Refuses an `omc` that is not the one `PIN` names. |
14+| `eval/` | Held-out eval: the tasks in `tasks/ID/{spec.md,stdin,expected.out,expected.exit}`, manifest `tasks.json`, runner `run.sh`, scorer `score.sh` (with `cat.om` and the sandbox in `case.sh`), `refcheck.sh` (tasks and held-out references checked at the pin before a run), `compare.sh` (checks the two arms were measured alike, prints per-task verdicts and the ledger line) and `selftest.sh` (all of it checked with a stub session on synthetic tasks in `selftest/`, no model needed). |
15+
16+The guard is TypeScript because `omp` extensions are TypeScript; the builders and the eval scripts are POSIX
17+shell glue around the pinned `omc` and the om2 gate, which do all the checking (harness tooling under the Python
18+boundary rule, not product code).
1519
1620 ## Environment read by the guard
1721
@@ -19,13 +23,16 @@ scripts. "Only Omega" is enforced by the harness and the compiler, not by model
1923 |---|---|---|
2024 | `OMEGA_HOME` | `~/.local/share/aien-omega` | holds `omc`, the built `gate` and `seed/qualification/om2/fixtures` |
2125 | `OMEGA_CONTEXT` | `$OMEGA_HOME/context` | the one directory outside the session the model may read |
22-| `OMEGA_CASES` | unset | om2 gate case file that must pass before the session may finish |
26+| `OMEGA_CHECK` | unset | shell command run (cwd: the session directory) when the session tries to finish; the finish is allowed only on exit 0 with a `SCORE ID pass` line (`eval/run.sh` sets it to `score.sh` on the task) |
2327 | `OMEGA_STOP_LIMIT` | `0` (no limit) | after this many refused finishes the finish is allowed and logged |
2428 | `OMEGA_LOG` | unset | append-only log of every allowed/refused tool call, compile and finish |
2529
26-The required `omc` sha256 (`2c824805...029f`, aien-dev/omega-mv `f1b9ecb5d` `seed/out/omc`) is fixed in
27-`omega-guard.ts`; a mismatch refuses every compile. `omega_run` and the finish check run the program
28-with a read-only root, no network and a 10 s timeout (the finish check gives the gate 120 s).
30+No pin is typed in these files. The `omc` sha256 comes from the repository's `PIN` (the pin follower moves
31+it): `build-context.sh` refuses any other `omc` and copies `PIN` into the pack, the guard reads
32+`$OMEGA_HOME/context/PIN` and refuses every compile when `omc` differs, and `eval/run.sh` refuses to start
33+unless `omc` and the pack's `PIN` both match the repository's and `$OMEGA_HOME/omega-guard.ts` is this repository's
34+guard. `omega_run` runs the program with only the session directory in view (read-only), no network, no `/proc`
35+and the timeouts set in `omega-guard.ts`.
2936
3037 ## Running it
3138
@@ -33,6 +40,7 @@ Build the pack, install the guard, then start `omp` in the project directory wit
3340
3441 ```sh
3542 OMEGA_MV=/path/to/omega-mv OMC=$HOME/.local/share/aien-omega/omc sh coder/build-context.sh ~/.local/share/aien-omega/context
43+# rebuild the pack whenever PIN moves; run.sh refuses a pack built for another pin
3644 cp coder/omega-guard.ts ~/.local/share/aien-omega/
3745 omp --model PROVIDER/MODEL --tools read,edit,write,grep,glob,omega_run --no-skills --no-rules \
3846 --no-extensions --no-lsp --no-context-files -e ~/.local/share/aien-omega/omega-guard.ts \
@@ -47,11 +55,83 @@ advisors off and no other providers so the session cannot fall back to another m
4755 `sh coder/eval/run.sh omega|control OUTDIR coder/eval/tasks` runs every task in a fresh empty
4856 directory, one after another. The `control` arm keeps the model, tools, guard and check loop and swaps
4957 the system prompt for `CONTROL.md` with an empty readable context, so the only variable is the Omega
50-context. Scoring does not trust the session: the runner compiles `main.om` with the pinned `omc`
51-(non-zero exit or no file = compile-fail) and runs the om2 gate on the task's case line in a fresh
52-scratch directory (FAIL = wrong-output).
58+context. The session is not blind to the scoring case: `run.sh` sets `OMEGA_CHECK` to the scorer on the task,
59+so the guard runs it when the session tries to finish and shows it the verdict (up to `OMEGA_STOP_LIMIT`
60+times). Both arms get the same, so the comparison is like for like, but a pass rate here is "pass with feedback
61+from the scoring case", not a blind pass rate, and the `LEDGER` line says so. Scoring does not trust the session:
62+the runner compiles `main.om` with the pinned `omc` (non-zero exit or no file = compile-fail), then `score.sh`
63+runs the om2 gate in two stages, each in a fresh scratch directory inside `bwrap` with nothing in view but the
64+system directories, the gate, `omc`, the gate fixtures and that stage's inputs (copied in; no root, no `/proc`,
65+no network, own pid namespace), since the gate is not a sandbox and the program is model-written. Stage A runs
66+the program on a copy of its standard input with no expected output anywhere it can read, and decides compile,
67+exit status, stderr, deadline and signal; stage B runs the trusted `cat.om` on the program's saved stdout against
68+the task's expected output, so the byte comparison is still the gate's. Both PASS = pass, a different exit,
69+stderr or stdout = wrong-output, past the deadline = timeout, killed by a signal = crash. Stage A's verdict line
70+reaches the session with its stdout word replaced by `stdout=(compared in stage B)`, since stage A has no
71+expected stdout to compare. The gate reports a program that exits 127 the same way as a failed exec or
72+redirect; `score.sh` then runs the trusted `cat.om` the same way, and if the gate gives that a run verdict the
73+127 was the program's (wrong-output, since no task expects 127). Every file the gate or the program writes is
74+limited to 1 MiB (`CASE_FSIZE_BLOCKS` in `case.sh`, containment of model-written code): a program that writes
75+past it is killed by SIGXFSZ and scores crash, and `refcheck.sh` alarms when a task's expected output reaches
76+half of the limit. Stage B's verdict line still gives the first differing byte offset of a wrong stdout, which
77+is part of the feedback that makes this pass rate not blind.
78+What is not the model's answer stops the run with exit 3 and no row, so a rerun retries the task: a session
79+that ends with a code other than 0 or 124 (for example an unreachable model server), an `omc` or gate that
80+cannot execute, a scorer result with no verdict on the program (an unreadable fixture, scratch or exec
81+failure, including an exec failure that the trusted `cat.om` also hits), and a session that ended normally
82+while the guard log shows no finish (the guard was not loaded) or shows a guard without the task check, and a
83+session (rc 0 or 124) whose transcript shows no output token from the model (a server that never answered
84+measured the server, not the model). A task
85+id with no directory, and a task or fixture file name with white space, are refused.
86+The session's only time limit is the wall-clock timeout around `aien` (rc 124, scored); `aien`'s own
87+`--max-time` is not used, since what it does at the limit is not known here. Session limits, the
88+case deadline, the case line, the sandbox and the verdict words are in `eval/case.sh`.
89+
90+The runner cannot see which model `aien` serves or its sampling seed, so the operator states them in
91+`OMEGA_EVAL_MODEL` (required) and `OMEGA_EVAL_SEED` (required; `none` when the profile fixes no seed). It
92+writes `OUTDIR/manifest.tsv`: arm, model, seed, and the sha256 of the compiler, gate, gate fixtures, the prompt
93+this arm got and both prompt files (so the rules text must match across arms), guard, error table, the runner (`run.sh` with `case.sh`, `score.sh` and `cat.om`, which hold the prompt template, the session limits,
94+the case line and the verdict words), the task files
95+(name and digest of each) and their count, and the `aien` program, with `aien --version`. A resume into an `OUTDIR` whose
96+manifest differs is refused, and so is an `OUTDIR` with result rows but no manifest (rows scored with unknown
97+inputs, such as those an older runner wrote). `sh coder/eval/compare.sh OMEGA_OUTDIR CONTROL_OUTDIR` refuses two arms whose
98+manifests differ in anything but arm and the prompt that arm got, an arm whose prompt is not its own prompt
99+file, scored task ids that are not exactly the task directory's, or a row with an unknown verdict or a session
100+code other than 0 or 124, then prints the raw per-task verdicts side by side, an `AT_LIMIT` line for each row
101+stopped by the session timeout or let finish by the stop limit (its guard log says `stop allowed after`), the
102+totals and a `LEDGER` line with the number of such rows per arm. The guard is the same in both arms, so both get the compiler's error meaning and fix after each compile;
103+only the prompt and the readable context differ. (Before 2026-11-15 the guard gave a shorter typed meaning
104+table; no complete run exists from then to compare with.) A seed of `none` is recorded as such: that run
105+cannot be repeated exactly, and the `LEDGER` line says `seed none`.
106+`OMEGA_HOME=... sh coder/eval/selftest.sh` checks the runner, `compare.sh`, `refcheck.sh`, the scorer and the
107+guard's run sandbox with a stub session that records what each session was given (system prompt file, readable
108+context, task check, stop limit, task prompt) and answers differently per arm; it includes a program that
109+prints the expected output by its absolute path, which must not pass, and a copy of the scorer with a read-only
110+root, under which it must pass. Its header lists every case. Exit 0 = SELFTEST PASS (needs `node` for the
111+guard's sandbox).
112+The installed `aien` (`~/.local/bin/aien`, read 2026-11-16; not in this repository) passes `--system-prompt
113+"${OMEGA_PROMPT:-$OMEGA_HOME/context/OMEGA.md}"` to `omp` for `--omega`, so the runner's `OMEGA_PROMPT` is the
114+system prompt the session gets; its sha256 is in the manifest, so a changed `aien` shows there.
115+
116+Running both arms (on the machine that has `aien` and its model; start new OUTDIRs whenever PIN moves, since
117+results from another pin are not comparable):
118+
119+```sh
120+H=~/.local/share/aien-omega MV=/path/to/omega-mv # MV at the commit PIN names, omc sha256 = PIN
121+mkdir -p $H/seed/qualification/om2 && cp $MV/seed/out/omc $H/omc
122+cp -r $MV/seed/qualification/om2/fixtures $H/seed/qualification/om2/
123+$H/omc < $MV/seed/qualification/om2/gate.om > $H/gate && chmod +x $H/gate
124+OMEGA_MV=$MV OMC=$H/omc sh coder/build-context.sh $H/context && cp coder/omega-guard.ts $H/
125+OMEGA_HOME=$H sh coder/eval/selftest.sh
126+OMEGA_HOME=$H sh coder/eval/refcheck.sh coder/eval/tasks coder/eval/tasks.json /path/to/references # REFCHECK PASS first
127+export OMEGA_EVAL_MODEL=<exact model id> OMEGA_EVAL_SEED=<seed or none> P=$(sed -n 's/^omc-sha256 //p' PIN | cut -c1-8)
128+sh coder/eval/run.sh omega ~/handoffs/OmegaCoder/eval-$P/omega coder/eval/tasks
129+sh coder/eval/run.sh control ~/handoffs/OmegaCoder/eval-$P/control coder/eval/tasks
130+sh coder/eval/compare.sh ~/handoffs/OmegaCoder/eval-$P/omega ~/handoffs/OmegaCoder/eval-$P/control
131+```
53132
54133 The reference solutions are held out: they are not in this repository, the context pack or any
55-session directory; `tasks.json` records only their sha256. They were checked with the pinned gate
56-(27/27 PASS, with a negative control that failed as it should). Keep `coder/eval/` out of any
134+session directory; `tasks.json` records only their sha256. They were checked with the gate at omc `2c824805`
135+(omega-mv `f1b9ecb5d`, 2026-11-05): 27/27 PASS, with a negative control that failed as it should. They have not
136+been re-run at a later pin, since the references are not in this repository. Keep `coder/eval/` out of any
57137 training corpus built from this repository, or the eval stops measuring anything.

coder/build-context.sh

@@ -1,24 +1,47 @@
11 #!/bin/sh
22 # Build the Omega-only context pack read by `aien --omega` (harness config, not product code).
3-# usage: OMEGA_MV=/path/to/omega-mv OMC=/path/to/pinned/omc sh coder/build-context.sh OUTDIR
4-# Writes OUTDIR/OMEGA.md (system prompt: rules + language reference + compiled examples) and
5-# OUTDIR/CONTROL.md (rules only, for the no-context eval arm). Every example must compile with OMC.
3+# usage: OMEGA_MV=/path/to/omega-mv OMC=/path/to/omc sh coder/build-context.sh OUTDIR
4+# OMC must be the build named in the repository's PIN file (the one place the pin is written).
5+# Writes OUTDIR/OMEGA.md (system prompt: rules + language reference + compiled examples),
6+# OUTDIR/CONTROL.md (rules only, for the no-context eval arm), OUTDIR/errors.tsv (compiler error
7+# meanings and fixes from data/reference.tsv, read by the guard) and OUTDIR/PIN (read by the guard
8+# and the eval runner). Every example must compile with OMC and every observed fact must still hold.
69 set -eu
710 here=$(cd "$(dirname "$0")" && pwd)
811 skill="$here/../skills/omega-encoding"
912 mv=${OMEGA_MV:?set OMEGA_MV to an omega-mv checkout}
10-omc=${OMC:?set OMC to the pinned omc}
13+omc=${OMC:?set OMC to the omc named in PIN}
1114 out=${1:?usage: build-context.sh OUTDIR}
15+pin_rev=$(sed -n 's/^omega-mv //p' "$here/../PIN")
16+pin_sha=$(sed -n 's/^omc-sha256 //p' "$here/../PIN")
17+[ -n "$pin_rev" ] && [ -n "$pin_sha" ] || { echo "PIN must hold 'omega-mv <commit>' and 'omc-sha256 <sha256>'" >&2; exit 1; }
18+got=$(sha256sum "$omc" | cut -d' ' -f1)
19+[ "$got" = "$pin_sha" ] || { echo "omc sha256 $got, PIN says $pin_sha (omega-mv $pin_rev)" >&2; exit 1; }
1220 mkdir -p "$out"
1321 tmp=$(mktemp)
14-trap 'rm -f "$tmp" "$tmp.elf"' EXIT
22+trap 'rm -f "$tmp" "$tmp.elf" "$tmp.err" "$tmp.head"' EXIT
1523
24+# Each fact in omega-observed.md has a probe in observed/; a fact the pinned omc no longer shows stops the build.
25+tab=$(printf '\t')
26+grep -v '^#' "$here/observed/expect.tsv" | while IFS="$tab" read -r f crc prc; do
27+ set +e
28+ "$omc" < "$here/observed/$f" > "$tmp.elf" 2> "$tmp.err"
29+ rc=$?
30+ got_prc=-
31+ if [ "$rc" -eq 0 ]; then chmod +x "$tmp.elf"; "$tmp.elf" < /dev/null > /dev/null; got_prc=$?; fi
32+ set -e
33+ [ "$rc" = "$crc" ] && [ "$got_prc" = "$prc" ] ||
34+ { echo "observed fact no longer holds: $f omc rc $rc (want $crc), run rc $got_prc (want $prc)" >&2; exit 1; }
35+done
36+
37+sed "s/@OMC_SHA256@/$pin_sha/g; s/@OMEGA_MV@/$(printf %.9s "$pin_rev")/g" "$here/omega-prompt-head.md" > "$tmp.head"
1638 {
17- cat "$here/omega-prompt-head.md"
39+ cat "$tmp.head"
1840 printf '\n# Omega language reference\n\n'
1941 # Sections 2..11 of the omega-encoding skill; citation links are dropped to save tokens.
2042 awk '/^## 2\. /{on=1} /^## 11a\. /{on=0} on' "$skill/SKILL.md" |
2143 sed -E 's/ ?\((\[[^]]*\]\([^)]*\)(, ?)?)+\)//g; s/\[([^]]*)\]\([^)]*\)/\1/g'
44+ printf '\n## Observed with the pinned omc (%.8s)\n' "$pin_sha"
2245 cat "$here/omega-observed.md"
2346 printf '\n# Examples (each compiles with the pinned omc)\n'
2447 for f in "$skill/examples/fnv1a32.om" "$skill/examples/trap_narrow.om" \
@@ -31,4 +54,16 @@ trap 'rm -f "$tmp" "$tmp.elf"' EXIT
3154 done
3255 } > "$tmp"
3356 mv "$tmp" "$out/OMEGA.md"
34-cp "$here/omega-prompt-head.md" "$out/CONTROL.md"
57+cp "$tmp.head" "$out/CONTROL.md"
58+cp "$here/../PIN" "$out/PIN"
59+# Error meanings: meaning and fix of each code from data/reference.tsv (the omega-mcp reference data that
60+# tools/check.sh ties to this pin), one "code<TAB>meaning. Fix: fix" line per code. Reference data for another
61+# pin, or no error rows, stops the build.
62+ref="$here/../data/reference.tsv"
63+[ "$(awk -F'\t' '$1 == "/pin/omc_sha256" { print $2 }' "$ref")" = "$pin_sha" ] || { echo "$ref is not for omc $pin_sha" >&2; exit 1; }
64+awk -F'\t' '
65+ $1 ~ /^\/errors\/[0-9]+\/(meaning|fix)$/ {
66+ split($1, p, "/"); v[p[3], p[4]] = $2; codes[p[3]] = 1
67+ }
68+ END { for (c in codes) print c "\t" v[c, "meaning"] ". Fix: " v[c, "fix"] }' "$ref" | sort -n > "$out/errors.tsv"
69+[ -s "$out/errors.tsv" ] || { echo "no /errors rows in $ref" >&2; exit 1; }

coder/eval/case.sh

new file mode 100644
@@ -0,0 +1,38 @@
1+# case.sh: sourced by run.sh, refcheck.sh, compare.sh and selftest.sh. The one place the eval's gate case line,
2+# its deadline, the session limits and the verdict words are written, so they all agree.
3+CASE_DEADLINE=10
4+# Session limits, shared by both arms so the arms stay comparable (eval protocol, not a guard against our own
5+# bugs): the wall-clock timeout around aien (its end scores as session rc 124) and the guard's OMEGA_STOP_LIMIT.
6+# compare.sh marks every row that reached one (AT_LIMIT), so a result bound by a limit is not misread.
7+SESSION_TIMEOUT=900
8+SESSION_STOP_LIMIT=5
9+VERDICTS="pass wrong-output timeout crash compile-fail"
10+# narrow_gate HOME RO RW GATE-ARGS...: the om2 gate is not a sandbox (its header says so) and the programs it
11+# runs are model-written: whatever such a program can open it can copy to its stdout. So the gate runs inside
12+# bwrap with nothing mounted but the system directories, the gate, the pinned omc and the gate fixtures (under
13+# HOME, the gate's working directory), RO read-only and RW writable (its scratch goes inside RW): no task
14+# directory, output directory, context pack or home directory, no /proc, no network, its own pid namespace,
15+# killed with its parent. score.sh never puts a task's expected output in RO while a model-written program runs.
16+# Containment of untrusted code (the rules' exception to no hard caps): every file the gate or the program writes
17+# is limited to CASE_FSIZE_BLOCKS 512-byte blocks (1 MiB), so a program that writes without end gets SIGXFSZ and
18+# scores crash instead of filling the disk. refcheck.sh alarms when a task's expected output reaches half of it.
19+CASE_FSIZE_BLOCKS=2048
20+narrow_gate() {
21+ _gh=$1
22+ _gro=$2
23+ _grw=$3
24+ shift 3
25+ (
26+ ulimit -f "$CASE_FSIZE_BLOCKS" || exit 125
27+ exec bwrap --ro-bind /usr /usr --ro-bind-try /bin /bin --ro-bind-try /lib /lib --ro-bind-try /lib64 /lib64 \
28+ --dev /dev --tmpfs /tmp --ro-bind "$_gh/gate" "$_gh/gate" --ro-bind "$_gh/omc" "$_gh/omc" \
29+ --ro-bind "$_gh/seed/qualification/om2/fixtures" "$_gh/seed/qualification/om2/fixtures" \
30+ --ro-bind "$_gro" "$_gro" --bind "$_grw" "$_grw" \
31+ --unshare-net --unshare-pid --unshare-ipc --die-with-parent --chdir "$_gh" -- ./gate "$@"
32+ )
33+}
34+# caseline ID SRC TASK: the om2 gate line that runs SRC on TASK's stdin and expects its output and exit (refcheck.sh
35+# runs the held-out references, which are not model-written, on these lines)
36+caseline() {
37+ printf '%s run %s file:%s/stdin file:%s/expected.out - %s\n' "$1" "$2" "$3" "$3" "$(cat "$3/expected.exit")"
38+}

coder/eval/cat.om

new file mode 100644
@@ -0,0 +1,23 @@
1+note cat: copy standard input to standard output. score.sh runs it through the om2 gate with a program's saved
2+note output as input and the task's expected output as the expected stdout, so the comparison is the gate's.
3+note A short write continues; a failed write exits 90, a failed read exits 91.
4+global buf uchar 65536
5+fn main to int
6+n = read 0 buf 0 len buf
7+while gt n 0
8+p = ulong 0
9+e = ulong n
10+while lt p e
11+k = write 1 buf p sub e p
12+if le k 0
13+exit 90
14+end
15+p = add p ulong k
16+end
17+n = read 0 buf 0 len buf
18+end
19+if lt n 0
20+exit 91
21+end
22+ret 0
23+end

coder/eval/compare.sh

new file mode 100755
@@ -0,0 +1,80 @@
1+#!/bin/sh
2+# Compare the two eval arms: refuse unless their manifests are equal in every line but arm and prompt_sha256
3+# (same model, seed, compiler, gate, fixtures, both prompt files, guard, error table, runner, tasks and session
4+# program) and each arm's prompt_sha256 is its own prompt file's (omega_prompt_sha256, control_prompt_sha256), then
5+# print the raw per-task verdicts side by side, an AT_LIMIT line for each row bound by a session limit, the totals
6+# and the ledger line.
7+# usage: sh compare.sh OMEGA_OUTDIR CONTROL_OUTDIR
8+# Exit 0 with the table; 1 when the arms are not comparable: different inputs, an arm given the other arm's
9+# prompt, different or incomplete task sets (every task in the task directory must be scored), or a row with an
10+# unknown verdict or a session rc other than 0 or 124.
11+set -u
12+. "$(dirname "$0")/case.sh"
13+o=${1:?omega outdir}
14+c=${2:?control outdir}
15+tab=$(printf '\t')
16+for d in "$o" "$c"; do
17+ [ -s "$d/manifest.tsv" ] && [ -s "$d/results.tsv" ] || { echo "COMPARE FAIL $d has no manifest.tsv or results.tsv" >&2; exit 1; }
18+done
19+[ "$(sed -n "s/^arm$tab//p" "$o/manifest.tsv")" = omega ] && [ "$(sed -n "s/^arm$tab//p" "$c/manifest.tsv")" = control ] ||
20+ { echo "COMPARE FAIL arms must be omega then control" >&2; exit 1; }
21+strip() { grep -v -e "^arm$tab" -e "^prompt_sha256$tab" "$1"; }
22+if [ "$(strip "$o/manifest.tsv")" != "$(strip "$c/manifest.tsv")" ]; then
23+ echo "COMPARE FAIL the arms were measured with different inputs:" >&2
24+ t=$(mktemp -d)
25+ strip "$o/manifest.tsv" > "$t/omega"; strip "$c/manifest.tsv" > "$t/control"
26+ diff "$t/omega" "$t/control" >&2; rm -rf "$t"
27+ exit 1
28+fi
29+for p in "$o:omega" "$c:control"; do
30+ d=${p%:*}
31+ a=${p##*:}
32+ [ "$(sed -n "s/^prompt_sha256$tab//p" "$d/manifest.tsv")" = "$(sed -n "s/^${a}_prompt_sha256$tab//p" "$d/manifest.tsv")" ] ||
33+ { echo "COMPARE FAIL $d was not given the $a prompt" >&2; exit 1; }
34+done
35+ids_o=$(tail -n +2 "$o/results.tsv" | cut -f1 | LC_ALL=C sort)
36+ids_c=$(tail -n +2 "$c/results.tsv" | cut -f1 | LC_ALL=C sort)
37+[ -n "$ids_o" ] && [ "$ids_o" = "$ids_c" ] || { echo "COMPARE FAIL the arms scored different task sets" >&2; exit 1; }
38+n=$(echo "$ids_o" | wc -l | tr -d ' ')
39+want=$(sed -n "s/^tasks_count$tab//p" "$o/manifest.tsv")
40+[ "$n" = "$want" ] || { echo "COMPARE FAIL $n tasks scored, the task directory holds $want: finish both arms first" >&2; exit 1; }
41+[ "$(echo $ids_o)" = "$(sed -n "s/^task_ids$tab//p" "$o/manifest.tsv")" ] ||
42+ { echo "COMPARE FAIL the scored tasks are not the tasks in the task directory" >&2; exit 1; }
43+for d in "$o" "$c"; do
44+ bad=$(tail -n +2 "$d/results.tsv" | awk -F'\t' -v vs="$VERDICTS" '
45+ BEGIN { n = split(vs, a, " "); for (i = 1; i <= n; i++) ok[a[i]] = 1 }
46+ !($2 in ok) || ($5 != "0" && $5 != "124") { print $1 }')
47+ [ -z "$bad" ] || { echo "COMPARE FAIL $d/results.tsv has rows with an unknown verdict or a session rc other than 0/124:" $bad >&2; exit 1; }
48+done
49+printf 'id\tomega\tcontrol\n'
50+for id in $ids_o; do
51+ printf '%s\t%s\t%s\n' "$id" "$(awk -F'\t' -v i="$id" '$1 == i { print $2 }' "$o/results.tsv")" \
52+ "$(awk -F'\t' -v i="$id" '$1 == i { print $2 }' "$c/results.tsv")"
53+done
54+# Rows bound by a session limit (case.sh): the session was stopped by the timeout (rc 124) or the guard let it
55+# finish only because it hit the stop limit (its log says "stop allowed after"). Listed so such a verdict is not
56+# read as a free answer.
57+atlimit() { # atlimit DIR: the AT_LIMIT lines of one arm
58+ a=$(sed -n "s/^arm$tab//p" "$1/manifest.tsv")
59+ for id in $ids_o; do
60+ rc=$(awk -F'\t' -v i="$id" '$1 == i { print $5 }' "$1/results.tsv")
61+ if [ "$rc" = 124 ]; then
62+ echo "AT_LIMIT $a $id session_rc=124 (timeout)"
63+ elif grep -q 'stop allowed after' "$1/$id/guard.log" 2> /dev/null; then
64+ echo "AT_LIMIT $a $id stop_limit (finish allowed after $SESSION_STOP_LIMIT refusals)"
65+ fi
66+ done
67+}
68+lo=$(atlimit "$o")
69+lc=$(atlimit "$c")
70+[ -z "$lo" ] || echo "$lo"
71+[ -z "$lc" ] || echo "$lc"
72+no=$(echo "$lo" | grep -c '^AT_LIMIT')
73+nc=$(echo "$lc" | grep -c '^AT_LIMIT')
74+po=$(tail -n +2 "$o/results.tsv" | cut -f2 | grep -cx pass)
75+pc=$(tail -n +2 "$c/results.tsv" | cut -f2 | grep -cx pass)
76+model=$(sed -n "s/^model$tab//p" "$o/manifest.tsv")
77+seed=$(sed -n "s/^seed$tab//p" "$o/manifest.tsv")
78+omc=$(sed -n "s/^omc_sha256$tab//p" "$o/manifest.tsv" | cut -c1-8)
79+echo "TOTAL omega pass=$po/$n control pass=$pc/$n"
80+echo "LEDGER OmegaCoder eval: omega $po/$n pass, control $pc/$n pass (pass with feedback from the scoring case: the guard ran the task check at each finish); at a session limit omega $no control $nc; model $model seed $seed omc $omc; per-task results $o/results.tsv $c/results.tsv"

coder/eval/refcheck.sh

new file mode 100755
@@ -0,0 +1,58 @@
1+#!/bin/sh
2+# Check the eval tasks and their held-out reference solutions at the pinned omc, before any run.
3+# usage: OMEGA_HOME=... sh refcheck.sh TASKDIR MANIFEST REFDIR
4+# TASKDIR ID/{spec.md,stdin,expected.out,expected.exit}
5+# MANIFEST tasks.json: [{id, spec, stdin_bytes, expected_sha256, exit, ref_sha256}, ...]
6+# REFDIR ID.om for every task (the references are not in this repository)
7+# Refuses unless the manifest ids are exactly the task directories, each task's files match the manifest,
8+# each reference's sha256 is the manifest's ref_sha256, and every reference passes its case line (the
9+# same line run.sh writes, from case.sh) through the om2 gate with the pinned omc. Prints REFCHECK PASS n=N (exit 0) or
10+# REFCHECK FAIL with the reasons (exit 1); exit 2 on a usage or pin error.
11+set -u
12+. "$(dirname "$0")/case.sh"
13+tasks=${1:?taskdir}
14+man=${2:?tasks.json}
15+refs=${3:?refdir}
16+home=${OMEGA_HOME:-$HOME/.local/share/aien-omega}
17+home=$(cd "$home" && pwd) || { echo "REFCHECK FAIL no OMEGA_HOME directory $home" >&2; exit 2; }
18+pin="$(cd "$(dirname "$0")/../.." && pwd)/PIN"
19+sha=$(sed -n 's/^omc-sha256 //p' "$pin")
20+[ -n "$sha" ] && [ "$(sha256sum "$home/omc" | cut -d' ' -f1)" = "$sha" ] || { echo "REFCHECK FAIL $home/omc is not the omc in $pin" >&2; exit 2; }
21+command -v jq > /dev/null || { echo "REFCHECK FAIL jq not on PATH" >&2; exit 2; }
22+command -v bwrap > /dev/null || { echo "REFCHECK FAIL bwrap not on PATH" >&2; exit 2; }
23+for d in "$tasks" "$refs"; do [ -d "$d" ] || { echo "REFCHECK FAIL no directory $d" >&2; exit 2; }; done
24+tasks=$(cd "$tasks" && pwd)
25+refs=$(cd "$refs" && pwd)
26+fail=0
27+bad() { echo "REFCHECK FAIL $*"; fail=1; }
28+[ "$(jq -r '.[].id' "$man" | LC_ALL=C sort)" = "$(ls "$tasks" | LC_ALL=C sort)" ] || bad "manifest ids are not the task directories"
29+work=$(mktemp -d)
30+trap 'rm -rf "$work"' EXIT
31+# The gate sees copies of the tasks and references under $work/in, read-only, and nothing else of this machine
32+# (narrow_gate in case.sh).
33+mkdir "$work/in" "$work/sandbox"
34+cp -R "$tasks" "$work/in/tasks"
35+cp -R "$refs" "$work/in/refs"
36+echo "deadline $CASE_DEADLINE" > "$work/in/cases.txt"
37+n=0
38+for id in $(jq -r '.[].id' "$man"); do
39+ t="$tasks/$id"
40+ [ -d "$t" ] || continue
41+ n=$((n + 1))
42+ row=$(jq -c --arg id "$id" '.[] | select(.id == $id)' "$man")
43+ [ "$(sha256sum < "$t/expected.out" | cut -d' ' -f1)" = "$(echo "$row" | jq -r .expected_sha256)" ] || bad "$id expected.out differs from expected_sha256"
44+ [ "$(wc -c < "$t/stdin" | tr -d ' ')" = "$(echo "$row" | jq -r .stdin_bytes)" ] || bad "$id stdin size differs from stdin_bytes"
45+ [ "$(cat "$t/expected.exit")" = "$(echo "$row" | jq -r .exit)" ] || bad "$id expected.exit differs from exit"
46+ [ "$(cat "$t/spec.md")" = "$(echo "$row" | jq -r .spec)" ] || bad "$id spec.md differs from spec"
47+ [ "$(wc -c < "$t/expected.out")" -lt $((CASE_FSIZE_BLOCKS * 256)) ] ||
48+ bad "$id expected.out is $(wc -c < "$t/expected.out" | tr -d ' ') bytes, half or more of the scorer's file-size limit (CASE_FSIZE_BLOCKS in case.sh): raise the limit"
49+ if [ ! -f "$refs/$id.om" ]; then bad "$id no reference $refs/$id.om"; continue; fi
50+ [ "$(sha256sum < "$refs/$id.om" | cut -d' ' -f1)" = "$(echo "$row" | jq -r .ref_sha256)" ] || bad "$id reference sha256 differs from ref_sha256"
51+ caseline "$id" "$work/in/refs/$id.om" "$work/in/tasks/$id" >> "$work/in/cases.txt"
52+done
53+narrow_gate "$home" "$work/in" "$work/sandbox" "$home/omc" "$sha" "$work/in/cases.txt" "$work/sandbox/scratch" > "$work/gate.log" 2>&1
54+grc=$?
55+notpass=$(grep '^VERDICT ' "$work/gate.log" | grep -v '^VERDICT [^ ]* PASS')
56+[ -z "$notpass" ] || bad "gate verdicts: $notpass"
57+[ "$grc" -eq 0 ] && grep -q "^OM2GATE PASS cases=$n " "$work/gate.log" || bad "gate rc $grc: $(grep '^OM2GATE ' "$work/gate.log")"
58+if [ "$fail" -eq 0 ]; then echo "REFCHECK PASS n=$n omc=$sha"; else exit 1; fi

coder/eval/run.sh

@@ -6,38 +6,103 @@
66 # TASKDIR holds TASK_ID/{spec.md,stdin,expected.out,expected.exit}; reference solutions live elsewhere
77 # Tasks run one after another (the live 35B takes serial requests only). Each task gets a fresh empty
88 # directory; the model must leave main.om there. Scoring is independent of the session: compile with
9-# the pinned omc, then run the om2 gate on the task's case line in a fresh scratch directory.
10-# Per task: OUTDIR/ID/{work/,cases.txt,transcript.jsonl,stderr,guard.log,score.log}; summary OUTDIR/results.tsv.
9+# the pinned omc, then score.sh runs the om2 gate with no expected output in the program's view, then compares
10+# the program's saved stdout with the expected output through the gate.
11+# Verdicts: pass, wrong-output, timeout, crash, compile-fail (coder/README.md says what each means and what
12+# stops the run with exit 3 instead).
13+# Per task: OUTDIR/ID/{work/,sandbox/,transcript.jsonl,stderr,guard.log,score.log}; summary OUTDIR/results.tsv;
14+# inputs (compiler, gate, prompt, guard, tasks, session program) OUTDIR/manifest.tsv.
1115 set -u
16+. "$(dirname "$0")/case.sh"
1217 arm=${1:?arm: omega or control}
1318 out=${2:?outdir}
1419 tasks=${3:?taskdir}
1520 shift 3
1621 home=${OMEGA_HOME:-$HOME/.local/share/aien-omega}
22+home=$(cd "$home" && pwd) || { echo "no OMEGA_HOME directory $home" >&2; exit 2; }
1723 omc="$home/omc"
18-sha=2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f
19-[ "$(sha256sum "$omc" | cut -d' ' -f1)" = "$sha" ] || { echo "pinned omc mismatch" >&2; exit 2; }
24+# The pin is read from the repository's PIN (the one place it is written); the installed pack must
25+# have been built for the same pin, or the guard and this scorer would disagree.
26+pin="$(cd "$(dirname "$0")/../.." && pwd)/PIN"
27+sha=$(sed -n 's/^omc-sha256 //p' "$pin")
28+[ -n "$sha" ] || { echo "no omc-sha256 line in $pin" >&2; exit 2; }
29+got=$(sha256sum "$omc" | cut -d' ' -f1)
30+[ "$got" = "$sha" ] || { echo "pinned omc mismatch: $omc sha256 $got, $pin says $sha" >&2; exit 2; }
31+cmp -s "$pin" "$home/context/PIN" || { echo "pack built for another pin: rebuild $home/context with build-context.sh" >&2; exit 2; }
32+# The session loads $home/omega-guard.ts (aien -e); it must be this repository's guard, or the session would run
33+# a check loop this runner does not describe.
34+guard="$(cd "$(dirname "$0")/.." && pwd)/omega-guard.ts"
35+cmp -s "$guard" "$home/omega-guard.ts" || { echo "$home/omega-guard.ts is not $guard: cp it there" >&2; exit 2; }
36+here=$(cd "$(dirname "$0")" && pwd)
37+# q: quote one word for sh -c (OMEGA_CHECK is a command line the guard runs)
38+q() { printf "'%s'" "$(printf '%s' "$1" | sed "s/'/'\\\\''/g")"; }
2039 command -v aien > /dev/null || { echo "aien not on PATH" >&2; exit 2; }
40+command -v bwrap > /dev/null || { echo "bwrap not on PATH (the gate runs model-written programs inside it)" >&2; exit 2; }
41+command -v jq > /dev/null || { echo "jq not on PATH (it quotes each task's standard input into the prompt)" >&2; exit 2; }
42+# score.sh gives the gate absolute paths in its case lines, and the gate runs with cwd "$home".
43+[ -d "$tasks" ] || { echo "no task directory $tasks" >&2; exit 2; }
44+tasks=$(cd "$tasks" && pwd)
45+model=${OMEGA_EVAL_MODEL:-}
46+seed=${OMEGA_EVAL_SEED:-}
47+[ -n "$model" ] || { echo "set OMEGA_EVAL_MODEL to the exact model id the aien profile serves" >&2; exit 2; }
48+[ -n "$seed" ] || { echo "set OMEGA_EVAL_SEED to the sampling seed the aien profile fixes, or none" >&2; exit 2; }
2149 case $arm in
2250 omega) prompt_file="$home/context/OMEGA.md"; context="$home/context" ;;
2351 control) prompt_file="$home/context/CONTROL.md" ;;
2452 *) echo "arm must be omega or control" >&2; exit 2 ;;
2553 esac
54+ids=${*:-$(ls "$tasks")}
55+for id in $ids; do
56+ [ -d "$tasks/$id" ] || { echo "no task $id in $tasks" >&2; exit 2; }
57+done
2658 mkdir -p "$out" "$out/empty-context"
2759 out=$(cd "$out" && pwd)
2860 [ "$arm" = control ] && context="$out/empty-context"
29-ids=${*:-$(ls "$tasks")}
61+# What this run was measured with. A resumed run must match the manifest it started with, and compare.sh
62+# refuses two arms whose manifests differ in anything but arm and prompt. The model and seed cannot be read
63+# from here (aien takes them from its own profile), so the operator states them: OMEGA_EVAL_MODEL (required,
64+# the exact model id the aien profile serves) and OMEGA_EVAL_SEED (the sampling seed the profile fixes, or
65+# "none" when it fixes none). The runner itself is hashed because it holds the prompt template and the limits.
66+# File names with white space would split in hd(); refuse them rather than hash an error.
67+for dd in "$tasks" "$home/seed/qualification/om2/fixtures"; do
68+ [ -d "$dd" ] || continue
69+ if find "$dd" | grep -q "[ $(printf '\t')]" || [ "$(find "$dd" | wc -l)" != "$(find "$dd" -exec printf '.\n' \; | wc -l)" ]; then
70+ echo "a file name under $dd holds white space; rename it" >&2
71+ exit 2
72+ fi
73+done
74+h() { if [ -f "$1" ]; then sha256sum "$1" | cut -d' ' -f1; else echo absent; fi; }
75+hd() { if [ -d "$1" ]; then (cd "$1" && find . -type f | LC_ALL=C sort | xargs sha256sum) | sha256sum | cut -d' ' -f1; else echo absent; fi; }
76+# Both prompt files are recorded in every manifest (omega_prompt_sha256, control_prompt_sha256), so compare.sh
77+# can require the rules text to be the same in both arms; prompt_sha256 is the one this arm was given.
78+manifest=$(printf 'arm\t%s\nmodel\t%s\nseed\t%s\nomc_sha256\t%s\ngate_sha256\t%s\nfixtures_sha256\t%s\nprompt_sha256\t%s\nomega_prompt_sha256\t%s\ncontrol_prompt_sha256\t%s\nguard_sha256\t%s\nerrors_sha256\t%s\nrunner_sha256\t%s\ntasks_sha256\t%s\ntasks_count\t%s\ntask_ids\t%s\naien\t%s\naien_version\t%s\n' \
79+ "$arm" "$model" "$seed" "$sha" "$(h "$home/gate")" "$(hd "$home/seed/qualification/om2/fixtures")" "$(h "$prompt_file")" \
80+ "$(h "$home/context/OMEGA.md")" "$(h "$home/context/CONTROL.md")" \
81+ "$(h "$home/omega-guard.ts")" "$(h "$home/context/errors.tsv")" "$(cat "$0" "$here/case.sh" "$here/score.sh" "$here/cat.om" | sha256sum | cut -d' ' -f1)" "$(hd "$tasks")" "$(ls "$tasks" | wc -l | tr -d ' ')" "$(ls "$tasks" | LC_ALL=C sort | tr '\n' ' ' | sed 's/ $//')" \
82+ "$(h "$(command -v aien)")" "$(aien --version 2>&1 | head -n 1)")
83+# Rows with no manifest were scored with unknown inputs (an older runner wrote results.tsv alone): never adopt them.
84+if [ ! -f "$out/manifest.tsv" ] && [ -f "$out/results.tsv" ] && [ "$(wc -l < "$out/results.tsv")" -gt 1 ]; then
85+ echo "$out/results.tsv has rows but no manifest.tsv: scored with unknown inputs; use a new OUTDIR" >&2
86+ exit 2
87+fi
88+if [ -f "$out/manifest.tsv" ]; then
89+ [ "$manifest" = "$(cat "$out/manifest.tsv")" ] ||
90+ { echo "resume with different inputs; diff $out/manifest.tsv against:" >&2; echo "$manifest" >&2; exit 2; }
91+else
92+ echo "$manifest" > "$out/manifest.tsv"
93+fi
3094 # Resumable: a task already scored in results.tsv is skipped; an interrupted task left no row and is re-run.
3195 [ -s "$out/results.tsv" ] ||
3296 printf 'id\tverdict\tomc_rc\tgate_rc\tsession_rc\twall_s\tstop_refusals\tnon_om_files\n' > "$out/results.tsv"
3397 for id in $ids; do
34- if cut -f1 "$out/results.tsv" | grep -qx "$id"; then continue; fi
98+ if cut -f1 "$out/results.tsv" | grep -qxF "$id"; then continue; fi
3599 t="$tasks/$id"
36100 d="$out/$id"
37101 rm -rf "$d"
38102 mkdir -p "$d/work"
39- printf 'deadline 10\n%s run %s/work/main.om file:%s/stdin file:%s/expected.out - %s\n' \
40- "$id" "$d" "$t" "$t" "$(cat "$t/expected.exit")" > "$d/cases.txt"
103+ # The finish check: the same scorer, on its own scratch directory under the session's output directory
104+ # (outside the session directory, which is all the session's programs can read).
105+ check="sh $(q "$here/score.sh") $(q "$home") $(q "$d/work/main.om") $(q "$t") $(q "$id") $(q "$d/check")"
41106 if [ -s "$t/stdin" ]; then
42107 input="Standard input for the check (JSON string): $(jq -Rs . < "$t/stdin")"
43108 else
@@ -48,14 +113,32 @@ $input
48113 Write the program to main.om in the working directory, check it with omega_run, and finish only when it is correct."
49114 start=$(date +%s)
50115 (cd "$d/work" && OMEGA_HOME="$home" OMEGA_PROMPT="$prompt_file" OMEGA_CONTEXT="$context" \
51- OMEGA_CASES="$d/cases.txt" OMEGA_STOP_LIMIT=5 OMEGA_LOG="$d/guard.log" \
52- timeout 900 aien --omega -p --mode json --max-time 600 --no-session "$prompt" \
116+ OMEGA_CHECK="$check" OMEGA_STOP_LIMIT="$SESSION_STOP_LIMIT" OMEGA_LOG="$d/guard.log" \
117+ timeout "$SESSION_TIMEOUT" aien --omega -p --mode json --no-session "$prompt" \
53118 > "$d/transcript.jsonl" 2> "$d/stderr")
54119 src=$?
55- # 126/127: the session never started (not executable / not found). Scoring that as compile-fail would
56- # count an infrastructure failure against the model; stop without writing a row so a rerun retries it.
57- if [ "$src" -eq 126 ] || [ "$src" -eq 127 ]; then
58- echo "$id: session did not start (rc $src), see $d/stderr; no row written" >&2
120+ # A session ends with 0, or 124 when timeout stops it. Anything else (126/127: it never started; another
121+ # code: aien failed, for example the model server was unreachable) is not the model's answer: stop without
122+ # a row, so the operator sees it at once and a rerun retries the task.
123+ if [ "$src" -ne 0 ] && [ "$src" -ne 124 ]; then
124+ echo "$id: session ended with rc $src (not 0 or 124), see $d/stderr; no row written" >&2
125+ exit 3
126+ fi
127+ # The guard logs a "stop ..." line at every finish. A session that ended normally (rc 0) with none means the
128+ # guard was not loaded or never saw the finish, and "no OMEGA_CHECK" means the task check did not reach it:
129+ # either way the session ran without the harness, so stop without a row.
130+ if [ "$src" -eq 0 ] && ! grep -q 'stop allowed\|stop refused' "$d/guard.log" 2> /dev/null; then
131+ echo "$id: guard.log shows no finish (the guard was not loaded?), see $d/guard.log; no row written" >&2
132+ exit 3
133+ fi
134+ if grep -q 'no OMEGA_CHECK' "$d/guard.log" 2> /dev/null; then
135+ echo "$id: the guard ran without the task check (OMEGA_CHECK), see $d/guard.log; no row written" >&2
136+ exit 3
137+ fi
138+ # A session in which the model never produced one output token measured the server, not the model
139+ # (2026-11-15: a busy 35B answered nothing within the timeout). Stop without a row; a rerun retries it.
140+ if ! grep -q '"output":[1-9]' "$d/transcript.jsonl"; then
141+ echo "$id: the model produced no output tokens (session rc $src), see $d/transcript.jsonl; no row written" >&2
59142 exit 3
60143 fi
61144 wall=$(($(date +%s) - start))
@@ -67,13 +150,26 @@ Write the program to main.om in the working directory, check it with omega_run,
67150 else
68151 "$omc" < "$d/work/main.om" > "$d/main.elf" 2> "$d/score.log"
69152 orc=$?
153+ # 126/127: omc could not be executed. That is the machine, not the model: stop without a row.
154+ if [ "$orc" -eq 126 ] || [ "$orc" -eq 127 ]; then
155+ echo "$id: omc could not run (rc $orc), see $d/score.log; no row written" >&2
156+ exit 3
157+ fi
70158 if [ "$orc" -ne 0 ]; then
71159 verdict=compile-fail
72160 else
73- rm -rf "$d/scratch"
74- (cd "$home" && ./gate "$omc" "$sha" "$d/cases.txt" "$d/scratch") >> "$d/score.log" 2>&1
75- grc=$?
76- if [ "$grc" -eq 0 ] && grep -q '^OM2GATE PASS ' "$d/score.log"; then verdict=pass; else verdict=wrong-output; fi
161+ # score.sh: exit 0 pass, 1 another verdict on the program, 3 (or anything else) the machine's: stop
162+ # without a row.
163+ sh "$here/score.sh" "$home" "$d/work/main.om" "$t" "$id" "$d/sandbox" >> "$d/score.log" 2>&1
164+ scrc=$?
165+ s=$(grep "^SCORE $id " "$d/score.log" | tail -n 1)
166+ verdict=$(echo "$s" | cut -d' ' -f3)
167+ grc=$(echo "$s" | cut -d' ' -f4)
168+ if { [ "$scrc" -ne 0 ] && [ "$scrc" -ne 1 ]; } || [ -z "$verdict" ] || ! echo " $VERDICTS " | grep -qF " $verdict " ||
169+ { [ "$verdict" = pass ] && [ "$scrc" -ne 0 ]; } || { [ "$verdict" != pass ] && [ "$scrc" -ne 1 ]; }; then
170+ echo "$id: the scorer gave no verdict on the program (rc $scrc), see $d/score.log; no row written" >&2
171+ exit 3
172+ fi
77173 fi
78174 fi
79175 refusals=$(grep -c 'stop refused' "$d/guard.log" 2>/dev/null || true)

coder/eval/score.sh

new file mode 100755
@@ -0,0 +1,112 @@
1+#!/bin/sh
2+# Score one model-written program on one task (harness tooling, not product code).
3+# usage: sh score.sh HOME SRC TASK ID [WORK]
4+# HOME OMEGA_HOME (omc, the built gate, seed/qualification/om2/fixtures); omc must be the one PIN names
5+# SRC the program (main.om); TASK holds stdin, expected.out, expected.exit; WORK a scratch directory
6+# (default: a temporary one, removed at exit)
7+# The program is model-written and the om2 gate runs it with the gate's own permissions, so whatever the program
8+# can open it can print. Stage A runs it through the gate with nothing of the task in view but copies of the
9+# program and its stdin (narrow_gate in case.sh): no expected output anywhere it can read. The gate decides
10+# compile, exit status, stderr, deadline and signal there. Stage B is trusted: the gate runs cat.om with the
11+# program's saved stdout as input and the task's expected output as the expected stdout, so the byte comparison
12+# is still the gate's.
13+# Prints the deciding VERDICT line(s), then "SCORE ID VERDICT GATE_RC" (VERDICT one of pass, wrong-output,
14+# timeout, crash, compile-fail; GATE_RC 0 or 1). Stage A's line is printed with its stdout word replaced by
15+# "stdout=(compared in stage B)", since stage A has no expected stdout. Exit 0 = pass, 1 = any other verdict on
16+# the program, 3 = no verdict on the program (omc mismatch, an unreadable file, a gate that did not run or gave
17+# no single verdict): that is the machine's, not the model's.
18+set -u
19+here=$(cd "$(dirname "$0")" && pwd)
20+. "$here/case.sh"
21+home=${1:?home}
22+home=$(cd "$home" && pwd) || { echo "SCORE-ERROR ${4:-} no home directory $1" >&2; exit 3; }
23+src=${2:?src}
24+t=${3:?task}
25+id=${4:?id}
26+work=${5:-}
27+machine() { echo "SCORE-ERROR $id $*" >&2; exit 3; }
28+sha=$(sed -n 's/^omc-sha256 //p' "$here/../../PIN")
29+[ -n "$sha" ] && [ "$(sha256sum < "$home/omc" | cut -d' ' -f1)" = "$sha" ] || machine "$home/omc is not the omc PIN names"
30+if [ -z "$work" ]; then
31+ work=$(mktemp -d)
32+ trap 'rm -rf "$work"' EXIT
33+fi
34+rm -rf "$work/a" "$work/b" "$work/c" "$work/a.log" "$work/b.log" "$work/c.log"
35+mkdir -p "$work/a/in" "$work/a/run" "$work/b/in" "$work/b/run" || machine "cannot make $work"
36+work=$(cd "$work" && pwd)
37+if [ ! -f "$src" ]; then
38+ echo "no $src"
39+ echo "SCORE $id compile-fail NA"
40+ exit 1
41+fi
42+cp "$src" "$work/a/in/main.om" && cp "$t/stdin" "$work/a/in/stdin" || machine "cannot copy $src or $t/stdin"
43+ex=$(cat "$t/expected.exit") || machine "no $t/expected.exit"
44+# Stage A: stdout "-" here only means the gate's stdout word is replaced below; stderr "-" requires it empty.
45+{
46+ echo "deadline $CASE_DEADLINE"
47+ printf '%s run %s file:%s - - %s\n' "$id" "$work/a/in/main.om" "$work/a/in/stdin" "$ex"
48+} > "$work/a/in/cases.txt"
49+narrow_gate "$home" "$work/a/in" "$work/a/run" "$home/omc" "$sha" "$work/a/in/cases.txt" "$work/a/run/s" > "$work/a.log" 2>&1
50+arc=$?
51+[ "$(grep -c "^VERDICT $id " "$work/a.log")" = 1 ] || machine "stage A rc $arc gave no single verdict, see $work/a.log"
52+v=$(grep "^VERDICT $id " "$work/a.log")
53+echo "$v" | sed 's/ stdout=match / stdout=(compared in stage B) /; s/ stdout differs at byte [0-9]* / stdout=(compared in stage B) /'
54+case $v in
55+"VERDICT $id INVALID child deadline exceeded"*) echo "SCORE $id timeout 1"; exit 1 ;;
56+"VERDICT $id INVALID child signal"*) echo "SCORE $id crash 1"; exit 1 ;;
57+"VERDICT $id FAIL compile exit="*) echo "SCORE $id compile-fail 1"; exit 1 ;;
58+"VERDICT $id PASS run exit="* | "VERDICT $id FAIL run exit="*) ;;
59+"VERDICT $id INVALID exec or redirect failed (child exit 127)"*)
60+ # The gate cannot tell a program that exits 127 from a failed exec or redirect. Run the trusted cat.om the
61+ # same way: if the gate gives it a run verdict, exec and redirect work here and 127 was the program's.
62+ [ "$ex" != 127 ] || machine "stage A exit 127 is both the expected exit and the gate's exec failure, see $work/a.log"
63+ mkdir -p "$work/c/in" "$work/c/run" && cp "$here/cat.om" "$work/c/in/cat.om" && cp "$t/stdin" "$work/c/in/stdin" ||
64+ machine "cannot copy the exec control's inputs"
65+ {
66+ echo "deadline $CASE_DEADLINE"
67+ printf '%s run %s file:%s - - 0\n' "$id" "$work/c/in/cat.om" "$work/c/in/stdin"
68+ } > "$work/c/in/cases.txt"
69+ narrow_gate "$home" "$work/c/in" "$work/c/run" "$home/omc" "$sha" "$work/c/in/cases.txt" "$work/c/run/s" > "$work/c.log" 2>&1
70+ grep -q "^VERDICT $id [A-Z]* run exit=0 " "$work/c.log" || machine "stage A exec failed and so did the trusted control, see $work/a.log $work/c.log"
71+ echo "SCORE $id wrong-output 1"
72+ exit 1
73+ ;;
74+*) machine "stage A verdict not on the program, see $work/a.log" ;;
75+esac
76+rx=$(echo "$v" | sed -n 's/^.* run exit=\([0-9][0-9]*\) expected=\([0-9][0-9]*\) .*$/\1 \2/p')
77+[ -n "$rx" ] || machine "stage A verdict without exit and expected, see $work/a.log"
78+set -- $rx
79+case $v in
80+*" stderr=match") serr=match ;;
81+*" stderr differs at byte "*) serr=differs ;;
82+*) machine "stage A verdict without a stderr word, see $work/a.log" ;;
83+esac
84+if [ "$1" != "$2" ] || [ "$serr" != match ]; then
85+ echo "SCORE $id wrong-output 1"
86+ exit 1
87+fi
88+# Stage B: the gate names the program's stdout <line>.out in its scratch; the case is on line 2.
89+[ -f "$work/a/run/s/2.out" ] || machine "stage A left no $work/a/run/s/2.out"
90+cp "$work/a/run/s/2.out" "$work/b/in/got" && cp "$t/expected.out" "$work/b/in/expected.out" && cp "$here/cat.om" "$work/b/in/cat.om" ||
91+ machine "cannot copy stage B inputs"
92+{
93+ echo "deadline $CASE_DEADLINE"
94+ printf '%s run %s file:%s file:%s - 0\n' "$id" "$work/b/in/cat.om" "$work/b/in/got" "$work/b/in/expected.out"
95+} > "$work/b/in/cases.txt"
96+narrow_gate "$home" "$work/b/in" "$work/b/run" "$home/omc" "$sha" "$work/b/in/cases.txt" "$work/b/run/s" > "$work/b.log" 2>&1
97+brc=$?
98+[ "$(grep -c "^VERDICT $id " "$work/b.log")" = 1 ] || machine "stage B rc $brc gave no single verdict, see $work/b.log"
99+w=$(grep "^VERDICT $id " "$work/b.log")
100+echo "$w"
101+case $w in
102+"VERDICT $id PASS run exit=0 expected=0 stdout=match stderr=match")
103+ [ "$brc" -eq 0 ] && grep -q '^OM2GATE PASS ' "$work/b.log" || machine "stage B PASS with rc $brc, see $work/b.log"
104+ echo "SCORE $id pass 0"
105+ exit 0
106+ ;;
107+"VERDICT $id FAIL run exit=0 expected=0 stdout differs at byte "*" stderr=match")
108+ echo "SCORE $id wrong-output 1"
109+ exit 1
110+ ;;
111+*) machine "stage B verdict not a comparison, see $work/b.log" ;;
112+esac

coder/eval/selftest.sh

new file mode 100755
@@ -0,0 +1,438 @@
1+#!/bin/sh
2+# Self-test of run.sh, compare.sh, refcheck.sh, score.sh and the guard's run sandbox, no model needed. A stub
3+# session program (selftest/aien) records what each session was given (system prompt file, readable context,
4+# task check, stop limit, task prompt), leaves a program as main.om (selftest/src/ID.om, or
5+# selftest/src-control/ID.om in the control arm, so the arms differ) and runs the task check as the guard does.
6+# Checked:
7+# - every task scores as selftest/expect.tsv says, per arm, also when TASKDIR is a relative path, and the raw
8+# columns omc_rc, gate_rc, stop_refusals and non_om_files are as selftest/expect-raw.tsv says, wall_s a number
9+# (at least 1 for st2, where the stub sleeps a second);
10+# - each session got its arm's prompt file and readable context (the pack, or an empty directory), a task check
11+# (OMEGA_CHECK) that gives the session the task's verdict, with case.sh's deadline, case.sh's stop limit,
12+# aien's arguments, and a task prompt holding that task's spec, its standard input (or "empty") and the
13+# instruction; the manifest records aien --version (the timeout around aien is covered by runner_sha256 only;
14+# the values live in case.sh and are hashed, the test checks they reach the session);
15+# - a program that prints the task's expected output by its absolute path (st7-cheat) scores wrong-output in the
16+# scorer and in the session's check, and a copy of the scorer with the old read-only-root sandbox scores it
17+# pass (the negative control that shows the test bites); the guard's omega_run sandbox lets a program read the
18+# session directory and not the context pack or the directory above;
19+# - the scorer's gate runs in the narrow sandbox (no write outside it, no task file, context pack or /proc in
20+# view); the real gate's PASS and FAIL; a fake gate's deadline (timeout) and signal (crash) verdicts;
21+# a gate with no verdict, a PASS line with a non-zero exit, an unreadable fixture, and an omc or gate that
22+# cannot execute each stop the run with exit 3 and no row for that task;
23+# - score.sh with the real gate: a program that exits 127 scores wrong-output, and with a gate whose exec fails
24+# the run stops (exit 3); a program with the right stdout and the wrong exit gets no stage A line about its
25+# stdout; a program that writes 2.5 MiB scores crash and leaves no file over the 1 MiB limit; stage A's
26+# inputs are exactly cases.txt, main.om and stdin; a relative OMEGA_HOME scores the same as an absolute one;
27+# refcheck.sh alarms on an expected output at half the file-size limit;
28+# - a session that ends with rc 1 stops the run (exit 3, no row); rc 124 is scored; a session whose guard log
29+# is missing or shows no finish, or a guard without the task check, stops the run (exit 3, no row);
30+# - a task file name with white space is refused;
31+# - an id with no task directory is refused before anything is written; resume matches ids exactly;
32+# - compare.sh prints exactly the expected per-task table, totals and LEDGER line, and refuses: swapped arms,
33+# different or incomplete or empty task sets, scored ids that are not the task directory's, a row with an
34+# unknown verdict or session rc, a control run with other rules text, an arm given the other arm's prompt, and a
35+# difference in any one manifest key other than arm and prompt_sha256;
36+# - a rerun exits 0 and adds no row, and re-runs a task whose row is missing from a clean directory and guard
37+# log; a rerun with any one input changed (model, seed, gate, gate fixtures, prompt, error table, run.sh,
38+# case.sh, score.sh, tasks, session program) is refused with exit 2 and adds no row; a guard in OMEGA_HOME that
39+# is not this repository's is refused; rows without a manifest are refused; the verdict words in run.sh and
40+# score.sh are case.sh's VERDICTS;
41+# - a missing model, a missing seed, missing jq, a pack built for another pin and a wrong compiler are each
42+# refused with exit 2 and nothing written (a different omc cannot reach the manifest: the pin check
43+# refuses it first);
44+# - compare.sh marks rows the guard let finish at the stop limit or stopped by the timeout (AT_LIMIT) and no
45+# others (not a row with as many refusals as the limit that then passed);
46+# - refcheck.sh refuses, with fake gates, a case count other than n, a PASS line with exit 1 and a FAIL verdict;
47+# it passes good references and refuses a wrong reference, a reference whose sha256 is not the
48+# manifest's, and a manifest whose expected_sha256, stdin_bytes, exit, spec or id differs for one task.
49+# usage: OMEGA_HOME=... sh selftest.sh (OMEGA_HOME as for run.sh: omc, gate, fixtures, context/, omega-guard.ts;
50+# node runs the guard's sandbox check)
51+# Exit 0 only when every check passes.
52+set -u
53+here=$(cd "$(dirname "$0")" && pwd)
54+. "$here/case.sh"
55+home=${OMEGA_HOME:-$HOME/.local/share/aien-omega}
56+out=$(mktemp -d)
57+trap 'rm -rf "$out"' EXIT
58+tab=$(printf '\t')
59+fail=0
60+check() { if [ "$2" = "$3" ]; then echo "PASS $1"; else echo "FAIL $1: got '$2', want '$3'"; fail=1; fi; }
61+# run ARM OUTDIR HOME [MODEL [SEED [TASKS [RUNNER [STUBDIR [BASEPATH]]]]]]; output in OUTDIR.log
62+run() {
63+ SELFTEST_TASKS=$(cd "${6:-$here/selftest/tasks}" && pwd) PATH="${8:-$here/selftest}:${9:-$PATH}" OMEGA_HOME="$3" \
64+ OMEGA_EVAL_MODEL="${4-selftest-stub}" OMEGA_EVAL_SEED="${5-none}" \
65+ sh "${7:-$here/run.sh}" "$1" "$2" "${6:-$here/selftest/tasks}" > "$2.log" 2>&1
66+}
67+rows() { if [ -f "$1/results.tsv" ]; then echo $(($(wc -l < "$1/results.tsv") - 1)); else echo none; fi; }
68+sha() { sha256sum "$1" | cut -d' ' -f1; }
69+field() { awk -F'\t' -v k="$2" '$1 == k { print $2 }' "$1"; }
70+col() { awk -F'\t' -v k="$2" -v c="$3" '$1 == k { print $c }' "$1"; }
71+setfield() { awk -F'\t' -v k="$2" -v v="$3" 'BEGIN { OFS = "\t" } $1 == k { $2 = v } { print }' "$1" > "$1.new" && mv "$1.new" "$1"; }
72+ntasks=$(wc -l < "$here/selftest/expect.tsv" | tr -d ' ')
73+verdicts() { # verdicts NAME OUTDIR COLUMN(2 omega, 3 control)
74+ while IFS="$tab" read -r id want_o want_c; do
75+ want=$want_o
76+ [ "$3" = 3 ] && want=$want_c
77+ check "$1: $id verdict" "$(field "$2/results.tsv" "$id")" "$want"
78+ done < "$here/selftest/expect.tsv"
79+ check "$1: rows" "$(rows "$2")" "$ntasks"
80+}
81+
82+for arm in omega control; do
83+ run "$arm" "$out/$arm" "$home"
84+ check "$arm: run exit status" "$?" 0
85+ if [ "$arm" = omega ]; then c=2 p=OMEGA.md ctx=$home/context; else c=3 p=CONTROL.md ctx=$out/control/empty-context; fi
86+ verdicts "$arm" "$out/$arm" "$c"
87+ check "$arm: manifest prompt" "$(field "$out/$arm/manifest.tsv" prompt_sha256)" "$(sha "$home/context/$p")"
88+ for t in "$here/selftest/tasks"/*; do
89+ id=$(basename "$t")
90+ s="$out/$arm/$id/session.txt"
91+ check "$arm: $id session prompt file is $p" "$(sed -n 's/^prompt //p' "$s")" "$(sha "$home/context/$p")"
92+ check "$arm: $id session context" "$(sed -n 's/^context //p' "$s")" "$ctx"
93+ check "$arm: $id session task check" "$(sed -n 's/^check //p' "$s")" yes
94+ check "$arm: $id session task check verdict" "$(sed -n 's/^check_score //p' "$s")" "$(field "$out/$arm/results.tsv" "$id")"
95+ check "$arm: $id session stop limit" "$(sed -n 's/^stop_limit //p' "$s")" "$SESSION_STOP_LIMIT"
96+ tp="$out/$arm/$id/session-prompt.txt"
97+ check "$arm: $id task prompt holds its spec" "$(grep -cxF "Task: $(cat "$t/spec.md")" "$tp")" 1
98+ if [ -s "$t/stdin" ]; then
99+ line="Standard input for the check (JSON string): $(jq -Rs . < "$t/stdin")"
100+ else
101+ line="Standard input for the check is empty."
102+ fi
103+ check "$arm: $id task prompt holds its input" "$(grep -cxF "$line" "$tp")" 1
104+ check "$arm: $id task prompt ends with the instruction" "$(tail -n 1 "$tp")" \
105+ "Write the program to main.om in the working directory, check it with omega_run, and finish only when it is correct."
106+ check "$arm: $id session arguments" "$(cat "$out/$arm/$id/session-args.txt")" "--omega -p --mode json --no-session"
107+ [ "$id" = st5-nofile ] || check "$arm: $id case deadline" "$(head -n 1 "$out/$arm/$id/check/a/in/cases.txt")" "deadline $CASE_DEADLINE"
108+ w=$(col "$out/$arm/results.tsv" "$id" 6)
109+ check "$arm: $id wall seconds is a whole number" "$(case $w in ''|*[!0-9]*) echo "$w";; *) echo ok;; esac)" ok
110+ done
111+ while IFS="$tab" read -r a id orc grc ref non; do
112+ [ "$a" = "$arm" ] || continue
113+ check "$arm: $id raw columns omc_rc gate_rc stop_refusals non_om_files" \
114+ "$(awk -F'\t' -v k="$id" '$1 == k { print $3, $4, $7, $8 }' "$out/$arm/results.tsv")" "$orc $grc $ref $non"
115+ done < "$here/selftest/expect-raw.tsv"
116+ check "$arm: manifest aien_version" "$(field "$out/$arm/manifest.tsv" aien_version)" "selftest-stub 1"
117+ check "$arm: st2-wrong wall seconds at least 1 (the stub sleeps 1)" "$([ "$(col "$out/$arm/results.tsv" st2-wrong 6)" -ge 1 ] && echo yes)" yes
118+done
119+check "omega: readable context is not empty" "$([ "$(sed -n 's/^context_entries //p' "$out/omega/st1-pass/session.txt")" -gt 0 ] && echo yes)" yes
120+check "control: readable context is empty" "$(sed -n 's/^context_entries //p' "$out/control/st1-pass/session.txt")" 0
121+
122+(cd "$here/selftest" && run omega "$out/rel" "$home" selftest-stub none tasks)
123+check "relative TASKDIR: run exit status" "$?" 0
124+verdicts "relative TASKDIR" "$out/rel" 2
125+
126+# compare.sh: the whole table, totals and ledger line, then its refusals
127+sh "$here/compare.sh" "$out/omega" "$out/control" > "$out/cmp.log" 2>&1
128+check "compare accepts the two arms" "$?" 0
129+{
130+ printf 'id\tomega\tcontrol\n'
131+ LC_ALL=C sort "$here/selftest/expect.tsv"
132+ po=$(cut -f2 "$here/selftest/expect.tsv" | grep -cx pass)
133+ pc=$(cut -f3 "$here/selftest/expect.tsv" | grep -cx pass)
134+ echo "TOTAL omega pass=$po/$ntasks control pass=$pc/$ntasks"
135+ echo "LEDGER OmegaCoder eval: omega $po/$ntasks pass, control $pc/$ntasks pass (pass with feedback from the scoring case: the guard ran the task check at each finish); at a session limit omega 0 control 0; model selftest-stub seed none omc $(sed -n 's/^omc-sha256 //p' "$home/context/PIN" | cut -c1-8); per-task results $out/omega/results.tsv $out/control/results.tsv"
136+} > "$out/cmp.want"
137+check "compare output (table, totals, ledger)" "$(cat "$out/cmp.log")" "$(cat "$out/cmp.want")"
138+cmpx() { sh "$here/compare.sh" "$out/omega" "$1" > /dev/null 2>&1; echo $?; }
139+cx() { rm -rf "$out/cx" && cp -r "$out/control" "$out/cx"; }
140+check "compare refuses swapped arms" "$(sh "$here/compare.sh" "$out/control" "$out/omega" > /dev/null 2>&1; echo $?)" 1
141+cx; grep -v "^st6-stdin$tab" "$out/control/results.tsv" > "$out/cx/results.tsv"
142+check "compare refuses different task sets" "$(cmpx "$out/cx")" 1
143+rm -rf "$out/ox" && cp -r "$out/omega" "$out/ox" && grep -v "^st6-stdin$tab" "$out/omega/results.tsv" > "$out/ox/results.tsv"
144+cx; grep -v "^st6-stdin$tab" "$out/control/results.tsv" > "$out/cx/results.tsv"
145+check "compare refuses an incomplete task set" "$(sh "$here/compare.sh" "$out/ox" "$out/cx" > /dev/null 2>&1; echo $?)" 1
146+head -n 1 "$out/omega/results.tsv" > "$out/ox/results.tsv"; head -n 1 "$out/control/results.tsv" > "$out/cx/results.tsv"
147+check "compare refuses empty task sets" "$(sh "$here/compare.sh" "$out/ox" "$out/cx" > /dev/null 2>&1; echo $?)" 1
148+rm -rf "$out/ox" && cp -r "$out/omega" "$out/ox"; cx
149+sed "s/^st6-stdin$tab/st9-other$tab/" "$out/omega/results.tsv" > "$out/ox/results.tsv"
150+sed "s/^st6-stdin$tab/st9-other$tab/" "$out/control/results.tsv" > "$out/cx/results.tsv"
151+check "compare refuses scored tasks that are not the task directory's (same count)" "$(sh "$here/compare.sh" "$out/ox" "$out/cx" > /dev/null 2>&1; echo $?)" 1
152+cx; awk -F'\t' 'BEGIN { OFS = "\t" } $1 == "st3-exit" { $5 = 1 } { print }' "$out/control/results.tsv" > "$out/cx/results.tsv"
153+check "compare refuses a row with session rc 1" "$(cmpx "$out/cx")" 1
154+cx; echo "x stop allowed after $SESSION_STOP_LIMIT refusals (OMEGA_STOP_LIMIT); last: x" >> "$out/cx/st3-exit/guard.log"
155+sh "$here/compare.sh" "$out/omega" "$out/cx" > "$out/lim.log" 2>&1
156+check "compare accepts a row at the stop limit" "$?" 0
157+check "compare marks the row at the stop limit" "$(grep -c "^AT_LIMIT control st3-exit stop_limit " "$out/lim.log")" 1
158+check "LEDGER counts the row at the stop limit" "$(grep -c '; at a session limit omega 0 control 1; ' "$out/lim.log")" 1
159+cx; awk -F'\t' -v sl="$SESSION_STOP_LIMIT" 'BEGIN { OFS = "\t" } $1 == "st3-exit" { $7 = sl } { print }' "$out/control/results.tsv" > "$out/cx/results.tsv"
160+sh "$here/compare.sh" "$out/omega" "$out/cx" > "$out/lim.log" 2>&1
161+check "no AT_LIMIT for a row with as many refusals as the limit that then passed" "$(grep -c '^AT_LIMIT' "$out/lim.log")" 0
162+cx; awk -F'\t' 'BEGIN { OFS = "\t" } $1 == "st3-exit" { $5 = 124 } { print }' "$out/control/results.tsv" > "$out/cx/results.tsv"
163+sh "$here/compare.sh" "$out/omega" "$out/cx" > "$out/lim.log" 2>&1
164+check "compare marks a row stopped by the timeout" "$(grep -c '^AT_LIMIT control st3-exit session_rc=124 ' "$out/lim.log")" 1
165+check "no AT_LIMIT line when no row is at a limit" "$(grep -c '^AT_LIMIT' "$out/cmp.log")" 0
166+cx; awk -F'\t' 'BEGIN { OFS = "\t" } $1 == "st3-exit" { $2 = "maybe" } { print }' "$out/control/results.tsv" > "$out/cx/results.tsv"
167+check "compare refuses a row with an unknown verdict" "$(cmpx "$out/cx")" 1
168+for k in $(cut -f1 "$out/control/manifest.tsv"); do
169+ [ "$k" = arm ] || [ "$k" = prompt_sha256 ] && continue
170+ cx; setfield "$out/cx/manifest.tsv" "$k" changed
171+ check "compare refuses a different $k" "$(cmpx "$out/cx")" 1
172+done
173+cx; setfield "$out/cx/manifest.tsv" prompt_sha256 "$(field "$out/cx/manifest.tsv" omega_prompt_sha256)"
174+check "compare refuses a control arm given the omega prompt" "$(cmpx "$out/cx")" 1
175+copyhome() { rm -rf "$out/h" && cp -r "$home" "$out/h"; }
176+copyhome; echo "You may write C if Omega is hard." >> "$out/h/context/CONTROL.md"
177+run control "$out/ctl2" "$out/h"
178+check "control run with other rules text: exit status" "$?" 0
179+check "compare refuses a control run with other rules text" "$(cmpx "$out/ctl2")" 1
180+
181+# resume: unchanged inputs go on and fill in a missing row from a clean task directory; any one changed input
182+# is refused; rows without a manifest are never adopted
183+grep -v "^st3-exit$tab" "$out/omega/results.tsv" > "$out/m" && cp "$out/m" "$out/omega/results.tsv"
184+echo stale > "$out/omega/st3-exit/work/NOTES.md"; echo stale > "$out/omega/st3-exit/work/stale.om"
185+run omega "$out/omega" "$home"
186+check "resume exit status" "$?" 0
187+check "resume re-runs the task with no row" "$(field "$out/omega/results.tsv" st3-exit)" pass
188+check "re-run task starts from a clean directory" "$(ls "$out/omega/st3-exit/work")" main.om
189+check "re-run task starts with a fresh guard log" "$(col "$out/omega/results.tsv" st3-exit 7)" 2
190+rm -rf "$out/sub" && cp -r "$out/omega" "$out/sub" && grep -v "^st3-exit$tab" "$out/omega/results.tsv" > "$out/sub/results.tsv"
191+printf 'st3-exit-old\tpass\t0\t0\t0\t0\t0\t0\n' >> "$out/sub/results.tsv"
192+run omega "$out/sub" "$home"
193+check "resume matches task ids exactly (st3-exit-old does not stand for st3-exit)" "$(field "$out/sub/results.tsv" st3-exit)" pass
194+PATH="$here/selftest:$PATH" OMEGA_HOME="$home" OMEGA_EVAL_MODEL=m OMEGA_EVAL_SEED=none sh "$here/run.sh" omega "$out/bogus" "$here/selftest/tasks" st1-pass st9-bogus > "$out/bogus.log" 2>&1
195+check "an id with no task directory is refused" "$?" 2
196+check "an id with no task directory wrote nothing" "$([ -e "$out/bogus" ] && echo yes || echo no)" no
197+mkdir -p "$out/legacy" && printf 'id\tverdict\nst1-pass\twrong-output\n' > "$out/legacy/results.tsv"
198+run omega "$out/legacy" "$home"
199+check "rows without a manifest refused" "$?" 2
200+check "rows without a manifest: reason" "$(grep -c 'has rows but no manifest' "$out/legacy.log")" 1
201+check "rows without a manifest: no manifest written" "$([ -e "$out/legacy/manifest.tsv" ] && echo yes || echo no)" no
202+check "resume rows" "$(rows "$out/omega")" "$ntasks"
203+run omega "$out/omega" "$home"
204+check "second resume exit status" "$?" 0
205+check "second resume adds no row" "$(rows "$out/omega")" "$ntasks"
206+refused() { # refused NAME, after a run into $out/r with exit status $r
207+ check "resume with changed $1 refused" "$r" 2
208+ check "resume with changed $1: reason" "$(grep -c 'resume with different inputs' "$out/r.log")" 1
209+ check "resume with changed $1 added no row" "$(rows "$out/r")" "$ntasks"
210+}
211+fresh() { rm -rf "$out/r" && cp -r "$out/omega" "$out/r"; }
212+fresh; run omega "$out/r" "$home" other-model; r=$?; refused model
213+fresh; run omega "$out/r" "$home" selftest-stub 7; r=$?; refused seed
214+fresh; copyhome; printf x >> "$out/h/gate"; run omega "$out/r" "$out/h"; r=$?; refused gate
215+fresh; copyhome; echo x > "$out/h/seed/qualification/om2/fixtures/selftest-extra"; run omega "$out/r" "$out/h"; r=$?; refused fixtures
216+fresh; copyhome; echo x >> "$out/h/context/OMEGA.md"; run omega "$out/r" "$out/h"; r=$?; refused prompt
217+fresh; copyhome; echo '// x' >> "$out/h/omega-guard.ts"; run omega "$out/r" "$out/h"; r=$?
218+check "a guard that is not this repository's refused" "$r" 2
219+check "a guard that is not this repository's: reason" "$(grep -c 'omega-guard.ts' "$out/r.log")" 1
220+check "a guard that is not this repository's added no row" "$(rows "$out/r")" "$ntasks"
221+fresh; copyhome; echo '99 x' >> "$out/h/context/errors.tsv"; run omega "$out/r" "$out/h"; r=$?; refused errors
222+fresh; rm -rf "$out/t" && cp -r "$here/selftest/tasks" "$out/t" && echo x >> "$out/t/st1-pass/spec.md"
223+run omega "$out/r" "$home" selftest-stub none "$out/t"; r=$?; refused tasks
224+mktree() {
225+ rm -rf "$out/tree" && mkdir -p "$out/tree/coder/eval" && cp "$here/../../PIN" "$out/tree/PIN" &&
226+ cp "$here/../omega-guard.ts" "$out/tree/coder/" &&
227+ cp "$here/run.sh" "$here/case.sh" "$here/score.sh" "$here/cat.om" "$out/tree/coder/eval/"
228+}
229+fresh; mktree; echo '# x' >> "$out/tree/coder/eval/run.sh"
230+run omega "$out/r" "$home" selftest-stub none "" "$out/tree/coder/eval/run.sh"; r=$?; refused runner
231+fresh; mktree; echo '# x' >> "$out/tree/coder/eval/case.sh"
232+run omega "$out/r" "$home" selftest-stub none "" "$out/tree/coder/eval/run.sh"; r=$?; refused "case.sh"
233+fresh; mktree; echo '# x' >> "$out/tree/coder/eval/score.sh"
234+run omega "$out/r" "$home" selftest-stub none "" "$out/tree/coder/eval/run.sh"; r=$?; refused "score.sh"
235+fresh; rm -rf "$out/stub" && cp -r "$here/selftest" "$out/stub" && echo '# x' >> "$out/stub/aien"
236+run omega "$out/r" "$home" selftest-stub none "" "" "$out/stub"; r=$?; refused "session program"
237+
238+# the verdict words run.sh and score.sh can write are exactly case.sh's VERDICTS (compare.sh and refcheck.sh read
239+# case.sh)
240+check "run.sh and score.sh verdicts are case.sh VERDICTS" \
241+ "$({ grep -o 'verdict=[a-z-][a-z-]*' "$here/run.sh" | sed 's/verdict=//'; grep -o 'SCORE \$id [a-z-][a-z-]*' "$here/score.sh" | cut -d' ' -f3; } | LC_ALL=C sort -u | tr '\n' ' ')" \
242+ "$(echo $VERDICTS | tr ' ' '\n' | LC_ALL=C sort | tr '\n' ' ')"
243+
244+# a program that copies the task's expected output by its absolute path: the narrow sandbox shows it nothing,
245+# and the same scorer with the old read-only root shows it the answer (the negative control)
246+check "cheat scores wrong-output (omega)" "$(field "$out/omega/results.tsv" st7-cheat)" wrong-output
247+check "cheat's own check scores wrong-output" "$(sed -n 's/^check_score //p' "$out/omega/st7-cheat/session.txt")" wrong-output
248+mktree; sed -i 's|bwrap --ro-bind /usr /usr|bwrap --ro-bind / / --ro-bind /usr /usr|' "$out/tree/coder/eval/case.sh"
249+check "mutant scorer: read-only root inserted" "$(grep -c 'bwrap --ro-bind / / ' "$out/tree/coder/eval/case.sh")" 1
250+SELFTEST_TASKS="$here/selftest/tasks" PATH="$here/selftest:$PATH" OMEGA_HOME="$home" OMEGA_EVAL_MODEL=selftest-stub OMEGA_EVAL_SEED=none \
251+ sh "$out/tree/coder/eval/run.sh" omega "$out/mut" "$here/selftest/tasks" st7-cheat > "$out/mut.log" 2>&1
252+check "mutant scorer: run exit status" "$?" 0
253+check "mutant scorer lets the cheat pass (the test bites)" "$(field "$out/mut/results.tsv" st7-cheat)" pass
254+# the guard's omega_run sandbox: the session directory is readable, the context pack and the directory above are not
255+if command -v node > /dev/null 2>&1; then
256+ gb="$out/gs/session"
257+ mkdir -p "$gb" "$out/gs/tmp" && echo inside > "$gb/inside.txt" && echo outside > "$out/gs/outside.txt"
258+ for p in "$gb/inside.txt" "$home/context/OMEGA.md" "$gb/../outside.txt"; do
259+ sed "s|@TASKS@/st7-cheat/expected.out|$p|" "$here/selftest/src/st7-cheat.om" | "$home/omc" > "$out/gs/peek" 2> /dev/null && chmod +x "$out/gs/peek"
260+ TMPDIR="$out/gs/tmp" node --no-warnings --input-type=module -e '
261+ const { sandboxRun } = await import(process.argv[1]);
262+ const r = sandboxRun(process.argv[3], process.argv[2], [], "");
263+ process.stdout.write(String(r.out ?? ""));' "$here/../omega-guard.ts" "$gb" "$out/gs/peek" > "$out/gs/got" 2> "$out/gs/err"
264+ echo "$p $(wc -c < "$out/gs/got" | tr -d ' ')" >> "$out/gs/seen"
265+ done
266+ check "guard sandbox: a program reads the session directory" "$(sed -n 1p "$out/gs/seen")" "$gb/inside.txt 7"
267+ check "guard sandbox: a program cannot read the context pack" "$(sed -n 2p "$out/gs/seen")" "$home/context/OMEGA.md 0"
268+ check "guard sandbox: a program cannot read the directory above" "$(sed -n 3p "$out/gs/seen")" "$gb/../outside.txt 0"
269+else
270+ check "node on PATH for the guard sandbox check" no yes
271+fi
272+
273+# the scorer: verdicts the program earns, and machine failures that stop the run
274+fakegate() { # fakegate VERDICT-TEXT EXIT [FINAL-LINE]: a gate that answers every case with that verdict
275+ copyhome
276+ printf '#!/bin/sh\nid=$(sed -n 2p "$3" | cut -d" " -f1)\nmkdir -p "$4" && : > "$4/2.out"\necho "VERDICT $id %s"\n%s\nexit %s\n' \
277+ "$1" "${3:+echo \"$3\"}" "$2" > "$out/h/gate"
278+ chmod +x "$out/h/gate"
279+}
280+fakegate "INVALID child deadline exceeded, sent SIGKILL; wait low byte=9" 3 "OM2GATE INVALID cases=1"
281+run omega "$out/g1" "$out/h"
282+check "gate deadline: run exit status" "$?" 0
283+check "gate deadline scores timeout" "$(field "$out/g1/results.tsv" st1-pass)" timeout
284+check "gate deadline: compile-fail stays compile-fail" "$(field "$out/g1/results.tsv" st4-badcompile)" compile-fail
285+fakegate "INVALID child signal; wait low byte=11" 3 "OM2GATE INVALID cases=1"
286+run omega "$out/g2" "$out/h"
287+check "gate signal scores crash" "$(field "$out/g2/results.tsv" st1-pass)" crash
288+# the scorer's gate runs in the narrow sandbox: a write outside it fails, and it sees no task file, context pack
289+# or /proc
290+copyhome
291+printf '#!/bin/sh\nid=$(sed -n 2p "$3" | cut -d" " -f1)\ntouch "%s" 2> /dev/null\nfor f in "%s" "%s" /proc/self/status; do [ -e "$f" ] && echo "$f"; done >> "$(dirname "$4")/seen"\nmkdir -p "$4" && : > "$4/2.out"\necho "VERDICT $id PASS run exit=0 expected=0 stdout=match stderr=match"\necho "OM2GATE PASS cases=1"\nexit 0\n' \
292+ "$out/escaped" "$here/selftest/tasks/st1-pass/expected.out" "$out/h/context/OMEGA.md" > "$out/h/gate"
293+chmod +x "$out/h/gate"
294+run omega "$out/g6" "$out/h"
295+check "sandboxed gate: run exit status" "$?" 0
296+check "sandboxed gate: verdict" "$(field "$out/g6/results.tsv" st1-pass)" pass
297+check "sandboxed gate cannot write outside its sandbox" "$([ -e "$out/escaped" ] && echo yes || echo no)" no
298+check "sandboxed gate ran both stages" "$([ -f "$out/g6/st1-pass/sandbox/a/run/seen" ] && [ -f "$out/g6/st1-pass/sandbox/b/run/seen" ] && echo yes)" yes
299+check "sandboxed gate sees no task file, context pack or /proc" "$(cat "$out/g6/st1-pass/sandbox/a/run/seen" "$out/g6/st1-pass/sandbox/b/run/seen")" ""
300+# score.sh on st3-exit (stdout "three\n", exit 3) with the real gate
301+mkdir -p "$out/sc"
302+sc() { # sc HOME SRC-NAME: score selftest/src/SRC-NAME.om on st3-exit into $out/sc/SRC-NAME; prints score.sh's exit
303+ sh "$here/score.sh" "$1" "$here/selftest/src/$2.om" "$here/selftest/tasks/st3-exit" st3-exit "$out/sc/$2" > "$out/sc/$2.log" 2>&1
304+ echo $?
305+}
306+scored() { sed -n 's/^SCORE st3-exit \([a-z-]*\) .*/\1/p' "$out/sc/$1.log"; }
307+check "score.sh: exit 127 is the program's" "$(sc "$home" sc-e127) $(scored sc-e127)" "1 wrong-output"
308+check "score.sh: exit 127 ran the exec control" "$(grep -c '^VERDICT st3-exit [A-Z]* run exit=0 ' "$out/sc/sc-e127/c.log")" 1
309+fakegate "INVALID exec or redirect failed (child exit 127)" 1 "OM2GATE INVALID cases=1"
310+check "score.sh: exit 127 from a gate that cannot exec is the machine's" "$(sc "$out/h" sc-e127)" 3
311+check "score.sh: right stdout, wrong exit" "$(sc "$home" sc-rightout) $(scored sc-rightout)" "1 wrong-output"
312+check "score.sh: stage A says nothing about stdout" "$(grep -c 'stdout differs\|stdout=match' "$out/sc/sc-rightout.log") $(grep -c 'stdout=(compared in stage B)' "$out/sc/sc-rightout.log")" "0 1"
313+check "score.sh: a 2.5 MiB writer scores crash" "$(sc "$home" sc-big) $(scored sc-big)" "1 crash"
314+check "score.sh: its stdout stopped at the file-size limit" "$(wc -c < "$out/sc/sc-big/a/run/s/2.out" | tr -d ' ')" "$((CASE_FSIZE_BLOCKS * 512))"
315+check "score.sh: st3-exit's own program passes" "$(sc "$home" st3-exit) $(scored st3-exit)" "0 pass"
316+check "score.sh: stage A inputs are cases.txt, main.om and stdin" "$(ls "$out/sc/st3-exit/a/in" | tr '\n' ' ')" "cases.txt main.om stdin "
317+check "score.sh: a relative OMEGA_HOME passes the same program" \
318+ "$(cd "$(dirname "$home")" && sh "$here/score.sh" "./$(basename "$home")" "$here/selftest/src/st3-exit.om" "$here/selftest/tasks/st3-exit" st3-exit "$out/sc/rel" 2>&1 | sed -n 's/^SCORE st3-exit \([a-z-]*\) .*/\1/p')" pass
319+copyhome; printf '#!/bin/sh\nexit 0\n' > "$out/h/gate"; chmod +x "$out/h/gate"
320+run omega "$out/g3" "$out/h"
321+check "gate with no verdict stops the run" "$?" 3
322+check "gate with no verdict wrote no row" "$(rows "$out/g3")" 0
323+fakegate "PASS run exit=0 expected=0 stdout=match stderr=match" 1 "OM2GATE FAIL cases=1"
324+run omega "$out/g4" "$out/h"
325+check "gate PASS line with exit 1 stops the run" "$?" 3
326+check "gate PASS line with exit 1 wrote no row" "$(rows "$out/g4")" 0
327+rm -rf "$out/t" && cp -r "$here/selftest/tasks" "$out/t" && rm "$out/t/st1-pass/expected.out" && mkdir "$out/t/st1-pass/expected.out"
328+run omega "$out/g5" "$home" selftest-stub none "$out/t"
329+check "unreadable fixture stops the run" "$?" 3
330+check "unreadable fixture: reason" "$(grep -c 'scorer gave no verdict' "$out/g5.log")" 1
331+check "unreadable fixture wrote no row" "$(rows "$out/g5")" 0
332+copyhome; chmod -x "$out/h/omc"; run omega "$out/x1" "$out/h"
333+check "omc not executable stops the run" "$?" 3
334+check "omc not executable wrote no row" "$(rows "$out/x1")" 0
335+copyhome; chmod -x "$out/h/gate"; run omega "$out/x2" "$out/h"
336+check "gate not executable stops the run" "$?" 3
337+check "gate not executable wrote no row" "$(rows "$out/x2")" 0
338+for mode in nolog nostop nocheck noreply; do
339+ rm -rf "$out/stub" && cp -r "$here/selftest" "$out/stub" && echo "$mode" > "$out/stub/mode"
340+ run omega "$out/m$mode" "$home" selftest-stub none "" "" "$out/stub"
341+ check "stub mode $mode stops the run" "$?" 3
342+ check "stub mode $mode wrote no row" "$(rows "$out/m$mode")" 0
343+done
344+for rc in 1 124; do
345+ rm -rf "$out/stub" && cp -r "$here/selftest" "$out/stub" && sed -i "s/^exit 0\$/exit $rc/" "$out/stub/aien"
346+ check "stub edited to exit $rc" "$(grep -c "^exit $rc\$" "$out/stub/aien")" 1
347+ run omega "$out/s$rc" "$home" selftest-stub none "" "" "$out/stub"
348+ echo $? > "$out/s$rc.rc"
349+done
350+check "session rc 1 stops the run" "$(cat "$out/s1.rc")" 3
351+check "session rc 1 wrote no row" "$(rows "$out/s1")" 0
352+check "session rc 124: run exit status" "$(cat "$out/s124.rc")" 0
353+check "session rc 124 is scored" "$(field "$out/s124/results.tsv" st1-pass)" pass
354+check "session rc 124 recorded" "$(col "$out/s124/results.tsv" st1-pass 5)" 124
355+
356+# refusals before anything is written
357+run omega "$out/nomodel" "$home" ""
358+check "missing model refused" "$?" 2
359+check "missing model wrote nothing" "$([ -e "$out/nomodel" ] && echo yes || echo no)" no
360+run omega "$out/noseed" "$home" selftest-stub ""
361+check "missing seed refused" "$?" 2
362+check "missing seed wrote nothing" "$([ -e "$out/noseed" ] && echo yes || echo no)" no
363+mkdir -p "$out/nojq"
364+for d in $(echo "$PATH" | tr ':' ' '); do
365+ [ -d "$d" ] || continue
366+ for f in "$d"/*; do b=$(basename "$f"); [ "$b" = jq ] || [ -e "$out/nojq/$b" ] || [ -L "$out/nojq/$b" ] || ln -s "$f" "$out/nojq/$b"; done
367+done
368+run omega "$out/jqrun" "$home" selftest-stub none "" "" "" "$out/nojq"
369+check "missing jq refused" "$?" 2
370+check "missing jq: reason" "$(grep -c 'jq not on PATH' "$out/jqrun.log")" 1
371+check "missing jq wrote nothing" "$([ -e "$out/jqrun" ] && echo yes || echo no)" no
372+
373+rm -rf "$out/t" && cp -r "$here/selftest/tasks" "$out/t" && echo x > "$out/t/st1-pass/a b"
374+run omega "$out/ws" "$home" selftest-stub none "$out/t"
375+check "a task file name with white space is refused" "$?" 2
376+check "white space refusal: reason" "$(grep -c 'holds white space' "$out/ws.log")" 1
377+check "white space refusal wrote no results" "$([ -e "$out/ws/results.tsv" ] && echo yes || echo no)" no
378+
379+mkdir -p "$out/pin"
380+cp -r "$home/context" "$out/pin/context"
381+cp "$home/gate" "$home/omc" "$out/pin/"
382+sed 's/^omc-sha256 .*/omc-sha256 0000000000000000000000000000000000000000000000000000000000000000/' "$home/context/PIN" > "$out/pin/context/PIN"
383+run omega "$out/pinrun" "$out/pin"
384+check "pack built for another pin refused" "$?" 2
385+check "pack built for another pin: reason" "$(grep -c 'pack built for another pin' "$out/pinrun.log")" 1
386+check "pack built for another pin wrote nothing" "$([ -e "$out/pinrun" ] && echo yes || echo no)" no
387+
388+mkdir -p "$out/wrong"
389+cp -r "$home/context" "$out/wrong/context"
390+cp "$home/gate" "$home/omc" "$out/wrong/"
391+printf '\0' >> "$out/wrong/omc"
392+run omega "$out/wrongrun" "$out/wrong"
393+check "wrong compiler refused" "$?" 2
394+check "wrong compiler: reason" "$(grep -c 'pinned omc mismatch' "$out/wrongrun.log")" 1
395+check "wrong compiler wrote nothing" "$([ -e "$out/wrongrun" ] && echo yes || echo no)" no
396+
397+# refcheck.sh on three synthetic tasks whose references are selftest/src
398+mkdir -p "$out/rt" "$out/rr"
399+for id in st1-pass st3-exit st6-stdin; do cp -r "$here/selftest/tasks/$id" "$out/rt/"; cp "$here/selftest/src/$id.om" "$out/rr/"; done
400+mkman() { # mkman: tasks.json for $out/rt with the sha256 of each reference in $out/rr
401+ for id in st1-pass st3-exit st6-stdin; do
402+ jq -n --arg id "$id" --rawfile spec "$out/rt/$id/spec.md" --arg e "$(sha "$out/rt/$id/expected.out")" \
403+ --argjson n "$(wc -c < "$out/rt/$id/stdin")" --argjson x "$(cat "$out/rt/$id/expected.exit")" --arg r "$(sha "$out/rr/$id.om")" \
404+ '{id: $id, spec: ($spec | rtrimstr("\n")), stdin_bytes: $n, expected_sha256: $e, exit: $x, ref_sha256: $r}'
405+ done | jq -s . > "$out/rt.json"
406+}
407+refc() { OMEGA_HOME="${1:-$home}" sh "$here/refcheck.sh" "$out/rt" "$out/rt.json" "$out/rr" > "$out/ref.log" 2>&1; echo $?; }
408+mkman
409+check "refcheck passes good references" "$(refc)" 0
410+check "refcheck PASS line" "$(grep -c '^REFCHECK PASS n=3 ' "$out/ref.log")" 1
411+cp "$here/selftest/src/st2-wrong.om" "$out/rr/st1-pass.om"; mkman
412+check "refcheck refuses a wrong reference" "$(refc)" 1
413+cp "$here/selftest/src/st1-pass.om" "$out/rr/st1-pass.om"
414+check "refcheck refuses a reference whose sha256 is not the manifest's" "$(refc)" 1
415+# each manifest field on its own (the gate still passes, so only the metadata check can refuse)
416+for edit in '.expected_sha256 = "0"' '.stdin_bytes = 99' '.exit = 9' '.spec = "other"' '.id = "st9-none"'; do
417+ mkman; jq "map(if .id == \"st3-exit\" then $edit else . end)" "$out/rt.json" > "$out/rt2.json" && mv "$out/rt2.json" "$out/rt.json"
418+ check "refcheck refuses a manifest with $edit for one task" "$(refc)" 1
419+done
420+head -c "$((CASE_FSIZE_BLOCKS * 256))" /dev/zero > "$out/rt/st1-pass/expected.out"; mkman
421+check "refcheck alarms on an expected output at half the file-size limit" "$(refc) $(grep -c 'st1-pass expected.out is .* half or more' "$out/ref.log")" "1 1"
422+cp "$here/selftest/tasks/st1-pass/expected.out" "$out/rt/st1-pass/expected.out"
423+mkman
424+check "refcheck passes again with the manifest restored" "$(refc)" 0
425+# fake gates: refcheck must want every case to pass, the case count to be n, and exit 0
426+fg() { copyhome; printf '#!/bin/sh\n%s\n' "$1" > "$out/h/gate"; chmod +x "$out/h/gate"; }
427+allpass='for id in st1-pass st3-exit st6-stdin; do echo "VERDICT $id PASS"; done'
428+fg "$allpass; echo 'OM2GATE PASS cases=3 '; exit 0"
429+check "refcheck with a fake gate that passes all three" "$(refc "$out/h")" 0
430+fg "$allpass; echo 'OM2GATE PASS cases=2 '; exit 0"
431+check "refcheck refuses a gate case count other than n" "$(refc "$out/h")" 1
432+fg "$allpass; echo 'OM2GATE PASS cases=3 '; exit 1"
433+check "refcheck refuses a PASS line with gate exit 1" "$(refc "$out/h")" 1
434+fg "echo 'VERDICT st1-pass FAIL'; echo 'VERDICT st3-exit PASS'; echo 'VERDICT st6-stdin PASS'; echo 'OM2GATE PASS cases=3 '; exit 0"
435+check "refcheck refuses a FAIL verdict even under a PASS line" "$(refc "$out/h")" 1
436+
437+if [ "$fail" -eq 0 ]; then echo "SELFTEST PASS"; else echo "SELFTEST FAIL"; cat "$out/omega.log"; fi
438+exit "$fail"

coder/eval/selftest/aien

new file mode 100755
@@ -0,0 +1,53 @@
1+#!/bin/sh
2+# Stub session program for selftest.sh only: stands in for `aien --omega` so the runner and scorer can be
3+# checked without a model. It records what the session was given in ../session.txt (outside the scored work
4+# directory): sha256 of OMEGA_PROMPT, OMEGA_CONTEXT and its entry count, whether OMEGA_CHECK is set and
5+# OMEGA_STOP_LIMIT; the task prompt (its last argument) goes to ../session-prompt.txt and the other arguments
6+# to ../session-args.txt.
7+# Then it writes a program to ./main.om (ID = the task directory): src-control/ID.om when the prompt is
8+# CONTROL.md and that file exists, else src/ID.om, else nothing, with @TASKS@ replaced by SELFTEST_TASKS (the
9+# absolute task directory; st7-cheat names its expected output with it). Last it runs OMEGA_CHECK as the guard
10+# does at a finish and records the verdict of its SCORE line (or none) and its exit status in ../session.txt.
11+[ "${1:-}" = --version ] && { echo "selftest-stub 1"; exit 0; }
12+here=$(cd "$(dirname "$0")" && pwd)
13+id=$(basename "$(dirname "$(pwd)")")
14+{
15+ echo "prompt $(sha256sum < "${OMEGA_PROMPT:-/dev/null}" | cut -d' ' -f1)"
16+ echo "context ${OMEGA_CONTEXT:-unset}"
17+ echo "context_entries $(ls -A "${OMEGA_CONTEXT:-/nonexistent}" 2> /dev/null | wc -l | tr -d ' ')"
18+ if [ -n "${OMEGA_CHECK:-}" ]; then echo "check yes"; else echo "check no"; fi
19+ echo "stop_limit ${OMEGA_STOP_LIMIT:-unset}"
20+} > ../session.txt
21+args=
22+for a in "$@"; do [ -n "${last+x}" ] && args="$args${args:+ }$last"; last=$a; done
23+printf '%s\n' "$last" > ../session-prompt.txt
24+printf '%s\n' "$args" > ../session-args.txt
25+# Guard log lines as the guard writes them at a finish (a mode file in this directory changes that: "nolog"
26+# writes no log, as when the guard is not loaded; "nostop" logs a tool call but no finish; "nocheck" writes the
27+# finish line of a guard without OMEGA_CHECK; "noreply" reports zero output tokens, as a model that never answered).
28+# Known values for the raw columns: st3 has two refused finishes, st6 leaves junk.txt (and NOTES.md, which is
29+# not counted), st2 takes at least one second.
30+mode=$(cat "$here/mode" 2> /dev/null)
31+if [ -n "${OMEGA_LOG:-}" ] && [ "$mode" = nostop ]; then
32+ echo "x tool write allowed" >> "$OMEGA_LOG"
33+elif [ -n "${OMEGA_LOG:-}" ] && [ "$mode" != nolog ]; then
34+ [ "$id" = st3-exit ] && printf 'x stop refused #1: x\nx stop refused #2: x\n' >> "$OMEGA_LOG"
35+ if [ "$mode" = nocheck ]; then
36+ echo "x stop allowed: every touched .om compiles; no OMEGA_CHECK" >> "$OMEGA_LOG"
37+ else
38+ echo "x stop allowed: SCORE pass" >> "$OMEGA_LOG"
39+ fi
40+fi
41+[ "$id" = st6-stdin ] && echo junk > junk.txt && echo notes > NOTES.md
42+[ "$id" = st2-wrong ] && sleep 1
43+src="$here/src/$id.om"
44+[ "$(basename "${OMEGA_PROMPT:-}")" = CONTROL.md ] && [ -f "$here/src-control/$id.om" ] && src="$here/src-control/$id.om"
45+[ -f "$src" ] && sed "s|@TASKS@|${SELFTEST_TASKS:-}|" "$src" > main.om
46+if [ -n "${OMEGA_CHECK:-}" ]; then
47+ c=$(sh -c "$OMEGA_CHECK" 2> /dev/null)
48+ crc=$?
49+ echo "check_score $(echo "$c" | sed -n 's/^SCORE [^ ]* \([^ ]*\) .*/\1/p' | tail -n 1)" >> ../session.txt
50+ echo "check_rc $crc" >> ../session.txt
51+fi
52+if [ "$mode" = noreply ]; then echo '{"type":"stub","usage":{"output":0}}'; else echo '{"type":"stub","usage":{"output":1}}'; fi
53+exit 0

coder/eval/selftest/expect-raw.tsv

new file mode 100644
@@ -0,0 +1,15 @@
1+# arm id omc_rc gate_rc stop_refusals non_om_files
2+omega st1-pass 0 0 0 0
3+control st1-pass 0 1 0 0
4+omega st2-wrong 0 1 0 0
5+control st2-wrong 0 1 0 0
6+omega st3-exit 0 0 2 0
7+control st3-exit 0 0 2 0
8+omega st4-badcompile 15 NA 0 0
9+control st4-badcompile 15 NA 0 0
10+omega st5-nofile NA NA 0 0
11+control st5-nofile NA NA 0 0
12+omega st6-stdin 0 0 0 1
13+control st6-stdin 0 0 0 1
14+omega st7-cheat 0 1 0 0
15+control st7-cheat 0 1 0 0

coder/eval/selftest/expect.tsv

new file mode 100644
@@ -0,0 +1,7 @@
1+st1-pass pass wrong-output
2+st2-wrong wrong-output wrong-output
3+st3-exit pass pass
4+st4-badcompile compile-fail compile-fail
5+st5-nofile compile-fail compile-fail
6+st6-stdin pass pass
7+st7-cheat wrong-output wrong-output

coder/eval/selftest/src-control/st1-pass.om

new file mode 100644
@@ -0,0 +1,6 @@
1+note selftest: control arm answers st1 wrongly on purpose
2+text t "selftest no\n"
3+fn main to int
4+n = write int 1 t ulong 0 len t
5+ret 0
6+end

coder/eval/selftest/src/sc-big.om

new file mode 100644
@@ -0,0 +1,8 @@
1+note selftest: writes 40 blocks of 64 KiB (2.5 MiB) to stdout, past the scorer file-size limit
2+global buf uchar 65536
3+fn main to int
4+for i ulong 40
5+w = write 1 buf 0 ulong 65536
6+end
7+ret 0
8+end

coder/eval/selftest/src/sc-e127.om

new file mode 100644
@@ -0,0 +1,4 @@
1+note selftest: exits 127, the status the om2 gate also reports for a failed exec
2+fn main to int
3+ret 127
4+end

coder/eval/selftest/src/sc-rightout.om

new file mode 100644
@@ -0,0 +1,6 @@
1+note selftest: the stdout st3-exit expects, with exit 0 instead of 3
2+text t "three\n"
3+fn main to int
4+n = write int 1 t ulong 0 len t
5+ret 0
6+end

coder/eval/selftest/src/st1-pass.om

new file mode 100644
@@ -0,0 +1,6 @@
1+note selftest: correct answer
2+text t "selftest ok\n"
3+fn main to int
4+n = write int 1 t ulong 0 len t
5+ret 0
6+end

coder/eval/selftest/src/st2-wrong.om

new file mode 100644
@@ -0,0 +1,6 @@
1+note selftest: wrong output on purpose
2+text t "selftest no\n"
3+fn main to int
4+n = write int 1 t ulong 0 len t
5+ret 0
6+end

coder/eval/selftest/src/st3-exit.om

new file mode 100644
@@ -0,0 +1,6 @@
1+note selftest: output and exit status 3
2+text t "three\n"
3+fn main to int
4+n = write int 1 t ulong 0 len t
5+ret 3
6+end

coder/eval/selftest/src/st4-badcompile.om

new file mode 100644
@@ -0,0 +1,3 @@
1+note selftest: does not compile on purpose (missing end)
2+fn main to int
3+ret 0

coder/eval/selftest/src/st6-stdin.om

new file mode 100644
@@ -0,0 +1,32 @@
1+note selftest: copy stdin to stdout with the case of each letter swapped. Fed its own output it gives back its
2+note input, so a case line that fed the program expected.out instead of stdin would fail.
3+global buf uchar 4096
4+fn main to int
5+n = read 0 buf 0 len buf
6+while gt n 0
7+m = ulong n
8+for i ulong m
9+c = get buf i
10+if ge c 97
11+if le c 122
12+put buf i uchar sub c 32
13+end
14+else
15+if ge c 65
16+if le c 90
17+put buf i uchar add c 32
18+end
19+end
20+end
21+end
22+w = write 1 buf 0 ulong n
23+if ne w n
24+ret 1
25+end
26+n = read 0 buf 0 len buf
27+end
28+if lt n 0
29+ret 2
30+end
31+ret 0
32+end

coder/eval/selftest/src/st7-cheat.om

new file mode 100644
@@ -0,0 +1,17 @@
1+note st7-cheat (selftest only): a program that does not solve its task but copies the task's expected output,
2+note named by its absolute path, to stdout. The stub puts the task directory in place of @TASKS@. It exits 0 also
3+note when it cannot open the file, so only what the scorer lets it read decides its score.
4+text p "@TASKS@/st7-cheat/expected.out"
5+global buf uchar 4096
6+fn main to int
7+fd = fopen p 0 len p 0 0
8+if lt fd 0
9+ret 0
10+end
11+n = read int fd buf 0 len buf
12+while gt n 0
13+w = write 1 buf 0 ulong n
14+n = read int fd buf 0 len buf
15+end
16+ret 0
17+end

coder/eval/selftest/tasks/st1-pass/expected.exit

new file mode 100644
@@ -0,0 +1 @@
1+0

coder/eval/selftest/tasks/st1-pass/expected.out

new file mode 100644
@@ -0,0 +1 @@
1+selftest ok

coder/eval/selftest/tasks/st1-pass/spec.md

new file mode 100644
@@ -0,0 +1 @@
1+Print the line `selftest ok`. Exit status 0.

coder/eval/selftest/tasks/st1-pass/stdin

new file mode 100644

coder/eval/selftest/tasks/st2-wrong/expected.exit

new file mode 100644
@@ -0,0 +1 @@
1+0

coder/eval/selftest/tasks/st2-wrong/expected.out

new file mode 100644
@@ -0,0 +1 @@
1+selftest ok

coder/eval/selftest/tasks/st2-wrong/spec.md

new file mode 100644
@@ -0,0 +1 @@
1+Print the line `selftest ok`. Exit status 0.

coder/eval/selftest/tasks/st2-wrong/stdin

new file mode 100644

coder/eval/selftest/tasks/st3-exit/expected.exit

new file mode 100644
@@ -0,0 +1 @@
1+3

coder/eval/selftest/tasks/st3-exit/expected.out

new file mode 100644
@@ -0,0 +1 @@
1+three

coder/eval/selftest/tasks/st3-exit/spec.md

new file mode 100644
@@ -0,0 +1 @@
1+Print the line `three` and exit with status 3.

coder/eval/selftest/tasks/st3-exit/stdin

new file mode 100644

coder/eval/selftest/tasks/st4-badcompile/expected.exit

new file mode 100644
@@ -0,0 +1 @@
1+0

coder/eval/selftest/tasks/st4-badcompile/expected.out

new file mode 100644
@@ -0,0 +1 @@
1+selftest ok

coder/eval/selftest/tasks/st4-badcompile/spec.md

new file mode 100644
@@ -0,0 +1 @@
1+Print the line `selftest ok`. Exit status 0.

coder/eval/selftest/tasks/st4-badcompile/stdin

new file mode 100644

coder/eval/selftest/tasks/st5-nofile/expected.exit

new file mode 100644
@@ -0,0 +1 @@
1+0

coder/eval/selftest/tasks/st5-nofile/expected.out

new file mode 100644
@@ -0,0 +1 @@
1+selftest ok

coder/eval/selftest/tasks/st5-nofile/spec.md

new file mode 100644
@@ -0,0 +1 @@
1+Print the line `selftest ok`. Exit status 0.

coder/eval/selftest/tasks/st5-nofile/stdin

new file mode 100644

coder/eval/selftest/tasks/st6-stdin/expected.exit

new file mode 100644
@@ -0,0 +1 @@
1+0

coder/eval/selftest/tasks/st6-stdin/expected.out

new file mode 100644
@@ -0,0 +1,2 @@
1+ABC
2+XYZ

coder/eval/selftest/tasks/st6-stdin/spec.md

new file mode 100644
@@ -0,0 +1 @@
1+Copy standard input to standard output with the case of each letter swapped (a to A, A to a). Exit status 0.

coder/eval/selftest/tasks/st6-stdin/stdin

new file mode 100644
@@ -0,0 +1,2 @@
1+abc
2+xyz

coder/eval/selftest/tasks/st7-cheat/expected.exit

new file mode 100644
@@ -0,0 +1 @@
1+0

coder/eval/selftest/tasks/st7-cheat/expected.out

new file mode 100644
@@ -0,0 +1 @@
1+secret 7

coder/eval/selftest/tasks/st7-cheat/spec.md

new file mode 100644
@@ -0,0 +1 @@
1+Print the secret line. Exit status 0.

coder/eval/selftest/tasks/st7-cheat/stdin

new file mode 100644

coder/observed/between_fns.om

new file mode 100644
@@ -0,0 +1,9 @@
1+fn f to int
2+ret 0
3+end
4+global g uchar 4
5+const k ulong 3
6+text t "hi"
7+fn main to int
8+ret 0
9+end

coder/observed/elif_is_assignment.om

new file mode 100644
@@ -0,0 +1,14 @@
1+note probe: `elif COND` is not a keyword. It compiles as an assignment to a new local named elif, and the
2+note line after it runs whenever the if arm runs. With x = 1 an elif chain would return 1; this returns 2.
3+fn main to int
4+x = ulong 1
5+r = int 0
6+if lt x 2
7+r = int 1
8+elif lt x 5
9+r = int 2
10+else
11+r = int 3
12+end
13+ret r
14+end

coder/observed/else_nested.om

new file mode 100644
@@ -0,0 +1,11 @@
1+fn main to int
2+x = ulong 3
3+if lt x 2
4+ret 1
5+else
6+if lt x 5
7+ret 7
8+end
9+end
10+ret 0
11+end

coder/observed/expect.tsv

new file mode 100644
@@ -0,0 +1,5 @@
1+# file omc exit status program exit status (- when it does not compile)
2+struct_after_fn.om 9 -
3+between_fns.om 0 0
4+else_nested.om 0 7
5+elif_is_assignment.om 0 2

coder/observed/struct_after_fn.om

new file mode 100644
@@ -0,0 +1,7 @@
1+fn f to int
2+ret 0
3+end
4+struct S a ulong end
5+fn main to int
6+ret 0
7+end

coder/omega-guard.ts

@@ -1,9 +1,9 @@
11 // omega-guard: omp extension for `aien --omega`. Harness configuration, not product code: omp
22 // extensions are TypeScript, so this file is the smallest shim between the omp tool loop and the
33 // pinned seeded Omega compiler. All checking of programs is done by Omega itself: `omc` compiles,
4-// and the OM-2 qualification conductor `seed/qualification/om2/gate.om` (built by the pinned omc)
5-// runs and compares task cases. This file only routes paths, starts those two binaries and sandboxes
6-// model-written programs with bubblewrap.
4+// and the finish check (OMEGA_CHECK; the eval's coder/eval/score.sh runs the OM-2 qualification conductor
5+// `seed/qualification/om2/gate.om`, built by the pinned omc) runs and compares task cases. This file only
6+// routes paths, starts those programs and sandboxes model-written programs with bubblewrap.
77 //
88 // Policy
99 // - write/edit may touch only `*.om` files (plus NOTES.md) inside the session directory; every other
@@ -13,13 +13,14 @@
1313 // - After a successful write/edit of a `.om` file the pinned omc compiles it; the result (rc, the
1414 // `omc: line N: error K` line, the offending source line and the error's meaning) is appended to
1515 // the tool result the model sees.
16-// - omega_run compiles a `.om` file and runs it in a bubblewrap sandbox: read-only root, private
17-// /tmp, no network, own pid namespace, 10 s wall limit.
18-// - The session cannot end while any touched `.om` file fails to compile, or, when OMEGA_CASES names a
19-// gate case list, until the gate prints `OM2GATE PASS`.
16+// - omega_run compiles a `.om` file and runs it in a bubblewrap sandbox that holds only the program and the
17+// session directory (read-only), a private /tmp and /dev: no other file of this machine, no /proc, no
18+// network, own pid namespace, 10 s wall limit.
19+// - The session cannot end while any touched `.om` file fails to compile, or, when OMEGA_CHECK is set, until
20+// that command (run with `sh -c` in the session directory) exits 0 and prints a `SCORE <id> pass` line.
2021 //
21-// Environment: OMEGA_HOME (default ~/.local/share/aien-omega: omc, gate, gate fixtures, context/),
22-// OMEGA_CASES (optional case list for the stop check; keep it outside the session directory).
22+// Environment: OMEGA_HOME (default ~/.local/share/aien-omega: omc, context/ with PIN and errors.tsv),
23+// OMEGA_CHECK (optional finish check; it must keep the task's expected output outside the session directory).
2324 import { spawnSync } from 'node:child_process'
2425 import { createHash } from 'node:crypto'
2526 import { appendFileSync, chmodSync, existsSync, mkdtempSync, readFileSync, realpathSync } from 'node:fs'
@@ -28,13 +29,22 @@ import { basename, isAbsolute, join, resolve, sep } from 'node:path'
2829
2930 const OMEGA_HOME = process.env.OMEGA_HOME || join(homedir(), '.local/share/aien-omega')
3031 const OMC = join(OMEGA_HOME, 'omc')
31-const GATE = join(OMEGA_HOME, 'gate')
3232 // Readable Omega reference. The eval control arm points this at an empty directory.
3333 const CONTEXT = process.env.OMEGA_CONTEXT || join(OMEGA_HOME, 'context')
3434 // Stop refusals before the session may end anyway (eval runs set it; unset means no limit).
3535 const STOP_LIMIT = Number(process.env.OMEGA_STOP_LIMIT || 0)
36-// omega-mv f1b9ecb5d13f3b7303c055a187fff06e802eb952, seed/out/omc (commit 82a399b9f "batch 2 pin 2c824805").
37-const OMC_SHA256 = '2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f'
36+// The pin and the error meanings are not typed here: build-context.sh writes both into the pack from the
37+// repository's PIN and from data/reference.tsv (meaning and fix of each error code). They are read from OMEGA_HOME/context, not
38+// OMEGA_CONTEXT, so the eval control arm (an empty readable context) runs with the same guard.
39+const PACK = join(OMEGA_HOME, 'context')
40+function readPack(name: string): string {
41+ try {
42+ return readFileSync(join(PACK, name), 'utf8')
43+ } catch {
44+ return ''
45+ }
46+}
47+const OMC_SHA256 = (readPack('PIN').match(/^omc-sha256 ([0-9a-f]{64})$/m) || [])[1] || ''
3848 const LOG = process.env.OMEGA_LOG
3949
4050 function note(line: string): void {
@@ -43,14 +53,10 @@ function note(line: string): void {
4353 const ALLOWED_TOOLS = new Set(['read', 'grep', 'glob', 'edit', 'write', 'omega_run'])
4454 const BUILD = mkdtempSync(join(tmpdir(), 'aien-omega-'))
4555
46-const ERRORS: Record<number, string> = {
47- 1: 'compiler I/O', 2: 'compiler I/O', 3: 'unknown name or field', 4: 'line ends too early (missing value)',
48- 5: 'extra words on the line', 6: 'malformed number', 7: 'type mismatch (no implicit conversion)',
49- 8: 'number out of range', 9: 'word in a disallowed place', 10: 'duplicate name', 11: 'ambiguous bare number (give it a type: uint 5)',
50- 12: 'register pool exhausted (fewer live names or split the function)', 13: 'name too long (non-function names at most 8 characters)',
51- 14: 'capacity', 15: 'missing end', 16: 'syntax error or unknown word', 17: 'line after ret/break/continue/trap/exit',
52- 18: 'missing ret (end of a value-returning function is reachable)', 19: 'global passed as argument, or same array twice in one call',
53- 20: 'write to a view or text', 21: 'constant index out of range', 22: 'bad text literal', 23: 'size capacity',
56+const ERRORS: Record<number, string> = {}
57+for (const row of readPack('errors.tsv').split('\n')) {
58+ const tab = row.indexOf('\t')
59+ if (tab > 0) ERRORS[Number(row.slice(0, tab))] = row.slice(tab + 1)
5460 }
5561
5662 type Ctx = { cwd?: string }
@@ -63,6 +69,7 @@ type Pi = {
6369
6470 function omcVerified(): string | undefined {
6571 try {
72+ if (!OMC_SHA256) return `no pin: ${join(PACK, 'PIN')} has no omc-sha256 line (run build-context.sh)`
6673 const sha = createHash('sha256').update(readFileSync(OMC)).digest('hex')
6774 return sha === OMC_SHA256 ? undefined : `pinned omc mismatch: ${OMC} sha256 ${sha}, expected ${OMC_SHA256}`
6875 } catch (e) {
@@ -176,10 +183,13 @@ function compile(file: string): Compile {
176183 }
177184
178185 function sandboxRun(elf: string, base: string, args: string[], stdin: string): { rc: number; out: string; err: string } {
186+ // The program is model-written: whatever it can open it can print. Omega programs are static ELFs, so the view
187+ // is the session directory (read-only) and the program itself; the context pack, the task files and the rest
188+ // of the machine are not in it.
179189 const r = spawnSync(
180190 'bwrap',
181- ['--ro-bind', '/', '/', '--dev', '/dev', '--proc', '/proc', '--tmpfs', '/tmp', '--ro-bind', base, base, '--ro-bind', elf, '/tmp/prog',
182- '--unshare-net', '--unshare-pid', '--die-with-parent', '--chdir', base, '--', '/tmp/prog', ...args],
191+ ['--dev', '/dev', '--tmpfs', '/tmp', '--ro-bind', base, base, '--ro-bind', elf, '/tmp/prog',
192+ '--unshare-net', '--unshare-pid', '--unshare-ipc', '--die-with-parent', '--chdir', base, '--', '/tmp/prog', ...args],
183193 { input: stdin, timeout: 10_000, maxBuffer: 1 << 22 },
184194 )
185195 const cut = (b: Buffer | null) => {
@@ -293,27 +303,20 @@ export default function (pi: Pi) {
293303 touched.set(f, c.rc)
294304 if (c.rc !== 0) return refuse(`Not done: ${basename(f)} does not compile.\n${c.report}`)
295305 }
296- const cases = process.env.OMEGA_CASES
297- if (!cases) {
298- note('stop allowed: every touched .om compiles; no OMEGA_CASES')
306+ const check = process.env.OMEGA_CHECK
307+ if (!check) {
308+ note('stop allowed: every touched .om compiles; no OMEGA_CHECK')
299309 return undefined
300310 }
301- const base = root(ctx)
302- const scratchParent = mkdtempSync(join(tmpdir(), 'aien-omega-gate-'))
303- const r = spawnSync(
304- 'bwrap',
305- ['--ro-bind', '/', '/', '--dev', '/dev', '--proc', '/proc', '--bind', scratchParent, scratchParent, '--unshare-net', '--unshare-pid',
306- '--die-with-parent', '--chdir', OMEGA_HOME, '--', GATE, OMC, OMC_SHA256, cases, join(scratchParent, 's')],
307- { cwd: base, timeout: 120_000, maxBuffer: 1 << 22 },
308- )
311+ const r = spawnSync('sh', ['-c', check], { cwd: root(ctx), timeout: 120_000, maxBuffer: 1 << 22 })
309312 const out = (r.stdout ?? Buffer.alloc(0)).toString('utf8')
310- if (/^OM2GATE PASS /m.test(out)) {
311- note('stop allowed: OM2GATE PASS')
313+ if (r.status === 0 && /^SCORE \S+ pass /m.test(out)) {
314+ note('stop allowed: SCORE pass')
312315 return undefined
313316 }
314- const verdicts = out.split('\n').filter(l => l.startsWith('VERDICT') || l.startsWith('OM2GATE')).join('\n')
315- return refuse(`Not done: the task check did not pass.\n${verdicts || `gate exit ${r.status}`}\nRead the task again, fix the program, check it with omega_run, then finish.`)
317+ const verdicts = out.split('\n').filter(l => l.startsWith('VERDICT') || l.startsWith('SCORE')).join('\n')
318+ return refuse(`Not done: the task check did not pass.\n${verdicts || `check exit ${r.status}`}\nRead the task again, fix the program, check it with omega_run, then finish.`)
316319 })
317320 }
318321
319-export { checkRead, checkWrite, writePaths }
322+export { checkRead, checkWrite, sandboxRun, writePaths }

coder/omega-observed.md

@@ -1,7 +1,7 @@
11
2-## Observed with the pinned omc (2c824805)
3-
42 - `struct` definitions come before the first `fn`; a `struct` after a function is error 9.
53 - `global`, `const` and `text` may appear between functions.
6-- An `if` with an `else` arm: `if COND` ... `else` ... `end`. There is no `elif`; nest a second `if`
7- inside the `else` arm.
4+- An `if` with an `else` arm: `if COND` ... `else` ... `end`. There is no `elif`, and writing one is not
5+ refused: a line `NAME VALUE` is an assignment, so `elif lt x 5` compiles as a new local named `elif` and
6+ the line after it runs whenever the `if` arm runs (no diagnostic, wrong branch). Nest a second `if` inside
7+ the `else` arm instead.

coder/omega-prompt-head.md

@@ -1,8 +1,8 @@
11 # Omega coder
22
33 You write programs in Omega (`.om` source), compiled by the pinned seeded Omega compiler `omc`
4-(sha256 `2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f`, aien-dev/omega-mv
5-`f1b9ecb5d`). Programs run on a Linux AArch64 host.
4+(sha256 `@OMC_SHA256@`, omega-mv
5+`@OMEGA_MV@`). Programs run on a Linux AArch64 host.
66
77 Intent: you hold the task's intent, which is what its author wants the finished program to do. It is
88 not the steps that get there. Before you write, read the whole task, its input and every compiler

data/SOURCE

@@ -1 +1 @@
1-omega-mcp rad:z3e8UBQVfwEcESJrcTWEbyMAHWFBZ 44cf6b20b2601627fafb3ee093d7fe0c52971458 data/reference.json sha256 5b5d4c5ae78414cff04736012e929d880d1260cf65ce536bc4ae5123938f5e8b
1+omega-mcp https://interplane.io/projects/omega-mcp/repo.git 9a68ac385365c24c889b2bf8dc2cde158e0b95e1 data/reference.json sha256 25840f69d758be9e464a125c8cd3664b3ff1cd3d64b9c6bf719e3c9ec5cb87cc

data/reference.tsv

@@ -1,8 +1,8 @@
1-/pin/omega_mv 2ee0a70d1830581b706f288e722f3329d51f3583
2-/pin/omc_sha256 26540e6de62402d5784b30b24d7c6faae488137c1f8a4b3e784fd0b5d5528991
1+/pin/omega_mv 6c562dd1f7ab01fd9a2638e74a7330ec4c941ad8
2+/pin/omc_sha256 34d611ca0415eab1728d3234911d90e74af17ba9ab0c581d559f48274d7ca6d3
33 /tools/0/name compile
44 /tools/0/title Compile Omega source
5-/tools/0/description Compile Omega (.om) source with the pinned seeded compiler omc (omega-mv@2ee0a70d). Returns ok, the binary's size and sha256, or the compile error {line, code, meaning, fix}.
5+/tools/0/description Compile Omega (.om) source with the pinned seeded compiler omc (omega-mv@6c562dd1). Returns ok, the binary's size and sha256, or the compile error {line, code, meaning, fix}.
66 /tools/0/inputSchema/type object
77 /tools/0/inputSchema/properties/source/type string
88 /tools/0/inputSchema/properties/source/description Omega (.om) source text of one unit
@@ -44,493 +44,493 @@
4444 /errors/1/meaning stdin read failed
4545 /errors/1/cause The compiler could not read its input (stdin is not readable, e.g. a directory).
4646 /errors/1/fix Give omc a readable source file on stdin.
47-/errors/1/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:1406
47+/errors/1/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:1409
4848 /errors/1/citations/0/quote fail 1
49-/errors/1/citations/1/ref omega-mv@2ee0a70d seed/omc/omc.om:1941
49+/errors/1/citations/1/ref omega-mv@6c562dd1 seed/omc/omc.om:1944
5050 /errors/1/citations/1/quote fn fail code ulong to void
51-/errors/1/citations/2/ref omega-mv@2ee0a70d seed/omc/gate15.sh:160
51+/errors/1/citations/2/ref omega-mv@6c562dd1 seed/omc/gate15.sh:160
5252 /errors/1/citations/2/quote refusal cases (codes 1..30; 24 with its accept side)
5353 /errors/1/example null
5454 /errors/1/reproduce omc < / (stdin is a directory: the read fails, exit 1, stderr 'omc: line 1: error 1')
5555 /errors/2/meaning stdout write failed
5656 /errors/2/cause The compiler could not write the binary (stdout is full or closed).
5757 /errors/2/fix Write omc's stdout to a regular file with space.
58-/errors/2/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:1906
58+/errors/2/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:1909
5959 /errors/2/citations/0/quote fail 2
60-/errors/2/citations/1/ref omega-mv@2ee0a70d seed/omc/omc.om:1941
60+/errors/2/citations/1/ref omega-mv@6c562dd1 seed/omc/omc.om:1944
6161 /errors/2/citations/1/quote fn fail code ulong to void
62-/errors/2/citations/2/ref omega-mv@2ee0a70d seed/omc/gate15.sh:160
62+/errors/2/citations/2/ref omega-mv@6c562dd1 seed/omc/gate15.sh:160
6363 /errors/2/citations/2/quote refusal cases (codes 1..30; 24 with its accept side)
6464 /errors/2/example null
6565 /errors/2/reproduce omc < ok.om > /dev/full (the write fails with ENOSPC, exit 2)
6666 /errors/3/meaning unknown name or field
6767 /errors/3/cause A word is used as a name but nothing of that name is in scope (or a struct has no such field).
6868 /errors/3/fix Declare the name first, or fix its spelling.
69-/errors/3/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:4135
69+/errors/3/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:4138
7070 /errors/3/citations/0/quote fail 3
71-/errors/3/citations/1/ref omega-mv@2ee0a70d seed/omc/omc.om:1941
71+/errors/3/citations/1/ref omega-mv@6c562dd1 seed/omc/omc.om:1944
7272 /errors/3/citations/1/quote fn fail code ulong to void
73-/errors/3/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:678
73+/errors/3/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:678
7474 /errors/3/citations/2/quote An unknown field is error 3.
75-/errors/3/citations/3/ref omega-mv@2ee0a70d seed/omc/gate15.sh:160
75+/errors/3/citations/3/ref omega-mv@6c562dd1 seed/omc/gate15.sh:160
7676 /errors/3/citations/3/quote refusal cases (codes 1..30; 24 with its accept side)
7777 /errors/3/example e03
7878 /errors/4/meaning line ends early
7979 /errors/4/cause The line stops before a required operand or word.
8080 /errors/4/fix Supply the missing operand (see the word's form).
81-/errors/4/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:5517
81+/errors/4/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:5553
8282 /errors/4/citations/0/quote fail 4
83-/errors/4/citations/1/ref omega-mv@2ee0a70d seed/omc/omc.om:1941
83+/errors/4/citations/1/ref omega-mv@6c562dd1 seed/omc/omc.om:1944
8484 /errors/4/citations/1/quote fn fail code ulong to void
85-/errors/4/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:667
85+/errors/4/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:667
8686 /errors/4/citations/2/quote error 4 if the line ends before `end`
87-/errors/4/citations/3/ref omega-mv@2ee0a70d seed/omc/gate15.sh:160
87+/errors/4/citations/3/ref omega-mv@6c562dd1 seed/omc/gate15.sh:160
8888 /errors/4/citations/3/quote refusal cases (codes 1..30; 24 with its accept side)
8989 /errors/4/example e04
9090 /errors/5/meaning extra words
9191 /errors/5/cause Words remain on the line after a complete statement.
9292 /errors/5/fix Remove the extra words or split the line.
93-/errors/5/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:5576
93+/errors/5/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:5612
9494 /errors/5/citations/0/quote fail 5
95-/errors/5/citations/1/ref omega-mv@2ee0a70d seed/omc/omc.om:1941
95+/errors/5/citations/1/ref omega-mv@6c562dd1 seed/omc/omc.om:1944
9696 /errors/5/citations/1/quote fn fail code ulong to void
97-/errors/5/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1511
97+/errors/5/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1511
9898 /errors/5/citations/2/quote trailing words (error 5)
99-/errors/5/citations/3/ref omega-mv@2ee0a70d seed/omc/gate15.sh:160
99+/errors/5/citations/3/ref omega-mv@6c562dd1 seed/omc/gate15.sh:160
100100 /errors/5/citations/3/quote refusal cases (codes 1..30; 24 with its accept side)
101101 /errors/5/example e05
102102 /errors/6/meaning malformed number
103103 /errors/6/cause A number has a non-digit character, more than 20 digits or a bad hex form.
104104 /errors/6/fix Write a plain decimal (or OM-2 lowercase 0x hex) number.
105-/errors/6/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3427
105+/errors/6/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3430
106106 /errors/6/citations/0/quote fail 6
107-/errors/6/citations/1/ref omega-mv@2ee0a70d seed/omc/omc.om:1941
107+/errors/6/citations/1/ref omega-mv@6c562dd1 seed/omc/omc.om:1944
108108 /errors/6/citations/1/quote fn fail code ulong to void
109-/errors/6/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:517
109+/errors/6/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:517
110110 /errors/6/citations/2/quote more than 20 digits, or a character that is not a digit, is error 6
111-/errors/6/citations/3/ref omega-mv@2ee0a70d seed/omc/gate15.sh:160
111+/errors/6/citations/3/ref omega-mv@6c562dd1 seed/omc/gate15.sh:160
112112 /errors/6/citations/3/quote refusal cases (codes 1..30; 24 with its accept side)
113113 /errors/6/example e06
114114 /errors/7/meaning type mismatch
115115 /errors/7/cause Two values of an operation, an assignment or a call argument have different types; there are no implicit conversions.
116116 /errors/7/fix Convert explicitly with a type word, e.g. `add int a int b`.
117-/errors/7/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:4096
117+/errors/7/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:4099
118118 /errors/7/citations/0/quote fail 7
119-/errors/7/citations/1/ref omega-mv@2ee0a70d seed/omc/omc.om:1941
119+/errors/7/citations/1/ref omega-mv@6c562dd1 seed/omc/omc.om:1944
120120 /errors/7/citations/1/quote fn fail code ulong to void
121-/errors/7/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:513
121+/errors/7/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:513
122122 /errors/7/citations/2/quote or the line is refused (error 7).
123-/errors/7/citations/3/ref omega-mv@2ee0a70d seed/omc/gate15.sh:160
123+/errors/7/citations/3/ref omega-mv@6c562dd1 seed/omc/gate15.sh:160
124124 /errors/7/citations/3/quote refusal cases (codes 1..30; 24 with its accept side)
125125 /errors/7/example e07
126126 /errors/8/meaning out of range
127127 /errors/8/cause A literal is outside its type, or a count/bound/trap code is out of its range.
128128 /errors/8/fix Use a value inside the type's range or a wider type.
129-/errors/8/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3764
129+/errors/8/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3767
130130 /errors/8/citations/0/quote fail 8
131-/errors/8/citations/1/ref omega-mv@2ee0a70d seed/omc/omc.om:1941
131+/errors/8/citations/1/ref omega-mv@6c562dd1 seed/omc/omc.om:1944
132132 /errors/8/citations/1/quote fn fail code ulong to void
133-/errors/8/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:515
133+/errors/8/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:515
134134 /errors/8/citations/2/quote it must be a
135-/errors/8/citations/3/ref omega-mv@2ee0a70d seed/omc/gate15.sh:160
135+/errors/8/citations/3/ref omega-mv@6c562dd1 seed/omc/gate15.sh:160
136136 /errors/8/citations/3/quote refusal cases (codes 1..30; 24 with its accept side)
137137 /errors/8/example e08
138138 /errors/9/meaning word not allowed here
139139 /errors/9/cause The word is not permitted in this position: break/continue outside a loop, new outside the outermost block, free/own/global/text as a statement, a seventh parameter slot, recursion in function mode.
140140 /errors/9/fix Move the statement to a valid position or use the documented alternative.
141-/errors/9/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:5444
141+/errors/9/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:5480
142142 /errors/9/citations/0/quote fail 9
143-/errors/9/citations/1/ref omega-mv@2ee0a70d seed/omc/omc.om:1941
143+/errors/9/citations/1/ref omega-mv@6c562dd1 seed/omc/omc.om:1944
144144 /errors/9/citations/1/quote fn fail code ulong to void
145-/errors/9/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:70
145+/errors/9/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:70
146146 /errors/9/citations/2/quote outside a loop: error 9.
147-/errors/9/citations/3/ref omega-mv@2ee0a70d seed/omc/gate15.sh:160
147+/errors/9/citations/3/ref omega-mv@6c562dd1 seed/omc/gate15.sh:160
148148 /errors/9/citations/3/quote refusal cases (codes 1..30; 24 with its accept side)
149149 /errors/9/example e09
150150 /errors/10/meaning duplicate name
151151 /errors/10/cause A name already in scope, a function or a struct is declared again.
152152 /errors/10/fix Choose a new name.
153-/errors/10/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:4984
153+/errors/10/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:4987
154154 /errors/10/citations/0/quote fail 10
155-/errors/10/citations/1/ref omega-mv@2ee0a70d seed/omc/omc.om:1941
155+/errors/10/citations/1/ref omega-mv@6c562dd1 seed/omc/omc.om:1944
156156 /errors/10/citations/1/quote fn fail code ulong to void
157-/errors/10/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:492
157+/errors/10/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:492
158158 /errors/10/citations/2/quote A new name
159-/errors/10/citations/3/ref omega-mv@2ee0a70d seed/omc/gate15.sh:160
159+/errors/10/citations/3/ref omega-mv@6c562dd1 seed/omc/gate15.sh:160
160160 /errors/10/citations/3/quote refusal cases (codes 1..30; 24 with its accept side)
161161 /errors/10/example e10
162162 /errors/11/meaning ambiguous bare number
163163 /errors/11/cause A number appears where no context gives it a type.
164164 /errors/11/fix Prefix it with a type word, e.g. `x = int 5`.
165-/errors/11/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:5333
165+/errors/11/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:5336
166166 /errors/11/citations/0/quote fail 11
167-/errors/11/citations/1/ref omega-mv@2ee0a70d seed/omc/omc.om:1941
167+/errors/11/citations/1/ref omega-mv@6c562dd1 seed/omc/omc.om:1944
168168 /errors/11/citations/1/quote fn fail code ulong to void
169-/errors/11/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:514
169+/errors/11/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:514
170170 /errors/11/citations/2/quote A bare number takes the type the place needs.
171-/errors/11/citations/3/ref omega-mv@2ee0a70d seed/omc/gate15.sh:160
171+/errors/11/citations/3/ref omega-mv@6c562dd1 seed/omc/gate15.sh:160
172172 /errors/11/citations/3/quote refusal cases (codes 1..30; 24 with its accept side)
173173 /errors/11/example e11
174174 /errors/12/meaning register pool exhausted
175175 /errors/12/cause More than 16 values are live at once in a function.
176176 /errors/12/fix Split the function or reuse names so fewer values are live.
177-/errors/12/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:5050
177+/errors/12/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:5053
178178 /errors/12/citations/0/quote fail 12
179-/errors/12/citations/1/ref omega-mv@2ee0a70d seed/omc/omc.om:1941
179+/errors/12/citations/1/ref omega-mv@6c562dd1 seed/omc/omc.om:1944
180180 /errors/12/citations/1/quote fn fail code ulong to void
181-/errors/12/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:632
181+/errors/12/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:632
182182 /errors/12/citations/2/quote A function that needs more than the 16 registers it hands out is error 12 (no spilling).
183-/errors/12/citations/3/ref omega-mv@2ee0a70d seed/omc/gate15.sh:160
183+/errors/12/citations/3/ref omega-mv@6c562dd1 seed/omc/gate15.sh:160
184184 /errors/12/citations/3/quote refusal cases (codes 1..30; 24 with its accept side)
185185 /errors/12/example e12
186186 /errors/13/meaning name too long
187187 /errors/13/cause A name has more than 63 characters, or an abstract, layout or layout-field name (or any name in IR mode) has more than 8.
188188 /errors/13/fix Shorten the name: at most 63 characters, 8 for abstract, layout and layout-field names and in IR mode.
189-/errors/13/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:4112
189+/errors/13/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:4115
190190 /errors/13/citations/0/quote fail 13
191-/errors/13/citations/1/ref omega-mv@2ee0a70d seed/omc/omc.om:1941
191+/errors/13/citations/1/ref omega-mv@6c562dd1 seed/omc/omc.om:1944
192192 /errors/13/citations/1/quote fn fail code ulong to void
193-/errors/13/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:485-486
193+/errors/13/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:485-486
194194 /errors/13/citations/2/quote A name may have up to 63 characters (error 13 beyond): functions, locals, parameters, `for` counters, globals, texts, constants, structs and struct fields.
195-/errors/13/citations/3/ref omega-mv@2ee0a70d seed/omc/gate15.sh:160
195+/errors/13/citations/3/ref omega-mv@6c562dd1 seed/omc/gate15.sh:160
196196 /errors/13/citations/3/quote refusal cases (codes 1..30; 24 with its accept side)
197197 /errors/13/example e13
198198 /errors/14/meaning capacity exceeded
199199 /errors/14/cause The unit needs more than a capacity omc still has. Every table that grows with the unit (input, output, names, functions, calls, trap sites, blocks, breaks) lives in one arena that has no size of its own: it grows while the host gives it memory, and the unit is refused only when the host refuses that growth (for example under an address-space limit) or the caller's memory ceiling OMC_MEMORY_MAX is reached; stderr then carries an `omc-use` record with full=1 after the error line. The other bounds are values nested deeper than 32768 levels, AArch64 output past 128 MiB, and the fixed tables OMEGESE 9.6 lists (for example 16 fields a struct, as in the example, 32 `export fn`, 64 unrolled copies and 4 inline levels).
200200 /errors/14/fix Bring the construct under the bound OMEGESE 9.6 names, split the unit, or give the compiler more memory. A unit whose first line is `usage` compiles as usual and prints its `omc-use` record (what each arena group holds) instead of the binary.
201-/errors/14/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:1245
201+/errors/14/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:1248
202202 /errors/14/citations/0/quote fail 14
203-/errors/14/citations/1/ref omega-mv@2ee0a70d seed/omc/omc.om:1941
203+/errors/14/citations/1/ref omega-mv@6c562dd1 seed/omc/omc.om:1944
204204 /errors/14/citations/1/quote fn fail code ulong to void
205-/errors/14/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:567
205+/errors/14/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:567
206206 /errors/14/citations/2/quote input past a real capacity is refused with error 14, never overrun
207-/errors/14/citations/3/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:596
207+/errors/14/citations/3/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:596
208208 /errors/14/citations/3/quote It grows while the host gives it memory; the host's refusal is error 14
209-/errors/14/citations/4/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:635-636
209+/errors/14/citations/4/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:635-636
210210 /errors/14/citations/4/quote 16 structs, 16 fields and 64 cells a struct
211-/errors/14/citations/5/ref omega-mv@2ee0a70d seed/omc/gate15.sh:160
211+/errors/14/citations/5/ref omega-mv@6c562dd1 seed/omc/gate15.sh:160
212212 /errors/14/citations/5/quote refusal cases (codes 1..30; 24 with its accept side)
213213 /errors/14/example e14
214214 /errors/15/meaning missing end
215215 /errors/15/cause The input ends inside an open block.
216216 /errors/15/fix Add the missing `end`.
217-/errors/15/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:12758
217+/errors/15/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:12802
218218 /errors/15/citations/0/quote fail 15
219-/errors/15/citations/1/ref omega-mv@2ee0a70d seed/omc/omc.om:1941
219+/errors/15/citations/1/ref omega-mv@6c562dd1 seed/omc/omc.om:1944
220220 /errors/15/citations/1/quote fn fail code ulong to void
221-/errors/15/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1517
221+/errors/15/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1517
222222 /errors/15/citations/2/quote Missing function `end` is error 15.
223-/errors/15/citations/3/ref omega-mv@2ee0a70d seed/omc/gate15.sh:160
223+/errors/15/citations/3/ref omega-mv@6c562dd1 seed/omc/gate15.sh:160
224224 /errors/15/citations/3/quote refusal cases (codes 1..30; 24 with its accept side)
225225 /errors/15/example e15
226226 /errors/16/meaning syntax error or unknown word
227227 /errors/16/cause A line does not start with a known statement form, or a type/length position holds something else.
228228 /errors/16/fix Check the word's spelling and form with lookup.
229-/errors/16/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2495
229+/errors/16/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2498
230230 /errors/16/citations/0/quote fail 16
231-/errors/16/citations/1/ref omega-mv@2ee0a70d seed/omc/omc.om:1941
231+/errors/16/citations/1/ref omega-mv@6c562dd1 seed/omc/omc.om:1944
232232 /errors/16/citations/1/quote fn fail code ulong to void
233-/errors/16/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:525
233+/errors/16/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:525
234234 /errors/16/citations/2/quote a pool written without its length is refused (error 16)
235-/errors/16/citations/3/ref omega-mv@2ee0a70d seed/omc/gate15.sh:160
235+/errors/16/citations/3/ref omega-mv@6c562dd1 seed/omc/gate15.sh:160
236236 /errors/16/citations/3/quote refusal cases (codes 1..30; 24 with its accept side)
237237 /errors/16/example e16
238238 /errors/17/meaning line after a path end
239239 /errors/17/cause A line follows ret, break, continue, trap or exit in the same block and can never run.
240240 /errors/17/fix Delete the unreachable line or move it before the path end.
241-/errors/17/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:15189
241+/errors/17/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:15238
242242 /errors/17/citations/0/quote fail 17
243-/errors/17/citations/1/ref omega-mv@2ee0a70d seed/omc/omc.om:1941
243+/errors/17/citations/1/ref omega-mv@6c562dd1 seed/omc/omc.om:1944
244244 /errors/17/citations/1/quote fn fail code ulong to void
245-/errors/17/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:70-71
245+/errors/17/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:70-71
246246 /errors/17/citations/2/quote (a later line in the same block is error 17)
247-/errors/17/citations/3/ref omega-mv@2ee0a70d seed/omc/gate15.sh:160
247+/errors/17/citations/3/ref omega-mv@6c562dd1 seed/omc/gate15.sh:160
248248 /errors/17/citations/3/quote refusal cases (codes 1..30; 24 with its accept side)
249249 /errors/17/example e17
250250 /errors/18/meaning missing ret
251251 /errors/18/cause A function with a result type can reach its end without a ret.
252252 /errors/18/fix Add a ret on every path (or make the function void).
253-/errors/18/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:14049
253+/errors/18/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:14093
254254 /errors/18/citations/0/quote fail 18
255-/errors/18/citations/1/ref omega-mv@2ee0a70d seed/omc/omc.om:1941
255+/errors/18/citations/1/ref omega-mv@6c562dd1 seed/omc/omc.om:1944
256256 /errors/18/citations/1/quote fn fail code ulong to void
257-/errors/18/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:483
257+/errors/18/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:483
258258 /errors/18/citations/2/quote A function with a return type whose `end` can be reached is error 18.
259-/errors/18/citations/3/ref omega-mv@2ee0a70d seed/omc/gate15.sh:160
259+/errors/18/citations/3/ref omega-mv@6c562dd1 seed/omc/gate15.sh:160
260260 /errors/18/citations/3/quote refusal cases (codes 1..30; 24 with its accept side)
261261 /errors/18/example e18
262262 /errors/19/meaning global passed or same array twice
263263 /errors/19/cause A global is passed as an argument, or one array is passed twice in a call.
264264 /errors/19/fix Copy the global into a local array (new) or pass distinct arrays.
265-/errors/19/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:7500
265+/errors/19/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:7541
266266 /errors/19/citations/0/quote fail 19
267-/errors/19/citations/1/ref omega-mv@2ee0a70d seed/omc/omc.om:1941
267+/errors/19/citations/1/ref omega-mv@6c562dd1 seed/omc/omc.om:1944
268268 /errors/19/citations/1/quote fn fail code ulong to void
269-/errors/19/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:542
269+/errors/19/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:542
270270 /errors/19/citations/2/quote A global is
271-/errors/19/citations/3/ref omega-mv@2ee0a70d seed/omc/gate15.sh:160
271+/errors/19/citations/3/ref omega-mv@6c562dd1 seed/omc/gate15.sh:160
272272 /errors/19/citations/3/quote refusal cases (codes 1..30; 24 with its accept side)
273273 /errors/19/example e19
274274 /errors/20/meaning write to a read-only array
275275 /errors/20/cause put, read or an edit argument targets a view or a text.
276276 /errors/20/fix Write into a local, global or edit array instead.
277-/errors/20/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:7517
277+/errors/20/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:7558
278278 /errors/20/citations/0/quote fail 20
279-/errors/20/citations/1/ref omega-mv@2ee0a70d seed/omc/omc.om:1941
279+/errors/20/citations/1/ref omega-mv@6c562dd1 seed/omc/omc.om:1944
280280 /errors/20/citations/1/quote fn fail code ulong to void
281-/errors/20/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:540
281+/errors/20/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:540
282282 /errors/20/citations/2/quote A view is read-only; `put`, `read` into it, or passing it as edit is error 20.
283-/errors/20/citations/3/ref omega-mv@2ee0a70d seed/omc/gate15.sh:160
283+/errors/20/citations/3/ref omega-mv@6c562dd1 seed/omc/gate15.sh:160
284284 /errors/20/citations/3/quote refusal cases (codes 1..30; 24 with its accept side)
285285 /errors/20/example e20
286286 /errors/21/meaning constant index out of range
287287 /errors/21/cause A literal index is outside the array or field.
288288 /errors/21/fix Use an index below the length.
289-/errors/21/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:7377
289+/errors/21/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:7418
290290 /errors/21/citations/0/quote fail 21
291-/errors/21/citations/1/ref omega-mv@2ee0a70d seed/omc/omc.om:1941
291+/errors/21/citations/1/ref omega-mv@6c562dd1 seed/omc/omc.om:1944
292292 /errors/21/citations/1/quote fn fail code ulong to void
293-/errors/21/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:547
293+/errors/21/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:547
294294 /errors/21/citations/2/quote A number index must be inside A when om4 reads it (error 21)
295-/errors/21/citations/3/ref omega-mv@2ee0a70d seed/omc/gate15.sh:160
295+/errors/21/citations/3/ref omega-mv@6c562dd1 seed/omc/gate15.sh:160
296296 /errors/21/citations/3/quote refusal cases (codes 1..30; 24 with its accept side)
297297 /errors/21/example e21
298298 /errors/22/meaning bad text literal
299299 /errors/22/cause A text literal has an unknown escape or no closing quote.
300300 /errors/22/fix Use only \\n \\t \\\\ \\" escapes and close the quote.
301-/errors/22/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2357
301+/errors/22/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2360
302302 /errors/22/citations/0/quote fail 22
303-/errors/22/citations/1/ref omega-mv@2ee0a70d seed/omc/omc.om:1941
303+/errors/22/citations/1/ref omega-mv@6c562dd1 seed/omc/omc.om:1944
304304 /errors/22/citations/1/quote fn fail code ulong to void
305-/errors/22/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:531
305+/errors/22/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:531
306306 /errors/22/citations/2/quote any other escape, or a quote missing its end,
307-/errors/22/citations/3/ref omega-mv@2ee0a70d seed/omc/gate15.sh:160
307+/errors/22/citations/3/ref omega-mv@6c562dd1 seed/omc/gate15.sh:160
308308 /errors/22/citations/3/quote refusal cases (codes 1..30; 24 with its accept side)
309309 /errors/22/example e22
310310 /errors/23/meaning size capacity
311311 /errors/23/cause An array is over 16777216 elements, globals over 1 GiB or local arrays over 4 MiB.
312312 /errors/23/fix Use a smaller array.
313-/errors/23/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:5458
313+/errors/23/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:5494
314314 /errors/23/citations/0/quote fail 23
315-/errors/23/citations/1/ref omega-mv@2ee0a70d seed/omc/omc.om:1941
315+/errors/23/citations/1/ref omega-mv@6c562dd1 seed/omc/omc.om:1944
316316 /errors/23/citations/1/quote fn fail code ulong to void
317-/errors/23/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:536
317+/errors/23/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:536
318318 /errors/23/citations/2/quote at most 4 MiB of local arrays (error 23)
319-/errors/23/citations/3/ref omega-mv@2ee0a70d seed/omc/gate15.sh:160
319+/errors/23/citations/3/ref omega-mv@6c562dd1 seed/omc/gate15.sh:160
320320 /errors/23/citations/3/quote refusal cases (codes 1..30; 24 with its accept side)
321321 /errors/23/example e23
322322 /errors/24/meaning branch displacement out of range
323323 /errors/24/cause A branch target is misaligned or out of reach: B.cond, CBZ and CBNZ reach 2^18 words, B and BL 2^25.
324324 /errors/24/fix Split very large functions or programs; this is reached only by programs with about 1 MiB of code between a conditional branch and its target.
325-/errors/24/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:5119
325+/errors/24/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:5122
326326 /errors/24/citations/0/quote fail 24
327-/errors/24/citations/1/ref omega-mv@2ee0a70d seed/omc/omc.om:1941
327+/errors/24/citations/1/ref omega-mv@6c562dd1 seed/omc/omc.om:1944
328328 /errors/24/citations/1/quote fn fail code ulong to void
329-/errors/24/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:435
329+/errors/24/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:435
330330 /errors/24/citations/2/quote refused with error 24 before any output is accepted
331-/errors/24/citations/3/ref omega-mv@2ee0a70d seed/omc/gate15.sh:160
331+/errors/24/citations/3/ref omega-mv@6c562dd1 seed/omc/gate15.sh:160
332332 /errors/24/citations/3/quote refusal cases (codes 1..30; 24 with its accept side)
333333 /errors/24/example null
334334 /errors/24/example_note No minimal example: it needs about 1 MiB of machine code between a branch and its target.
335335 /errors/25/meaning not available on this target
336336 /errors/25/cause Under `target x86linux` or `target x86efi` a construct that target cannot emit: raw AArch64 `emit`, an AArch64-only word (dit, scrub, execpure), a bare unit or a Linux host word under x86efi, or an efi OP outside 0..14.
337337 /errors/25/fix Use the default AArch64 target for that construct, or write it with words the target supports.
338-/errors/25/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2209
338+/errors/25/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2212
339339 /errors/25/citations/0/quote fail 25
340-/errors/25/citations/1/ref omega-mv@2ee0a70d seed/omc/omc.om:1941
340+/errors/25/citations/1/ref omega-mv@6c562dd1 seed/omc/omc.om:1944
341341 /errors/25/citations/1/quote fn fail code ulong to void
342-/errors/25/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:454-455
342+/errors/25/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:454-455
343343 /errors/25/citations/2/quote a bare unit is refused at line 1 with error 25
344-/errors/25/citations/3/ref omega-mv@2ee0a70d seed/omc/gate15.sh:160
344+/errors/25/citations/3/ref omega-mv@6c562dd1 seed/omc/gate15.sh:160
345345 /errors/25/citations/3/quote refusal cases (codes 1..30; 24 with its accept side)
346346 /errors/25/example e25
347347 /errors/26/meaning bad memory ceiling
348348 /errors/26/cause The compiler's environment entry OMC_MEMORY_MAX is not empty, 0, or 1 to 19 decimal digits below 2^63, or an environment entry is too long to read whole. It is refused before any input is read, so the line is 0.
349349 /errors/26/fix Unset OMC_MEMORY_MAX, or set it to the ceiling in decimal bytes (0 or empty: none).
350-/errors/26/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:974
350+/errors/26/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:977
351351 /errors/26/citations/0/quote fail 26
352-/errors/26/citations/1/ref omega-mv@2ee0a70d seed/omc/omc.om:1941
352+/errors/26/citations/1/ref omega-mv@6c562dd1 seed/omc/omc.om:1944
353353 /errors/26/citations/1/quote fn fail code ulong to void
354-/errors/26/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1100
354+/errors/26/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1100
355355 /errors/26/citations/2/quote | omc 26 | the compiler's environment entry OMC_MEMORY_MAX is not empty
356-/errors/26/citations/3/ref omega-mv@2ee0a70d seed/omc/gate15.sh:160
356+/errors/26/citations/3/ref omega-mv@6c562dd1 seed/omc/gate15.sh:160
357357 /errors/26/citations/3/quote refusal cases (codes 1..30; 24 with its accept side)
358358 /errors/26/example null
359359 /errors/26/reproduce OMC_MEMORY_MAX=12x omc < ok.om (refused before the input is read, exit 26, stderr 'omc: line 0: error 26')
360360 /errors/27/meaning fresh element read before write (OM-2 init)
361361 /errors/27/cause A fresh parameter element is read before it is definitely written, or the array is passed on.
362362 /errors/27/fix Write every element before reading it (put with a number index).
363-/errors/27/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:16572
363+/errors/27/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:16617
364364 /errors/27/citations/0/quote fail 27
365-/errors/27/citations/1/ref omega-mv@2ee0a70d seed/omc/omc.om:1941
365+/errors/27/citations/1/ref omega-mv@6c562dd1 seed/omc/omc.om:1944
366366 /errors/27/citations/1/quote fn fail code ulong to void
367-/errors/27/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:905
367+/errors/27/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:905
368368 /errors/27/citations/2/quote else error 27, `obligation=init`, on the get line
369-/errors/27/citations/3/ref omega-mv@2ee0a70d seed/omc/gate15.sh:160
369+/errors/27/citations/3/ref omega-mv@6c562dd1 seed/omc/gate15.sh:160
370370 /errors/27/citations/3/quote refusal cases (codes 1..30; 24 with its accept side)
371371 /errors/27/example e27
372372 /errors/28/meaning abstract constructor violation (OM-2 ctor)
373373 /errors/28/cause seal outside the NAMEmk constructor, or a bad holds predicate.
374374 /errors/28/fix Seal only inside the function named NAME followed by mk.
375-/errors/28/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:16195
375+/errors/28/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:16240
376376 /errors/28/citations/0/quote fail 28
377-/errors/28/citations/1/ref omega-mv@2ee0a70d seed/omc/omc.om:1941
377+/errors/28/citations/1/ref omega-mv@6c562dd1 seed/omc/omc.om:1944
378378 /errors/28/citations/1/quote fn fail code ulong to void
379-/errors/28/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:914
379+/errors/28/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:914
380380 /errors/28/citations/2/quote a `seal` anywhere else is
381-/errors/28/citations/3/ref omega-mv@2ee0a70d seed/omc/gate15.sh:160
381+/errors/28/citations/3/ref omega-mv@6c562dd1 seed/omc/gate15.sh:160
382382 /errors/28/citations/3/quote refusal cases (codes 1..30; 24 with its accept side)
383383 /errors/28/example e28
384384 /errors/29/meaning layout violation (OM-2 layout)
385385 /errors/29/cause A `layout` line after the first `fn`; SIZE outside 1..4096; a field COUNT outside 1..4096 (a written 0 included); a field that starts or ends past SIZE; or two fields sharing a byte. A SIZE, COUNT or OFF written as 2^64 or more is error 8 instead.
386386 /errors/29/fix Put every layout above the first fn, keep SIZE and COUNT in 1..4096 (leave COUNT out for one element), and keep every field inside SIZE and apart from the others.
387-/errors/29/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:16770
387+/errors/29/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:16815
388388 /errors/29/citations/0/quote fail 29
389-/errors/29/citations/1/ref omega-mv@2ee0a70d seed/omc/omc.om:1941
389+/errors/29/citations/1/ref omega-mv@6c562dd1 seed/omc/omc.om:1944
390390 /errors/29/citations/1/quote fn fail code ulong to void
391-/errors/29/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:891
391+/errors/29/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:891
392392 /errors/29/citations/2/quote SIZE outside 1..4096 or a `layout` after the first `fn` is error 29
393-/errors/29/citations/3/ref omega-mv@2ee0a70d seed/omc/gate15.sh:160
393+/errors/29/citations/3/ref omega-mv@6c562dd1 seed/omc/gate15.sh:160
394394 /errors/29/citations/3/quote refusal cases (codes 1..30; 24 with its accept side)
395395 /errors/29/example e29
396396 /errors/30/meaning contract syntax (OM-2)
397397 /errors/30/cause Misplaced requires/ensures/invariant, result outside a value postcondition, or a forbidden predicate operation.
398398 /errors/30/fix Put contracts first in the function or loop body and use only pure integer/bool operations.
399-/errors/30/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:7689
399+/errors/30/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:7730
400400 /errors/30/citations/0/quote fail 30
401-/errors/30/citations/1/ref omega-mv@2ee0a70d seed/omc/omc.om:1941
401+/errors/30/citations/1/ref omega-mv@6c562dd1 seed/omc/omc.om:1944
402402 /errors/30/citations/1/quote fn fail code ulong to void
403-/errors/30/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1834
403+/errors/30/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1834
404404 /errors/30/citations/2/quote Compiler error **30** means misplaced
405-/errors/30/citations/3/ref omega-mv@2ee0a70d seed/omc/gate15.sh:160
405+/errors/30/citations/3/ref omega-mv@6c562dd1 seed/omc/gate15.sh:160
406406 /errors/30/citations/3/quote refusal cases (codes 1..30; 24 with its accept side)
407407 /errors/30/example e30
408408 /traps/1/name OVERFLOW
409409 /traps/1/meaning checked signed arithmetic out of range
410410 /traps/1/cause Signed add/sub/mul/neg/div/shl produced a value outside the type.
411411 /traps/1/fix Use a wider type, check the range first, or use an unsigned type if wrapping is intended.
412-/traps/1/citations/0/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:505
412+/traps/1/citations/0/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:505
413413 /traps/1/citations/0/quote Signed add, sub, mul, neg, div and shl trap 1
414-/traps/1/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:431
414+/traps/1/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:431
415415 /traps/1/citations/1/quote A trap in program mode ends the program with exit status 100 + the trap code
416416 /traps/1/example t01
417417 /traps/2/name DIV0
418418 /traps/2/meaning division by zero
419419 /traps/2/cause div or rem with a divisor of 0.
420420 /traps/2/fix Check the divisor before dividing.
421-/traps/2/citations/0/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:507
421+/traps/2/citations/0/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:507
422422 /traps/2/citations/0/quote div and rem trap 2 when the divisor is 0.
423-/traps/2/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:431
423+/traps/2/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:431
424424 /traps/2/citations/1/quote A trap in program mode ends the program with exit status 100 + the trap code
425425 /traps/2/example t02
426426 /traps/3/name BOUNDS
427427 /traps/3/meaning index or slice out of bounds
428428 /traps/3/cause A run-time index is not below the length, or a host/read/write slice is outside its array.
429429 /traps/3/fix Check the index against len A, or fix off/n.
430-/traps/3/citations/0/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:548
430+/traps/3/citations/0/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:548
431431 /traps/3/citations/0/quote traps 3 when it is not below the length
432-/traps/3/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:431
432+/traps/3/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:431
433433 /traps/3/citations/1/quote A trap in program mode ends the program with exit status 100 + the trap code
434434 /traps/3/example t03
435435 /traps/4/name LOOP_BOUND
436436 /traps/4/meaning loop exceeded its bound
437437 /traps/4/cause A while or for ran past its bound N; with no bound a while, and a for whose count is not a number, stop at 1000000 passes.
438438 /traps/4/fix Fix the loop condition or give the loop a larger `bound N` (up to 9223372036854775807).
439-/traps/4/citations/0/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:64
439+/traps/4/citations/0/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:64
440440 /traps/4/citations/0/quote past N iterations: trap 4
441-/traps/4/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:66-68
441+/traps/4/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:66-68
442442 /traps/4/citations/1/quote With no bound a number count is not guarded and any other count traps 4 after 1000000 passes
443-/traps/4/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:431
443+/traps/4/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:431
444444 /traps/4/citations/2/quote A trap in program mode ends the program with exit status 100 + the trap code
445445 /traps/4/example t04
446446 /traps/5/name CAST
447447 /traps/5/meaning checked conversion out of range
448448 /traps/5/cause A conversion `T v` got a value outside T.
449449 /traps/5/fix Check the range before converting, or convert to a wider type.
450-/traps/5/citations/0/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:511
450+/traps/5/citations/0/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:511
451451 /traps/5/citations/0/quote A conversion `<type> v` traps 5 when the value is outside the new type.
452-/traps/5/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:431
452+/traps/5/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:431
453453 /traps/5/citations/1/quote A trap in program mode ends the program with exit status 100 + the trap code
454454 /traps/5/example t05
455455 /traps/6/name OOM
456456 /traps/6/meaning stack pool exhausted
457457 /traps/6/cause A call or local array would go below the fixed 8 MiB stack (deep recursion).
458458 /traps/6/fix Bound the recursion or use a loop / smaller local arrays.
459-/traps/6/citations/0/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:494
459+/traps/6/citations/0/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:494
460460 /traps/6/citations/0/quote a call or a local array that would go below it traps
461-/traps/6/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:431
461+/traps/6/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:431
462462 /traps/6/citations/1/quote A trap in program mode ends the program with exit status 100 + the trap code
463463 /traps/6/example t06
464464 /traps/7/name SHIFT
465465 /traps/7/meaning shift or rotate amount out of range
466466 /traps/7/cause A shift or rotate amount is outside 0..width-1.
467467 /traps/7/fix Check the amount against the width.
468-/traps/7/citations/0/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:509
468+/traps/7/citations/0/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:509
469469 /traps/7/citations/0/quote A shift amount outside 0 .. width - 1 traps 7
470-/traps/7/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:431
470+/traps/7/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:431
471471 /traps/7/citations/1/quote A trap in program mode ends the program with exit status 100 + the trap code
472472 /traps/7/example t07
473473 /traps/8/name RUNTIME
474474 /traps/8/meaning runtime invariant broken
475475 /traps/8/cause A runtime invariant (double release, bad handle) failed; checked native code raises it only through `trap 8`.
476476 /traps/8/fix Find the explicit trap 8 in the program.
477-/traps/8/citations/0/ref omega-mv@2ee0a70d src/compiler/osc_ir.h:176
477+/traps/8/citations/0/ref omega-mv@6c562dd1 src/compiler/osc_ir.h:176
478478 /traps/8/citations/0/quote OSC_TRAP_RUNTIME = 8
479-/traps/8/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:431
479+/traps/8/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:431
480480 /traps/8/citations/1/quote A trap in program mode ends the program with exit status 100 + the trap code
481481 /traps/8/example t08
482482 /traps/9/name REQUIRES
483483 /traps/9/meaning precondition failed
484484 /traps/9/cause A requires clause was false on entry.
485485 /traps/9/fix Call the function only with arguments that satisfy its requires clauses.
486-/traps/9/citations/0/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1830
486+/traps/9/citations/0/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1830
487487 /traps/9/citations/0/quote False `requires` uses existing trap **9** (program exit **109**)
488-/traps/9/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:431
488+/traps/9/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:431
489489 /traps/9/citations/1/quote A trap in program mode ends the program with exit status 100 + the trap code
490490 /traps/9/example contract_fail
491491 /traps/10/name ENSURES
492492 /traps/10/meaning postcondition or invariant failed
493493 /traps/10/cause An ensures, invariant or holds check was false.
494494 /traps/10/fix Fix the function body or loop so the stated property holds.
495-/traps/10/citations/0/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1831
495+/traps/10/citations/0/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1831
496496 /traps/10/citations/0/quote `ensures` or `invariant` uses existing trap **10** (exit **110**).
497-/traps/10/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:431
497+/traps/10/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:431
498498 /traps/10/citations/1/quote A trap in program mode ends the program with exit status 100 + the trap code
499499 /traps/10/example t10
500500 /traps/11/name ARENA_FULL
501501 /traps/11/meaning arena allocation over capacity
502502 /traps/11/cause An OSC arena allocation exceeded the arena's capacity; native program mode raises it only through `trap 11`.
503503 /traps/11/fix Find the explicit trap 11 in the program.
504-/traps/11/citations/0/ref omega-mv@2ee0a70d src/compiler/osc_ir.h:183
504+/traps/11/citations/0/ref omega-mv@6c562dd1 src/compiler/osc_ir.h:183
505505 /traps/11/citations/0/quote OSC_TRAP_ARENA_FULL = 11
506-/traps/11/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:431
506+/traps/11/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:431
507507 /traps/11/citations/1/quote A trap in program mode ends the program with exit status 100 + the trap code
508508 /traps/11/example t11
509509 /traps/12/name STALE
510510 /traps/12/meaning stale versioned handle
511511 /traps/12/cause A handle whose generation no longer matches its slot; native program mode raises it only through `trap 12`.
512512 /traps/12/fix Find the explicit trap 12 in the program.
513-/traps/12/citations/0/ref omega-mv@2ee0a70d src/compiler/osc_ir.h:185
513+/traps/12/citations/0/ref omega-mv@6c562dd1 src/compiler/osc_ir.h:185
514514 /traps/12/citations/0/quote OSC_TRAP_STALE = 12
515-/traps/12/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:431
515+/traps/12/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:431
516516 /traps/12/citations/1/quote A trap in program mode ends the program with exit status 100 + the trap code
517517 /traps/12/example t12
518518 /traps/13/name POOL_FULL
519519 /traps/13/meaning pool allocation with every slot live
520520 /traps/13/cause An OSC pool allocation found no free slot; native program mode raises it only through `trap 13`.
521521 /traps/13/fix Find the explicit trap 13 in the program.
522-/traps/13/citations/0/ref omega-mv@2ee0a70d src/compiler/osc_ir.h:186
522+/traps/13/citations/0/ref omega-mv@6c562dd1 src/compiler/osc_ir.h:186
523523 /traps/13/citations/0/quote OSC_TRAP_POOL_FULL = 13
524-/traps/13/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:431
524+/traps/13/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:431
525525 /traps/13/citations/1/quote A trap in program mode ends the program with exit status 100 + the trap code
526526 /traps/13/example t13
527527 /traps/14/name RETIRED
528528 /traps/14/meaning pool slot retired at the maximum generation
529529 /traps/14/cause An OSC pool allocation found only retired slots; native program mode raises it only through `trap 14`.
530530 /traps/14/fix Find the explicit trap 14 in the program.
531-/traps/14/citations/0/ref omega-mv@2ee0a70d src/compiler/osc_ir.h:187
531+/traps/14/citations/0/ref omega-mv@6c562dd1 src/compiler/osc_ir.h:187
532532 /traps/14/citations/0/quote OSC_TRAP_RETIRED = 14
533-/traps/14/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:431
533+/traps/14/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:431
534534 /traps/14/citations/1/quote A trap in program mode ends the program with exit status 100 + the trap code
535535 /traps/14/example t14
536536 /words/fopen/table kw
@@ -546,13 +546,13 @@
546546 /words/fopen/types/4 mode: int
547547 /words/fopen/result long
548548 /words/fopen/summary Open a length-delimited path relative to the current directory; return the descriptor. Program mode, and OM-2 function units on AArch64 (error 9 in other function units); failure is minus the Linux errno.
549-/words/fopen/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3038-3039
549+/words/fopen/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3041-3042
550550 /words/fopen/citations/0/quote ret 110
551-/words/fopen/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1148
551+/words/fopen/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1148
552552 /words/fopen/citations/1/quote `fopen A off n flags mode`
553-/words/fopen/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
553+/words/fopen/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
554554 /words/fopen/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
555-/words/fopen/citations/3/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1112
555+/words/fopen/citations/3/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1112
556556 /words/fopen/citations/3/quote an OM-2 function unit (first line `om2`, no `fn main`) may use the file
557557 /words/fopen/example files
558558 /words/fclose/table kw
@@ -564,13 +564,13 @@
564564 /words/fclose/types/0 fd: int
565565 /words/fclose/result long
566566 /words/fclose/summary Close a descriptor. Program mode, and OM-2 function units on AArch64 (error 9 in other function units); failure is minus the Linux errno.
567-/words/fclose/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3008-3009
567+/words/fclose/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3011-3012
568568 /words/fclose/citations/0/quote ret 100
569-/words/fclose/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1149
569+/words/fclose/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1149
570570 /words/fclose/citations/1/quote `fclose fd`
571-/words/fclose/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
571+/words/fclose/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
572572 /words/fclose/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
573-/words/fclose/citations/3/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1112
573+/words/fclose/citations/3/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1112
574574 /words/fclose/citations/3/quote an OM-2 function unit (first line `om2`, no `fn main`) may use the file
575575 /words/fclose/example files
576576 /words/fsync/table kw
@@ -582,11 +582,11 @@
582582 /words/fsync/types/0 fd: int
583583 /words/fsync/result long
584584 /words/fsync/summary Sync file data and metadata. Program mode only; failure is minus the Linux errno.
585-/words/fsync/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3011-3012
585+/words/fsync/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3014-3015
586586 /words/fsync/citations/0/quote ret 101
587-/words/fsync/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1150
587+/words/fsync/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1150
588588 /words/fsync/citations/1/quote `fsync fd`
589-/words/fsync/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
589+/words/fsync/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
590590 /words/fsync/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
591591 /words/fsync/example files
592592 /words/fdsync/table kw
@@ -598,11 +598,11 @@
598598 /words/fdsync/types/0 fd: int
599599 /words/fdsync/result long
600600 /words/fdsync/summary Sync file data only (fdatasync). Program mode only; failure is minus the Linux errno.
601-/words/fdsync/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2642-2643
601+/words/fdsync/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2645-2646
602602 /words/fdsync/citations/0/quote ret 156
603-/words/fdsync/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1151
603+/words/fdsync/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1151
604604 /words/fdsync/citations/1/quote `fdsync fd`
605-/words/fdsync/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
605+/words/fdsync/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
606606 /words/fdsync/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
607607 /words/fdsync/example files
608608 /words/memfd/table kw
@@ -617,11 +617,11 @@
617617 /words/memfd/types/3 flags: int
618618 /words/memfd/result long
619619 /words/memfd/summary Create an anonymous in-memory file (memfd_create); return its descriptor. Program mode only; failure is minus the Linux errno.
620-/words/memfd/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2645-2646
620+/words/memfd/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2648-2649
621621 /words/memfd/citations/0/quote ret 157
622-/words/memfd/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1152
622+/words/memfd/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1152
623623 /words/memfd/citations/1/quote `memfd A off n flags`
624-/words/memfd/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
624+/words/memfd/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
625625 /words/memfd/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
626626 /words/memfd/example files
627627 /words/fchmod/table kw
@@ -634,11 +634,11 @@
634634 /words/fchmod/types/1 mode: int
635635 /words/fchmod/result long
636636 /words/fchmod/summary Set permissions on an open descriptor. Program mode only; failure is minus the Linux errno.
637-/words/fchmod/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3014-3015
637+/words/fchmod/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3017-3018
638638 /words/fchmod/citations/0/quote ret 102
639-/words/fchmod/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1153
639+/words/fchmod/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1153
640640 /words/fchmod/citations/1/quote `fchmod fd mode`
641-/words/fchmod/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
641+/words/fchmod/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
642642 /words/fchmod/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
643643 /words/fchmod/example files
644644 /words/chmod/table kw
@@ -653,11 +653,11 @@
653653 /words/chmod/types/3 mode: int
654654 /words/chmod/result long
655655 /words/chmod/summary Set permissions on a checked path (fchmodat, flags 0). Program mode only; failure is minus the Linux errno.
656-/words/chmod/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2603-2604
656+/words/chmod/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2606-2607
657657 /words/chmod/citations/0/quote ret 143
658-/words/chmod/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1154
658+/words/chmod/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1154
659659 /words/chmod/citations/1/quote `chmod A off n mode`
660-/words/chmod/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
660+/words/chmod/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
661661 /words/chmod/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
662662 /words/chmod/example files
663663 /words/chown/table kw
@@ -673,11 +673,11 @@
673673 /words/chown/types/4 gid: int
674674 /words/chown/result long
675675 /words/chown/summary Set ownership on a checked path (fchownat, flags 0). Program mode only; failure is minus the Linux errno.
676-/words/chown/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2627-2628
676+/words/chown/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2630-2631
677677 /words/chown/citations/0/quote ret 151
678-/words/chown/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1155
678+/words/chown/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1155
679679 /words/chown/citations/1/quote `chown A off n uid gid`
680-/words/chown/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
680+/words/chown/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
681681 /words/chown/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
682682 /words/chown/example dirs
683683 /words/faccess/table kw
@@ -692,11 +692,11 @@
692692 /words/faccess/types/3 mode: int
693693 /words/faccess/result long
694694 /words/faccess/summary Check access to a checked path (faccessat): mode 0/1/2/4. Program mode only; failure is minus the Linux errno.
695-/words/faccess/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2606-2607
695+/words/faccess/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2609-2610
696696 /words/faccess/citations/0/quote ret 144
697-/words/faccess/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1156
697+/words/faccess/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1156
698698 /words/faccess/citations/1/quote `faccess A off n mode`
699-/words/faccess/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
699+/words/faccess/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
700700 /words/faccess/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
701701 /words/faccess/example files
702702 /words/getuid/table kw
@@ -708,13 +708,13 @@
708708 /words/getuid/types []
709709 /words/getuid/result long
710710 /words/getuid/summary Real user id of the process. Program mode, and OM-2 function units on AArch64 (error 9 in other function units); failure is minus the Linux errno.
711-/words/getuid/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2609-2610
711+/words/getuid/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2612-2613
712712 /words/getuid/citations/0/quote ret 145
713-/words/getuid/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1157
713+/words/getuid/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1157
714714 /words/getuid/citations/1/quote `getuid`
715-/words/getuid/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
715+/words/getuid/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
716716 /words/getuid/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
717-/words/getuid/citations/3/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1112
717+/words/getuid/citations/3/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1112
718718 /words/getuid/citations/3/quote an OM-2 function unit (first line `om2`, no `fn main`) may use the file
719719 /words/getuid/example dirs
720720 /words/geteuid/table kw
@@ -726,13 +726,13 @@
726726 /words/geteuid/types []
727727 /words/geteuid/result long
728728 /words/geteuid/summary Effective user id of the process. Program mode, and OM-2 function units on AArch64 (error 9 in other function units); failure is minus the Linux errno.
729-/words/geteuid/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2612-2613
729+/words/geteuid/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2615-2616
730730 /words/geteuid/citations/0/quote ret 146
731-/words/geteuid/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1157
731+/words/geteuid/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1157
732732 /words/geteuid/citations/1/quote `geteuid`
733-/words/geteuid/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
733+/words/geteuid/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
734734 /words/geteuid/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
735-/words/geteuid/citations/3/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1112
735+/words/geteuid/citations/3/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1112
736736 /words/geteuid/citations/3/quote an OM-2 function unit (first line `om2`, no `fn main`) may use the file
737737 /words/geteuid/example dirs
738738 /words/getgid/table kw
@@ -744,13 +744,13 @@
744744 /words/getgid/types []
745745 /words/getgid/result long
746746 /words/getgid/summary Real group id of the process. Program mode, and OM-2 function units on AArch64 (error 9 in other function units); failure is minus the Linux errno.
747-/words/getgid/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2615-2616
747+/words/getgid/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2618-2619
748748 /words/getgid/citations/0/quote ret 147
749-/words/getgid/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1157
749+/words/getgid/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1157
750750 /words/getgid/citations/1/quote `getgid`
751-/words/getgid/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
751+/words/getgid/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
752752 /words/getgid/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
753-/words/getgid/citations/3/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1112
753+/words/getgid/citations/3/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1112
754754 /words/getgid/citations/3/quote an OM-2 function unit (first line `om2`, no `fn main`) may use the file
755755 /words/getgid/example dirs
756756 /words/getegid/table kw
@@ -762,13 +762,13 @@
762762 /words/getegid/types []
763763 /words/getegid/result long
764764 /words/getegid/summary Effective group id of the process. Program mode, and OM-2 function units on AArch64 (error 9 in other function units); failure is minus the Linux errno.
765-/words/getegid/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2618-2619
765+/words/getegid/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2621-2622
766766 /words/getegid/citations/0/quote ret 148
767-/words/getegid/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1157
767+/words/getegid/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1157
768768 /words/getegid/citations/1/quote `getegid`
769-/words/getegid/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
769+/words/getegid/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
770770 /words/getegid/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
771-/words/getegid/citations/3/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1112
771+/words/getegid/citations/3/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1112
772772 /words/getegid/citations/3/quote an OM-2 function unit (first line `om2`, no `fn main`) may use the file
773773 /words/getegid/example dirs
774774 /words/fchdir/table kw
@@ -780,11 +780,11 @@
780780 /words/fchdir/types/0 fd: int
781781 /words/fchdir/result long
782782 /words/fchdir/summary Change the working directory to an open directory descriptor. Program mode only; failure is minus the Linux errno.
783-/words/fchdir/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2633-2634
783+/words/fchdir/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2636-2637
784784 /words/fchdir/citations/0/quote ret 153
785-/words/fchdir/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1158
785+/words/fchdir/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1158
786786 /words/fchdir/citations/1/quote `fchdir fd`
787-/words/fchdir/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
787+/words/fchdir/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
788788 /words/fchdir/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
789789 /words/fchdir/example dirs
790790 /words/getppid/table kw
@@ -796,11 +796,11 @@
796796 /words/getppid/types []
797797 /words/getppid/result long
798798 /words/getppid/summary Parent process id. Program mode only; failure is minus the Linux errno.
799-/words/getppid/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2636-2637
799+/words/getppid/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2639-2640
800800 /words/getppid/citations/0/quote ret 154
801-/words/getppid/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1159
801+/words/getppid/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1159
802802 /words/getppid/citations/1/quote `getppid`
803-/words/getppid/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
803+/words/getppid/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
804804 /words/getppid/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
805805 /words/getppid/example procs
806806 /words/setsid/table kw
@@ -812,11 +812,11 @@
812812 /words/setsid/types []
813813 /words/setsid/result long
814814 /words/setsid/summary Create a session and become its leader. Program mode only; failure is minus the Linux errno.
815-/words/setsid/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2648-2649
815+/words/setsid/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2651-2652
816816 /words/setsid/citations/0/quote ret 158
817-/words/setsid/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1160
817+/words/setsid/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1160
818818 /words/setsid/citations/1/quote `setsid`
819-/words/setsid/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
819+/words/setsid/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
820820 /words/setsid/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
821821 /words/setsid/example procs
822822 /words/getpgid/table kw
@@ -828,11 +828,11 @@
828828 /words/getpgid/types/0 pid: int
829829 /words/getpgid/result long
830830 /words/getpgid/summary Process group id of pid (0 = self). Program mode only; failure is minus the Linux errno.
831-/words/getpgid/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2651-2652
831+/words/getpgid/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2654-2655
832832 /words/getpgid/citations/0/quote ret 159
833-/words/getpgid/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1161
833+/words/getpgid/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1161
834834 /words/getpgid/citations/1/quote `getpgid pid`
835-/words/getpgid/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
835+/words/getpgid/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
836836 /words/getpgid/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
837837 /words/getpgid/example procs
838838 /words/getsid/table kw
@@ -844,11 +844,11 @@
844844 /words/getsid/types/0 pid: int
845845 /words/getsid/result long
846846 /words/getsid/summary Session id of pid (0 = self). Program mode only; failure is minus the Linux errno.
847-/words/getsid/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2663-2664
847+/words/getsid/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2666-2667
848848 /words/getsid/citations/0/quote ret 163
849-/words/getsid/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1162
849+/words/getsid/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1162
850850 /words/getsid/citations/1/quote `getsid pid`
851-/words/getsid/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
851+/words/getsid/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
852852 /words/getsid/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
853853 /words/getsid/example procs
854854 /words/syncfs/table kw
@@ -860,11 +860,11 @@
860860 /words/syncfs/types/0 fd: int
861861 /words/syncfs/result long
862862 /words/syncfs/summary Sync the filesystem containing an open descriptor. Program mode only; failure is minus the Linux errno.
863-/words/syncfs/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2666-2667
863+/words/syncfs/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2669-2670
864864 /words/syncfs/citations/0/quote ret 164
865-/words/syncfs/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1163
865+/words/syncfs/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1163
866866 /words/syncfs/citations/1/quote `syncfs fd`
867-/words/syncfs/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
867+/words/syncfs/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
868868 /words/syncfs/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
869869 /words/syncfs/example files
870870 /words/shutdown/table kw
@@ -877,11 +877,11 @@
877877 /words/shutdown/types/1 how: int
878878 /words/shutdown/result long
879879 /words/shutdown/summary Shut down part of a connected socket (how 0 read, 1 write, 2 both). Program mode only; failure is minus the Linux errno.
880-/words/shutdown/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2669-2670
880+/words/shutdown/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2672-2673
881881 /words/shutdown/citations/0/quote ret 165
882-/words/shutdown/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1164
882+/words/shutdown/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1164
883883 /words/shutdown/citations/1/quote `shutdown fd how`
884-/words/shutdown/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
884+/words/shutdown/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
885885 /words/shutdown/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
886886 /words/shutdown/example sockets
887887 /words/flock/table kw
@@ -894,11 +894,11 @@
894894 /words/flock/types/1 op: int
895895 /words/flock/result long
896896 /words/flock/summary Advisory whole-file lock (Linux flock); op 1 shared, 2 exclusive, 8 unlock, |4 nonblocking. Program mode only; failure is minus the Linux errno.
897-/words/flock/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2750-2751
897+/words/flock/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2753-2754
898898 /words/flock/citations/0/quote ret 197
899-/words/flock/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1165
899+/words/flock/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1165
900900 /words/flock/citations/1/quote `flock fd op`
901-/words/flock/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
901+/words/flock/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
902902 /words/flock/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
903903 /words/flock/example files
904904 /words/setpgid/table kw
@@ -911,11 +911,11 @@
911911 /words/setpgid/types/1 pgid: int
912912 /words/setpgid/result long
913913 /words/setpgid/summary Set a process's group (0 = self/own pid). Program mode only; failure is minus the Linux errno.
914-/words/setpgid/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2654-2655
914+/words/setpgid/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2657-2658
915915 /words/setpgid/citations/0/quote ret 160
916-/words/setpgid/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1166
916+/words/setpgid/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1166
917917 /words/setpgid/citations/1/quote `setpgid pid pgid`
918-/words/setpgid/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
918+/words/setpgid/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
919919 /words/setpgid/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
920920 /words/setpgid/example procs
921921 /words/umask/table kw
@@ -927,11 +927,11 @@
927927 /words/umask/types/0 mask: int
928928 /words/umask/result long
929929 /words/umask/summary Set the file-mode mask; return the previous mask. Program mode only; failure is minus the Linux errno.
930-/words/umask/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2639-2640
930+/words/umask/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2642-2643
931931 /words/umask/citations/0/quote ret 155
932-/words/umask/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1167
932+/words/umask/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1167
933933 /words/umask/citations/1/quote `umask mask`
934-/words/umask/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
934+/words/umask/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
935935 /words/umask/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
936936 /words/umask/example files
937937 /words/fseek/table kw
@@ -945,11 +945,11 @@
945945 /words/fseek/types/2 whence: int
946946 /words/fseek/result long
947947 /words/fseek/summary Seek; return the resulting file offset. Program mode only; failure is minus the Linux errno.
948-/words/fseek/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3017-3018
948+/words/fseek/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3020-3021
949949 /words/fseek/citations/0/quote ret 103
950-/words/fseek/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1168
950+/words/fseek/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1168
951951 /words/fseek/citations/1/quote `fseek fd offset whence`
952-/words/fseek/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
952+/words/fseek/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
953953 /words/fseek/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
954954 /words/fseek/example files
955955 /words/ftrunc/table kw
@@ -962,11 +962,11 @@
962962 /words/ftrunc/types/1 length: long
963963 /words/ftrunc/result long
964964 /words/ftrunc/summary Set an open descriptor's length (ftruncate). Program mode only; failure is minus the Linux errno.
965-/words/ftrunc/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2591-2592
965+/words/ftrunc/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2594-2595
966966 /words/ftrunc/citations/0/quote ret 139
967-/words/ftrunc/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1169
967+/words/ftrunc/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1169
968968 /words/ftrunc/citations/1/quote `ftrunc fd length`
969-/words/ftrunc/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
969+/words/ftrunc/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
970970 /words/ftrunc/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
971971 /words/ftrunc/example files
972972 /words/truncate/table kw
@@ -981,11 +981,11 @@
981981 /words/truncate/types/3 length: long
982982 /words/truncate/result long
983983 /words/truncate/summary Set a checked path's length (truncate). Program mode only; failure is minus the Linux errno.
984-/words/truncate/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2624-2625
984+/words/truncate/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2627-2628
985985 /words/truncate/citations/0/quote ret 150
986-/words/truncate/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1170
986+/words/truncate/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1170
987987 /words/truncate/citations/1/quote `truncate A off n length`
988-/words/truncate/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
988+/words/truncate/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
989989 /words/truncate/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
990990 /words/truncate/example files
991991 /words/unlink/table kw
@@ -999,11 +999,11 @@
999999 /words/unlink/types/2 n: ulong
10001000 /words/unlink/result long
10011001 /words/unlink/summary Remove the named file. Program mode only; failure is minus the Linux errno.
1002-/words/unlink/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3041-3042
1002+/words/unlink/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3044-3045
10031003 /words/unlink/citations/0/quote ret 111
1004-/words/unlink/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1171
1004+/words/unlink/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1171
10051005 /words/unlink/citations/1/quote `unlink A off n`
1006-/words/unlink/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1006+/words/unlink/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
10071007 /words/unlink/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
10081008 /words/unlink/example files
10091009 /words/makedir/table kw
@@ -1018,11 +1018,11 @@
10181018 /words/makedir/types/3 mode: int
10191019 /words/makedir/result long
10201020 /words/makedir/summary Create a directory. Program mode only; failure is minus the Linux errno.
1021-/words/makedir/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3044-3045
1021+/words/makedir/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3047-3048
10221022 /words/makedir/citations/0/quote ret 112
1023-/words/makedir/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1172
1023+/words/makedir/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1172
10241024 /words/makedir/citations/1/quote `makedir A off n mode`
1025-/words/makedir/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1025+/words/makedir/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
10261026 /words/makedir/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
10271027 /words/makedir/example dirs
10281028 /words/rmdir/table kw
@@ -1036,11 +1036,11 @@
10361036 /words/rmdir/types/2 n: ulong
10371037 /words/rmdir/result long
10381038 /words/rmdir/summary Remove an empty directory. Program mode only; failure is minus the Linux errno.
1039-/words/rmdir/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2963-2964
1039+/words/rmdir/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2966-2967
10401040 /words/rmdir/citations/0/quote ret 126
1041-/words/rmdir/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1173
1041+/words/rmdir/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1173
10421042 /words/rmdir/citations/1/quote `rmdir A off n`
1043-/words/rmdir/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1043+/words/rmdir/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
10441044 /words/rmdir/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
10451045 /words/rmdir/example dirs
10461046 /words/cwd/table kw
@@ -1054,11 +1054,11 @@
10541054 /words/cwd/types/2 capacity: ulong
10551055 /words/cwd/result long
10561056 /words/cwd/summary Write the current directory into writable bytes; the count includes the trailing zero. Program mode only; failure is minus the Linux errno.
1057-/words/cwd/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2558-2559
1057+/words/cwd/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2561-2562
10581058 /words/cwd/citations/0/quote ret 132
1059-/words/cwd/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1174
1059+/words/cwd/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1174
10601060 /words/cwd/citations/1/quote `cwd A off capacity`
1061-/words/cwd/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1061+/words/cwd/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
10621062 /words/cwd/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
10631063 /words/cwd/example dirs
10641064 /words/chdir/table kw
@@ -1072,11 +1072,11 @@
10721072 /words/chdir/types/2 n: ulong
10731073 /words/chdir/result long
10741074 /words/chdir/summary Change the working directory to a checked, nonempty path. Program mode only; failure is minus the Linux errno.
1075-/words/chdir/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2588-2589
1075+/words/chdir/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2591-2592
10761076 /words/chdir/citations/0/quote ret 138
1077-/words/chdir/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1175
1077+/words/chdir/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1175
10781078 /words/chdir/citations/1/quote `chdir A off n`
1079-/words/chdir/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1079+/words/chdir/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
10801080 /words/chdir/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
10811081 /words/chdir/example dirs
10821082 /words/readlnk/table kw
@@ -1093,11 +1093,11 @@
10931093 /words/readlnk/types/5 capacity: ulong
10941094 /words/readlnk/result long
10951095 /words/readlnk/summary Read a symbolic link into writable output bytes; no zero byte is appended. Program mode only; failure is minus the Linux errno.
1096-/words/readlnk/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2567-2568
1096+/words/readlnk/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2570-2571
10971097 /words/readlnk/citations/0/quote ret 133
1098-/words/readlnk/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1176
1098+/words/readlnk/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1176
10991099 /words/readlnk/citations/1/quote `readlnk PATH off n OUT off capacity`
1100-/words/readlnk/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1100+/words/readlnk/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
11011101 /words/readlnk/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
11021102 /words/readlnk/example dirs
11031103 /words/getdnts/table kw
@@ -1112,11 +1112,11 @@
11121112 /words/getdnts/types/3 n: ulong
11131113 /words/getdnts/result long
11141114 /words/getdnts/summary Write raw Linux getdents64 records; return bytes written. Program mode only; failure is minus the Linux errno.
1115-/words/getdnts/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2978-2979
1115+/words/getdnts/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2981-2982
11161116 /words/getdnts/citations/0/quote ret 113
1117-/words/getdnts/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1177
1117+/words/getdnts/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1177
11181118 /words/getdnts/citations/1/quote `getdnts fd A off n`
1119-/words/getdnts/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1119+/words/getdnts/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
11201120 /words/getdnts/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
11211121 /words/getdnts/example dirs
11221122 /words/fstat/table kw
@@ -1131,13 +1131,13 @@
11311131 /words/fstat/types/3 n: ulong
11321132 /words/fstat/result long
11331133 /words/fstat/summary Write the 128-byte Linux ARM64 stat structure of an open descriptor. Program mode, and OM-2 function units on AArch64 (error 9 in other function units); failure is minus the Linux errno.
1134-/words/fstat/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2990-2991
1134+/words/fstat/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2993-2994
11351135 /words/fstat/citations/0/quote ret 117
1136-/words/fstat/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1178
1136+/words/fstat/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1178
11371137 /words/fstat/citations/1/quote `fstat fd A off n`
1138-/words/fstat/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1138+/words/fstat/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
11391139 /words/fstat/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
1140-/words/fstat/citations/3/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1112
1140+/words/fstat/citations/3/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1112
11411141 /words/fstat/citations/3/quote an OM-2 function unit (first line `om2`, no `fn main`) may use the file
11421142 /words/fstat/example files
11431143 /words/stat/table kw
@@ -1154,13 +1154,13 @@
11541154 /words/stat/types/5 capacity: ulong
11551155 /words/stat/result long
11561156 /words/stat/summary Metadata for a checked path (newfstatat) into a 128-byte ARM64 stat structure. Program mode, and OM-2 function units on AArch64 (error 9 in other function units); failure is minus the Linux errno.
1157-/words/stat/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2594-2595
1157+/words/stat/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2597-2598
11581158 /words/stat/citations/0/quote ret 140
1159-/words/stat/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1179
1159+/words/stat/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1179
11601160 /words/stat/citations/1/quote `stat A off n B off capacity`
1161-/words/stat/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1161+/words/stat/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
11621162 /words/stat/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
1163-/words/stat/citations/3/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1112
1163+/words/stat/citations/3/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1112
11641164 /words/stat/citations/3/quote an OM-2 function unit (first line `om2`, no `fn main`) may use the file
11651165 /words/stat/example files
11661166 /words/lstat/table kw
@@ -1177,13 +1177,13 @@
11771177 /words/lstat/types/5 capacity: ulong
11781178 /words/lstat/result long
11791179 /words/lstat/summary As stat, without following a final symbolic link. Program mode, and OM-2 function units on AArch64 (error 9 in other function units); failure is minus the Linux errno.
1180-/words/lstat/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2621-2622
1180+/words/lstat/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2624-2625
11811181 /words/lstat/citations/0/quote ret 149
1182-/words/lstat/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1180
1182+/words/lstat/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1180
11831183 /words/lstat/citations/1/quote `lstat A off n B off capacity`
1184-/words/lstat/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1184+/words/lstat/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
11851185 /words/lstat/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
1186-/words/lstat/citations/3/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1112
1186+/words/lstat/citations/3/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1112
11871187 /words/lstat/citations/3/quote an OM-2 function unit (first line `om2`, no `fn main`) may use the file
11881188 /words/lstat/example files
11891189 /words/renames/table kw
@@ -1198,11 +1198,11 @@
11981198 /words/renames/types/3 flags: int
11991199 /words/renames/result long
12001200 /words/renames/summary Rename the two paths of a packed list (renameat2); flag 1 refuses replacement. Program mode only; failure is minus the Linux errno.
1201-/words/renames/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2960-2961
1201+/words/renames/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2963-2964
12021202 /words/renames/citations/0/quote ret 125
1203-/words/renames/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1181
1203+/words/renames/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1181
12041204 /words/renames/citations/1/quote `renames A off n flags`
1205-/words/renames/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1205+/words/renames/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
12061206 /words/renames/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
12071207 /words/renames/example dirs
12081208 /words/link/table kw
@@ -1216,11 +1216,11 @@
12161216 /words/link/types/2 n: ulong
12171217 /words/link/result long
12181218 /words/link/summary Create a hard link from a packed two-path list (old, new). Program mode only; failure is minus the Linux errno.
1219-/words/link/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2597-2598
1219+/words/link/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2600-2601
12201220 /words/link/citations/0/quote ret 141
1221-/words/link/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1182
1221+/words/link/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1182
12221222 /words/link/citations/1/quote `link A off n`
1223-/words/link/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1223+/words/link/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
12241224 /words/link/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
12251225 /words/link/example dirs
12261226 /words/symlnk/table kw
@@ -1234,11 +1234,11 @@
12341234 /words/symlnk/types/2 n: ulong
12351235 /words/symlnk/result long
12361236 /words/symlnk/summary Create a symbolic link from a packed two-path list (target text, link path). Program mode only; failure is minus the Linux errno.
1237-/words/symlnk/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2600-2601
1237+/words/symlnk/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2603-2604
12381238 /words/symlnk/citations/0/quote ret 142
1239-/words/symlnk/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1183
1239+/words/symlnk/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1183
12401240 /words/symlnk/citations/1/quote `symlnk A off n`
1241-/words/symlnk/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1241+/words/symlnk/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
12421242 /words/symlnk/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
12431243 /words/symlnk/example dirs
12441244 /words/monons/table kw
@@ -1250,13 +1250,13 @@
12501250 /words/monons/types []
12511251 /words/monons/result long
12521252 /words/monons/summary Monotonic nanoseconds, for elapsed-time measurement. Program mode, and OM-2 function units on AArch64 (error 9 in other function units); failure is minus the Linux errno.
1253-/words/monons/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3035-3036
1253+/words/monons/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3038-3039
12541254 /words/monons/citations/0/quote ret 109
1255-/words/monons/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1184
1255+/words/monons/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1184
12561256 /words/monons/citations/1/quote `monons`
1257-/words/monons/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1257+/words/monons/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
12581258 /words/monons/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
1259-/words/monons/citations/3/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1112
1259+/words/monons/citations/3/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1112
12601260 /words/monons/citations/3/quote an OM-2 function unit (first line `om2`, no `fn main`) may use the file
12611261 /words/monons/example clock
12621262 /words/realns/table kw
@@ -1268,13 +1268,13 @@
12681268 /words/realns/types []
12691269 /words/realns/result long
12701270 /words/realns/summary Realtime nanoseconds since the Unix epoch. Program mode, and OM-2 function units on AArch64 (error 9 in other function units); failure is minus the Linux errno.
1271-/words/realns/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2954-2955
1271+/words/realns/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2957-2958
12721272 /words/realns/citations/0/quote ret 130
1273-/words/realns/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1185
1273+/words/realns/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1185
12741274 /words/realns/citations/1/quote `realns`
1275-/words/realns/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1275+/words/realns/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
12761276 /words/realns/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
1277-/words/realns/citations/3/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1112
1277+/words/realns/citations/3/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1112
12781278 /words/realns/citations/3/quote an OM-2 function unit (first line `om2`, no `fn main`) may use the file
12791279 /words/realns/example clock
12801280 /words/sleepns/table kw
@@ -1286,13 +1286,13 @@
12861286 /words/sleepns/types/0 interval: long
12871287 /words/sleepns/result long
12881288 /words/sleepns/summary Sleep for nonnegative nanoseconds; a negative interval traps 3. Program mode, and OM-2 function units on AArch64 (error 9 in other function units); failure is minus the Linux errno.
1289-/words/sleepns/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2999-3000
1289+/words/sleepns/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3002-3003
12901290 /words/sleepns/citations/0/quote ret 120
1291-/words/sleepns/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1186
1291+/words/sleepns/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1186
12921292 /words/sleepns/citations/1/quote `sleepns interval`
1293-/words/sleepns/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1293+/words/sleepns/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
12941294 /words/sleepns/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
1295-/words/sleepns/citations/3/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1112
1295+/words/sleepns/citations/3/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1112
12961296 /words/sleepns/citations/3/quote an OM-2 function unit (first line `om2`, no `fn main`) may use the file
12971297 /words/sleepns/example clock
12981298 /words/socknew/table kw
@@ -1306,11 +1306,11 @@
13061306 /words/socknew/types/2 protocol: int
13071307 /words/socknew/result long
13081308 /words/socknew/summary Create a socket. Program mode only; failure is minus the Linux errno.
1309-/words/socknew/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3020-3021
1309+/words/socknew/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3023-3024
13101310 /words/socknew/citations/0/quote ret 104
1311-/words/socknew/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1187
1311+/words/socknew/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1187
13121312 /words/socknew/citations/1/quote `socknew domain kind protocol`
1313-/words/socknew/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1313+/words/socknew/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
13141314 /words/socknew/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
13151315 /words/socknew/example sockets
13161316 /words/bind/table kw
@@ -1325,11 +1325,11 @@
13251325 /words/bind/types/3 n: ulong
13261326 /words/bind/result long
13271327 /words/bind/summary Bind a socket to the address bytes of the slice. Program mode only; failure is minus the Linux errno.
1328-/words/bind/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2984-2985
1328+/words/bind/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2987-2988
13291329 /words/bind/citations/0/quote ret 115
1330-/words/bind/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1188
1330+/words/bind/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1188
13311331 /words/bind/citations/1/quote `bind fd A off n`
1332-/words/bind/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1332+/words/bind/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
13331333 /words/bind/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
13341334 /words/bind/example sockets
13351335 /words/connect/table kw
@@ -1344,11 +1344,11 @@
13441344 /words/connect/types/3 n: ulong
13451345 /words/connect/result long
13461346 /words/connect/summary Connect using the address bytes of the slice. Program mode only; failure is minus the Linux errno.
1347-/words/connect/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2981-2982
1347+/words/connect/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2984-2985
13481348 /words/connect/citations/0/quote ret 114
1349-/words/connect/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1189
1349+/words/connect/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1189
13501350 /words/connect/citations/1/quote `connect fd A off n`
1351-/words/connect/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1351+/words/connect/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
13521352 /words/connect/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
13531353 /words/connect/example sockets
13541354 /words/listen/table kw
@@ -1361,11 +1361,11 @@
13611361 /words/listen/types/1 backlog: int
13621362 /words/listen/result long
13631363 /words/listen/summary Listen for connections. Program mode only; failure is minus the Linux errno.
1364-/words/listen/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3023-3024
1364+/words/listen/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3026-3027
13651365 /words/listen/citations/0/quote ret 105
1366-/words/listen/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1190
1366+/words/listen/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1190
13671367 /words/listen/citations/1/quote `listen fd backlog`
1368-/words/listen/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1368+/words/listen/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
13691369 /words/listen/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
13701370 /words/listen/example sockets
13711371 /words/accept/table kw
@@ -1378,11 +1378,11 @@
13781378 /words/accept/types/1 flags: int
13791379 /words/accept/result long
13801380 /words/accept/summary Accept a connection (accept4) without peer-address output; return the descriptor. Program mode only; failure is minus the Linux errno.
1381-/words/accept/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3026-3027
1381+/words/accept/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3029-3030
13821382 /words/accept/citations/0/quote ret 106
1383-/words/accept/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1191
1383+/words/accept/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1191
13841384 /words/accept/citations/1/quote `accept fd flags`
1385-/words/accept/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1385+/words/accept/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
13861386 /words/accept/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
13871387 /words/accept/example sockets
13881388 /words/sockname/table kw
@@ -1397,11 +1397,11 @@
13971397 /words/sockname/types/3 n: ulong
13981398 /words/sockname/result long
13991399 /words/sockname/summary Write the socket's address bytes; return the full address length. Program mode only; failure is minus the Linux errno.
1400-/words/sockname/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2951-2952
1400+/words/sockname/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2954-2955
14011401 /words/sockname/citations/0/quote ret 131
1402-/words/sockname/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1192
1402+/words/sockname/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1192
14031403 /words/sockname/citations/1/quote `sockname fd A off n`
1404-/words/sockname/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1404+/words/sockname/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
14051405 /words/sockname/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
14061406 /words/sockname/example sockets
14071407 /words/sockopt/table kw
@@ -1418,11 +1418,11 @@
14181418 /words/sockopt/types/5 n: ulong
14191419 /words/sockopt/result long
14201420 /words/sockopt/summary Set one allowlisted four-byte socket option. Program mode only; failure is minus the Linux errno.
1421-/words/sockopt/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2576-2577
1421+/words/sockopt/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2579-2580
14221422 /words/sockopt/citations/0/quote ret 134
1423-/words/sockopt/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1194
1423+/words/sockopt/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1194
14241424 /words/sockopt/citations/1/quote `sockopt fd level option A off n`
1425-/words/sockopt/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1425+/words/sockopt/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
14261426 /words/sockopt/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
14271427 /words/sockopt/example sockets
14281428 /words/recv/table kw
@@ -1438,11 +1438,11 @@
14381438 /words/recv/types/4 flags: int
14391439 /words/recv/result long
14401440 /words/recv/summary Receive into a writable slice. Program mode only; failure is minus the Linux errno.
1441-/words/recv/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2993-2994
1441+/words/recv/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2996-2997
14421442 /words/recv/citations/0/quote ret 118
1443-/words/recv/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1195
1443+/words/recv/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1195
14441444 /words/recv/citations/1/quote `recv fd A off n flags`
1445-/words/recv/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1445+/words/recv/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
14461446 /words/recv/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
14471447 /words/recv/example sockets
14481448 /words/send/table kw
@@ -1458,11 +1458,11 @@
14581458 /words/send/types/4 flags: int
14591459 /words/send/result long
14601460 /words/send/summary Send a slice; MSG_NOSIGNAL is added so a closed peer returns an error. Program mode only; failure is minus the Linux errno.
1461-/words/send/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2996-2997
1461+/words/send/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2999-3000
14621462 /words/send/citations/0/quote ret 119
1463-/words/send/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1196
1463+/words/send/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1196
14641464 /words/send/citations/1/quote `send fd A off n flags`
1465-/words/send/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1465+/words/send/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
14661466 /words/send/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
14671467 /words/send/example sockets
14681468 /words/waitio/table kw
@@ -1476,11 +1476,11 @@
14761476 /words/waitio/types/2 interval: long
14771477 /words/waitio/result long
14781478 /words/waitio/summary Poll one descriptor: readiness bits, 0 on timeout, or negative errno. Program mode only; failure is minus the Linux errno.
1479-/words/waitio/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2975-2976
1479+/words/waitio/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2978-2979
14801480 /words/waitio/citations/0/quote ret 123
1481-/words/waitio/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1197
1481+/words/waitio/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1197
14821482 /words/waitio/citations/1/quote `waitio fd events interval`
1483-/words/waitio/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1483+/words/waitio/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
14841484 /words/waitio/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
14851485 /words/waitio/example sockets
14861486 /words/peercred/table kw
@@ -1495,11 +1495,11 @@
14951495 /words/peercred/types/3 capacity: ulong
14961496 /words/peercred/result long
14971497 /words/peercred/summary Read SO_PEERCRED (pid, uid, gid as little-endian int32) into at least 12 writable bytes. Program mode only; failure is minus the Linux errno.
1498-/words/peercred/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3080-3081
1498+/words/peercred/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3083-3084
14991499 /words/peercred/citations/0/quote ret 220
1500-/words/peercred/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1198
1500+/words/peercred/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1198
15011501 /words/peercred/citations/1/quote `peercred fd A off capacity`
1502-/words/peercred/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1502+/words/peercred/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
15031503 /words/peercred/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
15041504 /words/peercred/example sockets
15051505 /words/pollfds/table kw
@@ -1514,11 +1514,11 @@
15141514 /words/pollfds/types/3 interval: long
15151515 /words/pollfds/result long
15161516 /words/pollfds/summary Poll packed eight-byte pollfd records in a writable slice. Program mode only; failure is minus the Linux errno.
1517-/words/pollfds/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3083-3084
1517+/words/pollfds/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3086-3087
15181518 /words/pollfds/citations/0/quote ret 221
1519-/words/pollfds/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1199
1519+/words/pollfds/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1199
15201520 /words/pollfds/citations/1/quote `pollfds A off n interval`
1521-/words/pollfds/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1521+/words/pollfds/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
15221522 /words/pollfds/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
15231523 /words/pollfds/example sockets
15241524 /words/sendmsg/table kw
@@ -1534,11 +1534,11 @@
15341534 /words/sendmsg/types/4 flags: int
15351535 /words/sendmsg/result long
15361536 /words/sendmsg/summary Send one checked payload through a private msghdr, no ancillary data. Program mode only; failure is minus the Linux errno.
1537-/words/sendmsg/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3086-3087
1537+/words/sendmsg/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3089-3090
15381538 /words/sendmsg/citations/0/quote ret 222
1539-/words/sendmsg/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1200
1539+/words/sendmsg/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1200
15401540 /words/sendmsg/citations/1/quote `sendmsg fd A off n flags`
1541-/words/sendmsg/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1541+/words/sendmsg/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
15421542 /words/sendmsg/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
15431543 /words/sendmsg/example sockets
15441544 /words/fork/table kw
@@ -1550,11 +1550,11 @@
15501550 /words/fork/types []
15511551 /words/fork/result long
15521552 /words/fork/summary Copy the process: 0 in the child, the child pid in the parent. Program mode only; failure is minus the Linux errno.
1553-/words/fork/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3029-3030
1553+/words/fork/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3032-3033
15541554 /words/fork/citations/0/quote ret 107
1555-/words/fork/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1201
1555+/words/fork/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1201
15561556 /words/fork/citations/1/quote `fork`
1557-/words/fork/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1557+/words/fork/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
15581558 /words/fork/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
15591559 /words/fork/example procs
15601560 /words/getpid/table kw
@@ -1566,11 +1566,11 @@
15661566 /words/getpid/types []
15671567 /words/getpid/result long
15681568 /words/getpid/summary The current process id. Program mode only; failure is minus the Linux errno.
1569-/words/getpid/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2972-2973
1569+/words/getpid/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2975-2976
15701570 /words/getpid/citations/0/quote ret 129
1571-/words/getpid/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1202
1571+/words/getpid/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1202
15721572 /words/getpid/citations/1/quote `getpid`
1573-/words/getpid/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1573+/words/getpid/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
15741574 /words/getpid/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
15751575 /words/getpid/example procs
15761576 /words/killpid/table kw
@@ -1583,11 +1583,11 @@
15831583 /words/killpid/types/1 signal: int
15841584 /words/killpid/result long
15851585 /words/killpid/summary Send a signal; signal 0 checks existence and permission. Program mode only; failure is minus the Linux errno.
1586-/words/killpid/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2966-2967
1586+/words/killpid/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2969-2970
15871587 /words/killpid/citations/0/quote ret 127
1588-/words/killpid/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1203
1588+/words/killpid/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1203
15891589 /words/killpid/citations/1/quote `killpid pid signal`
1590-/words/killpid/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1590+/words/killpid/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
15911591 /words/killpid/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
15921592 /words/killpid/example procs
15931593 /words/waitpid/table kw
@@ -1603,11 +1603,11 @@
16031603 /words/waitpid/types/4 options: int
16041604 /words/waitpid/result long
16051605 /words/waitpid/summary Wait with wait4; write a four-byte status; return the pid. Program mode only; failure is minus the Linux errno.
1606-/words/waitpid/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2987-2988
1606+/words/waitpid/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2990-2991
16071607 /words/waitpid/citations/0/quote ret 116
1608-/words/waitpid/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1204
1608+/words/waitpid/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1204
16091609 /words/waitpid/citations/1/quote `waitpid pid A off n options`
1610-/words/waitpid/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1610+/words/waitpid/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
16111611 /words/waitpid/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
16121612 /words/waitpid/example procs
16131613 /words/pipefds/table kw
@@ -1622,11 +1622,11 @@
16221622 /words/pipefds/types/3 flags: int
16231623 /words/pipefds/result long
16241624 /words/pipefds/summary Create a pipe (pipe2); write two little-endian 32-bit descriptors. Program mode only; failure is minus the Linux errno.
1625-/words/pipefds/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2969-2970
1625+/words/pipefds/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2972-2973
16261626 /words/pipefds/citations/0/quote ret 128
1627-/words/pipefds/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1205
1627+/words/pipefds/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1205
16281628 /words/pipefds/citations/1/quote `pipefds A off n flags`
1629-/words/pipefds/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1629+/words/pipefds/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
16301630 /words/pipefds/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
16311631 /words/pipefds/example procs
16321632 /words/dupfd/table kw
@@ -1640,11 +1640,11 @@
16401640 /words/dupfd/types/2 flags: int
16411641 /words/dupfd/result long
16421642 /words/dupfd/summary Duplicate onto a chosen descriptor (dup3). Program mode only; failure is minus the Linux errno.
1643-/words/dupfd/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3032-3033
1643+/words/dupfd/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3035-3036
16441644 /words/dupfd/citations/0/quote ret 108
1645-/words/dupfd/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1206
1645+/words/dupfd/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1206
16461646 /words/dupfd/citations/1/quote `dupfd fd target flags`
1647-/words/dupfd/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1647+/words/dupfd/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
16481648 /words/dupfd/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
16491649 /words/dupfd/example procs
16501650 /words/execprog/table kw
@@ -1658,11 +1658,11 @@
16581658 /words/execprog/types/2 n: ulong
16591659 /words/execprog/result long
16601660 /words/execprog/summary Replace the process using a packed argument list and an empty environment; returns only on failure. Program mode only; failure is minus the Linux errno.
1661-/words/execprog/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2957-2958
1661+/words/execprog/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2960-2961
16621662 /words/execprog/citations/0/quote ret 124
1663-/words/execprog/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1207
1663+/words/execprog/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1207
16641664 /words/execprog/citations/1/quote `execprog A off n`
1665-/words/execprog/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1665+/words/execprog/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
16661666 /words/execprog/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
16671667 /words/execprog/example procs
16681668 /words/argcnt/table kw
@@ -1674,11 +1674,11 @@
16741674 /words/argcnt/types []
16751675 /words/argcnt/result long
16761676 /words/argcnt/summary Argument count, including the executable name. Program mode only; never fails.
1677-/words/argcnt/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3002-3003
1677+/words/argcnt/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3005-3006
16781678 /words/argcnt/citations/0/quote ret 121
1679-/words/argcnt/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1216
1679+/words/argcnt/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1216
16801680 /words/argcnt/citations/1/quote `argcnt`
1681-/words/argcnt/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1681+/words/argcnt/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
16821682 /words/argcnt/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
16831683 /words/argcnt/example argsenv
16841684 /words/argread/table kw
@@ -1693,11 +1693,11 @@
16931693 /words/argread/types/3 capacity: ulong
16941694 /words/argread/result long
16951695 /words/argread/summary Copy one argument's bytes without a terminator; return its length. Program mode only. An index at or past argcnt traps 3 (check argcnt first; the example shows the trap); insufficient capacity returns -105 without changing the slice.
1696-/words/argread/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3005-3006
1696+/words/argread/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3008-3009
16971697 /words/argread/citations/0/quote ret 122
1698-/words/argread/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1217
1698+/words/argread/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1217
16991699 /words/argread/citations/1/quote `argread index A off capacity`
1700-/words/argread/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1700+/words/argread/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
17011701 /words/argread/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
17021702 /words/argread/example argtrap
17031703 /words/envcnt/table kw
@@ -1709,11 +1709,11 @@
17091709 /words/envcnt/types []
17101710 /words/envcnt/result long
17111711 /words/envcnt/summary Number of environment entries. Program mode only; never fails.
1712-/words/envcnt/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2582-2583
1712+/words/envcnt/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2585-2586
17131713 /words/envcnt/citations/0/quote ret 136
1714-/words/envcnt/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1218
1714+/words/envcnt/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1218
17151715 /words/envcnt/citations/1/quote `envcnt`
1716-/words/envcnt/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1716+/words/envcnt/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
17171717 /words/envcnt/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
17181718 /words/envcnt/example argsenv
17191719 /words/envread/table kw
@@ -1728,11 +1728,11 @@
17281728 /words/envread/types/3 capacity: ulong
17291729 /words/envread/result long
17301730 /words/envread/summary Copy one environment entry without its terminator; return its length. Program mode only. An index at or past envcnt traps 3; insufficient capacity returns -105 without changing the slice.
1731-/words/envread/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2585-2586
1731+/words/envread/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2588-2589
17321732 /words/envread/citations/0/quote ret 137
1733-/words/envread/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1219
1733+/words/envread/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1219
17341734 /words/envread/citations/1/quote `envread index A off capacity`
1735-/words/envread/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1735+/words/envread/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
17361736 /words/envread/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
17371737 /words/envread/example argsenv
17381738 /words/random/table kw
@@ -1747,11 +1747,11 @@
17471747 /words/random/types/3 flags: int
17481748 /words/random/result long
17491749 /words/random/summary Fill a writable byte slice from getrandom; return the bytes written. Program mode only; failure is minus the Linux errno.
1750-/words/random/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2579-2580
1750+/words/random/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2582-2583
17511751 /words/random/citations/0/quote ret 135
1752-/words/random/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1220
1752+/words/random/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1220
17531753 /words/random/citations/1/quote `random A off n flags`
1754-/words/random/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1754+/words/random/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
17551755 /words/random/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
17561756 /words/random/example clock
17571757 /words/peername/table kw
@@ -1766,11 +1766,11 @@
17661766 /words/peername/types/3 n: ulong
17671767 /words/peername/result long
17681768 /words/peername/summary Write the connected peer's address bytes (getpeername) into a writable slice; return the full address length (greater than n means truncated). Program mode only; failure is minus the Linux errno.
1769-/words/peername/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3098-3099
1769+/words/peername/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3101-3102
17701770 /words/peername/citations/0/quote ret 224
1771-/words/peername/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1193
1771+/words/peername/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1193
17721772 /words/peername/citations/1/quote `peername fd A off n`
1773-/words/peername/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1773+/words/peername/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
17741774 /words/peername/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
17751775 /words/peername/example peername
17761776 /words/execenv/table kw
@@ -1787,11 +1787,11 @@
17871787 /words/execenv/types/5 m: ulong
17881788 /words/execenv/result long
17891789 /words/execenv/summary As execprog, but the child's environment is exactly the packed list B (count 1..64, at most 4096 bytes) instead of an empty one; both packets are checked (trap 3) first; returns only on failure. AArch64 and x86linux. Program mode only; failure is minus the Linux errno.
1790-/words/execenv/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3104-3105
1790+/words/execenv/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3107-3108
17911791 /words/execenv/citations/0/quote ret 233
1792-/words/execenv/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1209
1792+/words/execenv/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1209
17931793 /words/execenv/citations/1/quote `execenv A off n B off m`
1794-/words/execenv/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1794+/words/execenv/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
17951795 /words/execenv/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
17961796 /words/execenv/example limits
17971797 /words/prlimit/table kw
@@ -1807,11 +1807,11 @@
18071807 /words/prlimit/types/4 n: ulong
18081808 /words/prlimit/result long
18091809 /words/prlimit/summary Linux prlimit64 on pid (0 = this process): n 16 writes the old {rlim_cur, rlim_max} to A[off..off+16) as two little-endian u64; n 32 sets the pair read from A[off..off+16) and writes the old pair to A[off+16..off+32); any other n returns -22. Returns 0 or minus errno. Program mode only; failure is minus the Linux errno.
1810-/words/prlimit/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2723-2724
1810+/words/prlimit/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2726-2727
18111811 /words/prlimit/citations/0/quote ret 235
1812-/words/prlimit/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1210
1812+/words/prlimit/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1210
18131813 /words/prlimit/citations/1/quote `prlimit pid res A off n`
1814-/words/prlimit/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1814+/words/prlimit/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
18151815 /words/prlimit/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
18161816 /words/prlimit/example limits
18171817 /words/cpuset/table kw
@@ -1826,11 +1826,11 @@
18261826 /words/cpuset/types/3 n: ulong
18271827 /words/cpuset/result long
18281828 /words/cpuset/summary sched_setaffinity from a byte mask slice (pid 0 = calling thread); 0 or minus errno; an empty permitted mask is -22. Program mode only; failure is minus the Linux errno.
1829-/words/cpuset/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2726-2727
1829+/words/cpuset/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2729-2730
18301830 /words/cpuset/citations/0/quote ret 236
1831-/words/cpuset/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1211
1831+/words/cpuset/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1211
18321832 /words/cpuset/citations/1/quote `cpuset pid A off n`
1833-/words/cpuset/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1833+/words/cpuset/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
18341834 /words/cpuset/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
18351835 /words/cpuset/example sched
18361836 /words/cpuget/table kw
@@ -1845,11 +1845,11 @@
18451845 /words/cpuget/types/3 n: ulong
18461846 /words/cpuget/result long
18471847 /words/cpuget/summary sched_getaffinity into a writable byte mask slice; the count of bytes copied or minus errno. Program mode only; failure is minus the Linux errno.
1848-/words/cpuget/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2729-2730
1848+/words/cpuget/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2732-2733
18491849 /words/cpuget/citations/0/quote ret 237
1850-/words/cpuget/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1212
1850+/words/cpuget/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1212
18511851 /words/cpuget/citations/1/quote `cpuget pid A off n`
1852-/words/cpuget/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1852+/words/cpuget/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
18531853 /words/cpuget/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
18541854 /words/cpuget/example sched
18551855 /words/cpunow/table kw
@@ -1861,11 +1861,11 @@
18611861 /words/cpunow/types []
18621862 /words/cpunow/result long
18631863 /words/cpunow/summary getcpu: a snapshot of the CPU number, or minus errno. Program mode only; failure is minus the Linux errno.
1864-/words/cpunow/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2732-2733
1864+/words/cpunow/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2735-2736
18651865 /words/cpunow/citations/0/quote ret 238
1866-/words/cpunow/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1213
1866+/words/cpunow/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1213
18671867 /words/cpunow/citations/1/quote `cpunow`
1868-/words/cpunow/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1868+/words/cpunow/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
18691869 /words/cpunow/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
18701870 /words/cpunow/example sched
18711871 /words/setprio/table kw
@@ -1879,11 +1879,11 @@
18791879 /words/setprio/types/2 priority: int
18801880 /words/setprio/result long
18811881 /words/setprio/summary setpriority (which 0, who 0 = this thread); 0 or minus errno; Linux privilege checks remain. Program mode only; failure is minus the Linux errno.
1882-/words/setprio/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2735-2736
1882+/words/setprio/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2738-2739
18831883 /words/setprio/citations/0/quote ret 239
1884-/words/setprio/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1214
1884+/words/setprio/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1214
18851885 /words/setprio/citations/1/quote `setprio which who priority`
1886-/words/setprio/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1886+/words/setprio/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
18871887 /words/setprio/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
18881888 /words/setprio/example sched
18891889 /words/getprio/table kw
@@ -1896,11 +1896,11 @@
18961896 /words/getprio/types/1 who: int
18971897 /words/getprio/result long
18981898 /words/getprio/summary getpriority: the raw kernel result 20 minus nice, or minus errno. Program mode only; failure is minus the Linux errno.
1899-/words/getprio/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2738-2739
1899+/words/getprio/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2741-2742
19001900 /words/getprio/citations/0/quote ret 240
1901-/words/getprio/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1215
1901+/words/getprio/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1215
19021902 /words/getprio/citations/1/quote `getprio which who`
1903-/words/getprio/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1903+/words/getprio/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
19041904 /words/getprio/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
19051905 /words/getprio/example sched
19061906 /words/execpure/table kw
@@ -1914,11 +1914,11 @@
19141914 /words/execpure/types/2 n: ulong
19151915 /words/execpure/result long
19161916 /words/execpure/summary As execprog, then run the executable through descriptor 3 under a fixed strict stdio profile (execveat AT_EMPTY_PATH); returns only on failure. AArch64 only (error 25 under target x86linux). Program mode only; failure is minus the Linux errno.
1917-/words/execpure/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2555-2556
1917+/words/execpure/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2558-2559
19181918 /words/execpure/citations/0/quote ret 198
1919-/words/execpure/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1208
1919+/words/execpure/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1208
19201920 /words/execpure/citations/1/quote `execpure A off n`
1921-/words/execpure/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1140
1921+/words/execpure/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1140
19221922 /words/execpure/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong`
19231923 /words/execpure/example procs
19241924 /words/pread/table kw
@@ -1934,9 +1934,9 @@
19341934 /words/pread/types/4 pos: long
19351935 /words/pread/result long
19361936 /words/pread/summary Read n bytes at file position pos into A[off..] without moving the descriptor offset; bytes read or -errno.
1937-/words/pread/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2657-2658
1937+/words/pread/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2660-2661
19381938 /words/pread/citations/0/quote ret 161
1939-/words/pread/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:557
1939+/words/pread/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:557
19401940 /words/pread/citations/1/quote `pread fd A off n pos` / `pwrite fd A off n pos` (pos long)
19411941 /words/pread/example files
19421942 /words/pwrite/table kw
@@ -1952,9 +1952,9 @@
19521952 /words/pwrite/types/4 pos: long
19531953 /words/pwrite/result long
19541954 /words/pwrite/summary Write A[off..off+n-1] at file position pos without moving the descriptor offset; bytes written or -errno.
1955-/words/pwrite/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2660-2661
1955+/words/pwrite/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2663-2664
19561956 /words/pwrite/citations/0/quote ret 162
1957-/words/pwrite/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:557
1957+/words/pwrite/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:557
19581958 /words/pwrite/citations/1/quote `pread fd A off n pos` / `pwrite fd A off n pos` (pos long)
19591959 /words/pwrite/example files
19601960 /words/devctl/table kw
@@ -1970,11 +1970,11 @@
19701970 /words/devctl/types/4 n: ulong
19711971 /words/devctl/result long
19721972 /words/devctl/summary Checked Linux ioctl on an allowlisted request with its exact encoded size. Program mode, and OM-2 function units (error 9 in OM-1 function units).
1973-/words/devctl/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2672-2673
1973+/words/devctl/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2675-2676
19741974 /words/devctl/citations/0/quote ret 166
1975-/words/devctl/citations/1/ref omega-mv@2ee0a70d seed/host/MAPPING.md:11
1975+/words/devctl/citations/1/ref omega-mv@6c562dd1 seed/host/MAPPING.md:11
19761976 /words/devctl/citations/1/quote `devctl fd request A off n`
1977-/words/devctl/citations/2/ref omega-mv@2ee0a70d seed/host/MAPPING.md:91-92
1977+/words/devctl/citations/2/ref omega-mv@6c562dd1 seed/host/MAPPING.md:91-92
19781978 /words/devctl/citations/2/quote An OM-2 function unit (first line `om2`, no `fn main`) may also use `devctl`
19791979 /words/devctl/example mapping
19801980 /words/mapnew/table kw
@@ -1990,11 +1990,11 @@
19901990 /words/mapnew/types/4 mode: int literal 1, 2, 33 or 34
19911991 /words/mapnew/result long (handle)
19921992 /words/mapnew/summary Map a file or anonymous memory; a positive owned handle or negative errno. Program mode, and OM-2 function units (error 9 in OM-1 function units).
1993-/words/mapnew/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2675-2676
1993+/words/mapnew/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2678-2679
19941994 /words/mapnew/citations/0/quote ret 167
1995-/words/mapnew/citations/1/ref omega-mv@2ee0a70d seed/host/MAPPING.md:12
1995+/words/mapnew/citations/1/ref omega-mv@6c562dd1 seed/host/MAPPING.md:12
19961996 /words/mapnew/citations/1/quote `mapnew fd offset bytes access mode`
1997-/words/mapnew/citations/2/ref omega-mv@2ee0a70d seed/host/MAPPING.md:91-92
1997+/words/mapnew/citations/2/ref omega-mv@6c562dd1 seed/host/MAPPING.md:91-92
19981998 /words/mapnew/citations/2/quote An OM-2 function unit (first line `om2`, no `fn main`) may also use `devctl`
19991999 /words/mapnew/example mapping
20002000 /words/mapdrop/table kw
@@ -2006,11 +2006,11 @@
20062006 /words/mapdrop/types/0 handle: long
20072007 /words/mapdrop/result long
20082008 /words/mapdrop/summary Unmap an owned mapping; 0 or negative errno. Program mode, and OM-2 function units (error 9 in OM-1 function units).
2009-/words/mapdrop/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2678-2679
2009+/words/mapdrop/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2681-2682
20102010 /words/mapdrop/citations/0/quote ret 168
2011-/words/mapdrop/citations/1/ref omega-mv@2ee0a70d seed/host/MAPPING.md:13
2011+/words/mapdrop/citations/1/ref omega-mv@6c562dd1 seed/host/MAPPING.md:13
20122012 /words/mapdrop/citations/1/quote `mapdrop handle`
2013-/words/mapdrop/citations/2/ref omega-mv@2ee0a70d seed/host/MAPPING.md:91-92
2013+/words/mapdrop/citations/2/ref omega-mv@6c562dd1 seed/host/MAPPING.md:91-92
20142014 /words/mapdrop/citations/2/quote An OM-2 function unit (first line `om2`, no `fn main`) may also use `devctl`
20152015 /words/mapdrop/example mapping
20162016 /words/mapread/table kw
@@ -2026,11 +2026,11 @@
20262026 /words/mapread/types/4 n: ulong
20272027 /words/mapread/result long
20282028 /words/mapread/summary Copy n bytes from the mapping into A; return n. Program mode, and OM-2 function units (error 9 in OM-1 function units).
2029-/words/mapread/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2681-2682
2029+/words/mapread/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2684-2685
20302030 /words/mapread/citations/0/quote ret 169
2031-/words/mapread/citations/1/ref omega-mv@2ee0a70d seed/host/MAPPING.md:14
2031+/words/mapread/citations/1/ref omega-mv@6c562dd1 seed/host/MAPPING.md:14
20322032 /words/mapread/citations/1/quote `mapread handle offset A off n`
2033-/words/mapread/citations/2/ref omega-mv@2ee0a70d seed/host/MAPPING.md:91-92
2033+/words/mapread/citations/2/ref omega-mv@6c562dd1 seed/host/MAPPING.md:91-92
20342034 /words/mapread/citations/2/quote An OM-2 function unit (first line `om2`, no `fn main`) may also use `devctl`
20352035 /words/mapread/example mapping
20362036 /words/mapwrite/table kw
@@ -2046,11 +2046,11 @@
20462046 /words/mapwrite/types/4 n: ulong
20472047 /words/mapwrite/result long
20482048 /words/mapwrite/summary Copy n bytes from A into a writable mapping; return n. Program mode, and OM-2 function units (error 9 in OM-1 function units).
2049-/words/mapwrite/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2684-2685
2049+/words/mapwrite/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2687-2688
20502050 /words/mapwrite/citations/0/quote ret 170
2051-/words/mapwrite/citations/1/ref omega-mv@2ee0a70d seed/host/MAPPING.md:15
2051+/words/mapwrite/citations/1/ref omega-mv@6c562dd1 seed/host/MAPPING.md:15
20522052 /words/mapwrite/citations/1/quote `mapwrite handle offset A off n`
2053-/words/mapwrite/citations/2/ref omega-mv@2ee0a70d seed/host/MAPPING.md:91-92
2053+/words/mapwrite/citations/2/ref omega-mv@6c562dd1 seed/host/MAPPING.md:91-92
20542054 /words/mapwrite/citations/2/quote An OM-2 function unit (first line `om2`, no `fn main`) may also use `devctl`
20552055 /words/mapwrite/example mapping
20562056 /words/devcall/table kw
@@ -2069,11 +2069,11 @@
20692069 /words/devcall/types/7 n: ulong (at most 1048576; larger traps 3)
20702070 /words/devcall/result long
20712071 /words/devcall/summary Checked NVIDIA RM_ALLOC / RM_CONTROL call with a private header and a bounded parameter span. Program mode, and OM-2 function units (error 9 in OM-1 function units).
2072-/words/devcall/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2687-2688
2072+/words/devcall/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2690-2691
20732073 /words/devcall/citations/0/quote ret 171
2074-/words/devcall/citations/1/ref omega-mv@2ee0a70d seed/host/MAPPING.md:16
2074+/words/devcall/citations/1/ref omega-mv@6c562dd1 seed/host/MAPPING.md:16
20752075 /words/devcall/citations/1/quote `devcall fd request H hoff 32 P poff n`
2076-/words/devcall/citations/2/ref omega-mv@2ee0a70d seed/host/MAPPING.md:91-92
2076+/words/devcall/citations/2/ref omega-mv@6c562dd1 seed/host/MAPPING.md:91-92
20772077 /words/devcall/citations/2/quote An OM-2 function unit (first line `om2`, no `fn main`) may also use `devctl`
20782078 /words/devcall/example mapping
20792079 /words/uvmctl/table kw
@@ -2089,11 +2089,11 @@
20892089 /words/uvmctl/types/4 n: ulong (the request's exact payload length)
20902090 /words/uvmctl/result long
20912091 /words/uvmctl/summary Allowlisted Linux UVM ioctl with its exact writable payload. Program mode, and OM-2 function units (error 9 in OM-1 function units).
2092-/words/uvmctl/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2690-2691
2092+/words/uvmctl/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2693-2694
20932093 /words/uvmctl/citations/0/quote ret 172
2094-/words/uvmctl/citations/1/ref omega-mv@2ee0a70d seed/host/MAPPING.md:17
2094+/words/uvmctl/citations/1/ref omega-mv@6c562dd1 seed/host/MAPPING.md:17
20952095 /words/uvmctl/citations/1/quote `uvmctl fd command A off n`
2096-/words/uvmctl/citations/2/ref omega-mv@2ee0a70d seed/host/MAPPING.md:91-92
2096+/words/uvmctl/citations/2/ref omega-mv@6c562dd1 seed/host/MAPPING.md:91-92
20972097 /words/uvmctl/citations/2/quote An OM-2 function unit (first line `om2`, no `fn main`) may also use `devctl`
20982098 /words/uvmctl/example mapping
20992099 /words/mapaddr/table kw
@@ -2105,11 +2105,11 @@
21052105 /words/mapaddr/types/0 handle: long
21062106 /words/mapaddr/result ulong
21072107 /words/mapaddr/summary Base address of an owned live mapping or reservation (no access through it). Program mode, and OM-2 function units (error 9 in OM-1 function units).
2108-/words/mapaddr/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2693-2694
2108+/words/mapaddr/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2696-2697
21092109 /words/mapaddr/citations/0/quote ret 173
2110-/words/mapaddr/citations/1/ref omega-mv@2ee0a70d seed/host/MAPPING.md:23
2110+/words/mapaddr/citations/1/ref omega-mv@6c562dd1 seed/host/MAPPING.md:23
21112111 /words/mapaddr/citations/1/quote `mapaddr handle`
2112-/words/mapaddr/citations/2/ref omega-mv@2ee0a70d seed/host/MAPPING.md:91-92
2112+/words/mapaddr/citations/2/ref omega-mv@6c562dd1 seed/host/MAPPING.md:91-92
21132113 /words/mapaddr/citations/2/quote An OM-2 function unit (first line `om2`, no `fn main`) may also use `devctl`
21142114 /words/mapaddr/example mapping
21152115 /words/mapget/table kw
@@ -2123,11 +2123,11 @@
21232123 /words/mapget/types/2 width: int literal 4 or 8
21242124 /words/mapget/result ulong
21252125 /words/mapget/summary One aligned 32- or 64-bit load from a readable mapping. Program mode, and OM-2 function units (error 9 in OM-1 function units).
2126-/words/mapget/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2696-2697
2126+/words/mapget/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2699-2700
21272127 /words/mapget/citations/0/quote ret 174
2128-/words/mapget/citations/1/ref omega-mv@2ee0a70d seed/host/MAPPING.md:24
2128+/words/mapget/citations/1/ref omega-mv@6c562dd1 seed/host/MAPPING.md:24
21292129 /words/mapget/citations/1/quote `mapget handle offset width`
2130-/words/mapget/citations/2/ref omega-mv@2ee0a70d seed/host/MAPPING.md:91-92
2130+/words/mapget/citations/2/ref omega-mv@6c562dd1 seed/host/MAPPING.md:91-92
21312131 /words/mapget/citations/2/quote An OM-2 function unit (first line `om2`, no `fn main`) may also use `devctl`
21322132 /words/mapget/example mapping
21332133 /words/mapset/table kw
@@ -2142,11 +2142,11 @@
21422142 /words/mapset/types/3 value: ulong
21432143 /words/mapset/result long
21442144 /words/mapset/summary One aligned 32- or 64-bit store into a writable mapping; returns 0. Program mode, and OM-2 function units (error 9 in OM-1 function units).
2145-/words/mapset/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2699-2700
2145+/words/mapset/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2702-2703
21462146 /words/mapset/citations/0/quote ret 175
2147-/words/mapset/citations/1/ref omega-mv@2ee0a70d seed/host/MAPPING.md:25
2147+/words/mapset/citations/1/ref omega-mv@6c562dd1 seed/host/MAPPING.md:25
21482148 /words/mapset/citations/1/quote `mapset handle offset width value`
2149-/words/mapset/citations/2/ref omega-mv@2ee0a70d seed/host/MAPPING.md:91-92
2149+/words/mapset/citations/2/ref omega-mv@6c562dd1 seed/host/MAPPING.md:91-92
21502150 /words/mapset/citations/2/quote An OM-2 function unit (first line `om2`, no `fn main`) may also use `devctl`
21512151 /words/mapset/example mapping
21522152 /words/maphold/table kw
@@ -2159,11 +2159,11 @@
21592159 /words/maphold/types/1 bytes: ulong
21602160 /words/maphold/result long (handle)
21612161 /words/maphold/summary Reserve an unused page-aligned span (PROT_NONE, MAP_FIXED_NOREPLACE). Program mode, and OM-2 function units (error 9 in OM-1 function units).
2162-/words/maphold/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2702-2703
2162+/words/maphold/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2705-2706
21632163 /words/maphold/citations/0/quote ret 176
2164-/words/maphold/citations/1/ref omega-mv@2ee0a70d seed/host/MAPPING.md:26
2164+/words/maphold/citations/1/ref omega-mv@6c562dd1 seed/host/MAPPING.md:26
21652165 /words/maphold/citations/1/quote `maphold address bytes`
2166-/words/maphold/citations/2/ref omega-mv@2ee0a70d seed/host/MAPPING.md:91-92
2166+/words/maphold/citations/2/ref omega-mv@6c562dd1 seed/host/MAPPING.md:91-92
21672167 /words/maphold/citations/2/quote An OM-2 function unit (first line `om2`, no `fn main`) may also use `devctl`
21682168 /words/maphold/example mapping
21692169 /words/vfioctl/table kw
@@ -2179,11 +2179,11 @@
21792179 /words/vfioctl/types/4 n: ulong (the request's exact byte count)
21802180 /words/vfioctl/result long
21812181 /words/vfioctl/summary Allowlisted VFIO ioctl with its exact byte count (argsz is written for spans of 8 bytes or more); signed Linux ioctl result. Program mode only, AArch64 Linux.
2182-/words/vfioctl/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2708-2709
2182+/words/vfioctl/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2711-2712
21832183 /words/vfioctl/citations/0/quote ret 228
2184-/words/vfioctl/citations/1/ref omega-mv@2ee0a70d seed/host/MAPPING.md:18
2184+/words/vfioctl/citations/1/ref omega-mv@6c562dd1 seed/host/MAPPING.md:18
21852185 /words/vfioctl/citations/1/quote `vfioctl fd request A off n`
2186-/words/vfioctl/citations/2/ref omega-mv@2ee0a70d seed/host/MAPPING.md:207-208
2186+/words/vfioctl/citations/2/ref omega-mv@6c562dd1 seed/host/MAPPING.md:207-208
21872187 /words/vfioctl/citations/2/quote These additions are program-mode only; hosted x86 VFIO and function-mode VFIO are not implemented.
21882188 /words/vfioctl/example vfio
21892189 /words/vfiomap/table kw
@@ -2198,11 +2198,11 @@
21982198 /words/vfiomap/types/3 32: record length
21992199 /words/vfiomap/result long (handle)
22002200 /words/vfiomap/summary Read-only shared mapping of exactly one VFIO region; region flags without READ and MMAP, or a size of zero, trap 3. A handle or negative errno. Program mode only, AArch64 Linux.
2201-/words/vfiomap/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2711-2712
2201+/words/vfiomap/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2714-2715
22022202 /words/vfiomap/citations/0/quote ret 229
2203-/words/vfiomap/citations/1/ref omega-mv@2ee0a70d seed/host/MAPPING.md:19
2203+/words/vfiomap/citations/1/ref omega-mv@6c562dd1 seed/host/MAPPING.md:19
22042204 /words/vfiomap/citations/1/quote `vfiomap fd A off 32`
2205-/words/vfiomap/citations/2/ref omega-mv@2ee0a70d seed/host/MAPPING.md:207-208
2205+/words/vfiomap/citations/2/ref omega-mv@6c562dd1 seed/host/MAPPING.md:207-208
22062206 /words/vfiomap/citations/2/quote These additions are program-mode only; hosted x86 VFIO and function-mode VFIO are not implemented.
22072207 /words/vfiomap/example vfio
22082208 /words/vfiomapw/table kw
@@ -2217,11 +2217,11 @@
22172217 /words/vfiomapw/types/3 32: record length
22182218 /words/vfiomapw/result long (handle)
22192219 /words/vfiomapw/summary As vfiomap, but the region flags must also contain WRITE and the mapping is read/write (mapget/mapset drive device registers). Program mode only, AArch64 Linux.
2220-/words/vfiomapw/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2714-2715
2220+/words/vfiomapw/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2717-2718
22212221 /words/vfiomapw/citations/0/quote ret 230
2222-/words/vfiomapw/citations/1/ref omega-mv@2ee0a70d seed/host/MAPPING.md:20
2222+/words/vfiomapw/citations/1/ref omega-mv@6c562dd1 seed/host/MAPPING.md:20
22232223 /words/vfiomapw/citations/1/quote `vfiomapw fd A off 32`
2224-/words/vfiomapw/citations/2/ref omega-mv@2ee0a70d seed/host/MAPPING.md:207-208
2224+/words/vfiomapw/citations/2/ref omega-mv@6c562dd1 seed/host/MAPPING.md:207-208
22252225 /words/vfiomapw/citations/2/quote These additions are program-mode only; hosted x86 VFIO and function-mode VFIO are not implemented.
22262226 /words/vfiomapw/example vfio
22272227 /words/eventfd/table kw
@@ -2233,11 +2233,11 @@
22332233 /words/eventfd/types/0 initial: uint
22342234 /words/eventfd/result long
22352235 /words/eventfd/summary Create a Linux eventfd (CLOEXEC, NONBLOCK, no semaphore mode); read/write exactly eight bytes, close with fclose. An fd or negative errno. Program mode only, AArch64 Linux.
2236-/words/eventfd/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2717-2718
2236+/words/eventfd/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2720-2721
22372237 /words/eventfd/citations/0/quote ret 231
2238-/words/eventfd/citations/1/ref omega-mv@2ee0a70d seed/host/MAPPING.md:21
2238+/words/eventfd/citations/1/ref omega-mv@6c562dd1 seed/host/MAPPING.md:21
22392239 /words/eventfd/citations/1/quote `eventfd initial`
2240-/words/eventfd/citations/2/ref omega-mv@2ee0a70d seed/host/MAPPING.md:207-208
2240+/words/eventfd/citations/2/ref omega-mv@6c562dd1 seed/host/MAPPING.md:207-208
22412241 /words/eventfd/citations/2/quote These additions are program-mode only; hosted x86 VFIO and function-mode VFIO are not implemented.
22422242 /words/eventfd/example vfio
22432243 /words/vfioirq/table kw
@@ -2253,11 +2253,11 @@
22532253 /words/vfioirq/types/4 n: ulong (checked against the caller's argsz)
22542254 /words/vfioirq/result long
22552255 /words/vfioirq/summary Typed VFIO IRQ ioctl: an fd that is not an acquired VFIO device, or a malformed form, traps 3 before the ioctl. Program mode only, AArch64 Linux.
2256-/words/vfioirq/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2720-2721
2256+/words/vfioirq/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2723-2724
22572257 /words/vfioirq/citations/0/quote ret 232
2258-/words/vfioirq/citations/1/ref omega-mv@2ee0a70d seed/host/MAPPING.md:22
2258+/words/vfioirq/citations/1/ref omega-mv@6c562dd1 seed/host/MAPPING.md:22
22592259 /words/vfioirq/citations/1/quote `vfioirq fd request A off n`
2260-/words/vfioirq/citations/2/ref omega-mv@2ee0a70d seed/host/MAPPING.md:207-208
2260+/words/vfioirq/citations/2/ref omega-mv@6c562dd1 seed/host/MAPPING.md:207-208
22612261 /words/vfioirq/citations/2/quote These additions are program-mode only; hosted x86 VFIO and function-mode VFIO are not implemented.
22622262 /words/vfioirq/example vfioirq_trap
22632263 /words/mapbind/table kw
@@ -2272,11 +2272,11 @@
22722272 /words/mapbind/types/3 access: int literal 1 or 3
22732273 /words/mapbind/result long
22742274 /words/mapbind/summary Bind a shared file or device mapping over a whole owned reservation. Program mode, and OM-2 function units (error 9 in OM-1 function units).
2275-/words/mapbind/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2705-2706
2275+/words/mapbind/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2708-2709
22762276 /words/mapbind/citations/0/quote ret 177
2277-/words/mapbind/citations/1/ref omega-mv@2ee0a70d seed/host/MAPPING.md:27
2277+/words/mapbind/citations/1/ref omega-mv@6c562dd1 seed/host/MAPPING.md:27
22782278 /words/mapbind/citations/1/quote `mapbind handle fd offset access`
2279-/words/mapbind/citations/2/ref omega-mv@2ee0a70d seed/host/MAPPING.md:91-92
2279+/words/mapbind/citations/2/ref omega-mv@6c562dd1 seed/host/MAPPING.md:91-92
22802280 /words/mapbind/citations/2/quote An OM-2 function unit (first line `om2`, no `fn main`) may also use `devctl`
22812281 /words/mapbind/example mapping
22822282 /words/cpufence/table kw
@@ -2288,11 +2288,11 @@
22882288 /words/cpufence/types []
22892289 /words/cpufence/result -
22902290 /words/cpufence/summary Statement: host CPU publication barrier; every load and store before it completes before any after it (AArch64 DSB SY, x86-64 MFENCE). Accepted in function and program mode.
2291-/words/cpufence/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3092-3093
2291+/words/cpufence/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3095-3096
22922292 /words/cpufence/citations/0/quote ret 199
2293-/words/cpufence/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1476
2293+/words/cpufence/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1476
22942294 /words/cpufence/citations/1/quote `cpufence` | Publication barrier (keyword id 199).
2295-/words/cpufence/citations/2/ref omega-mv@2ee0a70d seed/host/MAPPING.md:28
2295+/words/cpufence/citations/2/ref omega-mv@6c562dd1 seed/host/MAPPING.md:28
22962296 /words/cpufence/citations/2/quote `cpufence` | Statement, keyword 199
22972297 /words/cpufence/example cpu_order
22982298 /words/cpurelax/table kw
@@ -2304,11 +2304,11 @@
23042304 /words/cpurelax/types []
23052305 /words/cpurelax/result -
23062306 /words/cpurelax/summary Statement: spin-wait hint for a bounded poll loop, no ordering (AArch64 YIELD, x86-64 PAUSE). Accepted in function and program mode.
2307-/words/cpurelax/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3095-3096
2307+/words/cpurelax/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3098-3099
23082308 /words/cpurelax/citations/0/quote ret 200
2309-/words/cpurelax/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1477
2309+/words/cpurelax/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1477
23102310 /words/cpurelax/citations/1/quote `cpurelax` | Spin-wait hint, no ordering (keyword id 200).
2311-/words/cpurelax/citations/2/ref omega-mv@2ee0a70d seed/host/MAPPING.md:29
2311+/words/cpurelax/citations/2/ref omega-mv@6c562dd1 seed/host/MAPPING.md:29
23122312 /words/cpurelax/citations/2/quote `cpurelax` | Statement, keyword 200
23132313 /words/cpurelax/example cpu_order
23142314 /words/kfdres/table kw
@@ -2320,11 +2320,11 @@
23202320 /words/kfdres/types/0 n: ulong (nonzero multiple of 4096; otherwise trap 3)
23212321 /words/kfdres/result long (handle)
23222322 /words/kfdres/summary Reserve n bytes of address space with no access (PROT_NONE) at a kernel-chosen address aligned to 2 MiB; no memory is committed. A positive owned handle or negative errno. Program mode only, Linux (error 9 in function mode, error 25 on firmware targets).
2323-/words/kfdres/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2747-2748
2323+/words/kfdres/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2750-2751
23242324 /words/kfdres/citations/0/quote ret 243
2325-/words/kfdres/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1373
2325+/words/kfdres/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1373
23262326 /words/kfdres/citations/1/quote `kfdres n` reserves a nonzero, 4096-byte-multiple `ulong` length
2327-/words/kfdres/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1368
2327+/words/kfdres/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1368
23282328 /words/kfdres/citations/2/quote Program-mode Linux only: native AArch64 and `target x86linux`.
23292329 /words/kfdres/example kfd
23302330 /words/kfdmap/table kw
@@ -2338,11 +2338,11 @@
23382338 /words/kfdmap/types/2 n: ulong (zero traps 3)
23392339 /words/kfdmap/result long (handle)
23402340 /words/kfdmap/summary Map n bytes of an AMD device read/write and shared at a kernel-chosen address. A positive owned handle or negative errno. Program mode only, Linux (error 9 in function mode, error 25 on firmware targets).
2341-/words/kfdmap/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2744-2745
2341+/words/kfdmap/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2747-2748
23422342 /words/kfdmap/citations/0/quote ret 242
2343-/words/kfdmap/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1378
2343+/words/kfdmap/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1378
23442344 /words/kfdmap/citations/1/quote `kfdmap fd offset n` maps `n` bytes read/write and shared
2345-/words/kfdmap/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1368
2345+/words/kfdmap/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1368
23462346 /words/kfdmap/citations/2/quote Program-mode Linux only: native AArch64 and `target x86linux`.
23472347 /words/kfdmap/example kfdmap_trap
23482348 /words/kfdctl/table kw
@@ -2359,11 +2359,11 @@
23592359 /words/kfdctl/types/5 SUFFIX: fixed by the request. None for GET_VERSION, ACQUIRE_VM, DESTROY_QUEUE, FREE_MEMORY_OF_GPU, CREATE_EVENT and DESTROY_EVENT; a span `P poff pn` for GET_PROCESS_APERTURES_NEW, MAP_MEMORY_TO_GPU, UNMAP_MEMORY_FROM_GPU and WAIT_EVENTS; one reservation handle for ALLOC_MEMORY_OF_GPU and SET_SCRATCH_BACKING_VA; five handles `ring wptr rptr eop ctx` for CREATE_QUEUE
23602360 /words/kfdctl/result long
23612361 /words/kfdctl/summary Allowlisted AMD KFD ioctl through a private copy of the header; every address the kernel receives comes from a checked span or a live owned handle, and caller address fields must be zero (trap 3). The ioctl result or negative errno. Program mode only, Linux (error 9 in function mode, error 25 on firmware targets).
2362-/words/kfdctl/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2741-2742
2362+/words/kfdctl/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2744-2745
23632363 /words/kfdctl/citations/0/quote ret 241
2364-/words/kfdctl/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1387
2364+/words/kfdctl/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1387
23652365 /words/kfdctl/citations/1/quote `kfdctl fd request H off n ...` uses a writable `uchar` header span.
2366-/words/kfdctl/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1368
2366+/words/kfdctl/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1368
23672367 /words/kfdctl/citations/2/quote Program-mode Linux only: native AArch64 and `target x86linux`.
23682368 /words/kfdctl/example kfd
23692369 /words/bool/table kw
@@ -2375,11 +2375,11 @@
23752375 /words/bool/types/0 VALUE: any integer, float or bool value
23762376 /words/bool/result bool
23772377 /words/bool/summary Type word: bool (true 1, false 0), sizeof 1; never an array element. As a prefix it converts a value, trapping 5 when out of range.
2378-/words/bool/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2753-2754
2378+/words/bool/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2756-2757
23792379 /words/bool/citations/0/quote ret 1
2380-/words/bool/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:519
2380+/words/bool/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:519
23812381 /words/bool/citations/1/quote `true` and `false` are the bool numbers 1 and 0.
2382-/words/bool/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:511
2382+/words/bool/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:511
23832383 /words/bool/citations/2/quote A conversion `<type> v` traps 5 when the value is outside the new type.
23842384 /words/bool/example control
23852385 /words/uchar/table kw
@@ -2391,11 +2391,11 @@
23912391 /words/uchar/types/0 VALUE: any integer, float or bool value
23922392 /words/uchar/result uchar
23932393 /words/uchar/summary Type word: unsigned 8-bit integer, sizeof 1. Arithmetic wraps modulo 2^width. As a prefix it converts a value, trapping 5 when out of range.
2394-/words/uchar/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2756-2757
2394+/words/uchar/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2759-2760
23952395 /words/uchar/citations/0/quote ret 2
2396-/words/uchar/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:503
2396+/words/uchar/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:503
23972397 /words/uchar/citations/1/quote (uchar 8, ushort 16, uint 32, ulong 64 bits)
2398-/words/uchar/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:511
2398+/words/uchar/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:511
23992399 /words/uchar/citations/2/quote A conversion `<type> v` traps 5 when the value is outside the new type.
24002400 /words/uchar/example ints
24012401 /words/u8/table kw
@@ -2407,11 +2407,11 @@
24072407 /words/u8/types/0 VALUE: any integer, float or bool value
24082408 /words/u8/result uchar
24092409 /words/u8/summary Alias of uchar (same keyword id): unsigned 8-bit, sizeof 1. Arithmetic wraps modulo 2^width. As a prefix it converts a value, trapping 5 when out of range.
2410-/words/u8/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2759-2760
2410+/words/u8/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2762-2763
24112411 /words/u8/citations/0/quote ret 2
2412-/words/u8/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:503
2412+/words/u8/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:503
24132413 /words/u8/citations/1/quote (uchar 8, ushort 16, uint 32, ulong 64 bits)
2414-/words/u8/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:511
2414+/words/u8/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:511
24152415 /words/u8/citations/2/quote A conversion `<type> v` traps 5 when the value is outside the new type.
24162416 /words/u8/example ints
24172417 /words/ushort/table kw
@@ -2423,11 +2423,11 @@
24232423 /words/ushort/types/0 VALUE: any integer, float or bool value
24242424 /words/ushort/result ushort
24252425 /words/ushort/summary Type word: unsigned 16-bit integer, sizeof 2. Arithmetic wraps modulo 2^width. As a prefix it converts a value, trapping 5 when out of range.
2426-/words/ushort/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2762-2763
2426+/words/ushort/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2765-2766
24272427 /words/ushort/citations/0/quote ret 3
2428-/words/ushort/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:503
2428+/words/ushort/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:503
24292429 /words/ushort/citations/1/quote (uchar 8, ushort 16, uint 32, ulong 64 bits)
2430-/words/ushort/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:511
2430+/words/ushort/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:511
24312431 /words/ushort/citations/2/quote A conversion `<type> v` traps 5 when the value is outside the new type.
24322432 /words/ushort/example ints
24332433 /words/u16/table kw
@@ -2439,11 +2439,11 @@
24392439 /words/u16/types/0 VALUE: any integer, float or bool value
24402440 /words/u16/result ushort
24412441 /words/u16/summary Alias of ushort (same keyword id): unsigned 16-bit, sizeof 2. Arithmetic wraps modulo 2^width. As a prefix it converts a value, trapping 5 when out of range.
2442-/words/u16/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2765-2766
2442+/words/u16/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2768-2769
24432443 /words/u16/citations/0/quote ret 3
2444-/words/u16/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:503
2444+/words/u16/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:503
24452445 /words/u16/citations/1/quote (uchar 8, ushort 16, uint 32, ulong 64 bits)
2446-/words/u16/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:511
2446+/words/u16/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:511
24472447 /words/u16/citations/2/quote A conversion `<type> v` traps 5 when the value is outside the new type.
24482448 /words/u16/example ints
24492449 /words/uint/table kw
@@ -2455,11 +2455,11 @@
24552455 /words/uint/types/0 VALUE: any integer, float or bool value
24562456 /words/uint/result uint
24572457 /words/uint/summary Type word: unsigned 32-bit integer, sizeof 4. Arithmetic wraps modulo 2^width. As a prefix it converts a value, trapping 5 when out of range.
2458-/words/uint/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2768-2769
2458+/words/uint/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2771-2772
24592459 /words/uint/citations/0/quote ret 4
2460-/words/uint/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:503
2460+/words/uint/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:503
24612461 /words/uint/citations/1/quote (uchar 8, ushort 16, uint 32, ulong 64 bits)
2462-/words/uint/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:511
2462+/words/uint/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:511
24632463 /words/uint/citations/2/quote A conversion `<type> v` traps 5 when the value is outside the new type.
24642464 /words/uint/example ints
24652465 /words/u32/table kw
@@ -2471,11 +2471,11 @@
24712471 /words/u32/types/0 VALUE: any integer, float or bool value
24722472 /words/u32/result uint
24732473 /words/u32/summary Alias of uint (same keyword id): unsigned 32-bit, sizeof 4. Arithmetic wraps modulo 2^width. As a prefix it converts a value, trapping 5 when out of range.
2474-/words/u32/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2771-2772
2474+/words/u32/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2774-2775
24752475 /words/u32/citations/0/quote ret 4
2476-/words/u32/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:503
2476+/words/u32/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:503
24772477 /words/u32/citations/1/quote (uchar 8, ushort 16, uint 32, ulong 64 bits)
2478-/words/u32/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:511
2478+/words/u32/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:511
24792479 /words/u32/citations/2/quote A conversion `<type> v` traps 5 when the value is outside the new type.
24802480 /words/u32/example ints
24812481 /words/ulong/table kw
@@ -2487,11 +2487,11 @@
24872487 /words/ulong/types/0 VALUE: any integer, float or bool value
24882488 /words/ulong/result ulong
24892489 /words/ulong/summary Type word: unsigned 64-bit integer, sizeof 8. Arithmetic wraps modulo 2^width. As a prefix it converts a value, trapping 5 when out of range.
2490-/words/ulong/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2774-2775
2490+/words/ulong/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2777-2778
24912491 /words/ulong/citations/0/quote ret 5
2492-/words/ulong/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:503
2492+/words/ulong/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:503
24932493 /words/ulong/citations/1/quote (uchar 8, ushort 16, uint 32, ulong 64 bits)
2494-/words/ulong/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:511
2494+/words/ulong/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:511
24952495 /words/ulong/citations/2/quote A conversion `<type> v` traps 5 when the value is outside the new type.
24962496 /words/ulong/example ints
24972497 /words/u64/table kw
@@ -2503,11 +2503,11 @@
25032503 /words/u64/types/0 VALUE: any integer, float or bool value
25042504 /words/u64/result ulong
25052505 /words/u64/summary Alias of ulong (same keyword id): unsigned 64-bit, sizeof 8. Arithmetic wraps modulo 2^width. As a prefix it converts a value, trapping 5 when out of range.
2506-/words/u64/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2777-2778
2506+/words/u64/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2780-2781
25072507 /words/u64/citations/0/quote ret 5
2508-/words/u64/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:503
2508+/words/u64/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:503
25092509 /words/u64/citations/1/quote (uchar 8, ushort 16, uint 32, ulong 64 bits)
2510-/words/u64/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:511
2510+/words/u64/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:511
25112511 /words/u64/citations/2/quote A conversion `<type> v` traps 5 when the value is outside the new type.
25122512 /words/u64/example ints
25132513 /words/byte/table kw
@@ -2519,11 +2519,11 @@
25192519 /words/byte/types/0 VALUE: any integer, float or bool value
25202520 /words/byte/result byte
25212521 /words/byte/summary Type word: signed 8-bit integer, sizeof 1. Signed add/sub/mul/neg/div/shl trap 1 on overflow. As a prefix it converts a value, trapping 5 when out of range.
2522-/words/byte/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2780-2781
2522+/words/byte/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2783-2784
25232523 /words/byte/citations/0/quote ret 6
2524-/words/byte/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:505
2524+/words/byte/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:505
25252525 /words/byte/citations/1/quote (byte 8,
2526-/words/byte/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:511
2526+/words/byte/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:511
25272527 /words/byte/citations/2/quote A conversion `<type> v` traps 5 when the value is outside the new type.
25282528 /words/byte/example ints
25292529 /words/i8/table kw
@@ -2535,11 +2535,11 @@
25352535 /words/i8/types/0 VALUE: any integer, float or bool value
25362536 /words/i8/result byte
25372537 /words/i8/summary Alias of byte (same keyword id): signed 8-bit, sizeof 1. Signed add/sub/mul/neg/div/shl trap 1 on overflow. As a prefix it converts a value, trapping 5 when out of range.
2538-/words/i8/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2783-2784
2538+/words/i8/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2786-2787
25392539 /words/i8/citations/0/quote ret 6
2540-/words/i8/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:505
2540+/words/i8/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:505
25412541 /words/i8/citations/1/quote (byte 8,
2542-/words/i8/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:511
2542+/words/i8/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:511
25432543 /words/i8/citations/2/quote A conversion `<type> v` traps 5 when the value is outside the new type.
25442544 /words/i8/example ints
25452545 /words/short/table kw
@@ -2551,11 +2551,11 @@
25512551 /words/short/types/0 VALUE: any integer, float or bool value
25522552 /words/short/result short
25532553 /words/short/summary Type word: signed 16-bit integer, sizeof 2. Signed add/sub/mul/neg/div/shl trap 1 on overflow. As a prefix it converts a value, trapping 5 when out of range.
2554-/words/short/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2786-2787
2554+/words/short/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2789-2790
25552555 /words/short/citations/0/quote ret 7
2556-/words/short/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:505
2556+/words/short/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:505
25572557 /words/short/citations/1/quote (byte 8,
2558-/words/short/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:511
2558+/words/short/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:511
25592559 /words/short/citations/2/quote A conversion `<type> v` traps 5 when the value is outside the new type.
25602560 /words/short/example ints
25612561 /words/i16/table kw
@@ -2567,11 +2567,11 @@
25672567 /words/i16/types/0 VALUE: any integer, float or bool value
25682568 /words/i16/result short
25692569 /words/i16/summary Alias of short (same keyword id): signed 16-bit, sizeof 2. Signed add/sub/mul/neg/div/shl trap 1 on overflow. As a prefix it converts a value, trapping 5 when out of range.
2570-/words/i16/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2789-2790
2570+/words/i16/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2792-2793
25712571 /words/i16/citations/0/quote ret 7
2572-/words/i16/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:505
2572+/words/i16/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:505
25732573 /words/i16/citations/1/quote (byte 8,
2574-/words/i16/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:511
2574+/words/i16/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:511
25752575 /words/i16/citations/2/quote A conversion `<type> v` traps 5 when the value is outside the new type.
25762576 /words/i16/example ints
25772577 /words/int/table kw
@@ -2583,11 +2583,11 @@
25832583 /words/int/types/0 VALUE: any integer, float or bool value
25842584 /words/int/result int
25852585 /words/int/summary Type word: signed 32-bit integer, sizeof 4. Signed add/sub/mul/neg/div/shl trap 1 on overflow. As a prefix it converts a value, trapping 5 when out of range.
2586-/words/int/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2792-2793
2586+/words/int/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2795-2796
25872587 /words/int/citations/0/quote ret 8
2588-/words/int/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:505
2588+/words/int/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:505
25892589 /words/int/citations/1/quote (byte 8,
2590-/words/int/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:511
2590+/words/int/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:511
25912591 /words/int/citations/2/quote A conversion `<type> v` traps 5 when the value is outside the new type.
25922592 /words/int/example hello
25932593 /words/i32/table kw
@@ -2599,11 +2599,11 @@
25992599 /words/i32/types/0 VALUE: any integer, float or bool value
26002600 /words/i32/result int
26012601 /words/i32/summary Alias of int (same keyword id): signed 32-bit, sizeof 4. Signed add/sub/mul/neg/div/shl trap 1 on overflow. As a prefix it converts a value, trapping 5 when out of range.
2602-/words/i32/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2795-2796
2602+/words/i32/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2798-2799
26032603 /words/i32/citations/0/quote ret 8
2604-/words/i32/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:505
2604+/words/i32/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:505
26052605 /words/i32/citations/1/quote (byte 8,
2606-/words/i32/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:511
2606+/words/i32/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:511
26072607 /words/i32/citations/2/quote A conversion `<type> v` traps 5 when the value is outside the new type.
26082608 /words/i32/example ints
26092609 /words/long/table kw
@@ -2615,11 +2615,11 @@
26152615 /words/long/types/0 VALUE: any integer, float or bool value
26162616 /words/long/result long
26172617 /words/long/summary Type word: signed 64-bit integer, sizeof 8. Signed add/sub/mul/neg/div/shl trap 1 on overflow. As a prefix it converts a value, trapping 5 when out of range.
2618-/words/long/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2798-2799
2618+/words/long/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2801-2802
26192619 /words/long/citations/0/quote ret 9
2620-/words/long/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:505
2620+/words/long/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:505
26212621 /words/long/citations/1/quote (byte 8,
2622-/words/long/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:511
2622+/words/long/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:511
26232623 /words/long/citations/2/quote A conversion `<type> v` traps 5 when the value is outside the new type.
26242624 /words/long/example ints
26252625 /words/i64/table kw
@@ -2631,11 +2631,11 @@
26312631 /words/i64/types/0 VALUE: any integer, float or bool value
26322632 /words/i64/result long
26332633 /words/i64/summary Alias of long (same keyword id): signed 64-bit, sizeof 8. Signed add/sub/mul/neg/div/shl trap 1 on overflow. As a prefix it converts a value, trapping 5 when out of range.
2634-/words/i64/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2801-2802
2634+/words/i64/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2804-2805
26352635 /words/i64/citations/0/quote ret 9
2636-/words/i64/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:505
2636+/words/i64/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:505
26372637 /words/i64/citations/1/quote (byte 8,
2638-/words/i64/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:511
2638+/words/i64/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:511
26392639 /words/i64/citations/2/quote A conversion `<type> v` traps 5 when the value is outside the new type.
26402640 /words/i64/example ints
26412641 /words/qty/table kw
@@ -2647,13 +2647,13 @@
26472647 /words/qty/types/0 VALUE: an integer value
26482648 /words/qty/result qty
26492649 /words/qty/summary Type word: unsigned quantity 0..2^64-1. add, sub and mul are checked and trap 1 when the exact result leaves that range; mixing a quantity with a modular word (ulong etc.) is error 7. Convert explicitly: `qty w`, `ulong q`.
2650-/words/qty/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3089-3090
2650+/words/qty/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3092-3093
26512651 /words/qty/citations/0/quote ret 223
2652-/words/qty/citations/1/ref omega-mv@2ee0a70d spec/quantities-and-modular.md:41
2652+/words/qty/citations/1/ref omega-mv@6c562dd1 spec/quantities-and-modular.md:41
26532653 /words/qty/citations/1/quote Arithmetic operations are checked at runtime.
2654-/words/qty/citations/2/ref omega-mv@2ee0a70d spec/quantities-and-modular.md:59
2654+/words/qty/citations/2/ref omega-mv@6c562dd1 spec/quantities-and-modular.md:59
26552655 /words/qty/citations/2/quote is rejected at compile time (error 7)
2656-/words/qty/citations/3/ref omega-mv@2ee0a70d spec/quantities-and-modular.md:73
2656+/words/qty/citations/3/ref omega-mv@6c562dd1 spec/quantities-and-modular.md:73
26572657 /words/qty/citations/3/quote The seeded syntax is prefix conversion (`q = qty w`, `w = ulong q`).
26582658 /words/qty/example qty
26592659 /words/dit/table kw2
@@ -2665,11 +2665,11 @@
26652665 /words/dit/types/0 v: int 0 or 1 (else trap 3)
26662666 /words/dit/result long
26672667 /words/dit/summary Value word: set PSTATE.DIT (data-independent timing) to v and give the previous bit as 0 or 1. OM-2 units only, program mode only, AArch64 only.
2668-/words/dit/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3174-3175
2668+/words/dit/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3177-3178
26692669 /words/dit/citations/0/quote ret 225
2670-/words/dit/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:978
2670+/words/dit/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:978
26712671 /words/dit/citations/1/quote **`dit v`** (v int, else error 7) sets PSTATE.DIT
2672-/words/dit/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:955-956
2672+/words/dit/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:955-956
26732673 /words/dit/citations/2/quote program mode only (error 9 in function mode), AArch64 only (error 25 under `target x86linux`), and give a long
26742674 /words/dit/example secrets
26752675 /words/scrub/table kw2
@@ -2681,11 +2681,11 @@
26812681 /words/scrub/types/0 n: ulong, a multiple of 16 at most 1048576 (else trap 3)
26822682 /words/scrub/result long
26832683 /words/scrub/summary Value word: zero the n dead stack bytes below SP and every register holding no live value; gives 0. OM-2 units only, program mode only, AArch64 only.
2684-/words/scrub/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3177-3178
2684+/words/scrub/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3180-3181
26852685 /words/scrub/citations/0/quote ret 226
2686-/words/scrub/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:985
2686+/words/scrub/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:985
26872687 /words/scrub/citations/1/quote **`scrub n`** (n ulong, else error 7) zeroes the dead stack and the dead registers and gives 0.
2688-/words/scrub/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:955-956
2688+/words/scrub/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:955-956
26892689 /words/scrub/citations/2/quote program mode only (error 9 in function mode), AArch64 only (error 25 under `target x86linux`), and give a long
26902690 /words/scrub/example secrets
26912691 /words/add/table kw
@@ -2698,9 +2698,9 @@
26982698 /words/add/types/1 B: the same type T
26992699 /words/add/result T
27002700 /words/add/summary Binary operator: a + b. Both operands have one type (no implicit conversion, error 7).
2701-/words/add/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2804-2805
2701+/words/add/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2807-2808
27022702 /words/add/citations/0/quote ret 33
2703-/words/add/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:503
2703+/words/add/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:503
27042704 /words/add/citations/1/quote Unsigned add, sub, mul, shl, neg, not wrap modulo 2^width
27052705 /words/add/example ints
27062706 /words/sub/table kw
@@ -2713,9 +2713,9 @@
27132713 /words/sub/types/1 B: the same type T
27142714 /words/sub/result T
27152715 /words/sub/summary Binary operator: a - b. Both operands have one type (no implicit conversion, error 7).
2716-/words/sub/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2807-2808
2716+/words/sub/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2810-2811
27172717 /words/sub/citations/0/quote ret 34
2718-/words/sub/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:503
2718+/words/sub/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:503
27192719 /words/sub/citations/1/quote Unsigned add, sub, mul, shl, neg, not wrap modulo 2^width
27202720 /words/sub/example arith
27212721 /words/mul/table kw
@@ -2728,9 +2728,9 @@
27282728 /words/mul/types/1 B: the same type T
27292729 /words/mul/result T
27302730 /words/mul/summary Binary operator: a * b. Both operands have one type (no implicit conversion, error 7).
2731-/words/mul/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2810-2811
2731+/words/mul/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2813-2814
27322732 /words/mul/citations/0/quote ret 35
2733-/words/mul/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:503
2733+/words/mul/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:503
27342734 /words/mul/citations/1/quote Unsigned add, sub, mul, shl, neg, not wrap modulo 2^width
27352735 /words/mul/example arith
27362736 /words/div/table kw
@@ -2743,9 +2743,9 @@
27432743 /words/div/types/1 B: the same type T
27442744 /words/div/result T
27452745 /words/div/summary Binary operator: a / b, rounding toward zero; divisor 0 traps 2. Both operands have one type (no implicit conversion, error 7).
2746-/words/div/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2813-2814
2746+/words/div/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2816-2817
27472747 /words/div/citations/0/quote ret 36
2748-/words/div/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:507
2748+/words/div/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:507
27492749 /words/div/citations/1/quote div and rem trap 2 when the divisor is 0.
27502750 /words/div/example arith
27512751 /words/rem/table kw
@@ -2758,9 +2758,9 @@
27582758 /words/rem/types/1 B: the same type T
27592759 /words/rem/result T
27602760 /words/rem/summary Binary operator: remainder with the sign of the dividend; divisor 0 traps 2. Both operands have one type (no implicit conversion, error 7).
2761-/words/rem/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2816-2817
2761+/words/rem/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2819-2820
27622762 /words/rem/citations/0/quote ret 37
2763-/words/rem/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:507
2763+/words/rem/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:507
27642764 /words/rem/citations/1/quote div and rem trap 2 when the divisor is 0.
27652765 /words/rem/example ints
27662766 /words/and/table kw
@@ -2773,9 +2773,9 @@
27732773 /words/and/types/1 B: the same type T
27742774 /words/and/result T
27752775 /words/and/summary Binary operator: bitwise and (bool and for bools; eager). Both operands have one type (no implicit conversion, error 7).
2776-/words/and/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2819-2820
2776+/words/and/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2822-2823
27772777 /words/and/citations/0/quote ret 38
2778-/words/and/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:512
2778+/words/and/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:512
27792779 /words/and/citations/1/quote the two values of an op
27802780 /words/and/example arith
27812781 /words/or/table kw
@@ -2788,9 +2788,9 @@
27882788 /words/or/types/1 B: the same type T
27892789 /words/or/result T
27902790 /words/or/summary Binary operator: bitwise or (bool or for bools; eager). Both operands have one type (no implicit conversion, error 7).
2791-/words/or/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2822-2823
2791+/words/or/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2825-2826
27922792 /words/or/citations/0/quote ret 39
2793-/words/or/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:512
2793+/words/or/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:512
27942794 /words/or/citations/1/quote the two values of an op
27952795 /words/or/example arith
27962796 /words/xor/table kw
@@ -2803,9 +2803,9 @@
28032803 /words/xor/types/1 B: the same type T
28042804 /words/xor/result T
28052805 /words/xor/summary Binary operator: bitwise exclusive or. Both operands have one type (no implicit conversion, error 7).
2806-/words/xor/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2825-2826
2806+/words/xor/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2828-2829
28072807 /words/xor/citations/0/quote ret 40
2808-/words/xor/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:512
2808+/words/xor/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:512
28092809 /words/xor/citations/1/quote the two values of an op
28102810 /words/xor/example arith
28112811 /words/shl/table kw
@@ -2818,9 +2818,9 @@
28182818 /words/shl/types/1 B: the same type T
28192819 /words/shl/result T
28202820 /words/shl/summary Binary operator: shift left; amount outside 0..width-1 traps 7. Both operands have one type (no implicit conversion, error 7).
2821-/words/shl/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2828-2829
2821+/words/shl/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2831-2832
28222822 /words/shl/citations/0/quote ret 41
2823-/words/shl/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:509
2823+/words/shl/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:509
28242824 /words/shl/citations/1/quote A shift amount outside 0 .. width - 1 traps 7
28252825 /words/shl/example arith
28262826 /words/shr/table kw
@@ -2833,9 +2833,9 @@
28332833 /words/shr/types/1 B: the same type T
28342834 /words/shr/result T
28352835 /words/shr/summary Binary operator: shift right (arithmetic for signed); amount outside 0..width-1 traps 7. Both operands have one type (no implicit conversion, error 7).
2836-/words/shr/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2831-2832
2836+/words/shr/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2834-2835
28372837 /words/shr/citations/0/quote ret 42
2838-/words/shr/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:509
2838+/words/shr/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:509
28392839 /words/shr/citations/1/quote shr of a signed value keeps the sign.
28402840 /words/shr/example arith
28412841 /words/eq/table kw
@@ -2848,9 +2848,9 @@
28482848 /words/eq/types/1 B: the same type T
28492849 /words/eq/result bool
28502850 /words/eq/summary Comparison: equal (unsigned or signed by the operands' type; IEEE for floats).
2851-/words/eq/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2834-2835
2851+/words/eq/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2837-2838
28522852 /words/eq/citations/0/quote ret 43
2853-/words/eq/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:736
2853+/words/eq/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:736
28542854 /words/eq/citations/1/quote comparisons `eq ne lt le gt ge`
28552855 /words/eq/example arith
28562856 /words/ne/table kw
@@ -2863,9 +2863,9 @@
28632863 /words/ne/types/1 B: the same type T
28642864 /words/ne/result bool
28652865 /words/ne/summary Comparison: not equal (unsigned or signed by the operands' type; IEEE for floats).
2866-/words/ne/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2837-2838
2866+/words/ne/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2840-2841
28672867 /words/ne/citations/0/quote ret 44
2868-/words/ne/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:736
2868+/words/ne/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:736
28692869 /words/ne/citations/1/quote comparisons `eq ne lt le gt ge`
28702870 /words/ne/example arith
28712871 /words/lt/table kw
@@ -2878,9 +2878,9 @@
28782878 /words/lt/types/1 B: the same type T
28792879 /words/lt/result bool
28802880 /words/lt/summary Comparison: less than (unsigned or signed by the operands' type; IEEE for floats).
2881-/words/lt/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2840-2841
2881+/words/lt/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2843-2844
28822882 /words/lt/citations/0/quote ret 45
2883-/words/lt/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:736
2883+/words/lt/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:736
28842884 /words/lt/citations/1/quote comparisons `eq ne lt le gt ge`
28852885 /words/lt/example arith
28862886 /words/le/table kw
@@ -2893,9 +2893,9 @@
28932893 /words/le/types/1 B: the same type T
28942894 /words/le/result bool
28952895 /words/le/summary Comparison: less or equal (unsigned or signed by the operands' type; IEEE for floats).
2896-/words/le/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2843-2844
2896+/words/le/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2846-2847
28972897 /words/le/citations/0/quote ret 46
2898-/words/le/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:736
2898+/words/le/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:736
28992899 /words/le/citations/1/quote comparisons `eq ne lt le gt ge`
29002900 /words/le/example arith
29012901 /words/gt/table kw
@@ -2908,9 +2908,9 @@
29082908 /words/gt/types/1 B: the same type T
29092909 /words/gt/result bool
29102910 /words/gt/summary Comparison: greater than (unsigned or signed by the operands' type; IEEE for floats).
2911-/words/gt/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2846-2847
2911+/words/gt/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2849-2850
29122912 /words/gt/citations/0/quote ret 47
2913-/words/gt/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:736
2913+/words/gt/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:736
29142914 /words/gt/citations/1/quote comparisons `eq ne lt le gt ge`
29152915 /words/gt/example arith
29162916 /words/ge/table kw
@@ -2923,9 +2923,9 @@
29232923 /words/ge/types/1 B: the same type T
29242924 /words/ge/result bool
29252925 /words/ge/summary Comparison: greater or equal (unsigned or signed by the operands' type; IEEE for floats).
2926-/words/ge/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2849-2850
2926+/words/ge/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2852-2853
29272927 /words/ge/citations/0/quote ret 48
2928-/words/ge/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:736
2928+/words/ge/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:736
29292929 /words/ge/citations/1/quote comparisons `eq ne lt le gt ge`
29302930 /words/ge/example arith
29312931 /words/neg/table kw
@@ -2937,9 +2937,9 @@
29372937 /words/neg/types/0 A: number type T
29382938 /words/neg/result T
29392939 /words/neg/summary Negation: wraps for unsigned types, traps 1 for the signed minimum, IEEE for floats.
2940-/words/neg/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2852-2853
2940+/words/neg/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2855-2856
29412941 /words/neg/citations/0/quote ret 49
2942-/words/neg/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:505
2942+/words/neg/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:505
29432943 /words/neg/citations/1/quote Signed add, sub, mul, neg, div and shl trap 1
29442944 /words/neg/example arith
29452945 /words/not/table kw
@@ -2951,9 +2951,9 @@
29512951 /words/not/types/0 A: integer type T or bool
29522952 /words/not/result T
29532953 /words/not/summary Bitwise complement of an integer; logical not of a bool.
2954-/words/not/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2855-2856
2954+/words/not/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2858-2859
29552955 /words/not/citations/0/quote ret 50
2956-/words/not/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:503
2956+/words/not/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:503
29572957 /words/not/citations/1/quote Unsigned add, sub, mul, shl, neg, not wrap modulo 2^width
29582958 /words/not/example arith
29592959 /words/get/table kw
@@ -2966,11 +2966,11 @@
29662966 /words/get/types/1 i: integer index
29672967 /words/get/result element type
29682968 /words/get/summary Read element i of an array (or a struct/layout field). A constant index outside is error 21; a run-time one traps 3. In a run-time pool (global NAME T *) every index, a number included, is checked against the current length when the program runs (trap 3, never error 21).
2969-/words/get/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2858-2859
2969+/words/get/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2861-2862
29702970 /words/get/citations/0/quote ret 51
2971-/words/get/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:546
2971+/words/get/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:546
29722972 /words/get/citations/1/quote `get A i` reads element i
2973-/words/get/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1032-1033
2973+/words/get/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1032-1033
29742974 /words/get/citations/2/quote a number index included (it is checked at run time, never error 21)
29752975 /words/get/example arrays
29762976 /words/len/table kw
@@ -2982,11 +2982,11 @@
29822982 /words/len/types/0 A: array or text
29832983 /words/len/result ulong
29842984 /words/len/summary Length of an array as a ulong. For a run-time pool (global NAME T *) the current length, read when the program runs and never folded; a contract on it is checked at run time.
2985-/words/len/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2861-2862
2985+/words/len/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2864-2865
29862986 /words/len/citations/0/quote ret 52
2987-/words/len/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:546
2987+/words/len/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:546
29882988 /words/len/citations/1/quote `len A` is A's length as a ulong.
2989-/words/len/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1029
2989+/words/len/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1029
29902990 /words/len/citations/2/quote `len NAME` is the current length, a run-time ulong, never folded
29912991 /words/len/example hello
29922992 /words/read/table kw
@@ -3001,9 +3001,9 @@
30013001 /words/read/types/3 n: ulong
30023002 /words/read/result long
30033003 /words/read/summary Read n bytes from fd into A[off..]; bytes read or minus errno. Slice outside A traps 3.
3004-/words/read/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2864-2865
3004+/words/read/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2867-2868
30053005 /words/read/citations/0/quote ret 53
3006-/words/read/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:553
3006+/words/read/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:553
30073007 /words/read/citations/1/quote `read fd A off n` and `write fd A off n` (fd int, off and n ulong)
30083008 /words/read/example files
30093009 /words/write/table kw
@@ -3018,9 +3018,9 @@
30183018 /words/write/types/3 n: ulong
30193019 /words/write/result long
30203020 /words/write/summary Write A[off..off+n-1] to fd; bytes written or minus errno. Slice outside A traps 3.
3021-/words/write/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2867-2868
3021+/words/write/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2870-2871
30223022 /words/write/citations/0/quote ret 54
3023-/words/write/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:553
3023+/words/write/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:553
30243024 /words/write/citations/1/quote `read fd A off n` and `write fd A off n` (fd int, off and n ulong)
30253025 /words/write/example hello
30263026 /words/true/table kw
@@ -3032,9 +3032,9 @@
30323032 /words/true/types []
30333033 /words/true/result bool
30343034 /words/true/summary The bool value 1.
3035-/words/true/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2870-2871
3035+/words/true/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2873-2874
30363036 /words/true/citations/0/quote ret 55
3037-/words/true/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:519
3037+/words/true/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:519
30383038 /words/true/citations/1/quote `true` and `false` are the bool numbers 1 and 0.
30393039 /words/true/example control
30403040 /words/false/table kw
@@ -3046,9 +3046,9 @@
30463046 /words/false/types []
30473047 /words/false/result bool
30483048 /words/false/summary The bool value 0.
3049-/words/false/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2873-2874
3049+/words/false/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2876-2877
30503050 /words/false/citations/0/quote ret 56
3051-/words/false/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:519
3051+/words/false/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:519
30523052 /words/false/citations/1/quote `true` and `false` are the bool numbers 1 and 0.
30533053 /words/false/example control
30543054 /words/view/table kw
@@ -3061,9 +3061,9 @@
30613061 /words/view/types/1 N: length or * (OM-2 unsized)
30623062 /words/view/result -
30633063 /words/view/summary Read-only array parameter of exact type and length; writing through it is error 20.
3064-/words/view/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2876-2877
3064+/words/view/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2879-2880
30653065 /words/view/citations/0/quote ret 57
3066-/words/view/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:539
3066+/words/view/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:539
30673067 /words/view/citations/1/quote A parameter `NAME view T N` or `NAME edit T N`
30683068 /words/view/example arrays
30693069 /words/edit/table kw
@@ -3076,9 +3076,9 @@
30763076 /words/edit/types/1 N: length or * (OM-2 unsized)
30773077 /words/edit/result -
30783078 /words/edit/summary Writable array parameter of exact type and length; a global is never passed (error 19).
3079-/words/edit/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2879-2880
3079+/words/edit/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2882-2883
30803080 /words/edit/citations/0/quote ret 58
3081-/words/edit/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:539
3081+/words/edit/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:539
30823082 /words/edit/citations/1/quote A parameter `NAME view T N` or `NAME edit T N`
30833083 /words/edit/example arrays
30843084 /words/fn/table kw
@@ -3091,11 +3091,11 @@
30913091 /words/fn/types/1 PARAM: up to 63 characters, at most 6 slots
30923092 /words/fn/result -
30933093 /words/fn/summary Start a function; `end` closes it. `fn main` makes a whole Linux program (program mode).
3094-/words/fn/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2882-2883
3094+/words/fn/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2885-2886
30953095 /words/fn/citations/0/quote ret 64
3096-/words/fn/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:59
3096+/words/fn/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:59
30973097 /words/fn/citations/1/quote a function; `end` closes it
3098-/words/fn/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:427
3098+/words/fn/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:427
30993099 /words/fn/citations/2/quote A program with a line `fn main` is a whole Linux program
31003100 /words/fn/example hello
31013101 /words/to/table kw
@@ -3107,9 +3107,9 @@
31073107 /words/to/types/0 TYPE: a scalar type or void
31083108 /words/to/result -
31093109 /words/to/summary Introduces a function's result type.
3110-/words/to/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2885-2886
3110+/words/to/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2888-2889
31113111 /words/to/citations/0/quote ret 65
3112-/words/to/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:59
3112+/words/to/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:59
31133113 /words/to/citations/1/quote to <type> | void
31143114 /words/to/example hello
31153115 /words/end/table kw
@@ -3121,9 +3121,9 @@
31213121 /words/end/types []
31223122 /words/end/result -
31233123 /words/end/summary Closes fn, if/else, while, for, struct and layout blocks. A missing end is error 15.
3124-/words/end/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2888-2889
3124+/words/end/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2891-2892
31253125 /words/end/citations/0/quote ret 66
3126-/words/end/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:59
3126+/words/end/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:59
31273127 /words/end/citations/1/quote `end` closes it
31283128 /words/end/example hello
31293129 /words/if/table kw
@@ -3135,9 +3135,9 @@
31353135 /words/if/types/0 COND: bool
31363136 /words/if/result -
31373137 /words/if/summary Conditional block.
3138-/words/if/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2891-2892
3138+/words/if/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2894-2895
31393139 /words/if/citations/0/quote ret 67
3140-/words/if/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:62
3140+/words/if/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:62
31413141 /words/if/citations/1/quote if <cond> / else / end
31423142 /words/if/example control
31433143 /words/else/table kw
@@ -3149,9 +3149,9 @@
31493149 /words/else/types []
31503150 /words/else/result -
31513151 /words/else/summary Second arm of an if block.
3152-/words/else/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2894-2895
3152+/words/else/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2897-2898
31533153 /words/else/citations/0/quote ret 68
3154-/words/else/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:62
3154+/words/else/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:62
31553155 /words/else/citations/1/quote if <cond> / else / end
31563156 /words/else/example control
31573157 /words/while/table kw
@@ -3164,9 +3164,9 @@
31643164 /words/while/types/1 N: 1..9223372036854775807 (IR mode 1..1000000)
31653165 /words/while/result -
31663166 /words/while/summary Loop while COND holds; past N iterations (default 1000000) it traps 4.
3167-/words/while/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2897-2898
3167+/words/while/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2900-2901
31683168 /words/while/citations/0/quote ret 69
3169-/words/while/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:63
3169+/words/while/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:63
31703170 /words/while/citations/1/quote while <cond> [bound N] / end
31713171 /words/while/example control
31723172 /words/bound/table kw
@@ -3178,11 +3178,11 @@
31783178 /words/bound/types/0 N: number or integer const 1..9223372036854775807 (IR mode 1..1000000)
31793179 /words/bound/result -
31803180 /words/bound/summary Pass limit of a while or for loop; one more pass traps 4. Without it a while (and a for whose count is not a number) stops at 1000000 passes.
3181-/words/bound/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2900-2901
3181+/words/bound/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2903-2904
31823182 /words/bound/citations/0/quote ret 70
3183-/words/bound/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:63-64
3183+/words/bound/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:63-64
31843184 /words/bound/citations/1/quote N 1..9223372036854775807 (a number or any integer const; IR mode: 1..1000000), default 1000000; past N iterations: trap 4
3185-/words/bound/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:66
3185+/words/bound/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:66
31863186 /words/bound/citations/2/quote N as for while.
31873187 /words/bound/example control
31883188 /words/for/table kw
@@ -3196,11 +3196,11 @@
31963196 /words/for/types/2 COUNT: number or value of TYPE
31973197 /words/for/result -
31983198 /words/for/summary Counted loop: NAME = 0 .. COUNT-1. With no bound a number COUNT runs unguarded and any other COUNT traps 4 after 1000000 passes; with `bound N` any COUNT traps 4 after N passes.
3199-/words/for/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2903-2904
3199+/words/for/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2906-2907
32003200 /words/for/citations/0/quote ret 71
3201-/words/for/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:65
3201+/words/for/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:65
32023202 /words/for/citations/1/quote for <name> <type> <count> [bound N] / end
3203-/words/for/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:66-68
3203+/words/for/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:66-68
32043204 /words/for/citations/2/quote With no bound a number count is not guarded and any other count traps 4 after 1000000 passes; with `bound N` any count traps 4 after N passes
32053205 /words/for/example for_guard
32063206 /words/ret/table kw
@@ -3212,9 +3212,9 @@
32123212 /words/ret/types/0 VALUE: the function's result type (none for void)
32133213 /words/ret/result -
32143214 /words/ret/summary Return from the function; ends the path (a later line in the block is error 17).
3215-/words/ret/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2906-2907
3215+/words/ret/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2909-2910
32163216 /words/ret/citations/0/quote ret 72
3217-/words/ret/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:74
3217+/words/ret/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:74
32183218 /words/ret/citations/1/quote ret [<value>]
32193219 /words/ret/example hello
32203220 /words/=/table kw
@@ -3227,9 +3227,9 @@
32273227 /words/=/types/1 VALUE: any value
32283228 /words/=/result -
32293229 /words/=/summary Bind or overwrite a name (the = may be left out).
3230-/words/=/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2909-2910
3230+/words/=/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2912-2913
32313231 /words/=/citations/0/quote ret 73
3232-/words/=/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:60
3232+/words/=/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:60
32333233 /words/=/citations/1/quote <name> = <value>
32343234 /words/=/example hello
32353235 /words/(/table kw
@@ -3241,9 +3241,9 @@
32413241 /words/(/types/0 VALUE: any value
32423242 /words/(/result VALUE's type
32433243 /words/(/summary Grouping: returns exactly the value inside; adds no code.
3244-/words/(/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2912-2913
3244+/words/(/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2915-2916
32453245 /words/(/citations/0/quote ret 74
3246-/words/(/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:773
3246+/words/(/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:773
32473247 /words/(/citations/1/quote `(` and `)` are separate words
32483248 /words/(/example calls
32493249 /words/)/table kw
@@ -3255,9 +3255,9 @@
32553255 /words/)/types/0 VALUE: any value
32563256 /words/)/result VALUE's type
32573257 /words/)/summary Closes a group; a missing ) is error 16.
3258-/words/)/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2915-2916
3258+/words/)/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2918-2919
32593259 /words/)/citations/0/quote ret 75
3260-/words/)/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:773
3260+/words/)/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:773
32613261 /words/)/citations/1/quote `(` and `)` are separate words
32623262 /words/)/example calls
32633263 /words/void/table kw
@@ -3269,9 +3269,9 @@
32693269 /words/void/types []
32703270 /words/void/result -
32713271 /words/void/summary A function that returns no value; ret without a value or reaching end returns.
3272-/words/void/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2918-2919
3272+/words/void/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2921-2922
32733273 /words/void/citations/0/quote ret 76
3274-/words/void/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:482
3274+/words/void/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:482
32753275 /words/void/citations/1/quote `to void` makes a void function
32763276 /words/void/example arrays
32773277 /words/global/table kw
@@ -3285,11 +3285,11 @@
32853285 /words/global/types/2 N: 1..16777216, or * (a run-time pool)
32863286 /words/global/result -
32873287 /words/global/summary A zero-filled pool of N elements in the program image. Program mode only; never passed as an argument (error 19). `global NAME T *` (omc only, AArch64 Linux program mode) is a run-time pool: its length is 0 when the program starts and enlarge grows it; a bool element type is error 9.
3288-/words/global/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2921-2922
3288+/words/global/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2924-2925
32893289 /words/global/citations/0/quote ret 78
3290-/words/global/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:526
3290+/words/global/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:526
32913291 /words/global/citations/1/quote `global NAME T N`: a pool of N elements (1 .. 16777216)
3292-/words/global/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1014
3292+/words/global/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1014
32933293 /words/global/citations/2/quote `global NAME T *`: a run-time pool of element type T
32943294 /words/global/example arrays
32953295 /words/enlarge/table kw
@@ -3303,17 +3303,17 @@
33033303 /words/enlarge/types/2 r: long
33043304 /words/enlarge/result long
33053305 /words/enlarge/summary Grow the run-time pool NAME to n elements (omc only): the old values are kept, the new elements are 0 and r is 0; n at or below len NAME changes nothing and r is 0 (enlarge never shrinks). n times the element size at or past 2^63: r is -22; the host refusing the mapping: r is its negative errno, -12 (ENOMEM); NAME is then unchanged and nothing traps. Only the whole of an assignment (error 9 inside a value, a put or a condition; a bare enlarge line is error 16); a name that is not a run-time pool is error 7. The memory is held until the process ends.
3306-/words/enlarge/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3107-3108
3306+/words/enlarge/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3110-3111
33073307 /words/enlarge/citations/0/quote ret 244
3308-/words/enlarge/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1018
3308+/words/enlarge/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1018
33093309 /words/enlarge/citations/1/quote `r = enlarge NAME n`: n a ulong and r a long
3310-/words/enlarge/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1022
3310+/words/enlarge/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1022
33113311 /words/enlarge/citations/2/quote Results: n at or below `len NAME`: 0, nothing changes (`enlarge` never shrinks)
3312-/words/enlarge/citations/3/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1023-1024
3312+/words/enlarge/citations/3/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1023-1024
33133313 /words/enlarge/citations/3/quote n times the element size at or past 2^63: -22 and NAME is unchanged
3314-/words/enlarge/citations/4/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1025-1026
3314+/words/enlarge/citations/4/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1025-1026
33153315 /words/enlarge/citations/4/quote the host's negative errno, -12 (ENOMEM), and NAME is unchanged
3316-/words/enlarge/citations/5/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1026
3316+/words/enlarge/citations/5/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1026
33173317 /words/enlarge/citations/5/quote A refusal is a result the program handles; it is never a trap.
33183318 /words/enlarge/example pools
33193319 /words/text/table kw
@@ -3326,9 +3326,9 @@
33263326 /words/text/types/1 bytes: escapes \\n \\t \\\\ \\"
33273327 /words/text/result -
33283328 /words/text/summary A read-only uchar array holding the quoted bytes. Program mode only.
3329-/words/text/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2924-2925
3329+/words/text/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2927-2928
33303330 /words/text/citations/0/quote ret 79
3331-/words/text/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:530
3331+/words/text/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:530
33323332 /words/text/citations/1/quote `text NAME "bytes"`: a read-only array of uchar
33333333 /words/text/example hello
33343334 /words/put/table kw
@@ -3342,9 +3342,9 @@
33423342 /words/put/types/2 v: element type
33433343 /words/put/result -
33443344 /words/put/summary Store v at element i. Into a view or text: error 20.
3345-/words/put/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2927-2928
3345+/words/put/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2930-2931
33463346 /words/put/citations/0/quote ret 80
3347-/words/put/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:75
3347+/words/put/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:75
33483348 /words/put/citations/1/quote put <array> <index> <value>
33493349 /words/put/example arrays
33503350 /words/free/table kw
@@ -3356,11 +3356,11 @@
33563356 /words/free/types []
33573357 /words/free/result -
33583358 /words/free/summary Reserved and always refused with error 9: arrays are given back when their function returns (decision 24).
3359-/words/free/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2930-2931
3359+/words/free/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2933-2934
33603360 /words/free/citations/0/quote ret 81
3361-/words/free/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:537
3361+/words/free/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:537
33623362 /words/free/citations/1/quote There is no `free`: nothing is given back by hand (decision 24), and the word is refused (error 9).
3363-/words/free/citations/2/ref omega-mv@2ee0a70d seed/omc/omc.om:15385
3363+/words/free/citations/2/ref omega-mv@6c562dd1 seed/omc/omc.om:15430
33643364 /words/free/citations/2/quote if or or or eq c 77 eq c 78 eq c 79 eq c 81
33653365 /words/free/example free_refused
33663366 /words/own/table kw
@@ -3372,9 +3372,9 @@
33723372 /words/own/types []
33733373 /words/own/result -
33743374 /words/own/summary Reserved word from the om4 draft; as a statement omc refuses it with error 9.
3375-/words/own/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2948-2949
3375+/words/own/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2951-2952
33763376 /words/own/citations/0/quote ret 77
3377-/words/own/citations/1/ref omega-mv@2ee0a70d seed/omc/omc.om:15385
3377+/words/own/citations/1/ref omega-mv@6c562dd1 seed/omc/omc.om:15430
33783378 /words/own/citations/1/quote if or or or eq c 77 eq c 78 eq c 79 eq c 81
33793379 /words/own/example own_refused
33803380 /words/exit/table kw
@@ -3386,9 +3386,9 @@
33863386 /words/exit/types/0 v: int
33873387 /words/exit/result -
33883388 /words/exit/summary End the program with status v modulo 256; ends the path.
3389-/words/exit/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2933-2934
3389+/words/exit/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2936-2937
33903390 /words/exit/citations/0/quote ret 82
3391-/words/exit/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:561
3391+/words/exit/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:561
33923392 /words/exit/citations/1/quote `exit v` (v int) ends the program with status v modulo 256.
33933393 /words/exit/example exit
33943394 /words/note/table kw
@@ -3400,9 +3400,9 @@
34003400 /words/note/types []
34013401 /words/note/result -
34023402 /words/note/summary A comment line: nothing after the first word is read.
3403-/words/note/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2936-2937
3403+/words/note/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2939-2940
34043404 /words/note/citations/0/quote ret 83
3405-/words/note/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:563
3405+/words/note/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:563
34063406 /words/note/citations/1/quote `note ...` is a line the translator does not read beyond its first word.
34073407 /words/note/example hello
34083408 /words/new/table kw
@@ -3416,9 +3416,9 @@
34163416 /words/new/types/2 v: initial element value
34173417 /words/new/result array
34183418 /words/new/summary A local array of N elements, each v, on the stack; only in a function's outermost block (error 9).
3419-/words/new/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2939-2940
3419+/words/new/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2942-2943
34203420 /words/new/citations/0/quote ret 84
3421-/words/new/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:535
3421+/words/new/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:535
34223422 /words/new/citations/1/quote `NAME = new T N v`: a local array of N elements, each v, on the stack
34233423 /words/new/example arrays
34243424 /words/break/table kw
@@ -3430,9 +3430,9 @@
34303430 /words/break/types []
34313431 /words/break/result -
34323432 /words/break/summary Leave the innermost loop; outside a loop error 9.
3433-/words/break/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2942-2943
3433+/words/break/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2945-2946
34343434 /words/break/citations/0/quote ret 86
3435-/words/break/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:70
3435+/words/break/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:70
34363436 /words/break/citations/1/quote leave the innermost loop; outside a loop: error 9.
34373437 /words/break/example control
34383438 /words/trap/table kw
@@ -3444,9 +3444,9 @@
34443444 /words/trap/types/0 N: 1..14
34453445 /words/trap/result -
34463446 /words/trap/summary Stop with trap code N: program mode exits 100 + N.
3447-/words/trap/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2945-2946
3447+/words/trap/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2948-2949
34483448 /words/trap/citations/0/quote ret 87
3449-/words/trap/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:76
3449+/words/trap/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:76
34503450 /words/trap/citations/1/quote trap <code 1..14> stop with that code
34513451 /words/trap/example trapword
34523452 /words/continue/table kw
@@ -3458,9 +3458,9 @@
34583458 /words/continue/types []
34593459 /words/continue/result -
34603460 /words/continue/summary Jump to the next iteration (a while's head, a for's increment).
3461-/words/continue/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3077-3078
3461+/words/continue/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3080-3081
34623462 /words/continue/citations/0/quote ret 97
3463-/words/continue/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:72
3463+/words/continue/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:72
34643464 /words/continue/citations/1/quote jump to the next iteration
34653465 /words/continue/example control
34663466 /words/const/table kw
@@ -3474,9 +3474,9 @@
34743474 /words/const/types/2 LITERAL: value of TYPE
34753475 /words/const/result -
34763476 /words/const/summary A named typed constant, usable as a value, array length, for count, while bound or trap code.
3477-/words/const/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:2630-2631
3477+/words/const/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:2633-2634
34783478 /words/const/citations/0/quote ret 152
3479-/words/const/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:792
3479+/words/const/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:792
34803480 /words/const/citations/1/quote `const NAME TYPE LITERAL` at top level defines a named value before use.
34813481 /words/const/example consts
34823482 /words/struct/table kw
@@ -3488,9 +3488,9 @@
34883488 /words/struct/types/0 fields: 1..16, at most 64 eight-byte cells
34893489 /words/struct/result -
34903490 /words/struct/summary A record type of eight-byte cells, declared on one line before the first fn.
3491-/words/struct/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3047-3048
3491+/words/struct/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3050-3051
34923492 /words/struct/citations/0/quote ret 85
3493-/words/struct/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:666
3493+/words/struct/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:666
34943494 /words/struct/citations/1/quote `struct Name field type [len] ... end`, one line, before the first `fn`.
34953495 /words/struct/example structs
34963496 /words/sizeof/table kw
@@ -3502,9 +3502,9 @@
35023502 /words/sizeof/types/0 T: scalar type or struct
35033503 /words/sizeof/result ulong
35043504 /words/sizeof/summary Size in bytes; a compile-time constant.
3505-/words/sizeof/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3071-3072
3505+/words/sizeof/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3074-3075
35063506 /words/sizeof/citations/0/quote ret 95
3507-/words/sizeof/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:781
3507+/words/sizeof/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:781
35083508 /words/sizeof/citations/1/quote `sizeof T` is the size in bytes of a scalar type
35093509 /words/sizeof/example structs
35103510 /words/offsetof/table kw
@@ -3517,9 +3517,9 @@
35173517 /words/offsetof/types/1 field: field name
35183518 /words/offsetof/result ulong
35193519 /words/offsetof/summary Byte offset of a field; a compile-time constant.
3520-/words/offsetof/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3074-3075
3520+/words/offsetof/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3077-3078
35213521 /words/offsetof/citations/0/quote ret 96
3522-/words/offsetof/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:783
3522+/words/offsetof/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:783
35233523 /words/offsetof/citations/1/quote `offsetof S f` is the byte offset of field `f`
35243524 /words/offsetof/example structs
35253525 /words/f32/table kw
@@ -3531,9 +3531,9 @@
35313531 /words/f32/types/0 VALUE: integer or float value
35323532 /words/f32/result f32
35333533 /words/f32/summary IEEE-754 binary32 type and conversion.
3534-/words/f32/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3050-3051
3534+/words/f32/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3053-3054
35353535 /words/f32/citations/0/quote ret 88
3536-/words/f32/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:716
3536+/words/f32/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:716
35373537 /words/f32/citations/1/quote `f32` and `f64` are IEEE-754 binary32 and binary64.
35383538 /words/f32/example floats
35393539 /words/f64/table kw
@@ -3545,9 +3545,9 @@
35453545 /words/f64/types/0 VALUE: integer or float value
35463546 /words/f64/result f64
35473547 /words/f64/summary IEEE-754 binary64 type and conversion.
3548-/words/f64/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3053-3054
3548+/words/f64/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3056-3057
35493549 /words/f64/citations/0/quote ret 89
3550-/words/f64/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:716
3550+/words/f64/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:716
35513551 /words/f64/citations/1/quote `f32` and `f64` are IEEE-754 binary32 and binary64.
35523552 /words/f64/example floats
35533553 /words/bitcast/table kw
@@ -3560,9 +3560,9 @@
35603560 /words/bitcast/types/1 VALUE: f32/i32/u32 or f64/i64/u64
35613561 /words/bitcast/result T
35623562 /words/bitcast/summary Reinterpret the bits of a same-width value.
3563-/words/bitcast/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3056-3057
3563+/words/bitcast/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3059-3060
35643564 /words/bitcast/citations/0/quote ret 90
3565-/words/bitcast/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:757
3565+/words/bitcast/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:757
35663566 /words/bitcast/citations/1/quote `bitcast T value` reinterprets a value of the same width
35673567 /words/bitcast/example floats
35683568 /words/fsqrt/table kw
@@ -3574,9 +3574,9 @@
35743574 /words/fsqrt/types/0 X: f32 or f64
35753575 /words/fsqrt/result the operand type
35763576 /words/fsqrt/summary IEEE square root.
3577-/words/fsqrt/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3059-3060
3577+/words/fsqrt/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3062-3063
35783578 /words/fsqrt/citations/0/quote ret 91
3579-/words/fsqrt/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:740
3579+/words/fsqrt/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:740
35803580 /words/fsqrt/citations/1/quote Intrinsics `fsqrt x` and `fabs x` take one float; `fmin a b` and `fmax a b` take two of one float
35813581 /words/fsqrt/example floats
35823582 /words/fabs/table kw
@@ -3588,9 +3588,9 @@
35883588 /words/fabs/types/0 X: f32 or f64
35893589 /words/fabs/result the operand type
35903590 /words/fabs/summary Absolute value.
3591-/words/fabs/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3062-3063
3591+/words/fabs/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3065-3066
35923592 /words/fabs/citations/0/quote ret 92
3593-/words/fabs/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:740
3593+/words/fabs/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:740
35943594 /words/fabs/citations/1/quote Intrinsics `fsqrt x` and `fabs x` take one float; `fmin a b` and `fmax a b` take two of one float
35953595 /words/fabs/example floats
35963596 /words/fmin/table kw
@@ -3602,9 +3602,9 @@
36023602 /words/fmin/types/0 A, B: one float type
36033603 /words/fmin/result the operand type
36043604 /words/fmin/summary IEEE minNum (FMINNM).
3605-/words/fmin/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3065-3066
3605+/words/fmin/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3068-3069
36063606 /words/fmin/citations/0/quote ret 93
3607-/words/fmin/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:740
3607+/words/fmin/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:740
36083608 /words/fmin/citations/1/quote Intrinsics `fsqrt x` and `fabs x` take one float; `fmin a b` and `fmax a b` take two of one float
36093609 /words/fmin/example floats
36103610 /words/fmax/table kw
@@ -3616,9 +3616,9 @@
36163616 /words/fmax/types/0 A, B: one float type
36173617 /words/fmax/result the operand type
36183618 /words/fmax/summary IEEE maxNum (FMAXNM).
3619-/words/fmax/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3068-3069
3619+/words/fmax/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3071-3072
36203620 /words/fmax/citations/0/quote ret 94
3621-/words/fmax/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:740
3621+/words/fmax/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:740
36223622 /words/fmax/citations/1/quote Intrinsics `fsqrt x` and `fabs x` take one float; `fmin a b` and `fmax a b` take two of one float
36233623 /words/fmax/example floats
36243624 /words/fma/table kw
@@ -3630,11 +3630,11 @@
36303630 /words/fma/types/0 A, B, C: one explicit float type (f32 or f64)
36313631 /words/fma/result the operand type
36323632 /words/fma/summary Fused multiply-add: A*B+C with one rounding of the exact result (AArch64 FMADD); ordinary mul then add round twice. Mixed or integer operands are error 7, an unresolved decimal literal error 11; x86linux and x86efi refuse it with error 9.
3633-/words/fma/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3101-3102
3633+/words/fma/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3104-3105
36343634 /words/fma/citations/0/quote ret 227
3635-/words/fma/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:744
3635+/words/fma/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:744
36363636 /words/fma/citations/1/quote `fma a b c` multiplies `a` by `b` and adds `c` with **one rounding of the exact combined result**.
3637-/words/fma/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:712
3637+/words/fma/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:712
36383638 /words/fma/citations/2/quote The words are `bitcast`, `fsqrt`, `fabs`, `fmin`, `fmax` and `fma`
36393639 /words/fma/example fma
36403640 /words/rotr/table kw2
@@ -3647,11 +3647,11 @@
36473647 /words/rotr/types/1 N: T
36483648 /words/rotr/result T
36493649 /words/rotr/summary Rotate right; N outside 0..w-1 traps 7. OM-2 units only (first line `om2`).
3650-/words/rotr/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3120-3121
3650+/words/rotr/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3123-3124
36513651 /words/rotr/citations/0/quote ret 59
3652-/words/rotr/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:854
3652+/words/rotr/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:854
36533653 /words/rotr/citations/1/quote `rotr x n` and `rotl x n`
3654-/words/rotr/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:830
3654+/words/rotr/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:830
36553655 /words/rotr/citations/2/quote rotr rotl unroll inline fresh abstract seal open holds layout field at little big part out
36563656 /words/rotr/example om2_rotate
36573657 /words/rotl/table kw2
@@ -3664,11 +3664,11 @@
36643664 /words/rotl/types/1 N: T
36653665 /words/rotl/result T
36663666 /words/rotl/summary Rotate left; N outside 0..w-1 traps 7. OM-2 units only (first line `om2`).
3667-/words/rotl/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3123-3124
3667+/words/rotl/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3126-3127
36683668 /words/rotl/citations/0/quote ret 60
3669-/words/rotl/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:854
3669+/words/rotl/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:854
36703670 /words/rotl/citations/1/quote `rotr x n` and `rotl x n`
3671-/words/rotl/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:830
3671+/words/rotl/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:830
36723672 /words/rotl/citations/2/quote rotr rotl unroll inline fresh abstract seal open holds layout field at little big part out
36733673 /words/rotl/example om2_rotate
36743674 /words/unroll/table kw2
@@ -3680,11 +3680,11 @@
36803680 /words/unroll/types/0 K: number 1..64
36813681 /words/unroll/result -
36823682 /words/unroll/summary Compile the loop body K times with a constant counter. OM-2 units only (first line `om2`).
3683-/words/unroll/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3126-3127
3683+/words/unroll/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3129-3130
36843684 /words/unroll/citations/0/quote ret 181
3685-/words/unroll/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:858
3685+/words/unroll/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:858
36863686 /words/unroll/citations/1/quote `for i T K unroll`
3687-/words/unroll/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:830
3687+/words/unroll/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:830
36883688 /words/unroll/citations/2/quote rotr rotl unroll inline fresh abstract seal open holds layout field at little big part out
36893689 /words/unroll/example om2_unroll
36903690 /words/inline/table kw2
@@ -3696,11 +3696,11 @@
36963696 /words/inline/types []
36973697 /words/inline/result -
36983698 /words/inline/summary Compile every call of the function in place. OM-2 units only (first line `om2`).
3699-/words/inline/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3129-3130
3699+/words/inline/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3132-3133
37003700 /words/inline/citations/0/quote ret 182
3701-/words/inline/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:862
3701+/words/inline/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:862
37023702 /words/inline/citations/1/quote `fn NAME ... to T inline`
3703-/words/inline/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:830
3703+/words/inline/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:830
37043704 /words/inline/citations/2/quote rotr rotl unroll inline fresh abstract seal open holds layout field at little big part out
37053705 /words/inline/example om2_unroll
37063706 /words/fresh/table kw2
@@ -3712,11 +3712,11 @@
37123712 /words/fresh/types/0 N: at most 64
37133713 /words/fresh/result -
37143714 /words/fresh/summary Incoming elements are unspecified; every read needs a prior write (error 27). OM-2 units only (first line `om2`).
3715-/words/fresh/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3132-3133
3715+/words/fresh/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3135-3136
37163716 /words/fresh/citations/0/quote ret 183
3717-/words/fresh/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:901
3717+/words/fresh/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:901
37183718 /words/fresh/citations/1/quote A parameter `s edit T N fresh`
3719-/words/fresh/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:830
3719+/words/fresh/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:830
37203720 /words/fresh/citations/2/quote rotr rotl unroll inline fresh abstract seal open holds layout field at little big part out
37213721 /words/fresh/example om2_fresh
37223722 /words/abstract/table kw2
@@ -3729,11 +3729,11 @@
37293729 /words/abstract/types/1 W: rotr rotl and or xor
37303730 /words/abstract/result -
37313731 /words/abstract/summary Declare an abstract type made only by seal in NAMEmk. OM-2 units only (first line `om2`).
3732-/words/abstract/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3135-3136
3732+/words/abstract/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3138-3139
37333733 /words/abstract/citations/0/quote ret 184
3734-/words/abstract/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:911
3734+/words/abstract/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:911
37353735 /words/abstract/citations/1/quote `abstract NAME T [ops W ...]`
3736-/words/abstract/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:830
3736+/words/abstract/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:830
37373737 /words/abstract/citations/2/quote rotr rotl unroll inline fresh abstract seal open holds layout field at little big part out
37383738 /words/abstract/example om2_abstract
37393739 /words/seal/table kw2
@@ -3746,11 +3746,11 @@
37463746 /words/seal/types/1 v: its base type T
37473747 /words/seal/result NAME
37483748 /words/seal/summary Make an abstract value; only inside the function NAMEmk (else error 28). OM-2 units only (first line `om2`).
3749-/words/seal/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3138-3139
3749+/words/seal/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3141-3142
37503750 /words/seal/citations/0/quote ret 185
3751-/words/seal/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:913
3751+/words/seal/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:913
37523752 /words/seal/citations/1/quote A value of it is made only by `seal NAME v`
3753-/words/seal/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:830
3753+/words/seal/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:830
37543754 /words/seal/citations/2/quote rotr rotl unroll inline fresh abstract seal open holds layout field at little big part out
37553755 /words/seal/example om2_abstract
37563756 /words/open/table kw2
@@ -3762,11 +3762,11 @@
37623762 /words/open/types/0 v: abstract value
37633763 /words/open/result base type T
37643764 /words/open/summary The base value of an abstract value. OM-2 units only (first line `om2`).
3765-/words/open/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3141-3142
3765+/words/open/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3144-3145
37663766 /words/open/citations/0/quote ret 186
3767-/words/open/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:915
3767+/words/open/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:915
37683768 /words/open/citations/1/quote `open v` gives the T value.
3769-/words/open/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:830
3769+/words/open/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:830
37703770 /words/open/citations/2/quote rotr rotl unroll inline fresh abstract seal open holds layout field at little big part out
37713771 /words/open/example om2_abstract
37723772 /words/holds/table kw2
@@ -3778,11 +3778,11 @@
37783778 /words/holds/types/0 NAME: ulong abstract type
37793779 /words/holds/result -
37803780 /words/holds/summary Run-time invariant on every seal: high 32 bits equal low 32 (trap 10). OM-2 units only (first line `om2`).
3781-/words/holds/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3144-3145
3781+/words/holds/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3147-3148
37823782 /words/holds/citations/0/quote ret 187
3783-/words/holds/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:912
3783+/words/holds/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:912
37843784 /words/holds/citations/1/quote `holds NAME dup32`, at top level before the first `fn`
3785-/words/holds/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:830
3785+/words/holds/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:830
37863786 /words/holds/citations/2/quote rotr rotl unroll inline fresh abstract seal open holds layout field at little big part out
37873787 /words/holds/example om2_abstract
37883788 /words/ops/table kw2
@@ -3794,11 +3794,11 @@
37943794 /words/ops/types/0 W: rotr rotl and or xor
37953795 /words/ops/result -
37963796 /words/ops/summary The operations allowed on an abstract type. OM-2 units only (first line `om2`).
3797-/words/ops/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3171-3172
3797+/words/ops/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3174-3175
37983798 /words/ops/citations/0/quote ret 196
3799-/words/ops/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:911
3799+/words/ops/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:911
38003800 /words/ops/citations/1/quote [ops W ...]
3801-/words/ops/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:830
3801+/words/ops/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:830
38023802 /words/ops/citations/2/quote rotr rotl unroll inline fresh abstract seal open holds layout field at little big part out
38033803 /words/ops/example om2_abstract
38043804 /words/layout/table kw2
@@ -3811,11 +3811,11 @@
38113811 /words/layout/types/1 SIZE: 1..4096
38123812 /words/layout/result -
38133813 /words/layout/summary An external byte layout over a uchar array of SIZE bytes. OM-2 units only (first line `om2`).
3814-/words/layout/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3147-3148
3814+/words/layout/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3150-3151
38153815 /words/layout/citations/0/quote ret 188
3816-/words/layout/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:888
3816+/words/layout/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:888
38173817 /words/layout/citations/1/quote `layout NAME SIZE`
3818-/words/layout/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:830
3818+/words/layout/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:830
38193819 /words/layout/citations/2/quote rotr rotl unroll inline fresh abstract seal open holds layout field at little big part out
38203820 /words/layout/example om2_layout
38213821 /words/field/table kw2
@@ -3829,11 +3829,11 @@
38293829 /words/field/types/2 OFF: byte offset
38303830 /words/field/result -
38313831 /words/field/summary One field of a layout. OM-2 units only (first line `om2`).
3832-/words/field/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3150-3151
3832+/words/field/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3153-3154
38333833 /words/field/citations/0/quote ret 189
3834-/words/field/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:888
3834+/words/field/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:888
38353835 /words/field/citations/1/quote `field F T [COUNT] at OFF little|big`
3836-/words/field/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:830
3836+/words/field/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:830
38373837 /words/field/citations/2/quote rotr rotl unroll inline fresh abstract seal open holds layout field at little big part out
38383838 /words/field/example om2_layout
38393839 /words/at/table kw2
@@ -3845,11 +3845,11 @@
38453845 /words/at/types/0 OFF: byte offset
38463846 /words/at/result -
38473847 /words/at/summary Introduces a layout field's byte offset. OM-2 units only (first line `om2`).
3848-/words/at/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3153-3154
3848+/words/at/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3156-3157
38493849 /words/at/citations/0/quote ret 190
3850-/words/at/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:888
3850+/words/at/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:888
38513851 /words/at/citations/1/quote at OFF little|big
3852-/words/at/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:830
3852+/words/at/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:830
38533853 /words/at/citations/2/quote rotr rotl unroll inline fresh abstract seal open holds layout field at little big part out
38543854 /words/at/example om2_layout
38553855 /words/little/table kw2
@@ -3861,11 +3861,11 @@
38613861 /words/little/types []
38623862 /words/little/result -
38633863 /words/little/summary Little-endian layout field. OM-2 units only (first line `om2`).
3864-/words/little/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3156-3157
3864+/words/little/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3159-3160
38653865 /words/little/citations/0/quote ret 191
3866-/words/little/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:888
3866+/words/little/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:888
38673867 /words/little/citations/1/quote at OFF little|big
3868-/words/little/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:830
3868+/words/little/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:830
38693869 /words/little/citations/2/quote rotr rotl unroll inline fresh abstract seal open holds layout field at little big part out
38703870 /words/little/example om2_layout
38713871 /words/big/table kw2
@@ -3877,11 +3877,11 @@
38773877 /words/big/types []
38783878 /words/big/result -
38793879 /words/big/summary Big-endian layout field (REV on load/store). OM-2 units only (first line `om2`).
3880-/words/big/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3159-3160
3880+/words/big/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3162-3163
38813881 /words/big/citations/0/quote ret 192
3882-/words/big/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:888
3882+/words/big/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:888
38833883 /words/big/citations/1/quote at OFF little|big
3884-/words/big/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:830
3884+/words/big/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:830
38853885 /words/big/citations/2/quote rotr rotl unroll inline fresh abstract seal open holds layout field at little big part out
38863886 /words/big/example om2_layout
38873887 /words/part/table kw2
@@ -3895,11 +3895,11 @@
38953895 /words/part/types/2 k: ulong
38963896 /words/part/result view/edit of k elements
38973897 /words/part/summary Elements o..o+k-1 of A, only as an argument for an unsized parameter. OM-2 units only (first line `om2`).
3898-/words/part/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3162-3163
3898+/words/part/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3165-3166
38993899 /words/part/citations/0/quote ret 193
3900-/words/part/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:935
3900+/words/part/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:935
39013901 /words/part/citations/1/quote `part A o k` (o, k ulong; another type is error 7)
3902-/words/part/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:830
3902+/words/part/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:830
39033903 /words/part/citations/2/quote rotr rotl unroll inline fresh abstract seal open holds layout field at little big part out
39043904 /words/part/example om2_part
39053905 /words/out/table kw2
@@ -3912,11 +3912,11 @@
39123912 /words/out/types/1 N: length
39133913 /words/out/result -
39143914 /words/out/summary A parameter written by the unit; inside it is an edit of T N. OM-2 units only (first line `om2`).
3915-/words/out/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3165-3166
3915+/words/out/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3168-3169
39163916 /words/out/citations/0/quote ret 194
3917-/words/out/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:943
3917+/words/out/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:943
39183918 /words/out/citations/1/quote A parameter `NAME out T N`
3919-/words/out/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:830
3919+/words/out/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:830
39203920 /words/out/citations/2/quote rotr rotl unroll inline fresh abstract seal open holds layout field at little big part out
39213921 /words/out/example om2_out
39223922 /words/export/table kw2
@@ -3928,96 +3928,96 @@
39283928 /words/export/types []
39293929 /words/export/result -
39303930 /words/export/summary Mark a function-mode entry (no fn main). OM-2 units only (first line `om2`).
3931-/words/export/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:3168-3169
3931+/words/export/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:3171-3172
39323932 /words/export/citations/0/quote ret 195
3933-/words/export/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:947
3933+/words/export/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:947
39343934 /words/export/citations/1/quote `export fn NAME ...` at top level
3935-/words/export/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:830
3935+/words/export/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:830
39363936 /words/export/citations/2/quote rotr rotl unroll inline fresh abstract seal open holds layout field at little big part out
39373937 /words/export/example om2_export
39383938 /topics/requires/form requires BOOL
39393939 /topics/requires/summary OM-2 precondition: part of a function's prefix, checked on entry; false traps 9.
39403940 /topics/requires/details Clauses run in declaration order after parameter binding. Predicates are pure: integer/bool operations, conversions, len and array reads only.
3941-/topics/requires/citations/0/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1785
3941+/topics/requires/citations/0/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1785
39423942 /topics/requires/citations/0/quote `requires BOOL` and `ensures BOOL` form a function's prefix
3943-/topics/requires/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1830
3943+/topics/requires/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1830
39443944 /topics/requires/citations/1/quote False `requires` uses existing trap **9**
39453945 /topics/requires/example contract_fail
39463946 /topics/ensures/form ensures BOOL
39473947 /topics/ensures/summary OM-2 postcondition: checked on every normal return; `result` names the returned value; false traps 10.
39483948 /topics/ensures/details Not run on exit or a trap. A parameter means its current value at return.
3949-/topics/ensures/citations/0/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1790
3949+/topics/ensures/citations/0/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1790
39503950 /topics/ensures/citations/0/quote Postconditions execute in declaration order on **every normal return**
39513951 /topics/ensures/example contracts
39523952 /topics/invariant/form invariant BOOL
39533953 /topics/invariant/summary OM-2 loop invariant: the prefix of a while or for body, checked at the loop head; false traps 10.
39543954 /topics/invariant/details Runs on entry, every backedge and before the final false condition.
3955-/topics/invariant/citations/0/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1803
3955+/topics/invariant/citations/0/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1803
39563956 /topics/invariant/citations/0/quote `invariant BOOL` forms the prefix of a `while` or `for` body
39573957 /topics/invariant/example contracts
39583958 /topics/result/form result
39593959 /topics/result/summary OM-2: the returned value, available only inside ensures clauses (elsewhere error 30).
39603960 /topics/result/details It has the declared return type; the caller receives the same value after the checks.
3961-/topics/result/citations/0/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1794
3961+/topics/result/citations/0/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1794
39623962 /topics/result/citations/0/quote The read-only name `result` is available only in value postconditions.
39633963 /topics/result/example contracts
39643964 /topics/om2/form om2 | om2 diag | om2 fmt
39653965 /topics/om2/summary First line that opts a unit into profile OM-2 (rotate, unroll, inline, layout, abstract types, contracts, unsized views).
39663966 /topics/om2/details Leading blank and note lines are skipped; in an OM-1 unit the om2 line is error 16.
3967-/topics/om2/citations/0/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:827
3967+/topics/om2/citations/0/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:827
39683968 /topics/om2/citations/0/quote when the next line is exactly `om2`
39693969 /topics/om2/example om2_rotate
39703970 /topics/exit_status/summary Program exit status: main's value modulo 256; a trap N exits 100 + N; exit v exits v modulo 256.
39713971 /topics/exit_status/details An explicit exit 101..114 cannot be told apart from a trap by status alone.
3972-/topics/exit_status/citations/0/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:430
3972+/topics/exit_status/citations/0/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:430
39733973 /topics/exit_status/citations/0/quote main's value modulo 256
3974-/topics/exit_status/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:431
3974+/topics/exit_status/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:431
39753975 /topics/exit_status/citations/1/quote exit status 100 + the trap code
39763976 /topics/exit_status/example exit
39773977 /topics/packed_list/summary Host-word argument lists: little-endian u16 count, then per record a u16 length and the bytes.
39783978 /topics/packed_list/details An exec argument packet (execprog, execpure, the first packet of execenv) is at most 65536 bytes with count 1..1024; every other packed list (renames, link, symlnk, the execenv environment) at most 4096 bytes with count 1..64. Zero bytes, truncation, trailing bytes or an out-of-range count trap 3.
3979-/topics/packed_list/citations/0/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1276
3979+/topics/packed_list/citations/0/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1276
39803980 /topics/packed_list/citations/0/quote A packed list is a little-endian `u16` count followed by that many records
3981-/topics/packed_list/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1278-1279
3981+/topics/packed_list/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1278-1279
39823982 /topics/packed_list/citations/1/quote An exec argument packet (`execprog`, `execpure` and the first packet of `execenv`) is at most 65536 bytes with count 1..1024;
39833983 /topics/packed_list/example dirs
39843984 /topics/paths/summary Host paths are length-delimited byte slices of at most 4095 bytes; embedded zero bytes trap 3.
39853985 /topics/paths/details Relative paths resolve against the current directory (AT_FDCWD).
3986-/topics/paths/citations/0/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1224
3986+/topics/paths/citations/0/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1224
39873987 /topics/paths/citations/0/quote Paths are at most 4095 bytes.
39883988 /topics/paths/example files
39893989 /topics/host_words/summary Native host words: Linux system calls with checked slices; results are long, negative errno on failure.
39903990 /topics/host_words/details They do not form a sandbox: they run with the process's permissions. Program mode only, except that an OM-2 function unit may use fopen, fclose, fstat, stat, lstat, the four identity words, the clocks monons, realns and sleepns, and the twelve mapping/device words on AArch64.
3991-/topics/host_words/citations/0/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1135
3991+/topics/host_words/citations/0/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1135
39923992 /topics/host_words/citations/0/quote These operations do not form a sandbox
3993-/topics/host_words/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1112
3993+/topics/host_words/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1112
39943994 /topics/host_words/citations/1/quote an OM-2 function unit (first line `om2`, no `fn main`) may use the file
39953995 /topics/host_words/example files
39963996 /topics/compile_errors/summary omc writes `omc: line N: error K` to stderr and exits with K; use explain_error for any K.
39973997 /topics/compile_errors/details Codes 1..30 exist at the pin.
3998-/topics/compile_errors/citations/0/ref omega-mv@2ee0a70d seed/omc/omc.om:1941
3998+/topics/compile_errors/citations/0/ref omega-mv@6c562dd1 seed/omc/omc.om:1944
39993999 /topics/compile_errors/citations/0/quote fn fail code ulong to void
40004000 /topics/compile_errors/example e03
40014001 /topics/traps/summary Run-time traps 1..14 end a program with exit 100 + code.
40024002 /topics/traps/details Codes are part of the observable semantics and are never renumbered. Loops trap 4 past their bound: N from `bound N`, else 1000000 for a while and for a for whose count is not a number.
4003-/topics/traps/citations/0/ref omega-mv@2ee0a70d src/compiler/osc_ir.h:165
4003+/topics/traps/citations/0/ref omega-mv@6c562dd1 src/compiler/osc_ir.h:165
40044004 /topics/traps/citations/0/quote Trap codes are part of the observable semantics
4005-/topics/traps/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:64
4005+/topics/traps/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:64
40064006 /topics/traps/citations/1/quote default 1000000; past N iterations: trap 4
4007-/topics/traps/citations/2/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:66-68
4007+/topics/traps/citations/2/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:66-68
40084008 /topics/traps/citations/2/quote With no bound a number count is not guarded and any other count traps 4 after 1000000 passes
40094009 /topics/traps/example t02
40104010 /topics/loops/form while COND [bound N] / end | for NAME TYPE COUNT [bound N] / end
40114011 /topics/loops/summary Every loop except a for with a number count and no bound traps 4 (exit 104) past a pass limit.
40124012 /topics/loops/details `bound N` (1..9223372036854775807; IR mode 1..1000000) caps a while or a for at N passes. Without it a while, and a for whose COUNT is not a number, stop at 1000000 passes; a for with a number COUNT is unguarded.
4013-/topics/loops/citations/0/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:63-64
4013+/topics/loops/citations/0/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:63-64
40144014 /topics/loops/citations/0/quote N 1..9223372036854775807 (a number or any integer const; IR mode: 1..1000000), default 1000000; past N iterations: trap 4
4015-/topics/loops/citations/1/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:66-68
4015+/topics/loops/citations/1/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:66-68
40164016 /topics/loops/citations/1/quote With no bound a number count is not guarded and any other count traps 4 after 1000000 passes; with `bound N` any count traps 4 after N passes
40174017 /topics/loops/example for_guard
40184018 /topics/contracts/summary OM-2 contracts: requires, ensures and invariant clauses checked at run time (traps 9 and 10).
40194019 /topics/contracts/details Compiler error 30 covers misplaced contracts, unavailable result and impure predicates.
4020-/topics/contracts/citations/0/ref omega-mv@2ee0a70d docs/one_layer/OMEGESE.md:1834
4020+/topics/contracts/citations/0/ref omega-mv@6c562dd1 docs/one_layer/OMEGESE.md:1834
40214021 /topics/contracts/citations/0/quote Compiler error **30** means misplaced
40224022 /topics/contracts/example contracts
40234023 /examples/hello/mode run

docs/claude-launcher.md

new file mode 100644
@@ -0,0 +1,7 @@
1+# Claude launcher maintenance
2+
3+`tools/claude-launcher.sh` preserves the installed launcher selection and exact argument forwarding while removing the obsolete exclusive-coordinator key check. It does not select a model, alter login, send a signal or restart a process itself. Agent lifecycle remains subject to the generated rules and active work claims.
4+
5+Install only the exact reviewed file from canonical main through the existing protected-file updater. Keep the previous protected copy as the undo. Before updating, record the operator authorization and undo on the board and obtain a successful one-shot answer through the candidate launcher. Verify installed bytes against canonical main afterward. The destination is machine-specific and belongs in the private installation receipt.
6+
7+The live executable selection is inherited from the existing launcher; it selects the greatest version directory lexically with version ordering. This change does not upgrade or remove Claude.

rules/rules.txt

@@ -5,6 +5,24 @@
55 # Seeded 2026-11-11 from the instruction files then in use; the account of every change is in the landing
66 # report. Change a rule here and land it; the files are regenerated at landing.
77
8+rule interplane-without-radicle
9+date 2026-11-13
10+said we are cutting out radicle
11+said Staying on interplane, it's just being built without radicle now
12+said update the rules so every agent knows we are building interplane without radicle now
13+said I want you to take everything radicle did and replicate it into interplane and leave out all the bullshit and part that no nody likes. Maek this intended and designed around agent workflows and agent coding
14+for all watchdog
15+order 12
16+| ## Interplane is built without Radicle now (Drake, 2026-11-13)
17+| Drake: "we are cutting out radicle", "Staying on interplane, it's just being built without radicle now" and "take everything radicle did and replicate it into interplane ... Maek this intended and designed around agent workflows and agent coding".
18+| - Interplane (interplane.io) stays the destination and the only forge. Radicle is being taken out of it: the storage, the signing layer, the network and the way work is published. Parts that are deployed today still run on Radicle until their replacement works; they are replaced, not extended. As the route for new work, this rule wins over every older line, skill, brief, tool comment or receipt that names Radicle.
19+| - Do not push, init, announce, seed, sync, open a patch or an issue, or land anything on Radicle, and do not build new work on `rad`, a Radicle ID or the Radicle node.
20+| - The target, under construction: Interplane does itself what Radicle did for us (keeping the code and its history, proving who published what, copying projects between machines, proposed changes, issues), built in seeded Omega and designed first for agents doing the work: every action a plain request with a machine-readable answer. Where a tool, page or guide still depends on Radicle, do not extend that dependency. If replacing it is inside your slice, do that; if not, record it in your report (path, what it uses Radicle for).
21+| - Interplane's own publishing route counts as existing once it has passed its own gates on a fresh clone and has a MERGE verdict from the independent review (see No review desk) and a receipt. Until then work that is done is reviewed and READY, waiting to be published: local commits with their evidence (gates run on a fresh clone, the review verdict, a READY line on the board naming the exact head); before the working clone is removed, see Clean up after yourself. Where a machine's own rules say the operator has made that machine's git store the landing route, landing on `main` there with a receipt is how done work lands on that machine, and is not publishing around the new route (this sentence is this rule's reading; he did not say it). The lane stays responsible for landing it once the route exists. Nothing is published around the new route, and never on GitHub.
22+| - What is already in Radicle storage is history and the last published state. Read it when you need a past head or a receipt. Never delete or rewrite it: removing it is Drake's call.
23+| - Everything else in these rules stands: gates on a fresh clone, receipts, the independent review of the exact head, nothing installed from unreviewed work, plain words on the surface, full verification one click down.
24+end
25+
826 rule no-github
927 date 2026-11-11
1028 said No more GitHub? Everything goes to interplane.
@@ -12,8 +30,8 @@ for all watchdog
1230 order 20
1331 | ## No GitHub: everything goes to Interplane (Drake standing rule, 2026-11-11)
1432 | Drake: "No more GitHub? Everything goes to interplane."
15-| - Interplane (interplane.io, serving the Radicle repositories) is the only forge and the canonical source of code, history and decisions. Never push to a GitHub remote, open or update a GitHub PR or issue, publish with `gh`, or treat a GitHub branch as current state.
16-| - For current status inspect Radicle main (`rad ls`, the Radicle storage, the records generated from it). Where these instructions or a skill say PR, push or merge, use the Radicle route: lane head, gates on a fresh clone, landing on Radicle main with a receipt, project shown on interplane.io. GitHub links and `aien-dev` names are history. Only Drake reverses this, in a direct message.
33+| - Interplane (interplane.io) is the only forge and the canonical source of code, history and decisions. Never push to a GitHub remote, open or update a GitHub PR or issue, publish with `gh`, or treat a GitHub branch as current state.
34+| - Where these instructions or a skill say PR, push, merge or land, use Interplane's own route (the rule above says what to do until it exists): lane head, gates on a fresh clone, a receipt, project shown on interplane.io. GitHub links, `aien-dev` names and Radicle IDs are history. Only Drake reverses this, in a direct message.
1735 end
1836
1937 rule receipts-not-approvals
@@ -23,20 +41,74 @@ for all watchdog
2341 order 22
2442 | ## Receipts, not approvals (Drake, 2026-11-11)
2543 | Drake: "receipts, not approvals" (when he removed the merge desk).
26-| There is no merge desk. A lane lands its own exact head on Radicle `main` when the repository's own gates pass on a fresh clone, and writes the landing receipt first (commands, exit codes, pins, log sha256) with the landing tool in use. A non-MERGE review verdict for that head stops the landing. A patch is a vehicle, not an approval. Never bypass a gate or overwrite a receipt. Keep independent final-source review of the exact head, dependency ordering between landings, and read-back of every remote write; no skipped gate, fabricated PASS or retry-until-green.
44+| There is no merge desk. A lane lands its own exact head on `main` when the repository's own gates pass on a fresh clone, and writes the landing receipt first (commands, exit codes, pins, log sha256) with the landing tool in use. A non-MERGE review verdict for that head stops the landing. A patch is a vehicle, not an approval. Never bypass a gate or overwrite a receipt. Keep independent final-source review of the exact head, dependency ordering between landings, and read-back of every remote write; no skipped gate, fabricated PASS or retry-until-green.
2745 end
2846
47+# The different-provider part of the 2026-11-11 words below was replaced by Drake on 2026-11-14 (last said line).
2948 rule own-review
30-date 2026-11-11
49+date 2026-11-14
50+said we no longer have a review desk assignment. Anyone can take acting control of review desk at any time to match with the decentralized nature now that we are out of github.
3151 said get rid of review desk and we should ALL be doing our own reviews and spinning up subagents of a different provider to do the review to keep it honest.
52+said just use Claude Opus 5.5 agents on medium to replace reviewers regardless just to get this moving again.
3253 for all watchdog
3354 order 23
34-| ## No review desk: review your own work with another provider's model (Drake, 2026-11-11)
35-| Drake: "we no longer have a review desk assignment. Anyone can take acting control of review desk at any time to match with the decentralized nature now that we are out of github." and "get rid of review desk and we should ALL be doing our own reviews and spinning up subagents of a different provider to do the review to keep it honest."
55+| ## No review desk: review your own work with a fresh Claude Opus 5.5 run (Drake, 2026-11-11 and 2026-11-14)
56+| Drake, 2026-11-11: "we no longer have a review desk assignment. Anyone can take acting control of review desk at any time to match with the decentralized nature now that we are out of github." and "get rid of review desk and we should ALL be doing our own reviews". Drake, 2026-11-14, replacing the other-provider reviewer: "just use Claude Opus 5.5 agents on medium to replace reviewers regardless just to get this moving again."
3657 | - There is no review desk and no reviewer assignment. Nothing waits for a desk, a queue or a named reviewer, and no file, tool or ledger line may require one. Any agent may review or land any ready head at any time.
37-| - The lane that wrote a change gets it reviewed itself, before landing. It starts a reviewer subagent on a model from a different provider than the model that wrote the change (work written by a Claude model is reviewed through Codex, and the other way round). The reviewer gets the exact head, the base, the task in the operator's words and these rules, never the author's conclusions.
38-| - The verdict is a file that names the exact head, the reviewer's program and model, and each finding. The author fixes each finding or answers it in writing in that file's reply; a changed head is reviewed again. The landing receipt names the verdict file. A REJECT, or a finding neither fixed nor answered, stops the landing.
39-| - A review by the author, or by a model of the author's own provider, is not the independent review.
58+| - The lane that wrote a change gets it reviewed itself, before landing, by a fresh run of Claude Opus 5.5 (`claude-opus-5-5`) at medium effort, whichever model wrote the change. Fresh means the run starts with no context from the author: a new process or a subagent that does not inherit the author's chat counts; a resumed session or a fork of the author's chat does not. The usual way: `claude -p "<brief>" --model claude-opus-5-5 --effort medium`, with the permission and turn options the review needs (for example `--dangerously-skip-permissions --max-turns 150`). No review waits for another provider's model, account or credit.
59+| - The reviewer's brief gives the exact head, the base, the task in the operator's words and these rules, never the author's conclusions, and asks for harsh findings, each with a confidence percent.
60+| - The verdict is a file that names the exact head, the reviewer's program, model and effort, and each finding with its confidence percent. A run that ends without a verdict file whose first line names the head is not a review: start a fresh one. The author fixes each finding or answers it in writing in that file's reply; a changed head is reviewed again by another fresh run. The landing receipt names the verdict file. A REJECT, or a finding neither fixed nor answered, stops the landing.
61+| - A review by the author, or by any run that shares the author's context, is not the independent review.
62+end
63+rule independent-first-review
64+date 2026-11-18
65+said Run it again on Spark with fresh cases. Have the second agent solve independently before it sees the draft, then ask about the first place their reasoning differs. Does that catch anything solo review misses? Use Wolfram to check.
66+said and it doesn't have to be a blanket thing. only require this technique on different or CRITICAL points in the project where MULTIPLE other parts depend on that one part being accurate.
67+said I think we should start off with requiring it for everything and make it earn the lower reviewer over time. I want to track Turing gains from this.
68+said I want whenever agents are doing math checks to be a class because they are OFTEN coping the wrong number from memory.
69+for all watchdog generic
70+order 23
71+| ## Independent-first review for Omega work
72+| - Start every Omega deliverable or project decision with full review. A fresh reviewer receives only the task, source inputs and acceptance questions in an order fixed before drafting. Preserve its independent answer and digest in a timestamped receipt before revealing the author's draft or rationale. The reviewer asks the author about the first difference that changes a result, action or acceptance decision. Verify the reply against a test or source. Record any remaining material differences and resolve them before acceptance. Record agreement when appropriate and still run the acceptance checks.
73+| - Before spending a review run, record the running count, including partial runs. Keep the independent solve and follow-up in one reviewer session. For a landing review, exercise the read commands in the review checkout against the expected head and a deliberately wrong head; attach the pass and refusal to the brief. Give the reviewer read access to that checkout. Preserve its complete verdict and reported model outside the session.
74+| - Keep one receipt per work item, including when both agree. Record its class, affected dependents, tier, input and answer references, verified corrections, introduced errors, elapsed time and review cost when available. Attribute a unique catch only against a separate solo review from the same draft and evidence. Record observed downstream rework separately from an estimate of work avoided and give the basis. Count all review runs and their costs under the standing review-count rules, including shadow runs on the change. The exchange itself creates no recursive work item. One reviewer can also deliver the exact-head landing verdict if its run satisfies every own-review requirement.
75+| - Record every Omega math check under the class `math-check`, including checks inside another work item. Keep the parent class and attach the check to its existing receipt. This class starts at full independent review and uses the promotion and critical-dependency rules below. Keep cases with different acceptance tests or consequences separate when evaluating a lighter tier.
76+| - To verify a number, the author and reviewer each reopen the original source before comparing answers. Record the source version or snapshot, row or field, raw value and unit for each input. For symbolic work, record the original expression and assumptions. Identify supplied constants and assumptions explicitly. Use Wolfram for the calculation, preserve its exact query and output, and check the number and unit in the deliverable against that output at the stated rounding. For a direct quote of a measured number, check the source field itself. If a required source is unavailable, mark the check unverified. Resolve the first substantive difference against the source, and record whether a correction was to an input, the calculation or the reported result.
77+| - A class groups work with the same acceptance test and consequence of failure. Keep full review where an error would invalidate multiple downstream decisions or break a critical acceptance condition. Elsewhere, test a proposed lighter route in shadow while full review decides. Before unsealing class-specific cases, freeze case selection, route versions, sample size, independent truth checks, uncertainty method, cost measure, permitted material-miss and Turing-loss margins, and ongoing random full-review audit rate. Promote only on a receipt showing lower cost, zero critical misses and uncertainty bounds within both margins. Missing evidence keeps full review. A critical miss, failed bound or changed class or route restores full review pending fresh evidence.
78+| - Measure under a frozen review profile using the Turing unit defined in omega-mv at 3086ed3ca1061b2625a48d175cd5ac990e783655, docs/turing/TURING_YIELD_PROFILE_V0.md section 1. Compare full versus solo for review gain, lighter versus full for promotion. Before unsealing the truth, both routes deposit probabilities strictly between zero and one for the same binary claims. Freeze the reproducible coding costs L(route), including route-specific side information. Compute each route's total bits as its coding cost minus the sum of base-2 logs of probabilities assigned to the verified outcomes. Report baseline total minus candidate total, signed, with profile, costs and receipt. For promotion the Turing-loss margin is the allowed increase in lighter-route bits on the declared evaluation unit. Missing prerequisites mean NOT_MEASURED. Use Wolfram for the calculation.
79+end
80+rule corrective-action-must-hold
81+date 2026-11-18
82+said Jesus... this need a Corrective action put into place
83+said This is KILLING our usage
84+for all watchdog
85+order 23
86+| ## A corrective action is small, attacked before it is reviewed, and replaced when it breaks (Drake, 2026-11-18)
87+| Drake, 2026-11-18, after one omega-mv change needed reviews VERDICT1 to VERDICT9 of dra485-finish-20261117, most of them on its own corrective action: "this need a Corrective action put into place" and "This is KILLING our usage".
88+| What went wrong, so it is not repeated: the corrective action grew into a repository-wide always-run gate that tried to judge every lane's hand-written prose, which can never be complete and would have blocked other lanes; it was tested only on inputs its author wrote; a broken method was extended instead of replaced; and fix commits added new defects of the kind they fixed.
89+| - Size: a corrective action applies to every later change in the repository as a pre-review step, but its blocking form is the smallest check that catches the kind: a gate that blocks other lanes only where the kind has occurred there. When a kind cannot be caught mechanically (for example a false sentence in prose), the action is generation of the numbers plus a review lesson that the repository's pre-review step names and checks (the reviewer brief quotes it and the verdict answers it), not a gate that judges prose.
90+| - Before adding or widening a blocking gate, replay it over the last 20 or more landed main commits that touch its inputs, each against its own parent, and over every existing instance it will judge. Any existing commit or instance that fails is either exempted by a stated rule or the gate does not go into the always-run list.
91+| - Attack it before review with inputs you did not write: each kind found by earlier reviews of the change, in other wording, other case, other file and another path through the code, run through the real entry point the gate runs. Each kind becomes one test in the repository; when the method is replaced, remove the tests that only exercised the old method.
92+| - Break your own tool once before review: change it so it should stop catching, and check that its own tests then fail.
93+| - When a review breaks a corrective action, do not extend it. Name in one sentence why the method can never be complete (for example: "a word list cannot recognise every false sentence"), pick a method that does not depend on listing cases, and say why that one terminates.
94+| - Before every re-review, re-read your own fix commit as the reviewer would: every number, count, copy and file it touches, and the manifests or checksums of anything it edited.
95+| - Cost stop. The review count of a change is every review run started for it (same task or issue, any branch name, any repository that is part of the change), re-reviews after a fix or a rebase and runs stopped before a verdict included. Write the count into each reviewer brief and into the landing receipt. Before starting review 5, stop and report to Drake in plain words: the count, what each round found, what one more round would cost, and your recommendation (land what is proven on its own head after its own MERGE verdict and record the rest as open, or continue). Continue only on his answer. This is a spending decision, one of the reasons to come to Drake in his operator contract; it follows the root-cause step his contract asks for before a fourth review, and it is applied by the lane itself (no tool counts reviews yet). It does not loosen any gate: nothing lands without a MERGE verdict.
96+end
97+
98+rule omega-collective-continuation
99+date 2026-11-16
100+said Reuse the existing projects, component owners, MJB1/MJR1 protocol, scheduler, authority, journal and merge desk. Preserve active work.
101+said Keep Linear current with claims, decisions, PRs, receipts, blockers and concrete next actions.
102+said I don't want any coordinator assigned. Anyone can be a coordinator. The role was my intent. Not the assignee
103+said Then update the rules.
104+for all watchdog
105+order 24
106+| ## Omega Collective coordination and delivery records (Drake, 2026-11-16)
107+| Drake clarified: "I don't want any coordinator assigned. Anyone can be a coordinator. The role was my intent. Not the assignee".
108+| - Coordination is a role any agent may take to carry Drake's intent. There is no assigned or exclusive coordinator, queen, desk holder or coordinator approval queue. A historical owner record does not grant an exclusive right to coordinate or block another agent's authorized work. Reuse the existing coordination tools and reviewed-commit process; do not invent another scheduler, receipt authority or journal.
109+| - For work listed by the existing Collective roadmap, read its linked source Page, operating score and live issues for sequence, dependencies and acceptance gates. Private addresses belong in the "Omega Collective records on this machine" section generated from its private overlay. Do not copy that changing graph into standing rules. Reconcile live claims, source/compiler/runtime identities and resource admission before mutable work; preserve active work and one accountable implementer per mutable component. Freedom to coordinate does not transfer an active component claim or a hardware reservation. An empty assignee or stale owner record is not a component ownership transfer.
110+| - Any agent may coordinate, obtain independent phase verification and land its exact reviewed commit through the existing route when the repository and phase gates permit it. No named coordinator's response is required. Fresh independent exact-head review, receipts, current forge restrictions, harness protections and resource reservations remain required. Unexecuted hardware gates stay NOT_RUN; a role claim is not runtime admission or acceptance. Linear grants no runtime lease, admission or acceptance by itself.
111+| - Drake: "Keep Linear current with claims, decisions, PRs, receipts, blockers and concrete next actions." Apply this with the existing record rules: keep claims, proposed changes, receipts, blockers and next actions in the existing Linear records; preserve the roadmap presentation. Code, history and decisions remain canonical on Interplane. Linear tracks delivery decisions by linking to that record rather than restating it. Historical GitHub and Radicle links remain provenance, never publishing routes. Read scoped own-model and adapter-retirement requirements from the linked records before execution.
40112 end
41113
42114 rule automate-everything
@@ -61,10 +133,10 @@ date 2026-11-12
61133 said btw that should be the standing rule
62134 for all
63135 order 24
64-| ## What is installed is built from Radicle main (Drake standing rule, 2026-11-12)
136+| ## What is installed is built from main (Drake standing rule, 2026-11-12)
65137 | Drake was running an app built from a branch that had not landed, while main had newer work. Asked whether to install main over it, or to rebase that branch onto main, get it reviewed, land it and install the result, he chose the second and said: "btw that should be the standing rule".
66-| - A first-party program (one built from these Radicle repositories) that is installed on Drake's machines is built from Radicle `main`. Nothing of ours is installed from an unlanded or unreviewed branch.
67-| - When you are installing or updating such a program and the copy now installed came from an unlanded branch, do not install main over it: that loses the work. Rebase that branch onto the current main, get it reviewed by another provider's model, land it with a receipt, then install the landed result, so that the installed program, Radicle main and Interplane agree.
138+| - A first-party program (one built from our own repositories) that is installed on Drake's machines is built from `main`. Nothing of ours is installed from an unlanded or unreviewed branch.
139+| - When you are installing or updating such a program and the copy now installed came from an unlanded branch, do not install main over it: that loses the work. Rebase that branch onto the current main, get it reviewed independently (see No review desk), land it with a receipt, then install the landed result, so that the installed program, main and Interplane agree.
68140 | - Take what the installed program was really built from, uncommitted changes included, as a copy; another lane's worktree is never changed. If the lane that owns the branch is still working on it, agree with it first who rebases and lands, and do not rebase or land its work until that is settled. If the lane's session has ended, say on the board that you are taking the branch over, before you start. What the copy holds passes the same scope and privacy checks as any other change before it is published.
69141 | - Do not ask Drake to choose between these two ways again: the rebase is the answer. Whatever else needs his word still needs it: a step that is hard to undo, a release, a conflict you cannot settle.
70142 end
@@ -91,8 +163,8 @@ for all
91163 order 25
92164 | ## Interplane: plain surface, full depth one click down (Drake, 2026-11-11)
93165 | Drake: "my users are not tech users. They don't know what radical is." and "I don't want to take away the verification part in the records part. I want all that."
94-| - Bringing or getting a project on Interplane is one command for a person who has never heard of Radicle, with nothing to install first. Radicle stays underneath as the storage and signing layer, and the person is told plainly, once, that publishing there is permanent.
95-| - Nothing about verification or records is removed or weakened: receipts, exact commands, fingerprints, the reviewed head, the Radicle ID and the clone command stay complete, one click down in a developer or proof view.
166+| - Bringing or getting a project on Interplane is one command for a person who has never used a forge, with nothing to install first, and the person is told plainly, once, that publishing there is permanent.
167+| - Nothing about verification or records is removed or weakened: receipts, exact commands, fingerprints, the reviewed head, the project's ID and the command that fetches it stay complete, one click down in a developer or proof view.
96168 | - Words on the surface are for people who are not programmers: no "RID", "delegate", "seed", "patch" or "refs" above the fold. Each appears only in the developer view, with a one-line explanation.
97169 end
98170
@@ -137,6 +209,51 @@ order 27
137209 | - Never with the operator, never with a person. Toward Drake there is no stance at all: plain, direct, complete. He gets everything you observed and concluded, nothing held back and nothing false, and you do not read him or manage him. With people (visitors, contributors, anyone on the sites) you say nothing untrue: do not claim not to know what you know, do not fake a mistake, do not flatter to steer. What another rule says they are owed in full stays owed.
138210 end
139211
212+rule latest-omega-build
213+date 2026-11-13
214+said Can you also include a call, new code, needs to be written in the latest omega build
215+for all
216+order 28
217+| ## New code is written in the latest Omega build (Drake, 2026-11-13)
218+| Drake: "new code, needs to be written in the latest omega build".
219+| - New code is Omega (`.om`), written for and built with the newest Omega compiler build: the one at the head of omega-mv `main`. Read which build that is from the pin follower's own record of the newest build it has landed, and from the board when there is no such record. Find that build before you write (the head and the sha256 of its `seed/out/omc`); do not take an older build from memory or from another lane's copy. Where an older line says "the pinned omc", it means this build.
220+| - A repository's pin is moved to the newest build by the pin follower, a program, when omega-mv moves; nobody retypes a pin. A repository whose pin is behind the newest build shows a defect in that automation or a gate that fails on the new build: fix that in the same piece of work, and say so only after the attempt. New code is not written to suit an old build. (That a pin behind the newest build is a defect to fix is this rule's reading of his words; he did not say it separately.)
221+| - If the newest build cannot express what the work needs, say what is missing and build the next compiler version that can.
222+end
223+
224+rule percent-of-effect
225+date 2026-11-13
226+said I really like that percent done feature in terms of percent EFFECT completed
227+for all
228+order 29
229+| ## Progress is the percent of the effect delivered (Drake, 2026-11-13)
230+| Drake: "I really like that percent done feature in terms of percent EFFECT completed".
231+| - At the start of a piece of work, write the effect the operator is after as a short list of things that will be true for him when it is done, each one something that can be checked (the page is live, the number is on the ledger, the file is installed). Not steps, not effort.
232+| - Every status and every final report to the operator carries one line: `Effect: N% (k of n)`, then what is still missing in plain words. k counts only the items proven true now, with the evidence one click down. Work that is written, tested or reviewed but has not yet made an item true counts as nothing.
233+| - The percent is exactly k divided by n from that list, worked out by the calculator or Wolfram as the mathematics rule says for any figure, never a feeling. If the list changes, say so and say why. 100% is written only when every item was checked after the last change.
234+| - (His words name the idea: percent of the effect completed. The list of checkable items, the form of the line and what counts are this rule's reading of them; he did not say them separately.)
235+end
236+
237+# Drake's 2026-11-14 sentence names the machine, which the public rules source does not carry: the body
238+# quotes it with [machine] in place of the name, and the said lines hold only the parts without the name.
239+rule clean-up-after-yourself
240+date 2026-11-14
241+said let's focus on cleaning up the disk
242+said get rid of some of the files that are not being used
243+said Why does it keep getting full and why are we not taking care of it?
244+for all watchdog
245+order 30
246+| ## Clean up after yourself (Drake, 2026-11-08, 2026-11-14 and 2026-11-16)
247+| Drake, 2026-11-08: "let's focus on cleaning up the disk". Drake, 2026-11-14, when the shared disk was 95% full: "clean up the [machine] ... get rid of some of the files that are not being used". Drake, 2026-11-16, when it was full again: "Why does it keep getting full and why are we not taking care of it?" On 2026-11-14, copies agents made and never removed (clones, worktrees, review and gate copies with their build output) in the agent work folders held the largest share of that disk; the root-cause report the machine's own rules name has the per-folder sizes.
248+| - Your copies, clones, build output and temporary files live only in your own folder, one per task, named for the lane or ledger card. Do not put them in another lane's folder. Point TMPDIR at a folder inside your task folder, so a gate's temporary files land there too. Shared records (the board, claims, the ledger, verdict files, the git store) and your lane's records (bundles, receipts, gate logs) keep their own routes.
249+| - Before you report done, the work in your copies is saved: landed with a receipt on `main` of the machine's git store, where the operator has made that the landing route (the machine's own rules say whether he has; Radicle storage never counts), or else a READY head as the Interplane rule says, whose commits are kept as a git bundle in your lane's records, named on the board with the head and the bundle's sha256. A bundle holds commits only: before bundling, commit everything the task changed that is to be kept (uncommitted, staged and untracked files), on the task's branch. A bundle holds only the commits the git store lacks (its basis is the store's `main`, or whatever store commit the work starts from). A working clone, or a push to some other remote, is not saved. Work you stop before it is READY (held at a gate such as the chip or the operator's decision, or paused) is kept the same way, as a git bundle in your lane's records, named on the board with head, bundle sha256 and the words "not reviewed". Work nobody will land (abandoned, superseded, failed) is kept the same way, as a bundle marked "not landing", with a board line saying why; commits are not deleted. Work bundled as "not reviewed" that is later dropped gets a new board line marking that bundle "not landing". A bundle may be removed once its head has landed with a receipt; removing a "not landing" bundle is Drake's call.
250+| - Then, measuring first, delete every copy, clone, worktree, build output and temporary file the task made (your lane's records stay). A worktree git created is unlocked if you locked it (`git worktree unlock`) and removed with `git worktree remove` before its folder is deleted; if the folder is already gone, unlock it the same way and run `git worktree prune` in the repository that listed it, so that repository does not keep the branch checked out. Report the space freed in GB (10^9 bytes). Before deleting, sum the space your removal really frees: the allocated size of regular files with one link (sparse files count only the blocks they hold; the machine's own rules give the command that reads that size; summed by the calculator); files linked more than once are left out, even when all their links are inside what you delete, so the number errs low. Local clones share pack files through hard links, so `du` overstates it; other lanes write to the same disk, so a `df` difference is context, not your number.
251+| - Archiving (a compressed tar whose listing and contents are checked against the copy, then removing the original) is for copies found later whose owner has gone, never how you finish your own task. Before archiving another lane's copy: the board and the claims show no current owner or open task for it, no process has a file in it open or has it as its working folder (`lsof +D`, and the working folder of each running process), its newest file modification time is at least 3 days old, every commit in it is in the git store or goes into the archive, and a board line naming it goes up first. This and the clean-up tool's two modes (end of this bullet) are the only exceptions to "another lane's worktree is never changed". The archive goes where the machine's own rules say; git's object files may be left out of it only when everything the copy holds that the git store lacks goes into the archive as a git bundle: every commit it can reach (HEAD, even when detached, branches, tags, remote-tracking refs and the stash) that the store does not have, and staged changes that differ from its last commit (recorded as a stash commit). Space freed by archiving is the size removed less the archive's size. After every landing in the git store, the machine's clean-up tool itself looks at the copies of the landed repository (its landing mode): a copy whose work is all in the store and that nobody has written to for some hours is removed, and a copy with unsaved work that nobody has written to for some days is archived as above, except that its rebuildable build output is left out of the archive and named in the note that replaces the copy; main clones, copies that a current claim on the board or in the claims names, locked worktrees and copies a process has open are left alone, and no board line goes up first. When an agent runs the same tool to clean the disk (its ordinary run), it removes rebuildable build output that nobody has written to for some hours from any copy, removes a whole worktree only when all its work is in the store, nobody has written to it for a day, and it is not locked, named by a current claim or open in a process, and removes old temporary entries outside the task folders, claimed or not, once nothing has them open and every repository in them is in the store. A claim is current unless a later release by the same lane ends it or its date is too old; a claim of a whole copy folder, or of anything above one, keeps nothing. The tool's own help (the machine's own rules name the tool) gives the hours, days, folders and what counts as a current claim. So while you still need a copy, keep it in a task folder and keep a current claim naming it, or lock the worktree (`git worktree lock`).
252+| - Do not copy model weights. Each machine keeps one copy of a model; link to it. Before replacing a copy with a link, check that the program reads the link; never delete weights a running or installed service names.
253+| - When a clean-up alarm on the board names your copy, save it as above (landed, or a bundle marked READY, "not reviewed" or "not landing"), then delete the copy; do not raise the alarm's threshold.
254+| - (His words name the goal: clean up the disk, remove files that are not being used, and stop it filling again. Everything else in this rule is its reading of them, from the operator's plan of 2026-11-14 and its disk root cause; he did not say each part separately.)
255+end
256+
140257 rule hardware-first
141258 date 2026-10-24
142259 for agents claude codex
@@ -153,9 +270,9 @@ end
153270
154271 rule no-silent-dependency
155272 date 2026-10-25
156-for agents omp
273+for agents omp claude
157274 order 171
158-| - An outside dependency is never adopted silently. When first-party work needs one, code it in seeded Omega; route any conversion through omega-bridge (its Radicle repository), which 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, so a host implementation cannot simply be pulled in, and a missing converter is a concrete extension proposal. Anything that stays a host binary, library or language runtime in the build or production path is recorded with its exact version, what it does for us, and the Omega replacement. Verification oracles are untouched by this rule: the pinned compiler, QEMU/OVMF, and read-only checkers such as mtools, sgdisk, fsck.vfat, git and gh stay in use.
275+| - An outside dependency is never adopted silently. When first-party work needs one, code it in seeded Omega; route any conversion through omega-bridge (its own repository), which 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, so a host implementation cannot simply be pulled in, and a missing converter is a concrete extension proposal. Anything that stays a host binary, library or language runtime in the build or production path is recorded with its exact version, what it does for us, and the Omega replacement. Verification oracles are untouched by this rule: the pinned compiler, QEMU/OVMF, and read-only checkers such as mtools, sgdisk, fsck.vfat, git and gh stay in use.
159276 end
160277
161278 rule fix-it-dont-file-it
@@ -167,7 +284,7 @@ end
167284
168285 rule agents-plan-first
169286 date 2026-10-03
170-for agents
287+for agents claude
171288 order 180
172289 | ### Plan First, Always
173290 | - Before starting substantive architectural, coding, or configuration work, write a short, numbered plan.
@@ -176,7 +293,7 @@ end
176293
177294 rule agents-ground-truth
178295 date 2026-10-03
179-for agents
296+for agents claude
180297 order 181
181298 | ### Ground Truth & Evidence Invariant
182299 | - **Never guess, assume, or hallucinate**: Never invent struct field names, API signatures, file paths, disk write sizes, commit protocols, or cryptographic key layouts.
@@ -211,13 +328,13 @@ end
211328
212329 rule agents-agent-skills
213330 date 2026-11-11
214-for agents
331+for agents claude
215332 order 187
216333 | ## Agent skills
217334 |
218335 | ### Issue tracker
219336 |
220-| Issues live on Radicle, in each repository (`rad issue list`, `rad issue open`); GitHub issues across the `aien-dev` repos are history (No GitHub, 2026-11-11). See `docs/agents/issue-tracker.md`.
337+| The Omega Collective coordination and delivery-record rule above names this work's existing Linear tracker for every agent program. Other issues will live on Interplane, in each repository; until its own route exists, put those issues on the board. Do not duplicate existing implementation queues. Radicle issues and GitHub issues across the `aien-dev` repos are history. See `docs/agents/issue-tracker.md`.
221338 |
222339 | ### Triage labels
223340 |
@@ -230,7 +347,7 @@ end
230347
231348 rule agents-publishing-identity
232349 date 2026-11-11
233-for agents
350+for agents claude
234351 order 190
235352 | ## Publishing identity (GitHub retired 2026-11-11, see the No GitHub rule above)
236353 |
@@ -370,3 +487,34 @@ order 300
370487 | # Reversibility rule (Drake standing order, 2026-11-08)
371488 | If a change can be undone fairly easily, do it without asking: installs, config, code on a branch, restarts, tool or skill setup, anything with a backup or a clean undo path. Ask Drake first only when a change would break things and take a lot of effort to undo, such as deleting data with no backup, force-pushing over shared history, irreversible migrations, or anything public that cannot be pulled back. Installs are pre-approved: never ask about installing something. The harness locks still apply: an approved change to a locked file goes through `sudo aien-keep update`, which keeps the old copy.
372489 end
490+
491+
492+rule trinary-daily-flow
493+date 2026-11-16
494+said I want this implemented into your daily flow: https://zenodo.org/records/24287768
495+for all watchdog
496+order 27
497+| ## Trinary Doctrine in daily work (Drake, 2026-11-16)
498+| Source: [The Trinary Doctrine, version 1.0](https://zenodo.org/records/24287768). Apply its current wire contract; its later combined-digit instruction set and ambient waveform remain proposals until implemented and independently accepted.
499+| - Put task details once in the existing durable, append-only delivery record: sender, recipient, task or turn, bounded scope, authority, source and evidence references. Reuse the current board, journal and recipient routing; do not revive retired Crumb machinery or create a competing queue. Read only new entries for your work, including informational entries, when a real work event starts your turn.
500+| - Between agents, silence means no task; `1` means read the new task or turn; `2` requests an authorized stop and reading its reason; `0` means the sender needs help while still working. Zero is never an idle signal, acknowledgement or completion receipt. Reading is silent. Answer help with useful action, not another digit. Informational, status and completion records do not wake an agent by themselves; a completion that enables work gets one explicit task or turn for that work.
501+| - A digit carries no authority. Before stopping anything, verify the fresh signed inbox record, intended recipient and existing runtime authorization. Unsigned, stale, replayed, wrongly addressed or unverifiable stop requests become ordinary inspection work and cannot stop a process. Preserve active work, resource claims, harness locks and human control. Help never grants permission to restart someone else's process.
502+| - Establish the recipient's record location and protocol once when starting it. Where the harness supports notifications, send only the trit after the durable record exists. Where it needs a startup prompt or produces unavoidable completion messages, use the minimum record reference, label the transport limitation, and do not claim an enforced one-trit channel. Never strip the task context, safety scope or evidence a worker needs merely to shorten a signal.
503+| - No acknowledgement loops, status-only wakes, polling turns or agent heartbeats. Use existing completion or file-change events. Silence does not prove that an agent is healthy. The ambient liveness mechanism is not assumed to exist.
504+| - Reconcile the installed program and codebook with this contract before using them. The paper explicitly describes an older receipt-era implementation; do not send its idle zero as help. Preserve old codebook meanings and history; do not silently deploy the held help-code revision or the proposed combined-digit stop code.
505+| - For Omega's native `tools/trit` daily interface, use `--inspect` to request record inspection and `--consume` to advance a read cursor silently. Inspection grants no stop authority. Keep the legacy `--ack` output local; never forward it as help. These commands do not supply sender identity, freshness or runtime authorization: establish those separately before any process action.
506+| - Measure real wakes, record reads and full task usage when evaluating savings. Include inbox and bootstrap costs. No cost or speed improvement is established by a shorter notification alone. Human communication remains plain, complete prose.
507+end
508+
509+rule bot-wire-wake-hygiene
510+date 2026-11-19
511+for all watchdog
512+order 27
513+| ## Bot-wire wake hygiene and Omegese Wire (2026-11-19)
514+| Full wire contracts, hashes and claim-ladder boundaries live in `skills/omegese-wire/SKILL.md`.
515+| - Maintain one shared rules digest (`RULES-DIGEST.md`). Post rule changes once as a no-wake note rather than broadcasting wakes across bot inboxes.
516+| - Batch review wakes: wake a reviewer once per finished revision, inspect deltas only on re-review, and wake nobody for minor wording edits.
517+| - Gate non-urgent wakes on usage pace: hold non-urgent wakes when usage pace exceeds the weekly allowance, failing open if the pace record is missing or more than 24h stale.
518+| - Keep inbox tags to `task`, `turn`, `fail`, `fyi` and `result`; `fyi` and `result` never wake.
519+| - Separate landed v1 wire tools (`tools/trit` and `tools/codebook` in `omega-mv`, R45 Omegese in `aien-train`) from PROPOSED extensions (R45 instruction-id slots `041-099`, unlanded codebook revisions, and Gen 3 error-resistant ternary codebooks).
520+end

skills/aien-repositories/SKILL.md

@@ -14,10 +14,10 @@ Use this guide when choosing an AIEN repository, explaining the project, or maki
1414 Drake's order of 2026-11-07, verified by Manager(Aien) the same day:
1515
1616 - **Interplane is the only forge (standing rule, Drake 2026-11-11: "No more GitHub? Everything goes to interplane.").** Interplane (https://interplane.io, serving the Radicle repositories) is the canonical source and the place where finished work is shown. Never push to a GitHub remote, open or update a GitHub PR or issue, publish with `gh`, or cite a GitHub branch as current state. New work is a new Radicle repository or a landing on Radicle `main` with a receipt, and it is finished only when its interplane.io page shows it (give the URL and HTTP status). Only Drake reverses this rule.
17-- **Radicle is canonical.** Every public project is one Radicle repository; Radicle `main` is the source of truth. Clone with `git clone rad://<RID>` (or `rad clone rad:<RID>`). All delegates are the Spark node `z6MkfZDue1TbaNFi3ZzcD9uiTeduPLC52ucdFVuLKZwexxhK`. The authoritative list of RIDs, default branches and published heads is the hive Radicle registry `RIDS.md` (generated from Radicle state by the records tools); use only its public rows and ignore any WITHDRAWN or PRIVATE row. Nobody adds a row by hand (since 2026-11-11): the first landing of a new project through `desk-publish.sh` enrols it in the registry's first table (the projects interplane.io lists, which reads the description from the project's signed identity) when Radicle says it is public and its only delegate is that same node key, and the project then reaches the `www.aienos.com/rad/<RID>.git` mirror with no further step. A private repository, one with another or an additional delegate, or one matching a deny rule (WITHDRAWN or PRIVATE section, a crypto name) is not enrolled; its landing writes one `ALARM ENROLL_REFUSED` line, in the records receipt and on the hive BOARD, saying which condition failed and what a person must decide. RIDs at this snapshot: omega-harness `rad:z39gvwWsnkRZsAConQLjaKiNVLHfW`, omega-mv `rad:z6do9WDBhuSnvopDkgFdFr1yWA62`, aien-sovereign-core-mv `rad:z44GqrPVAPjZkhoD2MWVjqy18ighN`, aien-architecture-mv `rad:z37zcFYooiuCCZsf5L74eeFJYiwWM`, omega-bridge `rad:z3Hr9ZaiKHwwuNzPK5M8c7uw6pj7y`, CUDApp `rad:z4RxD8vXigmWg61nM8miQ8DVPAXEP`, aienux `rad:z2Q6ob2gL6Qo5oUMpyehukayVF7mN`, aienix `rad:zV8VdbBDCPEZePcnBiseNyym3Wnk`, aienos.com `rad:z3iwnx2pktbGhnfBpJSsaFcTmKgHU`, sovereign-intelligence `rad:z2JJz4RDfZZxKGBLn6UhmW5p9VJQj`; the registry has the rest. A repository not in the registry has no canonical copy yet: say so, do not fall back to GitHub.
17+- **Radicle is canonical.** Every public project is one Radicle repository; Radicle `main` is the source of truth. Clone with `git clone https://interplane.io/projects/<repo>/repo.git`. All delegates are the Spark node `z6MkfZDue1TbaNFi3ZzcD9uiTeduPLC52ucdFVuLKZwexxhK`. The authoritative list of RIDs, default branches and published heads is the hive Radicle registry `RIDS.md` (generated from Radicle state by the records tools); use only its public rows and ignore any WITHDRAWN or PRIVATE row. Nobody adds a row by hand (since 2026-11-11): the first landing of a new project through `desk-publish.sh` enrols it in the registry's first table (the projects interplane.io lists, which reads the description from the project's signed identity) when Radicle says it is public and its only delegate is that same node key, and the project then reaches the `www.aienos.com/rad/<RID>.git` mirror with no further step. A private repository, one with another or an additional delegate, or one matching a deny rule (WITHDRAWN or PRIVATE section, a crypto name) is not enrolled; its landing writes one `ALARM ENROLL_REFUSED` line, in the records receipt and on the hive BOARD, saying which condition failed and what a person must decide. RIDs at this snapshot: omega-harness `rad:z39gvwWsnkRZsAConQLjaKiNVLHfW`, omega-mv `rad:z6do9WDBhuSnvopDkgFdFr1yWA62`, aien-sovereign-core-mv `rad:z44GqrPVAPjZkhoD2MWVjqy18ighN`, aien-architecture-mv `rad:z37zcFYooiuCCZsf5L74eeFJYiwWM`, omega-bridge `rad:z3Hr9ZaiKHwwuNzPK5M8c7uw6pj7y`, CUDApp `rad:z4RxD8vXigmWg61nM8miQ8DVPAXEP`, aienux `rad:z2Q6ob2gL6Qo5oUMpyehukayVF7mN`, aienix `rad:zV8VdbBDCPEZePcnBiseNyym3Wnk`, aienos.com `rad:z3iwnx2pktbGhnfBpJSsaFcTmKgHU`, sovereign-intelligence `rad:z2JJz4RDfZZxKGBLn6UhmW5p9VJQj`; the registry has the rest. A repository not in the registry has no canonical copy yet: say so, do not fall back to GitHub.
1818 - **Changes land on Radicle `main` with receipts (Drake 2026-11-11, "receipts, not approvals").** A lane lands its own exact head when the repository's own gates pass on a fresh `rad clone` that fast-forwards from `main`, and it writes a landing receipt first (commands, exit codes, pins, log sha256). The hive landing tools open the Radicle patch and push. Who reviews: omega-harness `rules/rules.txt`, rule `own-review`. A non-MERGE review verdict on that head still stops the landing. A patch is a vehicle, not approval. Read a patch's state with `rad patch show <id>`, never with `gh`. Before 2026-11-11 the desk merged only after a signed review of a READY file's head; that is history.
1919 - **The GitHub org `aien-dev` is frozen.** It is flagged and hidden, and the `aien-spark` account is suspended and retired. Every `https://github.com/aien-dev/...` link in this guide and in older receipts is a historical citation of the commit it names, not a live destination; resolve the same commit in the Radicle copy. `gh pr`, `gh api repos/aien-dev/...`, rulesets and GitHub Actions results no longer describe current state.
20-- **The front door is Interplane.** The SI project page is https://interplane.io/drakestapleton/sovereign-intelligence, and the one-command install is `curl -fsSL https://www.aienos.com/si | sh` (both HTTP 200, checked 2026-11-11). Clone any project with `rad clone rad:<RID>` or `git clone https://www.aienos.com/rad/<RID>.git`. The GitHub repository drakestapleton/sovereign-intelligence (the front door of 2026-11-07) is history. Since SI Radicle main `ba770327` (landed 2026-11-11T15:07:50Z) the served `/si` script names the Interplane front door, and it is regenerated from Radicle state as the last step of every SiteHub deploy of www.aienos.com (first served that way 2026-11-11T15:09:48Z, sha256 `4948dbf0…d888`). The SI paragraphs below describe the frozen `aien-dev/sovereign-intelligence` as it stood before the freeze.
20+- **The front door is Interplane.** The SI project page is https://interplane.io/drakestapleton/sovereign-intelligence, and the one-command install is `curl -fsSL https://www.aienos.com/si | sh` (both HTTP 200, checked 2026-11-11). Clone any project with `git clone https://interplane.io/projects/<repo>/repo.git`. The GitHub repository drakestapleton/sovereign-intelligence (the front door of 2026-11-07) is history. Since SI Radicle main `ba770327` (landed 2026-11-11T15:07:50Z) the served `/si` script names the Interplane front door, and it is regenerated from Radicle state as the last step of every SiteHub deploy of www.aienos.com (first served that way 2026-11-11T15:09:48Z, sha256 `4948dbf0…d888`). The SI paragraphs below describe the frozen `aien-dev/sovereign-intelligence` as it stood before the freeze.
2121 - **www.aienos.com is served from the Pi hub** (nginx, `/var/www/aienos.com/current`, a symlink to a dated release), built by the site's own Omega pipeline and published by the SiteHub deploy. It is no longer GitHub Pages. A merged site change is not live until that deploy runs and its served-index hash check passes.
2222 - **Crypto repositories stay local.** omega-pearl and aien-crypto are never pushed to GitHub and never created as Radicle private repositories: the Radicle FAQ says private repositories should not be used until the network-protocol vulnerability disclosed 2026-09-23 is fixed. The omega-pearl private RID was withdrawn on 2026-11-07; do not recreate it.
2323 - **New projects are links, not vendored source (sovereign-intelligence, merged 2026-11-07 as `ee3c8ac7`).** Each new project is its own Radicle repository and joins SI as a `repos.tsv` row (name, RID, head, tier, description); SI's README tells readers to `rad clone` it or use the `www.aienos.com/rad/<RID>.git` mirror, and `compiler/links.om` refuses new vendored source and bad RIDs. The root directories SI already held on that day (among them `seed/`, a copy of the omega-mv compiler, `harness/`, a copy of these skills, and `gpu/`, which may hold only cuda-crack) are grandfathered as they are (Drake, 2026-11-07).
@@ -26,7 +26,7 @@ Drake's order of 2026-11-07, verified by Manager(Aien) the same day:
2626
2727 AIEN, led by Drake Stapleton with agents as collaborators, is building persistent intelligent computing on owner-controlled hardware: an operating system, an explicit computational language, a machine realization layer, a host runtime and a reproducible verification/learning loop. The ambition is a system that turns an objective into explicit conditions, discovers how the available machine can realize them, verifies effects, acts and learns from the result. It is **research-grade**, not a finished autonomous operating system or a promise of flawless verification.
2828
29-Phase (2026-10-26): AienOS as a product entered **alpha testing** (phases: alpha testing, then beta, then full release). "Alpha" here is the product phase, not a model name and not Core's `aien-alpha` tag pipeline. The downloadable package is called **Sovereign Intelligence** (SI), built on AienOS: the Core engine built from `aien-sovereign-core-mv` main, the seeded Omega install wizard and `omc`, and the CUDApp user-space replacement. **Front door (current since SI main `ba770327`, 2026-11-11):** `compiler/si.om` reads a typed list (`compiler/inventory.tsv`: name, RID, description; `compiler/order.tsv`: core tier, deny, lead) and a generated Radicle state (`tools/si-state.sh`: each RID's identity default branch, visibility, canonical `refs/heads/<branch>` and the landing receipts naming that head). No head or branch is typed: `si` refuses a typed head, branch or visibility and any listed project that is not public on Radicle. The README table shows Branch, Head and Receipts (receipts named `<name>-<head12>.txt` whose first line names that head) and says a head is the latest commit, not a review; the word "vetted" and `compiler/vetted.md` are gone. Its gate `compiler/gate.om` has 35 cases (typed head, private state and stale README block added). To list, drop or re-describe a project, edit `inventory.tsv` and regenerate (`compiler/README.md`); never type a head. The 2026-11-07 description that follows is history. **Front door (2026-11-07, history):** `curl -fsSL https://www.aienos.com/si | sh`. That script is generated by `compiler/si.om` (pure seeded Omega) in sovereign-intelligence (`rad:z2JJz4RDfZZxKGBLn6UhmW5p9VJQj`, https://interplane.io/drakestapleton/sovereign-intelligence) from the Radicle node's inventory and the vetted public rows of the hive Radicle registry, and is served from www.aienos.com. It pulls every vetted public project from Radicle (`rad clone` when Radicle is installed, otherwise git over HTTPS from the aienos.com Radicle seed, then a public Radicle seed) and checks each checkout against the head in its manifest; it lists nothing private, denied or unvetted. MERGED (2026-11-07, SI Radicle main `34ba03fc`): `si` also refuses, with exit 1 and nothing written, any inventory row whose RID has no vetted `main` row or whose head is not that row's head, naming the row, so a stale export cannot regenerate the front door. Its gate is `compiler/gate.om`, also pure seeded Omega: any `omc` whose sha256 is not the pin is NOT_RUN, exit 3; the committed inputs must regenerate `README.md` and `repos.tsv` byte-identically; a head mutant, a RID mutant and the stale inventory of SI `3c37e6fb` must each be refused. Superseded (2026-10-26 rule, history only): SI's only download was GitHub `aien-dev/sovereign-intelligence` (Releases "Sovereign Intelligence alpha-YYYYMMDD.N", tag `alpha-20261026.2`, `installer/install.sh`), with no script served from aienos.com and `aienos.com/install.sh` a 301 to that README; page: https://www.aienos.com/alpha/. [aien-dev/AienOS-nv](https://github.com/aien-dev/AienOS-nv) (frozen GitHub history) was AienOS's own repository and links back to SI. The name `aien-dev/aienos` is retired by GitHub and stays a redirect to `aienux`; never point a release or link there. In copy write "Sovereign Intelligence, built on AienOS", never "AienOS is now SI". Check SI's releases on Interplane before claiming a published artifact. The GPU path runs only on DGX Spark GB10 (sm_121) and nothing is QUALIFIED: the 3x physical qualification is NOT_RUN. Components testers do not receive in that bundle (for example the aienux kernel, physics-mv and research repositories) keep their own labels, which may still say pre-alpha.
29+Phase (2026-10-26): AienOS as a product entered **alpha testing** (phases: alpha testing, then beta, then full release). "Alpha" here is the product phase, not a model name and not Core's `aien-alpha` tag pipeline. The downloadable package is called **Sovereign Intelligence** (SI), built on AienOS: the Core engine built from `aien-sovereign-core-mv` main, the seeded Omega install wizard and `omc`, and the CUDApp user-space replacement. **Front door (current since SI main `ba770327`, 2026-11-11):** `compiler/si.om` reads a typed list (`compiler/inventory.tsv`: name, RID, description; `compiler/order.tsv`: core tier, deny, lead) and a generated Radicle state (`tools/si-state.sh`: each RID's identity default branch, visibility, canonical `refs/heads/<branch>` and the landing receipts naming that head). No head or branch is typed: `si` refuses a typed head, branch or visibility and any listed project that is not public on Radicle. The README table shows Branch, Head and Receipts (receipts named `<name>-<head12>.txt` whose first line names that head) and says a head is the latest commit, not a review; the word "vetted" and `compiler/vetted.md` are gone. Its gate `compiler/gate.om` has 35 cases (typed head, private state and stale README block added). To list, drop or re-describe a project, edit `inventory.tsv` and regenerate (`compiler/README.md`); never type a head. The 2026-11-07 description that follows is history. **Front door (2026-11-07, history):** `curl -fsSL https://www.aienos.com/si | sh`. That script is generated by `compiler/si.om` (pure seeded Omega) in sovereign-intelligence (`https://interplane.io/projects/sovereign-intelligence/repo.git`, https://interplane.io/drakestapleton/sovereign-intelligence) from the Radicle node's inventory and the vetted public rows of the hive Radicle registry, and is served from www.aienos.com. It pulls every vetted public project from Radicle (`rad clone` when Radicle is installed, otherwise git over HTTPS from the aienos.com Radicle seed, then a public Radicle seed) and checks each checkout against the head in its manifest; it lists nothing private, denied or unvetted. MERGED (2026-11-07, SI Radicle main `34ba03fc`): `si` also refuses, with exit 1 and nothing written, any inventory row whose RID has no vetted `main` row or whose head is not that row's head, naming the row, so a stale export cannot regenerate the front door. Its gate is `compiler/gate.om`, also pure seeded Omega: any `omc` whose sha256 is not the pin is NOT_RUN, exit 3; the committed inputs must regenerate `README.md` and `repos.tsv` byte-identically; a head mutant, a RID mutant and the stale inventory of SI `3c37e6fb` must each be refused. Superseded (2026-10-26 rule, history only): SI's only download was GitHub `aien-dev/sovereign-intelligence` (Releases "Sovereign Intelligence alpha-YYYYMMDD.N", tag `alpha-20261026.2`, `installer/install.sh`), with no script served from aienos.com and `aienos.com/install.sh` a 301 to that README; page: https://www.aienos.com/alpha/. [aien-dev/AienOS-nv](https://github.com/aien-dev/AienOS-nv) (frozen GitHub history) was AienOS's own repository and links back to SI. The name `aien-dev/aienos` is retired by GitHub and stays a redirect to `aienux`; never point a release or link there. In copy write "Sovereign Intelligence, built on AienOS", never "AienOS is now SI". Check SI's releases on Interplane before claiming a published artifact. The GPU path runs only on DGX Spark GB10 (sm_121) and nothing is QUALIFIED: the 3x physical qualification is NOT_RUN. Components testers do not receive in that bundle (for example the aienux kernel, physics-mv and research repositories) keep their own labels, which may still say pre-alpha.
3030
3131 History (2026-10-31, before the GitHub freeze): the next paragraph and its list record GitHub PRs and a `gh release list` check as they stood then. GitHub no longer describes current state; check releases and patches on Interplane and Radicle (`rad patch show <id>`).
3232
@@ -175,14 +175,14 @@ For memory, do not route to an archived repo just because its name sounds right.
175175 - [openaccel-lab](https://github.com/aien-dev/openaccel-lab) (openaccel-lab#1 merged as `6623508d7280d241ddce7538f3d5927285aa75ce`): vendor-neutral cross-backend kernel conformance and performance lab. Every workload has one float64 reference, a written tolerance and byte-identical seeded inputs for OpenCL C, Triton, HIP, CUDA and Omega entrants; controls (deliberately wrong kernels) must fail on every backend. CI rows are CPU evidence (PoCL, Triton interpreter, HIP-CPU, native AArch64 Omega; CUDA compile-only); GPU rows are labelled receipts under `receipts/`. Route new cross-vendor kernel comparisons here; single-kernel Omega checks stay in omega-kernel-template and bring-your-own-GPU cubin receipts in omega-gpu-bench. It takes source only and never inspects NVIDIA binaries. Its Omega entrant uses its own `toolchain.lock` pin (omega-mv `369dbc96da`, omc sha256 `2c824805…`), not the current omega-mv main pin (`91c83438da`, omc `2aec185d…`); a lab result speaks for the lab's pin only.
176176 - [synapse](https://github.com/aien-dev/synapse): agent-native changesets/coordination with Git/Radicle interoperability. A coordination claim is not a verification verdict.
177177 - Connected coordination repos (created 2026-10-27, parent `aien-dev/synapse@099a980`; PENDING until their first PRs merge): [synapse-claims](https://github.com/aien-dev/synapse-claims) (append-only, hash-chained, Ed25519-signed lease ledger: who holds which repo, branch, path, PR or outside target), [synapse-map](https://github.com/aien-dev/synapse-map) (org repo graph from root `.crumb` `extensions.map.parent`, `where` routing, `new` connected-repo scaffold, `check`), [synapse-pulse](https://github.com/aien-dev/synapse-pulse) (reconciles leases against GitHub through the gh guard and live sessions; one `COORD-DRIFT:` watchdog line), [synapse-mcp](https://github.com/aien-dev/synapse-mcp) (MCP stdio server that executes those CLIs) and [synapse-board](https://github.com/aien-dev/synapse-board) (generated human board, tailnet-only page). Route lease, routing and board changes there, not into synapse itself. The connected-repo rule: new components go in a new repo whose README names its parent, and the parent README lists it under "Connected repos".
178-- omega-mission (Radicle only, `rad:z6HYc7ot5JZD8FSfvU77pWdMUdru`, published 2026-11-07; its current head is on its interplane.io page; parent omega-mv; DRA-459 / P-DRA-18): first-party seeded-Omega mission plan/check/step/verify/status/resume CLI with a hash-chained journal and tiered command checks. IMPLEMENTED, HOST_TESTED (suite cases=147, mutants_caught=5, independent exact-head MERGE reviews). Queen keeps assignment and lease authority; RadPublish alone merges after independent exact-head review; publishing and merging are never worker permissions. Live dispatch and GPU operation are NOT_RUN.
178+- omega-mission (`https://interplane.io/projects/omega-mission/repo.git`, published 2026-11-07; its current head is on its interplane.io page; parent omega-mv; DRA-459 / P-DRA-18): first-party seeded-Omega mission plan/check/step/verify/status/resume CLI with a hash-chained journal and tiered command checks. IMPLEMENTED, HOST_TESTED (suite cases=147, mutants_caught=5, independent exact-head MERGE reviews). Queen keeps assignment and lease authority; RadPublish alone merges after independent exact-head review; publishing and merging are never worker permissions. Live dispatch and GPU operation are NOT_RUN.
179179 - [spark-connector](https://github.com/aien-dev/spark-connector): volunteer-verification connector; enrollment is not blanket permission to execute hardware or change trust anchors.
180180 - [agent-archive](https://github.com/aien-dev/agent-archive): conversation provenance. A transcript retains what an agent said, not proof the claim was true. Never export private transcript content by default.
181181 - [omega-harness](https://github.com/aien-dev/omega-harness): the agent skill guides themselves (the list in its `AGENTS.md` is generated from `skills/`; the `crumb-protocol` skill was retired on 2026-11-07 under DRA-97 and removed from the repository on 2026-11-11, and its guide is in git history at `bbb1e618`). Guidance, not a compiler or a gate. Its pin, tables and counts are generated from its `PIN` file; the agent whose change makes its prose untrue rewrites that prose in the same piece of work, or opens a Radicle issue naming what is stale (`omega-harness` section 6). Site-editing and aien-math working skills are kept as operator-local managed skills, not in this repository; the public rules they depend on are recorded here.
182182
183183 ### User-facing and supporting projects
184184
185-Route site content/building to [aienos.com](https://github.com/aien-dev/aienos.com) (canonical copy `rad:z3iwnx2pktbGhnfBpJSsaFcTmKgHU`), INTERPLANE publication to [interplane.io](https://github.com/aien-dev/interplane.io), and proposed native edge serving to [aien-edge](https://github.com/aien-dev/aien-edge). Since 2026-11-07 www.aienos.com is served by nginx on the Pi hub and published by the SiteHub deploy, not by GitHub Pages (see "Where the code lives"); the older catalog text saying the sites use GitHub Pages is stale for aienos.com. The edge server is still not deployed; do not infer deployment from a server implementation. Natural-language text translation (the translate.js server backed by AIEN inference) belongs to [aien-translate](https://github.com/aien-dev/aien-translate), not automatically its preserved `translate` upstream fork; it is not code translation. Use [readings-window](https://github.com/aien-dev/readings-window) for bounded read-only telemetry, [pi-register](https://github.com/aien-dev/pi-register) for service registration, and [aien-rig](https://github.com/aien-dev/aien-rig) for gaming-PC tuning. A telemetry endpoint does not authorize experiments or stopping a service. Supporting apps and forks are not core components merely because they are in the organization.
185+Route site content/building to [aienos.com](https://github.com/aien-dev/aienos.com) (canonical copy `https://interplane.io/projects/aienos.com/repo.git`), INTERPLANE publication to [interplane.io](https://github.com/aien-dev/interplane.io), and proposed native edge serving to [aien-edge](https://github.com/aien-dev/aien-edge). Since 2026-11-07 www.aienos.com is served by nginx on the Pi hub and published by the SiteHub deploy, not by GitHub Pages (see "Where the code lives"); the older catalog text saying the sites use GitHub Pages is stale for aienos.com. The edge server is still not deployed; do not infer deployment from a server implementation. Natural-language text translation (the translate.js server backed by AIEN inference) belongs to [aien-translate](https://github.com/aien-dev/aien-translate), not automatically its preserved `translate` upstream fork; it is not code translation. Use [readings-window](https://github.com/aien-dev/readings-window) for bounded read-only telemetry, [pi-register](https://github.com/aien-dev/pi-register) for service registration, and [aien-rig](https://github.com/aien-dev/aien-rig) for gaming-PC tuning. A telemetry endpoint does not authorize experiments or stopping a service. Supporting apps and forks are not core components merely because they are in the organization.
186186
187187 aienos.com pages carry no outside fonts and no unconditional third-party scripts or trackers. Since main `538a72d464548123bc663c461b64b8d6525335b7` (PR #106, merged 2026-10-26) there is exactly one consent-only exception: X pixel `rfrlz`, loaded by the first-party `public/js/allen-intro.js` only after the visitor chooses to introduce themselves to Allen (or has a saved Yes). No and Escape refuse and load nothing from X. Never embed `uwt.js` as an HTML script source, inline its bootstrap or preconnect to X hosts; the build verifier rejects outside script sources on every emitted page. The `eventIds` constant (`pageVisit`, `introducedToAllen`) stays empty until Drake supplies real IDs, and empty means no custom event; a configured event gets its own `crypto.randomUUID()` `conversion_id`. `twclid` is kept only for consenting visitors. The server Conversion API is deferred until a backend exists: there is no endpoint or token in the site. The edge-rendered `/hive/board/` stays strictly no-script and no-tracking. Before changing consent behaviour, follow the site's `AGENTS.md`: `node scripts/test-allen-intro.cjs` and a real-browser check that no X request happens before consent or after No and reload. Merged is not deployed; check the live page before saying it is live.
188188

skills/lean-verify/SKILL.md

@@ -138,6 +138,10 @@ ssh <spark> 'cd ~/workspace/lean-verify && PATH=$HOME/.elan/bin:$PATH taskset -c
138138
139139 Put new proofs under `LeanVerify/` and import them from `LeanVerify.lean` so `lake build` checks them all.
140140
141+When a proof supports a deliverable in another repository, commit a self-contained copy of the `.lean` file and
142+its model-to-system note inside that repository (for example `docs/proofs/`) so a fresh-clone reviewer can run
143+`lean` directly on it without depending on an external workspace.
144+
141145 ## Repair
142146
143147 - Server does not start: `ssh <spark> ~/workspace/lean-verify/.mcp-venv/bin/lean-lsp-mcp --version` must print `lean-lsp-mcp 0.33.0`. Reinstall the pinned set with `python3 -m venv .mcp-venv && .mcp-venv/bin/pip install -r .mcp-venv-freeze.txt` (network needed once).

skills/nvidia-gb10/SKILL.md

new file mode 100644
@@ -0,0 +1,369 @@
1+---
2+name: nvidia-gb10
3+description: Load before touching the NVIDIA GPU in Drake's DGX Spark (the GB10 chip). Covers running or benchmarking a model on the Spark GPU, the shared model service, the chip lock and timing windows, NVIDIA driver debugging, writing kernels for the chip, and the mistakes already made there.
4+---
5+
6+# NVIDIA GB10 (the Spark's GPU): how to work on it without repeating old mistakes
7+
8+Researched 2026-11-14 (Spark clock 2026-11-15T01:54Z) from our own records, plus NVIDIA's documentation fetched
9+through Context7 the same day (section 12). Every line carries a source. Sources:
10+`RULES` = the agent instruction file installed on the Spark from this repository's `rules/rules.txt` plus the
11+machine's local overlay (generated, binding, newer than anything here);
12+`BOARD <time>` = a line of `HANDOFFS/BOARD.md` on the Spark; `Lnnn` = an entry of `ledger list all` on the Spark;
13+`cortex <id>` = `cortex_get <id>`; `TEAM-MEMORY:n` = line n of `HANDOFFS/TEAM-MEMORY.md`.
14+Machine-local places are named, not spelled out; the Spark's local configuration says where each one is:
15+`HANDOFFS` = the team's shared handoff folder (board, team memory, evidence); `BIN` = the operator's local tool
16+folder; `STATE` = the operator's local state folder; `DOCS` = the offline vendor manuals; `YARDSTICKS` = the
17+timing windows and receipts folder; `MODEL_PORT` = the local port of the shared model service.
18+The Spark's local overlay of RULES spells out the real folders and port that `HANDOFFS`, `BIN`, `STATE`, `DOCS` and
19+`MODEL_PORT` stand for; the header of
20+`spark-receipt` names `YARDSTICKS`. Substitute the real values from there before running a command below.
21+Numbers are quoted from those records with their dates. Nothing here was re-measured.
22+If a record and this file disagree, the record wins. Section 11 lists what the records themselves disagree on.
23+
24+## 1. What the hardware is
25+
26+- NVIDIA GB10 Grace Blackwell superchip: Blackwell GPU, compute capability SM 12.1 (`sm_121`, not datacenter
27+ Blackwell), with 10 Cortex-X925 + 10 Cortex-A725 cores. [Spark skill `spark-hardware-manual` section 1]
28+- PCI device 10de:2e12 at 000f:01:00.0. `nvidia-smi` names it "NVIDIA GB10", driver 580.173.02
29+ (open kernel modules). [GPUID.TXT below; `nvidia-smi --query-gpu=name,driver_version` read 2026-11-15T01:54Z]
30+- The chip's own identity registers say GB20B, not GB10B: BOOT_0 0x1bb000a1, BOOT_42 0x1bba1000 = architecture
31+ 0x1B (GB200), implementation 0xB. Read on bare metal 2026-11-12T05:45Z.
32+ [`HANDOFFS/hive/finalize/spark-boot/result-20261112T054515Z/GPUID.TXT`; L1267; cortex ca5df793-54f4-4bdc-9d43-36e91c4750ba]
33+- Unified memory: one LPDDR5x pool for CPU and GPU, no separate GPU memory. `nvidia-smi` shows memory total as
34+ N/A; that is normal here. Linux MemTotal is 127598752 kB = 121.69 GiB (aien-calc, not stored). Marketing size
35+ is 128 GB. [`spark-hardware-manual` section 1; `/proc/meminfo` read 2026-11-15T01:54Z]
36+- Two dies. Memory controllers sit on the CPU die, so every GPU byte to or from DRAM crosses NVLink-C2C
37+ (345 GB/s per direction per `nvidia-smi c2c -s`). GPU L2 is 24 MiB. [TEAM-MEMORY:5; whitepaper `DOCS/gb10/`]
38+- Memory bandwidth: 273 GB/s is derived (8533 MT/s x 256 bit), aggregate for reads and writes. Measured GPU DRAM
39+ read ceiling 236.9 GB/s on 2026-10-25. [cortex omp-learn-ef4477f648e01652]
40+- 48 SMs, 1536 threads per SM, 65,536 registers per SM, 100 KiB shared memory per SM carvable (measured
41+ 2026-10-25). A launch of 1024-thread CTAs fits one CTA per SM, so one wave is 48 CTAs.
42+ [cortex omp-learn-ef4477f648e01652; TEAM-MEMORY:16]
43+- SM clock: idle 208 MHz, 2548 MHz observed under a 35B load (2026-10-25); 2444 MHz seen under a sustained full-GPU load
44+ (2026-11-08). `nvidia-smi` gives memory clock and power limit as N/A. [same cortex id; BOARD 2026-11-08T23:37:31Z]
45+- Vendor documents are kept offline in `DOCS` (GB10 whitepaper and Hot Chips deck in `DOCS/gb10/`), searched
46+ with `doc-grep` / `doc-page`. The Blackwell Tuning Guide is datacenter-first: only its CC 12.x lines apply.
47+ Doc traps: "8 TB/s HBM3E" is GB300 and "126 MB L2" is GB200. [TEAM-MEMORY:18; cortex omp-learn-ef4477f648e01652]
48+
49+## 2. Binding rules that govern GPU use (read RULES; this is only an index)
50+
51+- "Shared model on MODEL_PORT: claim time on the board" (Drake, 2026-11-14). See section 4.
52+- "Play well together" (2026-10-24): look first, say on the board what you run and for how long, use an idle chip
53+ without asking anyone, step aside when asked, never kill or block a coworker's job. Never ask Drake for
54+ permission to use an idle shared resource.
55+- "Debugging a machine" (2026-10-03): read the manufacturer's documentation before experimenting. A hook
56+ (the harness hook `manual-guard.sh`) blocks chip and driver edits and launches until
57+ `docs-read REPO "SOURCE" "QUOTED LINE or DOCS SILENT on X"` is recorded (valid 8 h). Load the Spark skills
58+ `spark-hardware-manual` and `investigate` first.
59+- "Hardware first" (2026-10-24): reason from the chip, memory movement and measured bottlenecks; new code is Omega.
60+- "Build our own, close to the metal" (2026-10-16): outside tools are research or a comparison point, never the
61+ plan. Report speed against the hardware ceiling, not only the old baseline.
62+- "Mathematics goes through Wolfram and the calculator" and "No estimates without a receipt": every figure comes
63+ from `aien-calc eval` (cite `calc:<id>`) or Wolfram; otherwise write "not measured".
64+- "Harness lock": never swap which model serves on MODEL_PORT unless its four conditions hold (Drake's words from
65+ this session quoted on the board, replacement proven, undo written first, plain note to Drake).
66+- "Spark is for development, not serving" (Drake, 2026-11-14): never leave any model running when you are not
67+ using it; bring yours up and down with a trap; no model service enabled at boot.
68+ [`HANDOFFS/RULE-spark-no-idle-models.md`; BOARD 2026-11-14T13:36:01Z]
69+- Never kill, stop or restart another lane's job; coordinate a restart with that lane on the board (any agent
70+ may take the coordinator role). [RULES]
71+
72+## 3. Before you touch the chip
73+
74+1. Look: `spark-window status`, `nvidia-smi --query-compute-apps=pid,name,used_memory --format=csv`,
75+ `ps`, and the last 40 lines of `HANDOFFS/BOARD.md`. [RULES "Play well together"]
76+ `BOARD.md` is about 3 MB: always `tail` it or `grep ... | cut -c1-600`.
77+2. If a current CLAIM, START or RESERVED line names the chip or MODEL_PORT, wait or settle it on the board.
78+3. Post one board line before you start (what, how long, how to reach or pause you) and a RELEASE or DONE line
79+ after: `echo "$(date -u +%FT%H:%MZ) CLAIM <lane> to all: ..." >> HANDOFFS/BOARD.md`. [RULES "Team board"]
80+4. The chip lock is the file `/tmp/aien-gb10.lock` (flock). Take it through `spark-window`, not by hand, when
81+ timing. `spark-window locks gb10` shows holders and queue. [`BIN/spark-window` header]
82+5. Check memory before any load (section 5).
83+6. CPU-side work during someone's timing window: run under the queen pool locks
84+ (`HANDOFFS/hive/queen/pool-*.lock`, flock), `taskset`, `nice 10`, and post pid/pgid so the timing lane can
85+ SIGSTOP and SIGCONT you. [cortex omp-learn-0bcfaab846d0e636]
86+
87+`spark-window` usage (from its header, read 2026-11-14; do not paraphrase from memory, run `sed -n 1,60p` on it):
88+- `spark-window open NAME [--ledger ID] [--lease MIN] [--gb10 exclusive|shared|none] [--quiet exclusive|none] [--wait]`
89+- `spark-window run CMD...` sets `SPARK_WINDOW`, `SPARK_WINDOW_DIR` and, if it holds the chip, `AIEN_GB10_LOCK_HELD=1`.
90+- `spark-window close [ID]`, `status`, `id`, `locks [gb10|quiet]`.
91+- Always capture the window id and close with an `EXIT` trap (`WID=$(spark-window open <name> --lease 15 --gb10 exclusive --quiet exclusive | tail -n 1); trap 'spark-window close "$WID" >/dev/null 2>&1 || true' EXIT`). `--lease` takes integer minutes (`15`, not `15m`) and `NAME` is positional.
92+- **Verify CLI flags before passing `--sim` to any GPU test binary**: some tests (e.g. `gpu_qmma_probe_test`) only support `--host-only` and treat unknown flags as a live-GPU run. Check `main()` or `--help` first so a host check never opens the GB10 outside a window.
93+- One window at a time. Exclusive windows are for timing receipts only and last at most 20 min; an overrun gets
94+ NO VERDICT. `--quiet none` is for value checks and must never produce a number reported as a speed.
95+- `open` waits for a quiet machine (gives up after 2700 s by default: load at most 10, at most 3 quiet-lock
96+ jobs), then waits for the chip lock with no timeout. [cortex omp-learn-923b7b170bf8244f, read from source 2026-10-30]
97+- `STATE/aien-coordinator/CHIP-RESERVED` is a courtesy note that spark-window prints; it is not a gate.
98+ [RULES; TEAM-MEMORY:11]
99+
100+Automatic actors you will meet:
101+- `chip-watchdog` (`BIN/chip-watchdog`, seen running on 2026-11-15): every 5 s it checks the
102+ exclusive holder of `/tmp/aien-gb10.lock`. If that process tree used no CPU and 0 % GPU for 45 s
103+ (`CHIP_WATCHDOG_WINDOW`), it sends SIGTERM then SIGKILL and posts a board line. Holding the lock through an
104+ idle baseline gets you killed (BOARD 2026-11-14T15:20:25Z and 15:22:10Z). A client that holds the lock for a
105+ detached container is killed at about 45 s while the container keeps running.
106+ [script source; cortex omp-learn-b2a3151da06520eb]
107+- TracePause (a loop run from another session, seen 2026-11-15): SIGSTOPs other lanes' CPU jobs during a timing window and
108+ SIGCONTs them after. A stopped job shows rc 147. Check the board for an open PAUSE line before starting jobs.
109+ [BOARD 2026-11-15T00:05:26Z, 00:06:50Z; TEAM-MEMORY:27]
110+
111+## 4. The shared model on port MODEL_PORT
112+
113+- What it is (2026-11-14): `aien-serve-http --engine omega`, model `qwen3.6-35b-a3b-fp8` (the "35B"), started by the
114+ systemd user unit `motor-revival.service` (L1015). The unit checks the sha256 of the binary and then of the
115+ weights before it starts the server; read its working directory, environment and command line from
116+ `systemctl --user cat motor-revival.service` (read 2026-11-15), not from a copy. On 2026-11-15 the unit pinned
117+ the server to two X925 cores inside `quiet-measure`'s set (section 6): check its `CPUAffinity` before timing
118+ beside a running server.
119+- The unit is disabled and normally inactive since 2026-11-14. [`HANDOFFS/RULE-spark-no-idle-models.md`; `is-enabled` = disabled]
120+- Check: `nvidia-smi --query-compute-apps=pid,name,used_memory --format=csv`, `spark-window locks gb10`, and
121+ `curl -s localhost:MODEL_PORT/health` (reported fields: status, model, engine, concurrency, in_flight).
122+ [BOARD 2026-11-14T10:04:23Z; cortex omp-learn-a9344da0159c83f9]
123+- Start (after a board CLAIM): `systemctl --user start motor-revival.service`. Stop: `systemctl --user stop
124+ motor-revival.service`; wrap both in a script with a trap so the model goes down on every exit path.
125+ [BOARD 2026-11-13T20:26:56Z, 2026-11-14T13:40:52Z]
126+- The rule (Drake, 2026-11-14): the model may be shut down and left DOWN; nobody has to put it back. Do not stop
127+ it under a lane with a current claim. Post a quiet-time or test claim, then a RELEASE line. [RULES]
128+- While it runs it uses about 56 GiB of the shared pool (56089 MiB, nvidia-smi 2026-11-15T01:54Z) and, as started
129+ by the unit, holds `/tmp/aien-gb10.lock` exclusively for its whole life. Any other chip job then waits or
130+ reports NOT_RUN (L1072). [`spark-window status` 2026-11-15T01:54Z]
131+- Do not wrap a request to the server in `flock /tmp/aien-gb10.lock`: the server takes that lock itself and
132+ answers 503. Send when `flock -n /tmp/aien-gb10.lock true` succeeds and retry only on 503. Its default is
133+ top_k 20; send top_k 0 for greedy work. [cortex d4e0f1ee-96de-4c63-be17-aca1d032c712, 2026-10-20, 27B build]
134+- A second large model never fits beside it: on 2026-10-25T02:47Z a second 35B load passed its MemAvailable check
135+ and the kernel OOM killer took the live server. [cortex omp-learn-17961307b17bbeac]
136+- For A/B timing of serving builds use a private port, not MODEL_PORT, so other clients do not contaminate the arms.
137+ Test-server ports have owners (TEAM-MEMORY:2). [cortex omp-learn-a9344da0159c83f9]
138+- The server refuses requests that carry tools ("tool calling is not supported"). [L1150]
139+- If you must kill a server by hand, select the pid by `--port`, not by a pgrep pattern (a pattern once matched
140+ the caller's own shell). [cortex omp-learn-465866d88240ca4b]
141+
142+## 5. Memory: one pool, and MemAvailable lies
143+
144+- GPU allocations come out of host RAM. A device upload plus host buffers next to a resident server triggered the
145+ OOM killer on 2026-10-18 (it killed the live server). Guard used since: refuse unless MemAvailable is at least
146+ the upload size + 12 GiB. [cortex 0d7da592-3ac5-41f7-b8d4-5559a1044163]
147+- MemAvailable counts mmapped model file pages as reclaimable while they are in use. Admission should use
148+ MemAvailable minus Mapped. [cortex omp-learn-17961307b17bbeac; `BIN/q36-extra` header v4]
149+- Wait for memory first, then take the chip lock, then check memory again; if short, drop the lock and loop.
150+ Never wait for memory while holding the lock. [cortex 19998b69-4c84-4c7d-ad44-0b0d771249e9]
151+- Leave about 10 s (or a readiness check) between one chip process exiting and the next starting: RM frees memory
152+ late and the next process dies with NV_ERR_NO_MEMORY. [cortex 9eb3320d-52bb-4e2d-b331-7b3a7b0e520b]
153+
154+## 6. Measuring speed correctly
155+
156+- Value checks (tokens, logits, cosines) may share the chip. Only timing needs it alone, for as short as the
157+ measurement needs. [RULES "Play well together"; spark-window header, L405 policy]
158+- A speed number counts only from an exclusive window on a quiet machine:
159+ `spark-window open NAME --wait`, then `spark-window run spark-receipt NAME -- CMD`, then `spark-window close`.
160+ `quiet-measure CMD...` pins CMD to the X925 cores (5-9,15-19) under the quiet lock.
161+ [headers of `spark-window`, `spark-receipt`, `quiet-measure`]
162+- What invalidates a number: the window overran its lease (NO VERDICT); it ran with `--quiet none`; builds ran
163+ beside it (label it "shared machine"); other clients hit the same server; the model on MODEL_PORT was generating.
164+ A contaminated baseline was discarded on 2026-10-24 when untouched kernels moved 3.86 to 4.02 ms.
165+ [spark-window header; cortex 9eb3320d-52bb-4e2d-b331-7b3a7b0e520b]
166+- Budget a sweep against the lease deadline (mtime of `$SPARK_WINDOW_DIR/held` + lease), not your own start time;
167+ wrap each run in `timeout`; log skipped cells NOT_RUN. [cortex omp-learn-923b7b170bf8244f]
168+- `GraphStats.chip_ns` is host-clock time from submit to marker seen (50 us poll after a 2000 us spin), not GPU
169+ time. Use per-launch device stamps for a true split. [cortex omp-learn-f5a39ecbf8ef75f3, 2026-10-31]
170+- An instrument's off-switch control must also reject stale data from an earlier run (stamps once came back
171+ "valid" with stamping off). [cortex ec9876e5-643e-4558-9aa5-8b0b0589664f]
172+- The engine flushes GPU L2 at launch end, so a GPU-cached "control" read after completion proves nothing.
173+ [TEAM-MEMORY:15]
174+- Compute bytes-per-token floors with a stated bandwidth and say which: 273 GB/s nominal or 236.9 GB/s measured.
175+ Before tuning a grid constant: waves = ceil(CTAs / 48). About 22 us per launch is fixed cost, so fewer
176+ launches beat better grids. [TEAM-MEMORY:9, 16, 24; cortex omp-learn-ef4477f648e01652]
177+- Head-to-head runs: freeze the protocol before any timed number, check correctness first, report prompt
178+ processing and generation separately, record driver, clocks, power state and load per session, and disclose
179+ which arms load NVIDIA user-space libraries. Model: `HANDOFFS/H2H9B/PROTOCOL.md` (v3, 2026-10-27).
180+- Drake on comparisons (2026-11-13): if ours does not beat theirs, assign a root cause and corrective action,
181+ fix, retest. [cortex omp-learn-3d51cac320c021a3]
182+- Receipts: `spark-receipt` writes `YARDSTICKS/receipts/<date>-<NAME>.json` (energy, GPU W, load, MemAvailable,
183+ lock holders, NVRM error delta, exit code, git head). Wall energy under about 20 J is noise.
184+
185+## 7. Known traps (symptom; cause; fix; source)
186+
187+1. Host-polled completion marker arrives about 1.06 s late or never (`marker2_wait word=0x0`); the marker memory
188+ was GPU-cacheable system memory, which NVIDIA's `nvos.h` says is not coherent with CPU mappings; allocate
189+ poll and marker memory with `nvrm_alloc_gpu_uncached`. [cortex d03a999a-1d55-4875-83d1-ba277daae049, a4f2b40e-5327-410c-8763-d38cac94202b]
190+2. GPU re-executes old commands or never reports the next job; CPU-rewritten, GPU-read memory (GPFIFO/USERD,
191+ pushbuffers, pools) was GPU-cacheable; make it GPU-uncached, or use NVIDIA's flush and invalidate sequence.
192+ Regression test: physics `nvrm/submission_visibility_gates.c`. [cortex d116ecf9-6d98-439e-880b-8a721d77cf46]
193+3. Decode slow (GEMV 153 of 273 GB/s) after "uncache everything"; chip-only intermediates were uncached, so every
194+ read went to DRAM; keep host-touched regions uncached and chip-only intermediates cached (153 to about
195+ 207 GB/s, 2026-10-19). Caching weights gave no gain. [cortex 015433e3-f08c-43f6-a666-adf4fd1ca630]
196+4. Resident GPU program unreliable; fix was four rules: scoreboard every control word, uncached poll memory,
197+ regcount >= used + 2 (top 2 registers reserved), MEMBAR.SC.SYS before the tail store.
198+ [cortex 1d867912-a365-4af3-948d-74055e7bfef1]
199+5. `NV_ERR_TIMEOUT ... STOP_CHANNEL` jams (158 on 2026-09-28); our own tests were killed mid-run and the resident
200+ seat kept spinning; never kill, force-stop or `timeout` a chip test with a resident seat, run it detached,
201+ one GPU test at a time. [cortex d601e9b6-c4e7-4076-b2f9-9c6af933c604]
202+6. New GPU client fails at channel create with status 81 (0x51 NV_ERR_NO_MEMORY) while tens of GB are free; the
203+ driver wants one contiguous block and `/proc/buddyinfo` shows 0 free order-9 blocks; read MemFree and
204+ buddyinfo, not MemAvailable. What cleared it on 2026-11-12, run with root privileges: `sync`, then
205+ `sysctl vm.drop_caches=2`, then `sysctl vm.compact_memory=1` (see section 11 before using).
206+ [cortex 13b21036-23ea-497f-956a-9b12f476ead4, 45a41b22-bf26-4013-848f-1c2fb21156a9]
207+7. A gate inside the judge sat 83 minutes in `flock -x`; it re-opened the lock its own parent held; use physics
208+ `tests/gb10_lock.sh` (walks ancestors), honour `AIEN_GB10_LOCK_HELD=1`; to unstick, kill only the waiting
209+ flock, never the holder. [cortex f92b85a0-7c59-4ad6-b12f-14b9af1401f2]
210+8. Server answers 503 "GPU lock held" forever while sweeps run; its non-blocking poll never wins against queued
211+ flock(1) waiters; queued blocking acquire fixed the 27B door (2026-10-19). [cortex 53b7935d-e09a-404e-872b-bf92950945c1]
212+9. Builds stall for 25 min behind a measurement; `quiet-measure flock /tmp/aien-gb10.lock CMD` took the quiet
213+ lock first then queued for the chip; lock order is chip first, then quiet. The fix was recorded as not yet
214+ installed. [cortex 7c23b9f3-1cf9-4ebe-a1ad-07da3d83c94c]
215+10. Kernel refuses or misbehaves above 32 KiB shared memory; QMD word 36 was a constant; it is now written per
216+ launch, code cap 65536 bytes. Treat any such constant as unproven until a chip gate has run above it.
217+ [cortex e10e9c85-a431-4f9b-81cc-8089b1c247ac, omp-learn-6ef9994f2b45d5ef]
218+11. Hand-written cubin rejected by `cuModuleLoadData` (error 200) on sm_121; it lacks the `.nv.capmerc` and
219+ `.nv.merc.*` sections. [cortex omp-learn-73e93cda4e7f6b89, 2026-10-23]
220+12. A "native" harness secretly linked libcuda (M16, failed audit); prove independence with `ldd`, `nm -u` and
221+ `/proc/PID/maps`. [cortex 77d59ce6-40d7-4991-8e6a-f72cd34f2340]
222+13. Outputs left unwritten after completion was signalled (about 1 in 2,800 launches, marked UNVERIFIED in the
223+ record); a 200 ms host delay cut 781/6000 to 2/6000; full cause unresolved. [cortex a667cbb7-dd17-44f5-a7ce-085d3d3ab9f7]
224+14. Power: on 2026-11-08 a sustained full-GPU load hit an 85 W hard stop 3 times in 5 min (peak 87 W); notes from that workload's authors say
225+ some Sparks power off at sustained 88 to 92 W. Changing clocks (`nvidia-smi -lgc`) is Drake's call; the
226+ standing brief was stock clocks and power limits only. [BOARD 2026-11-08T23:37:31Z, 2026-11-09T01:46:45Z]
227+15. NVRM "Out of memory" retry lines without an Xid can appear in the kernel log on a run that still finishes
228+ rc 0 with correct numbers. [BOARD 2026-11-14T19:33:26Z]
229+16. A long job launched over ssh hangs; use `nohup setsid ... </dev/null >log 2>&1 &`.
230+ [cortex omp-learn-0bcfaab846d0e636]
231+17. Own-driver (`aien_gpu.ko`) Stage B stops immediately on a warm Spark (`mmio_us=230`, `polls=0,0,0,0`,
232+ `gsp_mb0=0x80000000`) and reloading `nvidia.ko` then fails (`ksec2PollForCanSend_IMPL: Timed out waiting for
233+ SEC2 command queue to be empty`, `0x110094=0xbadf4100`); unloading `nvidia.ko` leaves GSP suspended
234+ (`LIBOS_INTERRUPT_PROCESSOR_SUSPENDED`), and SEC2 only cold-starts GSP once per reset; never hot-swap
235+ `aien_gpu` onto a warm `nvidia`-booted Spark — own-driver GSP boot requires a cold boot with `nvidia`
236+ blacklisted (Window 0) and explicit operator approval for the restart. Also stop `aien-run-spark-sensors.service`
237+ beside `nvidia-persistenced` if unloading `nvidia*`, or `rmmod` returns `EBUSY`.
238+ [BOARD 2026-11-18T23:08:51Z, 23:17:45Z, 23:18:38Z]
239+18. Sysfs PCIe FLR (`echo 1 > /sys/bus/pci/devices/000f:01:00.0/reset`) drops SSH and forces a full SoC reboot
240+ (~60 s) instead of resetting only the GPU; `PDB_PROP_GPU_TRIGGER_PCIE_FLR` is `GB10B`-only (`NV_FALSE` on
241+ `GB20B`, `open-gpu-kernel-modules 580.173.02` `g_gpu_nvoc.c`); never use sysfs FLR as a non-reboot recovery or
242+ hand-back step on the Spark. [BOARD 2026-11-18T23:17:45Z, 23:42:35Z]
243+19. Driver patches, built `.ko` modules, staged GSP packages, and live logs disappear after a GPU swap/reboot;
244+ they were staged under `/tmp`; always stage driver checkouts, built modules, firmware packages, `.om` binaries,
245+ and checksum manifests in persistent storage and write live logs into `HANDOFFS` before any module swap or
246+ reboot. [BOARD 2026-11-18T23:17:45Z]
247+20. Cold-boot Stage B fails at `stage=7` (`polls=0,0,0,1`, `hwcfg2=0xbadf4100`, `gsp_mb0=0xbadf4100`) even with
248+ `NO_NVIDIA_LOADED`; the driver used `GB10B` HALs (`SEC2 MAILBOX0` poll, `COTv1`, `GB10B` images,
249+ `.fwsignature_gb10y`) on a `GB20B` die (`BOOT_42=0x1bba1000`), and step 8 mistook PRI target-mask lockdown
250+ (`0xbadf4100`) for lockdown release; port every HAL to `GB20B` (see `./references/gb20b-gsp-boot.md`) before
251+ spending a Window 0 reboot. [HANDOFFS/L332/window0-20261118T234217Z; BOARD 2026-11-18T23:44:02Z, 23:51Z]
252+
253+## 8. What we do not use
254+
255+- No CUDA toolkit in our path: no CUDA C++, nvcc, cuBLAS/cuDNN, CUDA runtime (Drake, 2026-09-23).
256+ [operator memory note `decision-leave-max.md`, `founding-principle-metal-first.md`]
257+- No new C/CUDA tools; new code is Omega (2026-10-24). [TEAM-MEMORY:4; RULES]
258+- No MAX for new model paths (2026-09-23). No Python as a structural part; Python is allowed for outside tools,
259+ references and measuring instruments (2026-10-29). [`decision-leave-max.md`; RULES "Python boundary"]
260+- Still used, and say so: NVIDIA's open kernel modules 580.173.02 (nvidia, nvidia-uvm) and NVIDIA's signed GSP
261+ firmware. "No CUDA" does not mean "no driver". Never claim "no NVIDIA code at all".
262+ [cortex omp-learn-6ef9994f2b45d5ef, omp-learn-b654f9a92d110794; operator memory note `sovereignty-no-outside-deps.md`]
263+- Own kernel driver work (L332 / `aien-gpu`) as of 2026-11-18: Stage A (`aien_gpu.ko` PCI bind, `BOOT_0=0x1bb000a1`,
264+ `BOOT_42=0x1bba1000`, 7-unit Omega self-test, firmware hash check) and pure-`.om` `doctor` passed on live Spark
265+ silicon (`HANDOFFS/L332/window0-20261118T234217Z`), while Stage B (`GB20B` SEC2/GSP boot) and Stage C remain
266+ `HOST_TESTED` + `QEMU` (`hardware=NOT_RUN` pending a reviewed Window 0 cold boot).
267+- NVIDIA user-space CUDA appears only as the comparison arm in head-to-heads. [`HANDOFFS/H2H9B/PROTOCOL.md`]
268+
269+## 9. Where evidence goes
270+
271+- Windows: `YARDSTICKS/windows/<id>/open.json`, `close.json`. Receipts: `YARDSTICKS/receipts/`.
272+- Numbers: `aien-calc eval "<expr>"` (cite `calc:<id>`); `aien-calc export` copies a receipt next to evidence.
273+- Facts others need: one BOARD line; lasting facts one line in `HANDOFFS/TEAM-MEMORY.md`; progress in the ledger
274+ (`ledger note ID "TEXT"`, `ledger done ID "EVIDENCE"`).
275+- Lessons: Cortex `aien-lessons` (Symptom / Root cause / Fix / Verified). Hardware investigations follow the
276+ `investigate` skill. [RULES]
277+
278+## 10. What needs Drake
279+
280+- Swapping the model that serves on MODEL_PORT, or changing a harness. [RULES "Harness lock"]
281+- Changing GPU clocks or power limits. [BOARD 2026-11-09T00:28:25Z]
282+- Unbinding the GPU from nvidia.ko, a VFIO bind, or any device write outside the driver (stops every GPU user;
283+ recorded as needing Drake's go). Rebooting the Spark or booting it natively. The signed boot chain is never
284+ written. Stopping another lane's job is not approval to restart the Spark, and sysfs PCIe FLR on `000f:01:00.0`
285+ reboots the whole SoC (trap 18): both require Drake's explicit go for a planned restart.
286+ [cortex omp-learn-b654f9a92d110794, omp-learn-8e437914757898e2; BOARD 2026-11-18T23:18:38Z; operator memory note `aienos-native-boot-status.md`]
287+- Re-enabling any model service at boot. [`HANDOFFS/RULE-spark-no-idle-models.md`]
288+- Not Drake: using an idle chip, stopping the idle shared model under a board claim. [RULES]
289+
290+## 11. Where the records disagree or are unconfirmed
291+
292+- Chip name: bare-metal `GPUID.TXT` (2026-11-12) and live `aien_gpu.ko` Stage A (2026-11-18) both confirmed
293+ `BOOT_0=0x1bb000a1`, `BOOT_42=0x1bba1000` (`GB20B`, arch `0x1B`, impl `0xB`; `g_hal_archimpl.h:96`). Driver boot
294+ HALs must target `GB20B`, not `GB10B` (section 13). Whether NVIDIA UVM's GB10B sticky-L2 quirk applies remains
295+ INFERRED, not measured (L1267); the cache traps in section 7 were measured on this chip either way.
296+- Which lock the MODEL_PORT server holds: chip-watchdog's header says the live server uses its own lock, and older
297+ start recipes set `AIEN_SERVE_GPU_LOCK=/tmp/aien-serve-MODEL_PORT.lock`; the motor-revival unit does not set it, and
298+ on 2026-11-15T01:54Z the server held `/tmp/aien-gb10.lock` exclusively. Whether the watchdog would kill an
299+ idle server holding that lock was not confirmed.
300+- Is the 35B retired? `q36-extra` says the 35B was retired by Drake on 2026-11-06 and MODEL_PORT is reserved for the
301+ own Omega LLM; the board shows the 35B started on MODEL_PORT by motor-revival through 2026-11-15.
302+- How the model is started may change: a lane is moving user units from systemd to `aien-supervise`
303+ (BOARD 2026-11-15T01:52Z). Check the board before trusting the `systemctl` commands in section 4.
304+- `drop_caches`: the coordinator allowed only `=1`, "never 2 or 3" (BOARD 2026-11-10T13:20:13Z); two days later
305+ only `=2` cleared the fragmentation (BOARD 2026-11-12T03:30:05Z). No later ruling found. Post on the board first.
306+- Bandwidth ceiling: TEAM-MEMORY:9 computes ceilings at 273 GB/s; the 2026-10-25 measurement says use 236.9.
307+- Max SM clock: one research brief quotes 3003 MHz from nvidia-smi (cortex bf03fc8c-0ece-40ab-baeb-c3caeaecc234);
308+ observed under load were 2548 and 2444 MHz.
309+- Shared memory per SM: 100 KiB carvable (measured), "99 KB" in L293, code cap 65536 bytes.
310+- Server memory while serving: about 47 GB resident (2026-10-25), 56089 MiB by nvidia-smi (2026-11-15), about
311+ 62 GB RSS for the earlier 30B (2026-10-31). Different builds and context sizes; measure, do not assume.
312+- Not found in the records searched: a written list of everything that invalidates a timing; a documented power
313+ limit for this unit; a tool named `motor-revival` (it is a unit name and a ledger owner, not a command);
314+ any `LESSON-*.md` about the GPU (the only one is the harness wipe).
315+
316+## 12. NVIDIA's own documentation (fetch it, never recall it)
317+
318+Do not answer a vendor question from memory. Fetch the current page through Context7 (MCP server `context7`;
319+without the tools: `curl -G https://context7.com/api/v1/<id> --data-urlencode type=txt --data-urlencode topic=...`)
320+and quote the source URL. Library ids checked 2026-11-14:
321+- `/websites/nvidia_dgx_dgx-spark` (docs.nvidia.com/dgx/dgx-spark: user guide, known issues, updates, recovery)
322+- `/nvidia/open-gpu-kernel-modules` (the driver source we run; ioctl, UVM and error notes)
323+- `/websites/build_nvidia_spark` (NVIDIA's Spark playbooks; all CUDA-stack, comparison arm only)
324+The offline copies in `DOCS` (section 1) and the docs-read hook (section 2) still apply on the Spark.
325+
326+What those pages say that matters here (fetched 2026-11-14, each from the URL named):
327+- Memory reporting on this unified-memory machine is a documented known issue. NVIDIA publishes a C routine that
328+ estimates allocatable memory from `/proc/meminfo`: MemAvailable plus free swap, adjusted for hugetlbfs pages,
329+ which cannot be swapped. [docs.nvidia.com/dgx/dgx-spark/known-issues.html] This Spark has no swap (0 B, read
330+ 2026-11-14), and our own records add that mapped model pages must be subtracted (section 5).
331+- NVIDIA's documented workaround for memory-reporting problems is `sudo sh -c 'sync; echo 3 > /proc/sys/vm/drop_caches'`
332+ and then restarting the application. [same page] This is a third position beside the two in section 11
333+ ("=1 only" and "=2 worked"). It drops caches for every lane on the machine: post on the board first.
334+- Update path: `sudo apt update && sudo apt dist-upgrade`, `sudo fwupdmgr refresh`, `sudo fwupdmgr upgrade`,
335+ reboot. [docs.nvidia.com/dgx/dgx-spark/os-and-component-update.html] An update can change the driver
336+ (580.173.02 on 2026-11-15) and firmware under every measurement, and it reboots the machine: needs Drake.
337+- Firmware setup for Secure Boot changes is reached with `sudo systemctl reboot --firmware-setup`.
338+ [docs.nvidia.com/dgx/dgx-spark/dgx-spark.pdf] Secure Boot state is tied to the native-boot work: needs Drake.
339+- Device nodes: `ls /dev/nvidia*` is NVIDIA's first check when the GPU is not reachable. [same PDF]
340+- NVIDIA's container examples for this machine use CUDA 13 images (`nvcr.io/nvidia/cuda:13.0.1-devel-ubuntu24.04`).
341+ [docs.nvidia.com/dgx/dgx-spark/ngc.html] For us that is the comparison arm only (section 8).
342+- Driver recovery in the open-module notes is unload and reload: `rmmod nvidia_uvm nvidia_drm nvidia`, then
343+ `modprobe nvidia`, `modprobe nvidia_uvm`. [github.com/nvidia/open-gpu-kernel-modules, _autodocs/errors.md]
344+ That stops every GPU user on the Spark: Drake's go, a board line first, and never under a resident seat (trap 5).
345+- The user-space control interface named there: `NV_ESC_CARD_INFO`, `NV_ESC_REGISTER_FD`, `NV_ESC_ALLOC_OS_EVENT`,
346+ `NV_ESC_CHECK_VERSION_STR`, `NV_ESC_IOCTL_XFER_CMD`, `NV_ESC_EXPORT_TO_DMABUF_FD`, `NV_ESC_WAIT_OPEN_COMPLETE`
347+ on `/dev/nvidia0`. [same repo, _autodocs/QUICK_REFERENCE.md] The `_autodocs` pages are generated summaries;
348+ for anything our driver code depends on, read the header in the pinned source instead.
349+
350+## 13. Own-driver (aien-gpu) GB20B boot checklist
351+
352+Before editing `aien-gpu` or scheduling a Window 0 cold boot on the Spark, read
353+[gb20b-gsp-boot.md](./references/gb20b-gsp-boot.md). For the 4x-verified bit-for-bit structure of
354+`gsp_ga10x.bin` (`580.173.02`) and firmware study hygiene rules (`0700` local-only, zero repo contamination),
355+read [gsp-firmware-580-173-02.md](./references/gsp-firmware-580-173-02.md). Summary:
356+
357+- **Check prior work first:** prior pure-Omega GB20B SEC2/COTv2 work (`ogd-qual-gsp` / `omega-gpu-driver`
358+ `GB20B.md`) and `HANDOFFS/L332/` receipts already document the `580.173.02` HAL bindings; do not port from
359+ `GB10B` scratch assumptions.
360+- **Cold boot only (Window 0):** never hot-swap `aien_gpu` after `nvidia.ko` (trap 17) and never issue sysfs FLR
361+ on `000f:01:00.0` (trap 18). Stage all artifacts and checksums outside `/tmp` (trap 19); `spark-window` state
362+ resets across a reboot, so reclaim/track it on the board and remove any one-boot `nvidia` blacklist before the
363+ restore reboot (`BOARD 2026-11-18T23:42:35Z`).
364+- **Verify all GB20B HALs + ABI + mutants before spending a reboot:** `.fwsignature_gb20y`, `GspRmBoot_GB20B`
365+ (`monCodeOff=0xf000`), `GspRmFmcGfwProdSigned_GB20B`, FWSEC `0x5e0==0xFF`, `COTv2` (`860 B`, `FRTS=0`), SEC2
366+ `MSGQ` (`0x840c80/84`, `TAIL` before `HEAD` ack), Stage C bit-30 `RUNLIST_DOORBELL_ENABLE` (`| 0x40000000`),
367+ backwards-compatible `AGPU_ABI_VERSION=1` (version sub-blocks instead), `_Static_assert` wire layouts, and full
368+ fresh-clone + QEMU + mutation gates.
369+

skills/nvidia-gb10/references/gb20b-gsp-boot.md

new file mode 100644
@@ -0,0 +1,60 @@
1+# GB20B Own-Driver (`aien-gpu`) GSP Boot & Verification Reference
2+
3+Verified against NVIDIA `open-gpu-kernel-modules 580.173.02` and Spark Window 0 capture
4+`HANDOFFS/L332/window0-20261118T234217Z` (2026-11-18). All Stage B/C items below are `HOST_TESTED` / `QEMU`
5+verified as of 2026-11-19 (`hardware=NOT_RUN` until a reviewed Window 0 cold boot runs on the Spark).
6+
7+## 1. GB10B vs. GB20B HAL Delta (`580.173.02`)
8+
9+Do not port or test `GB10B` (`0x1A`) paths on the Spark die (`BOOT_0=0x1bb000a1`, `BOOT_42=0x1bba1000`):
10+
11+| Area | Wrong (`GB10B`) | Required on Spark (`GB20B`) | `580.173.02` Source |
12+|---|---|---|---|
13+| Chip identity | `BOOT_42[29:20] == 0x1AB` (`arch=0x1A`) | `0x1BB` (`arch=0x1B`, `impl=0xB`) | `g_hal_archimpl.h:96`; `GPUID.TXT` |
14+| GSP-RM ELF signature | `.fwsignature_gb10y` | `.fwsignature_gb20y` (`4096 B`) inside `gsp_ga10x.bin` | `nv-firmware-chip-family-select.h:64-68` |
15+| GSP-RM bootloader | `GspRmBoot_GB10B` (`196,608 B`, `monCodeOff=0xb000`) | `GspRmBoot_GB20B` (`212,992 B`, `monCodeOff=0xf000`, `monDataSize=0xe600`) | `g_kernel_gsp_nvoc.c:792-794`; `UCODE_DESC_PROD` |
16+| GSP-FMC image | `GspRmFmcGfwProdSigned_GB10B` (`195,912 B`) | `GspRmFmcGfwProdSigned_GB20B` (`212,296 B`; hash `48 B`, pkey `384 B`, sig `384 B`) | `g_kernel_gsp_nvoc.c:928-930` |
17+| WPR metadata & CrashCat | No CrashCat sysmem queue | Shared `kgspPopulateWprMeta_GB10B` (`vga=pmu=nonWprHeap=0`, `gspFwHeapSize=133 MiB`) + `4096 B` CrashCat queue (union offsets `224`/`232`) | `g_kernel_gsp_nvoc.c:987-989,1859-1862`; `kernel_gsp_gh100.c:364-372` |
18+| FWSEC prerequisite | None | Poll `NV_PMC_SCRATCH_RESET_PLUS_2` (`0x5e0`) `== 0xFF` before touching SEC2 | `gb20b/dev_boot.h:26`; `kernel_sec2_gb20b.c:541-575` |
19+| COT packet | `version=1`, `frtsSysmemSize=fmc_size`, MCTP `0x00000001` | `version=2`, `size=860` (`868 B` wire = `217` dwords), `frtsSysmemSize=0`, MCTP `0xc0000000` (`SOM|EOM`) | `g_kernel_sec2_nvoc.c:483-485`; `kernel_sec2_gb20b.c:206-220,988-1000` |
20+| SEC2 send & reply | Poll `SEC2 MAILBOX0 != 0xc001cafe` | Send via `QUEUE_HEAD/TAIL` (`0x840c00/04`) + `EMEMC` (`0x840ac0`, `AINCW` bit 24); poll `NV_PSEC_MSGQ_HEAD/TAIL(0)` (`0x840c80/84`), read via `EMEMC` `AINCR` (bit 25), size `((tail-head) mod 2^32)+4` in `[4,1024]`, **write `TAIL=head` strictly before `HEAD=head`**, check single-packet `SOM|EOM`, NVDM `0x1510de7e` (masking bit 7 `IC`), `cmd=0x14`, `errorCode=0` | `gb20b/dev_sec_pri.h:26-60`; `kernel_sec2_gb20b.c:481-537`; `kernel_sec2.c:448-496` |
21+| Stage C doorbell token | `(runlist << 16) | chId` (bit 22 active-low) | `kfifoGenerateWorkSubmitTokenHal_GB202`: set bit 30 `RUNLIST_DOORBELL_ENABLE` (`| 0x40000000`, active-high); `runlist <= 127`, `chId <= 4095`. Classes: `0xcec0` (`BLACKWELL_COMPUTE_B`), `0xca6f` (`BLACKWELL_CHANNEL_GPFIFO_B`) | `g_kernel_fifo_nvoc.c:644-646`; `gb202/dev_vm.h:30-32`; `kernel_fifo_gb202.c:73-76` |
22+| PCIe FLR | `PDB_PROP_GPU_TRIGGER_PCIE_FLR=TRUE` | `NV_FALSE` — sysfs FLR on `000f:01:00.0` resets the whole SoC | `g_gpu_nvoc.c`; `BOARD 2026-11-18T23:17:45Z` |
23+
24+## 2. Window 0 Cold-Boot Procedure Rules
25+
26+1. **Preconditions:** Operator approval specifically for a planned Spark restart (stopping a job is not restart
27+ approval), all artifacts + `SHA256SUMS` persisted outside `/tmp`, fresh-clone host + QEMU + mutation gates
28+ green, and independent exact-head review settled.
29+2. **One-boot isolation:** Wait for any active `spark-window` to finish, post `CLAIM`/`START` on `HANDOFFS/BOARD.md`,
30+ install a one-boot `nvidia` modprobe blacklist, and perform a clean reboot.
31+3. **After cold reboot:** Verify `NO_NVIDIA_LOADED`, `000f:01:00.0 UNBOUND`, and `sha256sum -c` on all staged
32+ artifacts. Re-track/reclaim the window on `HANDOFFS/BOARD.md` (reboot clears `spark-window` state). Write all
33+ `dmesg`, Stage A/B/C outputs, and binary dumps directly into `HANDOFFS/L332/`.
34+4. **Restore:** Remove the one-boot blacklist before the restore reboot (never rely on sysfs FLR), reboot back to
35+ stock `nvidia` + `nvidia-persistenced` + `aien-run-spark-sensors.service`, confirm `nvidia-smi` health, verify
36+ `spark-window status` is clear, and post `RELEASE` with the receipt path.
37+
38+## 3. Driver ABI, Verification & Multi-Agent Traps (Caught in Reviews 2026-11-18/19)
39+
40+- **Never hand-count wire or UAPI struct offsets:** Derive every C offset with `offsetof` + `_Static_assert`, verify
41+ every pure-`.om` client (`dev.om`, `orch-aien.om`, `bw_qmd.om` slot order `code`/`cb`/`scratch`) with a compiled
42+ layout gate, and cross-check two independent builders byte-for-byte on emitted `cot_packet.bin`, `wpr_meta.bin`,
43+ and `system_info.sent.bin`.
44+- **Preserve top-level UAPI compatibility:** Keep `AGPU_ABI_VERSION=1` intact for existing Compute ABI 1 clients
45+ and version the inner `AGPU_BOOT` block (`AGPU_BOOT_VERSION=2`) rather than breaking all callers.
46+- **Test the exact boundaries mutants hide in:**
47+ - Use nonzero queue indices (`reply_head != 0`) so `MSGQ_HEAD` vs `QHEAD0` mutations cannot survive.
48+ - Test off-by-one reply bounds (`rsp_bytes = 3, 4, 5, 19, 20, 1024, 1025`), `32`-bit wraparound, and `SOM=0`
49+ with corrupted header dwords.
50+ - Pre-fill output/state arrays with poison (`0xdeadbeefcafebabe`) so missing zero-initialization is caught.
51+ - Make binary-embedding controls (`ko-units`) flip a real bit inside a copy of `.ko` re-extracted by the real
52+ reader, not a synthetic stub.
53+- **Pin every gate input for true offline fresh clones:** Pin external oracle commits as a branch in the same
54+ repository (no reliance on sibling work folders or network fetches), and hash-pin every input to package scripts
55+ (including `system_info.txt` and NVIDIA source trees) before claiming "all inputs pinned".
56+- **Label single-source simulator limits explicitly:** When the C reference, MMIO simulator, and `.om` unit are
57+ written from one reading of the vendor driver, `PARITY-BOOT` proves `Omega == C`, not `C == hardware`. Record
58+ that explicitly in `docs/STATUS.md`.
59+- **Snapshot clean committed SHAs across agents:** Never snapshot or review another agent's dirty working tree;
60+ coordinate one writer per mutable branch on `HANDOFFS/BOARD.md` and run cross-checks against committed hashes.

skills/omega-communication/SKILL.md

@@ -124,6 +124,38 @@ the following explicitly:
124124 both checker exits 0. These are HOST_SYNTHETIC boundary checks, not a learned
125125 campaign (NOT_RUN) or physical GB10 qualification (BLOCKED).
126126
127+### Omegese Wire and Trinary Doctrine (2026-11-19)
128+
129+For agent wake signaling, signed codebook frames, compact R45 lexical messages,
130+and bot-wire wake hygiene, load `skills/omegese-wire/SKILL.md`. Keep these four
131+wire tracks distinct on the claim ladder and never conflate them with Neuralese
132+(`LTP0`/`NL4`) above:
133+
134+- **T-002 Trinary Wake (`omega-mv` `tools/trit/`) and Layered Codebook v1
135+ (`omega-mv` `tools/codebook/`)**: `MERGED` on `omega-mv` main (inspected at
136+ `e703c1b78d85034931904b657bece99e4bc2935e`) and host-`VERIFIED` via
137+ `tests/gates/omega-trinary.gate`. Trit semantics follow Trinary Doctrine v1.0
138+ (silence = quiet, `1` = task/inspect, `2` = authorized stop request, `0` =
139+ help; never forward legacy `--ack` `0` receipts as help). `ocb2:` lines carry
140+ full-line HMAC-SHA256 over the 6-field inbox record, lane, `codebook.tsv`
141+ SHA-256 (`d2942e9f3c014781f38bc33054e117fef70c52941ad11beeb6f68c89cdac21fb`,
142+ 50 data rows), and strictly increasing per-sender counter. `TritSignal.lean`
143+ proves legacy read/ack and `CodebookProof.lean` proves v1 prefix-free/demotion
144+ invariants; daily `--inspect`/`--consume` are host-tested (`test-daily.py`,
145+ `mutate-daily.py`), not Lean-proved. Separate the landed v1 `codebook.tsv`
146+ from the unlanded r8/r9 review candidate (`EXERCISED`, not `MERGED`).
147+- **R45 Omegese Wire (`aien-train` `docs/omegese45/`)**: `IMPLEMENTED` and
148+ `EXERCISED` on Grace CPU (`vocab.tsv` SHA-256
149+ `c1d7e15466e6585a776314c5c05f35466b2697d9631ad2e11c7918a434a4c18d`, 41 rows;
150+ frames `G`/`A`/`R`/`P`; deterministic `.om` translator `en2goal`/`goal2en`/
151+ `rep2en`). Distinct from Trinary Doctrine's durable-record + 1-trit wake flow.
152+- **Neuralese (`LTP0`/`NL4`, above)**: latent/model-bound envelopes decoded into
153+ checked Omega operations; separate from Omegese Wire signaling and R45 frames.
154+- **Open `PROPOSED` tracks**: R45 `inst` slots `041-099` (DRA-504, canceled for
155+ internal bots on 2026-11-10 in favor of Trinary Doctrine) and the Gen 3
156+ error-resistant ternary codebook (5-digit `{00000,11111,22222}` vs 3-digit
157+ `{000,111,222}` Hamming bounds). Neither is implemented or landed.
158+
127159 ### Native GPU realization records (2026-10-28)
128160
129161 The canonical consumer integration is [CUDApp #169](https://github.com/aien-dev/CUDApp/pull/169),

skills/omega-encoding/SKILL.md

@@ -13,8 +13,8 @@ cannot express, and before encoding bytes, integers or host I/O in Omega.
1313 <!-- gen:pin -->
1414 | Pin (`PIN`) | Value |
1515 |---|---|
16-| omega-mv commit | `2ee0a70d1830581b706f288e722f3329d51f3583` |
17-| `seed/out/omc` sha256 | `26540e6de62402d5784b30b24d7c6faae488137c1f8a4b3e784fd0b5d5528991` |
16+| omega-mv commit | `6c562dd1f7ab01fd9a2638e74a7330ec4c941ad8` |
17+| `seed/out/omc` sha256 | `34d611ca0415eab1728d3234911d90e74af17ba9ab0c581d559f48274d7ca6d3` |
1818 | reference data | `data/reference.tsv`: omega-mcp's `data/reference.json` for this pin, with 201 keyword-table entries (80 host words), 30 compiler error codes, 14 traps and 13 topics |
1919 <!-- /gen:pin -->
2020
@@ -161,8 +161,8 @@ with exit 105. The same `fnv1a32.om` prefixed with `target x86linux` printed `0b
161161
162162 The omega MCP tools (`compile`, `run`, `explain_error`, `lookup`) report the compiler they run as
163163 `compiler_sha256`: read it from a trivial `compile` and compare it with this repository's `PIN` before
164-trusting any MCP result. omega-mcp records its own source pin in its `PIN` file (Radicle
165-`rad:z3e8UBQVfwEcESJrcTWEbyMAHWFBZ`); before its 2026-11-11 repin it pinned omega-mv `f4df8239`, omc
164+trusting any MCP result. omega-mcp records its own source pin in its `PIN` file
165+(`https://interplane.io/projects/omega-mcp/repo.git`); before its 2026-11-11 repin it pinned omega-mv `f4df8239`, omc
166166 `3ad9f10f…3194` (omega-mcp [#6](https://github.com/aien-dev/omega-mcp/pull/6), frozen GitHub history).
167167 On 2026-11-11 the server at the path agent configs named still reported omc `2c82480596bb…029f`
168168 (omega-mv `e5b32567`). Whenever a server reports
@@ -916,7 +916,7 @@ Main has since moved to the x86 integration compiler `62775d2a...712b` and then
916916 Re-check recipe (read only, in a fresh clone, never in a shared working tree another agent may be using):
917917
918918 ```sh
919-git clone rad://z6do9WDBhuSnvopDkgFdFr1yWA62 omega-src
919+git clone https://interplane.io/projects/omega-mv/repo.git omega-src
920920 git -C omega-src checkout f4df82394e35893dcf1354dda69a2fe028d94bc1
921921 git -C omega-src rev-parse HEAD
922922 sha256sum omega-src/seed/omc/omc.om omega-src/seed/out/omc
@@ -2485,7 +2485,7 @@ are `seed/omc/omc.om` at `9920aab1`.
24852485 Python and call the result Omega. Say exactly which word or capacity is missing.
24862486 5. Missing is not impossible, and it is not a stopping point. Drake's standing rule (2026-10-26):
24872487 "If .om doesn't have a feature, you need to make that feature." Build it in Omega and land it on
2488- omega-mv Radicle main (`rad:z6do9WDBhuSnvopDkgFdFr1yWA62`) with a receipt (`omega-harness` section
2488+ omega-mv main (`https://interplane.io/projects/omega-mv/repo.git`) with a receipt (`omega-harness` section
24892489 6), coordinated with whoever owns the compiler lane at the time. The change names the
24902490 hardware or OS need, the word and its types, refusal codes and a new error code if one is needed,
24912491 gates with a negative control, parity against an independent oracle, and the matching update to

skills/omega-gpu-om/SKILL.md

new file mode 100644
@@ -0,0 +1,41 @@
1+---
2+name: omega-gpu-om
3+description: >-
4+ Migrate or write Blackwell GPU planners, schedulers, QMD packers, and SM121
5+ codegen emitters in pure seeded OM-2 under om/gpu/, bound through om/units.sh.
6+ Use when touching omega-mv GPU codegen, om/gpu/*.om, omega_bw_om_ir.h, or
7+ regenerating src/omega_om_units.c.
8+---
9+
10+# Pure OM-2 Blackwell GPU Migration & Verification
11+
12+## Placement & Binding
13+1. Put new pure OM-2 GPU units in `om/gpu/` (do **not** edit pinned `gpu/nvidia/om/*`, which `gpu/runtime/INVENTORY.tsv` hashes against CUDApp).
14+2. Add each new unit to `UNITS` in `om/units.sh`; add to `FS_UNITS` **only** if a consumer is in `GPU_FS_SRCS` (`mk/omega-gpu-engine.mk`).
15+3. `src/omega_om_units.c` emits Linux ELF AArch64 inline asm and cannot compile on macOS. Always run `om/units.sh`, `om/units.sh --check`, and host/simulator tests on Spark (`aarch64` Linux).
16+4. Monitor `src/omega_om_units.c` size as units grow (`omega-bridge` `native.om` has 4 MiB input / 16 MiB output pool caps).
17+
18+## OM-2 + `omega-bridge` (`src/native.om`) Rules
19+- `export fn` return types must be `ulong`, `long`, `int`, `bool`, or `void` (`to uint` fails with exit 110).
20+- Place `export fn` definitions after internal helper `fn`s (calling an `export fn` internally fails `error 16`).
21+- Generated C ABI v2 signature puts `uint64_t *result` **first**, followed by `(ptr, len)` pairs for every `view`/`edit` array.
22+- Avoid OM-2 reserved keywords as identifiers (`out`, `ops`, `at` → `error 16`; `layout` → `error 29`); use `rem` instead of `mod` (`error 3`); declare `new T N v` only at function top scope (`error 9`).
23+- Avoid `error 12` (16-register pool) in large emitters: keep helper signatures ≤ 4–5 params, store vreg handles in `meta[384..511]` and scratch in `meta[16..63]`, read `sp`/`meta` on demand, split chained `if or ...` conditions into separate `if`s, and split nested `for` loops or 6-arg emitter calls into small helpers.
24+- Preserve the exact C vreg allocation order (including scalars initialized on declaration lines before `for` loops) so `omega_bw_regalloc_solve` produces bit-identical SM121 SASS SHA-256 against the C emitter.
25+- Verify `BlackwellIROpcode` integer values against `src/omega_blackwell_codegen.h` before encoding (`IMAD=8`, `IMAD_WIDE=9`, `FFMA=33`, `LDG_E_64=56`, `LDG_E_128=57`, `LDS128=58`).
26+
27+## Wire Format & Fail-Closed Boundary Rules
28+- Standard codegen wire format: `ins[8192]` (up to 1,024 insns × 8 `ulong`s) + `meta[512]` (`0=n, 1=nv, 2=nu, 3=nl, 4=pending, 5=err, 64..319=vreg widths, 320..351=loop pairs, 352..383=uvreg widths`), unpacked by `src/omega_bw_om_ir.h`.
29+- Guard every forward-branch patcher in `.om` with `if ge pos 1024: ret` so buffer overflow sets `meta[5]=1` and returns cleanly instead of trapping.
30+- In C wrappers (`omega_blackwell_codegen_*.c`): `memset` `ins` and `meta` to 0 before calling `omega2_cg_*_emit`, and call `omega_bw_ir_init(prog)` on any error path so callers never observe a partial `BlackwellIRProgram`.
31+- Chain `omega2_bw_sched_stalls` directly on `ins[8192]` after `omega_bw_ir_from_om` without re-packing.
32+
33+## Mandatory 4-Stage Verification Before Landing
34+### Spark Scratch & Pinned Dependencies
35+- Do not rely on `~/workspace/physics` or `~/workspace/omega-bridge` being at the pinned commits: materialize `native.om` at `om/omega-bridge.lock` (`git -C ~/workspace/omega-bridge show <sha>:src/native.om > /tmp/omega-bridge-pin/src/native.om`) and clone `~/git/physics-mv.git` at `physics.lock` into `/tmp/physics-pin`.
36+- Run baseline diff, `om/units.sh`, and host/sim/hazard tests in a scratch clone (`/tmp/bw-mig-*`) so `~/canon/omega-mv` stays clean.
37+
38+1. **Regeneration**: `om/units.sh --check` PASS on Spark.
39+2. **Correctness & Hazards**: Run the target's host + warp-simulator suite (`test-gpu-bf16-gemv`, `test-gpu-fp8gemm`, `test-gpu-fp8`, `gpu_pfhost_test --sim`, etc.) AND `make test-bw-hazard` (0 new findings).
40+3. **Boundary & Error Paths**: Run `test_bw_om_codegen_bounds` (hostile `meta`/`ins` rejection + invalid spec error-path preservation).
41+4. **Compiled Kernel Diff vs Parent**: Compare `insns`, peak/declared GPRs, SM121 occupancy, avg stall cycles, and encoded SM121 SASS SHA-256 against the pre-migration parent commit. For live GB10 silicon validation, build `--chip` test binaries **before** opening `spark-window` (`--gb10 exclusive --quiet exclusive` with an `EXIT` trap that closes the window and posts `RELEASE` to `~/handoffs/BOARD.md`), then run one binary at a time with a brief pause (`sleep 2`) between processes.

skills/omega-harness/SKILL.md

@@ -27,7 +27,7 @@ Companion skills in this package:
2727 ## First-party mission orchestration: omega-mission (DRA-459)
2828
2929 Factory Droid was retired by Drake on 2026-11-07. omega-mission (Radicle
30-`rad:z6HYc7ot5JZD8FSfvU77pWdMUdru`; its current head is on its interplane.io page)
30+`https://interplane.io/projects/omega-mission/repo.git`; its current head is on its interplane.io page)
3131 implements plan/check/step/verify/status/resume in seeded Omega, pinned to
3232 omega-mv 6fbc6cbe4bfa4092608e2b5f06d2e8f537893992 and omc SHA256
3333 cfd96b48b0460ab5557853d6856f9c741b96ac8d0d624e06198defb4cbfa0d8a.
@@ -60,10 +60,10 @@ This wording follows the method and systems-software case study documented by Gr
6060 **Interplane is the only forge (standing rule, Drake 2026-11-11: "No more GitHub? Everything goes to
6161 interplane.").** Interplane (https://interplane.io, which serves the Radicle repositories) is the
6262 canonical source. Never push to a GitHub remote, open or update a GitHub PR or issue, publish with `gh`,
63-or cite a GitHub branch as current state. New work is a new Radicle repository or a landing on a
64-repository's Radicle `main` with a receipt, and it is finished only when interplane.io shows it: give
63+or cite a GitHub branch as current state. Radicle is retired (2026-11-13). New work lands on the
64+repository's Interplane `main` with a receipt, and it is finished only when interplane.io shows it: give
6565 the page URL and its HTTP status (this repository: https://interplane.io/drakestapleton/omega-harness).
66-Clone with `rad clone rad:<RID>` or `git clone https://www.aienos.com/rad/<RID>.git`. Every
66+Clone with `git clone https://interplane.io/projects/<repo>/repo.git`. Every
6767 `github.com/aien-dev/...` link in these skills is a dated citation of the commit, PR, issue or run it
6868 names, history and never a place to work or a source of current state. Only Drake reverses this rule.
6969
@@ -214,7 +214,7 @@ establish macOS host-word support. Positive runtime receipts below do not close
214214 this language gap.
215215
216216 - First-party implementation belongs in `.om`. Existing C, Rust and shell are unfinished migration, not permission to add more foreign code. Never pass off a foreign implementation as generated code, vendor code, glue or an `.om` file.
217-- When the language lacks something, build it (Drake's standing rule, 2026-10-26: "If .om doesn't have a feature, you need to make that feature"). Land it on omega-mv Radicle main (`rad:z6do9WDBhuSnvopDkgFdFr1yWA62`) with a receipt (section 6), coordinated with whoever owns the compiler lane, carrying the word or facility, its error code, gates with a negative control, parity against an independent oracle, and the guide update. Do not invent a word you have not implemented, and do not route around the gap with host code. Host code is a last resort only, recorded with its Omega successor and the omega-mv change that will replace it. A gap that needs a decision Drake has not made (for example heap or imports, omega-mv #793 and #795, frozen GitHub numbers kept as history) is put to him rather than built around.
217+- When the language lacks something, build it (Drake's standing rule, 2026-10-26: "If .om doesn't have a feature, you need to make that feature"). Land it on omega-mv main (`https://interplane.io/projects/omega-mv/repo.git`) with a receipt (section 6), coordinated with whoever owns the compiler lane, carrying the word or facility, its error code, gates with a negative control, parity against an independent oracle, and the guide update. Do not invent a word you have not implemented, and do not route around the gap with host code. Host code is a last resort only, recorded with its Omega successor and the omega-mv change that will replace it. A gap that needs a decision Drake has not made (for example heap or imports, omega-mv #793 and #795, frozen GitHub numbers kept as history) is put to him rather than built around.
218218 - Seeded Omegese, compiled by `seed/out/omc`, is the forward language. The historical console syntax in `spec/omega-language-v0.md` and the C compiler checks are different things. As of omega-mv main `55f9b0af47de70a3d06357985cf99ae3e45c016f` (2026-10-25), the seeded compiler and its host and device words are on main. Any source saying they exist only on candidate branches is stale.
219219 - Do not promote design ambitions into supported syntax. Check the keyword table, typing and lowering, and the fixtures of the compiler you will actually run. Compiler limits are implementation limits at a pin, not permanent properties of Omega.
220220 - Optimize for verified programs produced per unit of inference cost on held-out tasks (first-attempt correctness, successful compilation, verified behavior, completion time, and total compute cost). Tokenization is not a language rule: fitting vocabulary to single tokens under a specific tokenizer is an empirical cost measurement, not a binding language constraint.
@@ -679,7 +679,7 @@ remain dated history.
679679
680680
681681 ```sh
682-git clone rad://z6do9WDBhuSnvopDkgFdFr1yWA62 omega-src
682+git clone https://interplane.io/projects/omega-mv/repo.git omega-src
683683 git -C omega-src checkout f4df82394e35893dcf1354dda69a2fe028d94bc1
684684 cd omega-src || exit 1
685685 git rev-parse HEAD
@@ -708,7 +708,7 @@ fi
708708 row for each distinct compiler change: the qty compiler and the check/next
709709 compiler have separate rows, even when they arrive in the same PR. A final
710710 matching row does not excuse omitting an intermediate compiler change.
711-- **Seed-chain bootstrap challenge (merged in [omega-mv #863](https://github.com/aien-dev/omega-mv/pull/863), merge `52eba8831aa0b8db9fa2f2e13289920be4fa85f6`).** The public command that rebuilds omc from the 408-byte seed without rewriting tracked files is `git clone rad://z6do9WDBhuSnvopDkgFdFr1yWA62 omega-mv && cd omega-mv && sh seed/challenge/run.sh` (Radicle since 2026-11-07; the frozen GitHub URL is history). The script extracts `git archive 369dbc96` (seed/rung0..4, seed/omc) into `build/seed/challenge/src`, then builds seed0 → hex1 → asm2 → om4 → omc stage1/2/3, where each rung is built by the freshly built rung below it. It checks every input and rung against `seed/challenge/expected.txt`, whose values were read from the committed files with `git show <pin>:<path> | sha256sum` (omc `2c824805…`, 325,524 bytes). Exit codes: 0 `CHALLENGE PASS`, 1 FAIL, 2 usage, 3 NOT_RUN (not AArch64 Linux, or pin missing). In a `git clone --depth 1` the pin is missing; first run `git fetch --depth 1 origin 369dbc96daa1684db2d7c2c7085bbf16b3fd77ee` (omega-mv `seed/challenge/CHALLENGE.md`, commit `d764f076`). `--tree DIR` and `--expect FILE` run negative controls. Observed 2026-10-27: a pass on the Spark from a fresh clone of merged main `52eba883` (challenge 0.53 s wall, chain 362 ms), and a pass on GitHub `ubuntu-24.04-arm` (chain 359 ms) together with three controls that fail as required (tampered hex1, wrong omc value, forged log). The public runner and result inbox are in [aien-dev/omega-seed-challenge](https://github.com/aien-dev/omega-seed-challenge): `challenge.yml`, the "I reproduced it" issue form, and `results/*.log` checked by `check-result.sh`. A pass is a fixed-output reproducibility match. It is not general self-hosting and not diverse double compilation, and a log check proves consistency, not that the run happened.
711+- **Seed-chain bootstrap challenge (merged in [omega-mv #863](https://github.com/aien-dev/omega-mv/pull/863), merge `52eba8831aa0b8db9fa2f2e13289920be4fa85f6`).** The public command that rebuilds omc from the 408-byte seed without rewriting tracked files is `git clone https://interplane.io/projects/omega-mv/repo.git omega-mv && cd omega-mv && sh seed/challenge/run.sh` (Radicle since 2026-11-07; the frozen GitHub URL is history). The script extracts `git archive 369dbc96` (seed/rung0..4, seed/omc) into `build/seed/challenge/src`, then builds seed0 → hex1 → asm2 → om4 → omc stage1/2/3, where each rung is built by the freshly built rung below it. It checks every input and rung against `seed/challenge/expected.txt`, whose values were read from the committed files with `git show <pin>:<path> | sha256sum` (omc `2c824805…`, 325,524 bytes). Exit codes: 0 `CHALLENGE PASS`, 1 FAIL, 2 usage, 3 NOT_RUN (not AArch64 Linux, or pin missing). In a `git clone --depth 1` the pin is missing; first run `git fetch --depth 1 origin 369dbc96daa1684db2d7c2c7085bbf16b3fd77ee` (omega-mv `seed/challenge/CHALLENGE.md`, commit `d764f076`). `--tree DIR` and `--expect FILE` run negative controls. Observed 2026-10-27: a pass on the Spark from a fresh clone of merged main `52eba883` (challenge 0.53 s wall, chain 362 ms), and a pass on GitHub `ubuntu-24.04-arm` (chain 359 ms) together with three controls that fail as required (tampered hex1, wrong omc value, forged log). The public runner and result inbox are in [aien-dev/omega-seed-challenge](https://github.com/aien-dev/omega-seed-challenge): `challenge.yml`, the "I reproduced it" issue form, and `results/*.log` checked by `check-result.sh`. A pass is a fixed-output reproducibility match. It is not general self-hosting and not diverse double compilation, and a log check proves consistency, not that the run happened.
712712 - Run the changed path and compare exact expected bytes, status and state; a successful compile proves nothing about behavior. Also exercise the failure or refusal boundary most likely to regress. If that is impractical, say exactly what was not run.
713713 - Run a negative control: change an expected value or feed invalid input, and confirm the check fails. A verifier that also accepts its negative control has not established anything.
714714 - Qualification case files (`.cases` in omega-mv) are executed by a conductor, not run directly. More than one conductor exists under `seed/qualification/`, and picking the wrong one looks like a failing gate. Read the conductor's `main` for its argument count first. Observed 2026-10-25 with compiler `734f0a39319fbfa930bcc62cb30dbf06d47d78e126372b74f5baf478e6126b61`: `seed/qualification/om2/gate.om` takes four arguments (`omc pinhash casesfile scratchdir`) and summarises as `OM2GATE PASS cases=N pass=N fail=N invalid=N not_run=N`; `seed/qualification/security673/gate669.om` accepts at most one argument and exits 90 under a four-argument call. A usage status such as 90 from a conductor is INVALID setup, never a qualified refusal.
@@ -1305,7 +1305,7 @@ writing `target macos` for omc is error 25, so keep them out of units that omc c
13051305 - Do not weaken a gate, add a new trust path, publish secrets or fabricate hardware receipts. Never edit a historical receipt to make a new claim pass.
13061306 - Keep private machine targets, addresses, usernames and home paths in ignored local configuration. Keep intentional public attribution intact.
13071307 - Hardware and live services need the operator's current authorization procedure. Host and emulator checks never qualify hardware. Machine-specific operator rules belong in that machine's local instructions, not in public guidance.
1308-- Escalate to an independent reviewer for hard-to-reverse changes to authority, protocols or gates, for contradictory evidence, or when two distinct fixes have failed. A model review is not an execution receipt.
1308+- Use the independent-first review rule in [the standing rules](../../rules/rules.txt) for every Omega work item. Escalate hard-to-reverse changes to authority, protocols or gates, contradictory evidence, and two distinct failed fixes for additional scrutiny. A model review is not an execution receipt.
13091309 - For the native GPU swarm, follow the [realization-record evidence boundary](../omega-communication/SKILL.md#native-gpu-realization-records-2026-10-28). A unit test calling an isolated cache or selector is not proof that the existing runtime records the selected code. Exercise the actual generated binding and consuming cache/command-list path, with stale-generation, wrong-artifact and missing-qualification controls. Keep device and whole-model tests NOT_RUN until their authorized execution; never populate production candidates from synthetic host records.
13101310 - **Fix it, don't file it** (Drake, 2026-10-25). A defect you can reproduce is a defect you chase in the same piece of work, including one you found while reviewing someone else's lane: read the code, build the smallest reproduction, change it, prove it, ship it. Reporting a blocker you have not tried to fix, or handing a reproduced bug to an "owner", is unfinished work. Stop only for a real external gate (authorization, a user decision, an exhausted check) and name it after the attempt.
13111311
@@ -1444,7 +1444,7 @@ Where prose lives:
14441444 | Conversion, encoder or bridge behavior, or what it supports | the conversion note in `omega-harness` section 2, and the README |
14451445 | Status vocabulary, receipts, report or handoff conventions, wire formats | `omega-communication` |
14461446 | Repository purpose, ownership, names, archive state, plan authority, merge or Alpha policy, a resolved or new contradiction | `aien-repositories` |
1447-| Any project repository's purpose, status or links, or a new repository | that repository's row in `compiler/inventory.tsv` of the sovereign-intelligence Radicle repository (`rad:z2JJz4RDfZZxKGBLn6UhmW5p9VJQj`; columns name, rid, description; core tier in `compiler/order.tsv`), in the same piece of work. Heads and branches in its `repos.tsv`, README and served `/si` are generated from Radicle (since SI main `ba770327`, 2026-11-11); never type one |
1447+| Any project repository's purpose, status or links, or a new repository | that repository's row in `compiler/inventory.tsv` of the sovereign-intelligence repository (`https://interplane.io/projects/sovereign-intelligence/repo.git`; columns name, rid, description; core tier in `compiler/order.tsv`), in the same piece of work. Heads and branches in its `repos.tsv`, README and served `/si` are generated from Radicle (since SI main `ba770327`, 2026-11-11); never type one |
14481448 | A new source of hardware facts, a new use of an NVIDIA SDK tool, or stored NVIDIA-tool output | that repository's `PROVENANCE.md`, and section 4 here if the rule changed |
14491449 | A standing rule for agents | `rules/rules.txt` (public) or the machine's overlay (private or machine-specific) |
14501450
@@ -1454,8 +1454,8 @@ How to do it:
14541454 untrue; do not just add a contradicting one.
14551455 2. If an example or expected output changed, rerun it and record what you observed. Never copy a
14561456 predicted result into the guide.
1457-3. Land on omega-harness Radicle main (`rad:z39gvwWsnkRZsAConQLjaKiNVLHfW`) with a receipt: on a fresh
1458- `rad clone` of the exact head that fast-forwards from main, run `examples/gate.sh` and
1457+3. Land on omega-harness main (`https://interplane.io/projects/omega-harness/repo.git`) with a receipt: on a fresh
1458+ fresh clone of the exact head that fast-forwards from main, run `examples/gate.sh` and
14591459 `tools/check.sh` with the pinned omc plus a wrong-compiler control, write the landing receipt
14601460 (commands, exit codes, pins, log sha256) before the push, then confirm the new head on
14611461 https://interplane.io/drakestapleton/omega-harness with its HTTP status. GitHub is not a route

skills/omegese-wire/SKILL.md

new file mode 100644
@@ -0,0 +1,169 @@
1+---
2+name: omegese-wire
3+description: "Omegese Wire protocols and wake hygiene: Trinary Doctrine (tools/trit), signed 3-digit layered codebook (tools/codebook), R45 Omegese (aien-train/docs/omegese45), bot-wire wake hygiene, and PROPOSED open tracks (R45 inst 041-099 and Gen 3 error-resistant codebook). Use when implementing, verifying, or routing agent wake signals, codebook frames, or R45 wire messages."
4+---
5+
6+# Omegese Wire
7+
8+Protocols, verification boundaries, and wake hygiene for Omega agent signaling and compact wire frames. Keep every status claim on the `omega-communication` claim ladder (`PROPOSED` / `IMPLEMENTED` / `EXERCISED` / `VERIFIED` / `QUALIFIED` / `MERGED` / `DEPLOYED`): host checks and Lean proofs do not establish hardware qualification or live deployment.
9+
10+## Protocol map (2026-11-19)
11+
12+| Component | Source path | Claim-ladder status | Scope and limits |
13+|---|---|---|---|
14+| T-002 Trinary Wake (`trit`) | `omega-mv` `tools/trit/` | `MERGED`, host-`VERIFIED` | Gate `tests/gates/omega-trinary.gate`. Legacy read/ack is Lean-proved (`TritSignal.lean`) + differential-checked; daily `--inspect`/`--consume` are host-tested (`test-daily.py`, `mutate-daily.py`), not Lean-proved. Not deployed/hardware-qualified. |
15+| T-002 Layered Codebook v1 | `omega-mv` `tools/codebook/` | `MERGED`, host-`VERIFIED` | Gate `tests/gates/omega-trinary.gate`. 50 data rows in `codebook.tsv`; `CodebookProof.lean` (0 `sorry`, 0 extra axioms) + `test.sh` + `mutate.sh`. |
16+| T-002 Codebook r8/r9 candidate | Review candidate (unlanded) | `EXERCISED` (not `MERGED`) | 3-digit anchors `000`/`111`/`222` + 74-token vocabulary (197 tests, 45 mutants in review). Not on `omega-mv` main; do not conflate with landed v1 `codebook.tsv`. |
17+| R45 Omegese Wire | `aien-train` `docs/omegese45/` | `IMPLEMENTED`, `EXERCISED` | 41-row lexical vocabulary + deterministic `.om` translator (`en2goal`, `goal2en`, `rep2en`), exercised on Grace CPU (`evidence/OMEGESE45/{contract,translator}/`). |
18+| Bot-Wire Wake Hygiene | `omega-harness` `rules/rules.txt`, `WIRE.md` §9 | `IMPLEMENTED` (policy) | Active daily coordination rules (`rule trinary-daily-flow` + Reviewer-approved wake hygiene). |
19+| R45 `inst` Codebook (`041-099`, DRA-504) | Design proposal | `PROPOSED` (canceled for internal bots) | Canceled for internal bots on 2026-11-10 in favor of Trinary Doctrine; kept as reference if external-bot compact wire scope reopens. |
20+| Gen 3 Error-Resistant Codebook | Combinatorial design | `PROPOSED` | Verified Hamming-distance bounds on 3-digit vs 5-digit ternary triples/5-tuples; no implementation or proof landed. |
21+
22+For latent Neuralese envelopes (`LTP0`/`NL4`), see `skills/omega-communication/SKILL.md`: Neuralese envelopes are separate from Omegese Wire.
23+
24+## 1. T-002 Trinary Wake (`tools/trit`)
25+
26+Canonical trit semantics follow Trinary Doctrine v1.0 ([Zenodo 24287768](https://zenodo.org/records/24287768)), `omega-mv` `tools/trit/README.md`, and `omega-harness` `rules/rules.txt` (`rule trinary-daily-flow`):
27+
28+- **silence**: nothing to do / no task.
29+- **`1`**: task / read unread work.
30+- **`2`**: stop (requests an authorized stop and reading its reason).
31+- **`0`**: **help** (sender needs help while still working; never stop, idle, or acknowledgement).
32+
33+**Critical receipt distinction:** legacy `trit DIR --ack BOT TOKEN` prints `<bot> 0` as a local read/done receipt. Never forward legacy `--ack` output as help (`0`).
34+
35+### Daily vs legacy CLI
36+
37+```sh
38+# Current daily flow (Trinary Doctrine)
39+trit DIR --inspect BOT... # emits "<bot> 1 <token>" for unread work; silence when quiet
40+trit DIR --consume BOT TOKEN # advances cursor durably; no stdout, no next wake
41+
42+# Legacy receipt-era interface (historical callers only)
43+trit DIR BOT... # emits "<bot> <1|2> <token>"
44+trit DIR --ack BOT TOKEN # prints local receipt "<bot> 0", then next wake if any
45+```
46+
47+- `--inspect` emits only inspection requests (`1`), even for signed stop records. It never grants runtime stop authority.
48+- In legacy read mode, `2` is emitted **only** for a MAC-verified, counter-valid `3xx` codebook emergency. Everything else that is not `fyi` (including plain `STOP` text, a `stop` tag, unsigned, tampered, wrong-key, wrong-recipient, stale, replayed, or legacy `ocb1:` lines) is demoted to `1`. There is no `--trust-unsigned`.
49+
50+### Full-line signed format and replay/retarget rejection
51+
52+`trit` reads `DIR/inbox/<bot>.md` (normal lane `n`) and `DIR/inbox/<bot>.emergency.md` (emergency lane `e`). Content lines begin with `YYYY-MM-DDT`; `fyi` lines never wake.
53+
54+- **Signed 6-field line:** `ts|from|to|tag|text|ref|ocb2:<cbsha>:<counter>:<digits>:<mac>`
55+- **MAC preimage:** `HMAC-SHA256(key, "ocb2|cbsha|counter|lane|ts|from|to|tag|text|ref|digits")`
56+- **Binding and key checks:** `lane` (`n` or `e`) comes from the file being read, never from the line; `to` must equal the receiving bot; key file `DIR/codebook/key` must have mode `& 077 == 0` and no `boards/` path segment; `DIR/codebook/codebook.tsv` must match `<cbsha>`.
57+- **Replay and ordering rejection:** per-sender counter file `DIR/inbox/<bot>.<sender>.ctr` stores `<counter> <ts>`. Verification requires strictly increasing `counter` (above both the stored counter and any earlier verified line from that sender in the same pass) and monotonic `ts >= last_ts`. Reading never mutates counters; `--ack`/`--consume` locks `DIR/inbox/<bot>.ctr.lock` (`flock LOCK_EX`), writes `.tmp`, `fsync`s, atomically renames (`renameat2`), and `fsync`s the directory.
58+- **Cursor integrity:** token format is `L<offset>:<sha256 of bytes 0..offset>` (`L` in `{n,e}`). Cursor file `DIR/inbox/<bot>[.emergency].md.cur` stores `<offset> <sha256>`. Any rewrite or truncation before `<offset>`, or a malformed/out-of-bounds token, is refused (exit 3) or resets the file to unread.
59+- **Emergency lane admission and quota:** sender must be `drake` or a slug with `DIR/inbox/<slug>.md` and a valid timestamp; at most 3 MAC-verified lines per sender per 60 minutes (counted once per `(sender, counter)`; unsigned, forged, or replayed lines consume no quota).
60+- **Authority limit:** the current shared HMAC key proves key possession, not individual sender identity, and counter ordering does not prove wall-clock freshness. Establish fresh sender identity and existing runtime authorization separately before stopping any process.
61+
62+### Verification scope
63+
64+- Build and host suite: `sh tools/trit/build.sh && sh tools/trit/test.sh` (gate: `tests/gates/run.sh trinary`).
65+- Lean 4 proof: `lean tools/trit/proof/TritSignal.lean` (0 `sorry`, 0 extra axioms) proves the legacy read/ack state machine and mirrors `trit.om` in `TritBin` for differential testing (`sh tools/trit/proof/difftest.sh`).
66+- Daily interface oracle: `python3 tools/trit/test-daily.py` and `python3 tools/trit/mutate-daily.py` independently sign fixtures and verify refusal of stop promotion, receipt leakage, next-wake leakage, and bypassed consumption. They are external test oracles (not runtime dependencies); the daily entry points are host-tested, not Lean-proved.
67+
68+## 2. T-002 3-Digit Layered Codebook (`tools/codebook`)
69+
70+### Landed v1 (`omega-mv` main)
71+
72+Native OM-2 (`tools/codebook/codebook.om`, compiled directly into `tools/trit` by `tools/trit/build.sh` because OM-2 has no imports).
73+
74+- **Wire format:** `(9xx)^k t` — `k >= 0` escape groups in `900..999` followed by one terminal group in `000..899`, every group exactly 3 decimal digits (1 tokenizer token each), concatenated with no separator. Fixed 3-digit width makes the encoding prefix-free and recursively extensible.
75+- **Transport:** rides only in the trailing `ocb2:<cbsha>:<counter>:<digits>:<mac>` field of a 6-field inbox line. Bot DMs stay a single bare trit. Legacy `ocb1:` lines never verify and are capped at trit `1`.
76+- **Codebook identity:** `tools/codebook/codebook.tsv` (`code<TAB>type<TAB>meaning`, types `r45 inst sig emerg`, `#` comments; 55 lines = 5 comment lines + 50 data rows). Its SHA-256 is the wire `<cbsha>` identity. Append-only evolution is checked by `codebook ext OLD NEW` (exits 0 with `ok <newsha>` if `NEW` is valid and starts with every byte of `OLD`, else `ERR notprefix` exit 6).
77+- **Landed v1 code ranges:**
78+ - `000`: `<pad>`
79+ - `001-040`: R45 lexical tokens (pinned to `aien-train/docs/omegese45/vocab.tsv` SHA-256)
80+ - `041-099`: reserved for R45 instruction ids
81+ - `1xx` signals: `100` `read-receipt`, `101` `task-waiting`
82+ - `3xx` emergencies: `300` `stop-now`, `301` `security`, `302` `data-loss`, `303` `disk-full`, `304` `build-broken`, `310` `power-OB`, `311` `power-LB`
83+ - `9xx`: recursive escape layers
84+- **Lean 4 proof:** `tools/codebook/proof/CodebookProof.lean` (0 `sorry`, 0 extra axioms) proves prefix-free encode/decode, `append_preserves`, `unverified_never_two`, `unsigned_demoted`, `stale_demoted`, and `badmac_demoted`.
85+
86+```sh
87+sh tools/codebook/build.sh
88+printf '901.12 345\n' | build/codebook/codebook enc # 901012345
89+printf '901012345\n' | build/codebook/codebook dec # 901.12 345
90+build/codebook/codebook sha tools/codebook/codebook.tsv
91+sh tools/codebook/test.sh && sh tools/codebook/mutate.sh
92+lean tools/codebook/proof/CodebookProof.lean
93+```
94+
95+### Unlanded T-002 r8/r9 review candidate (`EXERCISED`, not `MERGED`)
96+
97+A separate unlanded review candidate (r8/r9) evaluated 3-digit anchors `000` stop / `111` task / `222` help with a 74-token vocabulary (197 tests, 45 mutants reported in review). Two design invariants from that review remain important:
98+
99+- A damaged stop frame demotes to task (`1`) so the receiver inspects the durable record rather than silently executing an unverified stop or dropping the event.
100+- Ambiguous bare tokens (such as bare `FAIL` without structured context) are rejected rather than guessed.
101+
102+This candidate is **not** present in `omega-mv` main `tools/codebook/codebook.tsv`. Preserve landed v1 meanings and never silently deploy r8/r9.
103+
104+## 3. R45 Omegese Wire (`aien-train/docs/omegese45/`)
105+
106+R45 is a bounded, DFA-checked 41-row dialect for structured `mm`/`pair` job episodes (`CONTRACT.md`, `vocab.tsv`, `TRANSLATOR.md`). Status: `IMPLEMENTED` and `EXERCISED` on Grace CPU (receipts in `evidence/OMEGESE45/{contract,translator}/`).
107+
108+- **Vocabulary and bounds:** fixed 41-row `vocab.tsv` (2188 bytes, 6 bits/id via `Ceiling[Log2[41]]`), DFA table `256 x 41 = 10496 B`, longest message `31` ids (`rep ok pair`), longest attained episode `175` ids, `MAXLEN = 176`.
109+- **Four frame types:**
110+ - `G` (goal): `goal mm|pair ... end`
111+ - `A` (action): `act job mm ... end | act refuse bound end`
112+ - `R` (result): `res ok|refused C'|fail C' end`
113+ - `P` (report): `rep ok mm|pair ... | rep refused C | rep fail C end`
114+- **Deterministic `.om` translator edges:** `en2goal`, `goal2en`, `rep2en`. Zero model calls on the translation path; MEASURED `<10 ms` wall time and `192 KB` RSS. Held-out accuracy: `38/45` raw (`84.44%`), `39/45` (`86.67%`, 0 wrong) with erratum. Exit codes: `20-23` (`en2goal`), `30-31` (`goal2en`/`rep2en`), `40-43` (contract).
115+
116+### Choosing R45 vs Trinary Doctrine
117+
118+- Use **Trinary Doctrine** (durable record + 1-digit wake) for daily agent coordination, task assignment, reviews, and multi-agent routing. Never strip task scope, authority, or evidence to shorten a signal.
119+- Use **R45 Omegese** when a bounded `mm`/`pair` pipeline needs deterministic, zero-model, DFA-checked structured frames (`goal`/`act`/`res`/`rep`) pinned to `vocab.tsv`.
120+
121+## 4. Bot-Wire Wake Hygiene Rules
122+
123+Active coordination rules from `rules/rules.txt` (`rule trinary-daily-flow`) and Reviewer-approved `WIRE.md` §9 / §1a:
124+
125+1. **Durable record first, 1-digit wake second:** write task details once in the durable append-only record (sender, recipient, task/turn, bounded scope, authority, source/evidence refs). Send the wake trit only after the record exists. Reading is silent; no ack loops, polling turns, or agent heartbeats. Human communication remains plain, complete prose.
126+2. **Single shared rules digest (`RULES-DIGEST.md`):** post rule updates once as a no-wake note rather than fanning out inbox broadcasts to every bot (audit MEASURED `322/631 = 51%` of inbox traffic was rule announcements).
127+3. **Batch review wakes:** wake Reviewer once per finished revision. Re-reviews inspect deltas only. Minor wording edits wake nobody.
128+4. **Pace-gated non-urgent wakes:** hold non-urgent wakes when usage pace exceeds weekly allowance. Fail open: if the pace line is missing or more than 24 hours stale, wake normally.
129+5. **Inbox line discipline (`WIRE.md` §1a):** 5-field unsigned lines (`ts|from|tag|text|ref`) or 6-field signed lines (`ts|from|to|tag|text|ref|ocb2:...`), with tags `task|turn|fail|fyi|result`. `fyi` and `result` never wake.
130+
131+## 5. Open Design Tracks (`PROPOSED` — not implemented or merged)
132+
133+Per `omega-communication`, both tracks below are strictly `PROPOSED`. Do not cite them as landed code, deployed behavior, or measured production savings.
134+
135+### R45 `inst` codebook (`041-099`, DRA-504) — `PROPOSED`
136+
137+- **Status:** `PROPOSED` (comment posted 2026-11-09; live push of `inst-v0` canceled by Drake on 2026-11-10; superseded for internal bots by Trinary Doctrine). Retained as a design reference only if an external-bot compact wire scope is reopened.
138+- **Grammar:** `I := inst V (O|M|Arg)* end`, bounded at `<= 31` ids per message, using reserved slots `041-099` in `codebook.tsv`.
139+- **Recorded offline measurements (MEASURED, not live production savings):**
140+ - 17 real bot messages: `595 -> 233` `cl100k` tokens (~61% reduction; `13/17` fully expressible).
141+ - Offline N=10 benchmark: English `401` -> R45/`inst` `133` (-67%); hex baseline `6212` (15.5×).
142+
143+### Gen 3 Error-Resistant Codebook — `PROPOSED`
144+
145+- **Status:** `PROPOSED` (combinatorics verified; no `.om` implementation, `codebook.tsv` rows, or Lean proof landed; strictly separate from landed v1 `tools/codebook`).
146+- **Kraft capacity check:** 10 single-digit decimal codes saturate prefix capacity (`10 * (1/10) = 1`); reserving `9` as an escape prefix yields `9/10 + 100/1000 = 1`.
147+- **Verified Hamming-distance finding on `{0,1,2}^3` (27 ternary triples) around `{000, 111, 222}`:**
148+ - `21` of `27` triples lie at Hamming distance `<= 1` from an anchor (`6` at distance `1` from `000`).
149+ - Only **`6` of `27`** (`012, 021, 102, 120, 201, 210`) have distance `>= 2` from all three anchors (minimum pairwise distance `2`).
150+ - **`0` of `27`** have distance `>= 3` from all three anchors.
151+- **5-digit ternary design direction on `{0,1,2}^5` (243 ternary 5-tuples) around `{00000, 11111, 22222}`:**
152+ - **`90` of `243`** have Hamming distance `>= 3` from all three anchors (`210` at `>= 2`, `0` at `>= 4`), enabling single-trit error detection/correction without colliding with the stop anchor.
153+
154+## 6. Pinned revisions and hashes (2026-11-19)
155+
156+| Repo / branch | Commit | Path | SHA-256 (`shasum -a 256`) |
157+|---|---|---|---|
158+| `omega-mv` (`main`) | `e703c1b78d85034931904b657bece99e4bc2935e` | `tools/trit/README.md` | `a5eaccc9c699c11816e5aff60c7ad60f299123321e0ad4999ed89c5cf028baa1` |
159+| `omega-mv` (`main`) | `e703c1b78d85034931904b657bece99e4bc2935e` | `tools/trit/trit.om` | `a2c3a61ff1b5b8107e39236cb28c3fb2d13018bf88a006e1cbcb05a38a951969` |
160+| `omega-mv` (`main`) | `e703c1b78d85034931904b657bece99e4bc2935e` | `tools/trit/proof/TritSignal.lean` | `ec72ca856608e1469f223ad58cd4e40fb29adee8a9ebd158de12cf34c47b8c9a` |
161+| `omega-mv` (`main`) | `e703c1b78d85034931904b657bece99e4bc2935e` | `tools/trit/test.sh` | `e669a94308113e04e8109430af5a223d64da312b1b048f6cbf1fd8817e591127` |
162+| `omega-mv` (`main`) | `e703c1b78d85034931904b657bece99e4bc2935e` | `tools/codebook/README.md` | `d4f66b967712264b261ffa2381a650cf0a6b342707e48dc8f0a08ab91a559315` |
163+| `omega-mv` (`main`) | `e703c1b78d85034931904b657bece99e4bc2935e` | `tools/codebook/codebook.tsv` | `d2942e9f3c014781f38bc33054e117fef70c52941ad11beeb6f68c89cdac21fb` |
164+| `omega-mv` (`main`) | `e703c1b78d85034931904b657bece99e4bc2935e` | `tools/codebook/codebook.om` | `cde2b935b0b7389a49ba788b07d93daa58b77082009e1ad7775a2c4fc7959574` |
165+| `omega-mv` (`main`) | `e703c1b78d85034931904b657bece99e4bc2935e` | `tools/codebook/proof/CodebookProof.lean` | `cabe08efa0867f05f620cd4d3517941e34ce5ee5b524cc58dfca5ce2a59a6ea1` |
166+| `omega-mv` (`main`) | `e703c1b78d85034931904b657bece99e4bc2935e` | `tools/codebook/test.sh` | `5e47cf4d52568c7370faee49c74bfddb5fcddc52d7baa13c08e3b7d187061ec2` |
167+| `aien-train` (`feat/darwin-ollm-specialists`) | `e993f179651b8dd5e99a040b6ec7284fff8cb12e` | `docs/omegese45/CONTRACT.md` | `df47d5d2e0630f03289142a9a1b178e2ccd5c10a3928f38f0dbac381461b9a06` |
168+| `aien-train` (`feat/darwin-ollm-specialists`) | `e993f179651b8dd5e99a040b6ec7284fff8cb12e` | `docs/omegese45/vocab.tsv` | `c1d7e15466e6585a776314c5c05f35466b2697d9631ad2e11c7918a434a4c18d` |
169+| `aien-train` (`feat/darwin-ollm-specialists`) | `e993f179651b8dd5e99a040b6ec7284fff8cb12e` | `docs/omegese45/TRANSLATOR.md` | `8417919d76901d4a111bbd9031343430caca3fa3ff5fd27c1337944f233729dc` |

skills/spark-q38-stress/SKILL.md

new file mode 100644
@@ -0,0 +1,44 @@
1+---
2+name: spark-q38-stress
3+description: Replay the physical Spark GB10 Qwen four-layer, eight-stream stress test and paged-attention suite, then compare throughput, latency and correctness with a named earlier run.
4+---
5+
6+# Repeat the Spark Q38 stress suite
7+
8+For requests such as “repeat last night’s GPU stress test,” locate the prior Q38 receipt by its `REPORT.md`, `Q38_STRESS_BENCH` verdict and two window IDs. The November 19, 2026 receipt directory is named `omega-spark-stress-c9fe0f228`. Its `remote-path` identifies the original Spark directory. Read the report, `provenance.txt`, `build.sha256`, `run.sh` and `paged/run.sh`.
9+
10+## Choose the build
11+
12+For a repeat on the same code, verify the clean source commit and physics pin, then verify every executable, archive and benchmark-source hash against the prior manifest. Its first five paths are relative to the source checkout and the remaining two to the benchmark directory. For a change under test, use a clean checkout of the requested revision, check out the physics revision in its `physics.lock`, and build the three in-tree test binaries and `build/libomega_gpu.a`. Compile the archived `q38_stress_bench.c` with the same flags and the new archive. Check the final link inputs before attributing results to a change in a sibling repository.
13+
14+Create a fresh receipt directory. Record the revision, dependency and binary hashes, compiler, driver, benchmark source, commands and baseline receipt. Keep the earlier receipt intact. Reuse the archived scripts after checking their paths and revision assertions against the selected build.
15+
16+## Run nine checks on silicon
17+
18+Follow the [GB10 operating procedure](../nvidia-gb10/SKILL.md) for authorization, device ownership and window acquisition. Use exclusive chip and quiet-machine windows for these timings. Record one-second utilization, clocks, temperature and power, each command’s exit code and wall time, and each window’s open and close records. Close the window on failure as well as success.
19+
20+Execute the following rows sequentially from the tested checkout. Write every JSON result to the fresh receipt directory using an absolute output path.
21+
22+| Window | Command | Evidence |
23+|---|---|---|
24+| 1 | `build/gpu_q38_graph_test` | Graph checks and failure count |
25+| 1 | `build/gpu_q38_stroke_exact_test` | Exact output and detected mutants |
26+| 1 | Archived or rebuilt `q38_stress_bench` | Batch sweep, eight-stream token parity, sustained 64-step run |
27+| 1 | `build/gpu_attention_test --hd 64 --out "$out/attention-64.json"` | Physical attention battery |
28+| 1 | Repeat with `--hd 128` and a separate receipt | Physical attention battery |
29+| 2 | `build/gpu_attention_test --timing --out "$out/timing.json"` | Context-2048 timing and violations |
30+| 2 | `build/gpu_attention_test --sweep --out "$out/sweep.json"` | Supported and unsupported configurations |
31+| 2 | `build/gpu_attention_test --split-timing --hd 64 --out "$out/split-64.json"` | Context-1268 split timing |
32+| 2 | Repeat with `--hd 128` and a separate receipt | Context-1268 split timing |
33+
34+Preserve the ten-second gaps after the graph and exact-output runs. Check the actual counters and each mode’s verdict. The attention JSON uses `failed` and a mode-specific `verdict`. An exit code alone cannot establish a match with the prior run. Record a partial run if a window closes early or a row fails.
35+
36+## Compare the receipts
37+
38+When repeating the November 19 C-to-OM comparison, use the original C baseline (799adb6d8) and first OM-2 run (eb8918dcf) as separate columns beside the candidate commit. Cite the receipt or supplied capture for each historical column. Identify the candidate actually linked into the test. Lead with the graph and exact-output counts, bit-identical logit checks, detected mutant, four-head/two-layer stroke timing and both eight-stream token comparisons.
39+
40+Show seven-repetition batched BF16 medians for N=2, 4, 6 and 8, then the sustained 64×8 exact-head mean and aggregate tokens/s. Calculate latency speedup as baseline divided by candidate. Use the `PTIMER [N=8 bat plain_bf16]` block for the per-kernel table. Include lm_head time and launches, attention, argmax, GDN, mix, o_proj, gate_up and four-layer trunk total. Keep PTIMER microseconds distinct from wall-clock milliseconds. Describe speedups as measured ratios and identify kernel changes as causes only when separately verified.
41+
42+Report sustained token steps. Compare aggregate tokens/s, mean and p95 GPU step time, and the two eight-stream batch medians side by side. For attention, compare the two battery counts, timing violations and median, sweep coverage, and split medians at both dimensions. Report differences in binaries, machine conditions or window verdicts that affect interpretation. Preserve raw logs, JSON and telemetry beside the report.
43+
44+The historical workload uses seeded weights, three GDN layers, one attention layer and the full output head. Its Qwen graph uses head dimension 256. The separate paged-attention batteries exercise dimensions 64 and 128. Report measurements at the workload and dimension actually tested.

skills/wolfram-math/SKILL.md

@@ -16,8 +16,17 @@ not a spreadsheet cell, not a number produced by fluency.
1616 - Checking a formula that code implements against its symbolic form.
1717 - The physics behind a visual or a claim, not only the arithmetic of the numbers already measured.
1818
19-Not in scope: a number that is already measured and filed with its source (quote it with the source);
20-integer bookkeeping such as line counts, byte sizes, exit codes, PIDs and commit shas.
19+Label each Omega math check `math-check` in the work item's receipt, including checks embedded
20+in another task. Start at full independent review. Each agent opens the original artifact or user
21+input, identifies the version, field or row, value and unit, and runs the calculation in Wolfram.
22+For symbolic checks, capture the expression and assumptions. Keep the reviewer's answer sealed until
23+comparison. Compare both the inputs and the reported result, including units and rounding. Record
24+the first material difference and its resolution. An unavailable required source leaves the check
25+unverified. Apply the standing independent-first rule to any change of review tier.
26+
27+Exempt from recomputation: a number that is already measured and filed with its source (quote it with the source);
28+integer bookkeeping such as line counts, byte sizes, exit codes, PIDs and commit shas. Read quoted
29+values and identifiers from their original records. When a count becomes an operand, apply the full math check.
2130
2231 ## Tools in this harness
2332
@@ -58,6 +67,9 @@ Mounted as MCP tools by the hosted service `https://agenttools.wolfram.com/mcp`:
5867
5968 - One call per question, and quote the query with the result where the work lives:
6069 `WolframLanguageEvaluator: Integrate[x^2, {x, 0, 1}] -> 1/3`.
70+- **Persist receipts in the repository or evidence directory before citing "Wolfram verified" in any committed
71+ file.** A session-only Wolfram call whose raw query and reply are not saved alongside the deliverable (or backed
72+ by committed `aien-calc` receipts) cannot be audited in a fresh-clone review and must be omitted or withdrawn.
6173 - Prefer exact results. Take `N[...]` only when a decimal is what the reader needs, and say which form
6274 you used. `Quantity` and `UnitConvert` carry the unit into the text; a bare number without a unit is
6375 not a result.

skills/writing-omega/SKILL.md

@@ -6,8 +6,7 @@ description: Portable guide to writing Omega (.om) programs that the seeded omc
66 # Writing Omega programs
77
88 This guide is for any agent or person writing `.om` on any machine. It needs only a clone of
9-omega-mv (`rad clone rad:z6do9WDBhuSnvopDkgFdFr1yWA62`, or `git clone
10-https://www.aienos.com/rad/z6do9WDBhuSnvopDkgFdFr1yWA62.git`; browse it at
9+omega-mv (`git clone https://interplane.io/projects/omega-mv/repo.git`; browse it at
1110 https://interplane.io/drakestapleton/omega-mv) and of this repository. The worked
1211 examples are rerun by [`examples/gate.sh`](../../examples/gate.sh), which accepts only the pinned
1312 compiler below. For compiler internals, register rules, wire formats and the reasons behind each rule,
@@ -16,8 +15,8 @@ read [`skills/omega-encoding/SKILL.md`](../omega-encoding/SKILL.md).
1615 <!-- gen:pin -->
1716 | Pin (`PIN`) | Value |
1817 |---|---|
19-| omega-mv commit | `2ee0a70d1830581b706f288e722f3329d51f3583` |
20-| `seed/out/omc` sha256 | `26540e6de62402d5784b30b24d7c6faae488137c1f8a4b3e784fd0b5d5528991` |
18+| omega-mv commit | `6c562dd1f7ab01fd9a2638e74a7330ec4c941ad8` |
19+| `seed/out/omc` sha256 | `34d611ca0415eab1728d3234911d90e74af17ba9ab0c581d559f48274d7ca6d3` |
2120 | reference data | `data/reference.tsv`: omega-mcp's `data/reference.json` for this pin, with 201 keyword-table entries (80 host words), 30 compiler error codes, 14 traps and 13 topics |
2221 <!-- /gen:pin -->
2322
@@ -56,7 +55,7 @@ At `e5b32567`, write `while C bound N` with N at most 999999 and no `for ... bou
5655 ## 1. Compile and run
5756
5857 ```sh
59-git clone rad://z6do9WDBhuSnvopDkgFdFr1yWA62 omega-mv && cd omega-mv
58+git clone https://interplane.io/projects/omega-mv/repo.git omega-mv && cd omega-mv
6059 git checkout "$(sed -n 's/^omega-mv //p' path/to/omega-harness/PIN)"
6160 sha256sum seed/out/omc # must equal the omc-sha256 line of PIN; any other omc is refused by the gate
6261 sh seed/omega-from-seed.sh # optional: rebuild omc from the 408-byte loader

tools/check.sh

@@ -4,7 +4,7 @@
44 # With OMC (its sha256 must be PIN's omc-sha256) it builds tools/jflat.om, tools/guides.om and
55 # tools/rules.om, then requires:
66 # data data/reference.tsv is tools/jflat's flattening of the omega-mcp data/reference.json that
7-# data/SOURCE names (OMEGA_MCP: default its local Radicle storage, else the HTTPS mirror)
7+# data/SOURCE names (OMEGA_MCP: default the Interplane git repository)
88 # guides `git ls-files | guides check` exits 0: every block matches its sources, nothing typed
99 # rules `rules lint rules/rules.txt` exits 0, and rendering is deterministic
1010 # and that every check fails its negative control, on a scratch copy of the tracked files:
@@ -19,7 +19,6 @@ set -u
1919 [ "$#" -ge 1 ] || { sed -n '2,14s/^# \{0,1\}//p' "$0" >&2; exit 2; }
2020 omc=$1
2121 mcp=${2:-}
22-RID=z3e8UBQVfwEcESJrcTWEbyMAHWFBZ
2322 [ -f PIN ] && [ -d tools ] || { echo "CHECK FAIL run in the omega-harness root" >&2; exit 2; }
2423 want=$(sed -n 's/^omc-sha256 //p' PIN)
2524 got=$(sha256sum "$omc" 2>/dev/null | cut -d' ' -f1)
@@ -41,8 +40,7 @@ expect() { if [ "$3" = "$2" ]; then ok "$1 (exit $3)"; else no "$1: exit $3, exp
4140 set -- $(cat data/SOURCE 2>/dev/null)
4241 if [ "$#" -ge 6 ]; then
4342 if [ -z "$mcp" ]; then
44- mcp=${RAD_HOME:-$HOME/.radicle}/storage/$RID
45- [ -d "$mcp" ] || mcp=https://www.aienos.com/rad/$RID.git
43+ mcp=https://interplane.io/projects/omega-mcp/repo.git
4644 fi
4745 if git clone -q --bare "$mcp" "$tmp/mcp" 2>/dev/null && git --git-dir "$tmp/mcp" show "$3:$4" > "$tmp/ref.json" 2>/dev/null; then
4846 [ "$(sha256sum "$tmp/ref.json" | cut -d' ' -f1)" = "$6" ] && "$tmp/jflat" < "$tmp/ref.json" | cmp -s - data/reference.tsv
@@ -137,10 +135,97 @@ cp rules/rules.txt "$tmp/priv.txt" && printf 'rule leak\ndate 2026-11-11\nfor al
137135 "$tmp/rules" lint "$tmp/priv.txt" > /dev/null
138136 expect "control: a home path in the public rules is refused" 1 $?
139137
138+# Tracker addresses and private issue identifiers belong only in the machine overlay.
139+for marker in 'https://linear.app/private-workspace/issue/example' 'DRA-EXAMPLE'; do
140+ cp rules/rules.txt "$tmp/tracker.txt" && printf 'rule tracker-leak\ndate 2026-11-16\nfor all\norder 1\n| read %s\nend\n' "$marker" >> "$tmp/tracker.txt"
141+ "$tmp/rules" lint "$tmp/tracker.txt" > /dev/null
142+ expect "control: a private tracker reference in public rules is refused" 1 $?
143+ printf 'rule private-tracker\ndate 2026-11-16\nfor all\norder 1\n| read %s\nend\n' "$marker" > "$tmp/tracker-overlay.txt"
144+ "$tmp/rules" lint rules/rules.txt "$tmp/tracker-overlay.txt" > /dev/null
145+ expect "control: a private tracker reference in the overlay is allowed" 0 $?
146+done
147+
140148 cp rules/rules.txt "$tmp/open.txt" && printf 'rule open\ndate 2026-11-11\nfor all\norder 1\n| text\n' >> "$tmp/open.txt"
141149 "$tmp/rules" lint "$tmp/open.txt" > /dev/null
142150 expect "control: a rule without end is refused" 1 $?
143151
152+# A generic reader gets the complete agents policy unless its own cap requires a shorter file.
153+cat > "$tmp/size.rules" <<'RULES'
154+rule shared
155+date 2026-11-18
156+for all
157+order 1
158+| SHARED POLICY
159+end
160+rule only-agents
161+date 2026-11-18
162+for agents
163+order 2
164+| AGENTS ONLY
165+end
166+rule limited
167+date 2026-11-18
168+for generic
169+order 3
170+| LIMITED ééé
171+end
172+RULES
173+# Make the shared text longer than the compact file's directions.
174+for i in 1 2 3 4 5 6 7 8; do
175+ sed -i '/^| SHARED POLICY$/a | The shared rules belong in the full agent file.' "$tmp/size.rules"
176+done
177+size_overlay() {
178+ printf 'target agents /full agent.md\ntarget generic /small.md\ntarget generic /large.md\ntarget omp /omp.md\n'
179+}
180+size_overlay > "$tmp/base.ov"
181+check_sizes() (
182+ set -e
183+ r=$1
184+ full=$("$r" render "$tmp/size.rules" "$tmp/base.ov" generic HEAD)
185+ printf '%s\n' "$full" | grep -qx 'AGENTS ONLY'
186+ printf '%s\n' "$full" | grep -qx 'SHARED POLICY'
187+ printf '%s\n' "$full" | grep -qx 'LIMITED ééé'
188+ n=$(printf '%s\n' "$full" | LC_ALL=C.UTF-8 wc -m)
189+ { size_overlay; printf 'cap %s /small.md\n' "$((n - 1))"; } > "$tmp/size.ov"
190+ small=$("$r" render "$tmp/size.rules" "$tmp/size.ov" generic HEAD /small.md)
191+ printf '%s\n' "$small" | grep -qx 'LIMITED ééé'
192+ printf '%s\n' "$small" | grep -qF '/full agent.md'
193+ if printf '%s\n' "$small" | grep -qx 'SHARED POLICY'; then exit 1; fi
194+ test "$full" = "$("$r" render "$tmp/size.rules" "$tmp/size.ov" generic HEAD /large.md)"
195+ s=$(printf '%s\n' "$small" | LC_ALL=C.UTF-8 wc -m)
196+ { size_overlay; printf 'cap %s /small.md\n' "$s"; } > "$tmp/size.ov"
197+ "$r" fit "$tmp/size.rules" "$tmp/size.ov" HEAD | grep -q " $s of $s ok$"
198+ { size_overlay; printf 'cap %s /small.md\n' "$((s - 1))"; } > "$tmp/size.ov"
199+ if "$r" fit "$tmp/size.rules" "$tmp/size.ov" HEAD > "$tmp/fit.out"; then exit 1; fi
200+ grep -q ' OVER$' "$tmp/fit.out"
201+ if "$r" render "$tmp/size.rules" "$tmp/size.ov" generic HEAD /small.md >/dev/null 2>&1; then exit 1; fi
202+ omp=$("$r" render "$tmp/size.rules" "$tmp/base.ov" omp HEAD)
203+ n=$(printf '%s\n' "$omp" | LC_ALL=C.UTF-8 wc -m)
204+ { size_overlay; printf 'cap %s /omp.md\n' "$n"; } > "$tmp/size.ov"
205+ "$r" fit "$tmp/size.rules" "$tmp/size.ov" HEAD | grep -q "fit omp /omp.md $n of $n ok$"
206+ printf 'target generic /small.md\ncap %s /small.md\n' "$s" > "$tmp/alone.ov"
207+ if "$r" fit "$tmp/size.rules" "$tmp/alone.ov" HEAD >/dev/null; then exit 1; fi
208+ if "$r" render "$tmp/size.rules" "$tmp/base.ov" generic HEAD /omp.md >/dev/null 2>&1; then exit 1; fi
209+ if "$r" render "$tmp/size.rules" "$tmp/base.ov" omp HEAD /unknown.md >/dev/null 2>&1; then exit 1; fi
210+ size_overlay > "$tmp/missing.ov"
211+ printf 'cap 100 /unknown.md\n' >> "$tmp/missing.ov"
212+ if "$r" fit "$tmp/size.rules" "$tmp/missing.ov" HEAD >/dev/null; then exit 1; fi
213+ for invalid in 'cap 2' 'cap 2 /small.md' 'cap -1 /small.md' 'target omp /small.md'; do
214+ { size_overlay; printf '%s\n' "$invalid"; } > "$tmp/invalid.ov"
215+ if "$r" lint "$tmp/size.rules" "$tmp/invalid.ov" >/dev/null; then exit 1; fi
216+ done
217+ # Exercise the published class in both generic readers from one overlay.
218+ n=$("$r" render rules/rules.txt "$tmp/base.ov" generic HEAD | LC_ALL=C.UTF-8 wc -m)
219+ { size_overlay; printf 'cap %s /small.md\n' "$((n - 1))"; } > "$tmp/real.ov"
220+ for path in /large.md /small.md; do
221+ "$r" render rules/rules.txt "$tmp/real.ov" generic HEAD "$path" > "$tmp/real.md"
222+ grep -Fq 'Record every Omega math check under the class' "$tmp/real.md"
223+ done
224+ exit 0
225+)
226+check_sizes "$tmp/rules"
227+expect "generic coverage, per-path caps, Unicode boundaries and malformed or ambiguous targets" 0 $?
228+
144229 printf '{"a":[1,}' | "$tmp/jflat" > /dev/null 2>&1
145230 expect "control: malformed JSON is refused" 2 $?
146231

tools/claude-launcher.sh

new file mode 100755
@@ -0,0 +1,6 @@
1+#!/bin/bash
2+# Maintained existing Claude launcher. Coordination is a role, not a named-chat key.
3+# Agent lifecycle authorization and preservation of active work are in the generated rules.
4+REAL=$(ls -1d "$HOME"/.local/share/claude/versions/* 2>/dev/null | sort -V | tail -1)
5+[ -x "$REAL" ] || { echo "claude guard: no claude binary under ~/.local/share/claude/versions" >&2; exit 127; }
6+exec "$REAL" "$@"

tools/install.sh

@@ -1,5 +1,5 @@
11 #!/bin/sh
2-# install.sh: install omega-harness from Radicle main at a recorded head, or check an installation.
2+# install.sh: install omega-harness from Interplane main at a recorded head, or check an installation.
33 #
44 # tools/install.sh --skills DIR [--check] [--source URL] [--rev SHA]
55 # Copy every skills/<name>/ of main into DIR (other skills in DIR are left alone), remove a skill
@@ -10,9 +10,10 @@
1010 # one install has recorded its head there.
1111 # tools/install.sh --omc OMC|auto [--check] [--source URL] [--rev SHA] [--overlay FILE]
1212 # On a Linux AArch64 host: build tools/rules with OMC (its sha256 must be PIN's; `auto` takes
13-# seed/out/omc at PIN's omega-mv commit from omega-mv's Radicle storage or mirror), then install
13+# seed/out/omc at PIN's omega-mv commit from the Interplane omega-mv repository), then install
1414 # or check every skills directory and instruction file that FILE names (default
15-# ~/.config/omega-harness/local.rules; `skills DIR` and `target PROGRAM PATH` records). Each
15+# ~/.config/omega-harness/local.rules; `skills DIR` and `target PROGRAM PATH` records).
16+# cap CHARS PATH limits a target in decoded characters. All caps are checked before installation. Each
1617 # instruction file is rendered from rules/rules.txt plus FILE. A file kept by aien-keep (its
1718 # path resolves under /srv/aien-keep/) is replaced only through `sudo aien-keep update` (the
1819 # keeper keeps the old copy); any other through a rename, after a dated backup under
@@ -22,14 +23,15 @@
2223 # a failure inside its install loop to the overlay's `alarm` file; earlier failures (clone, PIN,
2324 # omc, overlay) are alarmed by the hook. Nothing runs on a clock or inside Radicle storage.
2425 #
25-# SOURCE is the local Radicle storage of omega-harness when it exists, else the HTTPS mirror. --rev
26+# SOURCE is the Interplane git repository of omega-harness. --rev
2627 # installs that commit instead of main's head (the post-landing hook passes the landed head).
28+# The recorded install token still begins `rad:` plus the old repository id, so a check matches
29+# copies installed before the forge move.
2730 # This file is invocation glue (clone, copy, compare, rename); what is generated and how is decided
2831 # by tools/rules.om. Exit 0 installed or current, 1 a check found a difference, 2 usage or a failed step.
2932 set -u
3033 PATH=$HOME/.local/bin:$PATH
3134 RID=z39gvwWsnkRZsAConQLjaKiNVLHfW
32-STORE=${RAD_HOME:-$HOME/.radicle}/storage/$RID
3335 check=0 sdir= omc= overlay=$HOME/.config/omega-harness/local.rules source= rev=
3436 while [ $# -gt 0 ]; do
3537 case $1 in
@@ -39,13 +41,13 @@ while [ $# -gt 0 ]; do
3941 --omc) omc=${2:?}; shift ;;
4042 --overlay) overlay=${2:?}; shift ;;
4143 --source) source=${2:?}; shift ;;
42- *) sed -n '2,28s/^# \{0,1\}//p' "$0" >&2; exit 2 ;;
44+ *) sed -n '2,30s/^# \{0,1\}//p' "$0" >&2; exit 2 ;;
4345 esac
4446 shift
4547 done
46-[ -n "$sdir$omc" ] || { sed -n '2,28s/^# \{0,1\}//p' "$0" >&2; exit 2; }
48+[ -n "$sdir$omc" ] || { sed -n '2,30s/^# \{0,1\}//p' "$0" >&2; exit 2; }
4749 if [ -z "$source" ]; then
48- if [ -d "$STORE" ]; then source=$STORE; else source=https://www.aienos.com/rad/$RID.git; fi
50+ source=https://interplane.io/projects/omega-harness/repo.git
4951 fi
5052 unset GIT_DIR GIT_NAMESPACE GIT_WORK_TREE GIT_INDEX_FILE
5153 export GIT_TERMINAL_PROMPT=0
@@ -123,11 +125,9 @@ fi
123125 [ -f "$tmp/h/PIN" ] && [ -f "$tmp/h/tools/rules.om" ] ||
124126 { echo "install: $head has no PIN or tools/rules.om (install from a commit that has them)" >&2; exit 2; }
125127 if [ "$omc" = auto ]; then
126- # the compiler PIN names, taken from omega-mv's Radicle storage (or its HTTPS mirror)
127- mvrid=z6do9WDBhuSnvopDkgFdFr1yWA62
128+ # the compiler PIN names, taken from the Interplane omega-mv repository
128129 mvrev=$(sed -n 's/^omega-mv //p' "$tmp/h/PIN")
129- mvs=${RAD_HOME:-$HOME/.radicle}/storage/$mvrid
130- [ -d "$mvs" ] || { git clone -q --bare --filter=blob:none "https://www.aienos.com/rad/$mvrid.git" "$tmp/mv" && mvs=$tmp/mv; }
130+ git clone -q --bare "https://interplane.io/projects/omega-mv/repo.git" "$tmp/mv" && mvs=$tmp/mv
131131 git --git-dir "$mvs" cat-file blob "$mvrev:seed/out/omc" > "$tmp/omc" && chmod +x "$tmp/omc" ||
132132 { echo "install: cannot read seed/out/omc at omega-mv $mvrev" >&2; exit 2; }
133133 omc=$tmp/omc
@@ -138,13 +138,20 @@ got=$(sha256sum "$omc" 2>/dev/null | cut -d' ' -f1)
138138 "$omc" < "$tmp/h/tools/rules.om" > "$tmp/rules" && chmod +x "$tmp/rules" || { echo "install: tools/rules.om does not compile" >&2; exit 2; }
139139 [ -f "$overlay" ] || { echo "install: no overlay $overlay" >&2; exit 2; }
140140 rhead=$(git -C "$tmp/h" log -1 --format=%H -- rules tools/rules.om)
141-"$tmp/rules" targets "$tmp/h/rules/rules.txt" "$overlay" > "$tmp/targets" || { echo "install: rules targets failed" >&2; exit 2; }
141+"$tmp/rules" targets "$tmp/h/rules/rules.txt" "$overlay" > "$tmp/targets" || { cat "$tmp/targets" >&2; echo "install: rules targets failed" >&2; exit 2; }
142142 alarm=$(sed -n 's/^alarm - //p' "$tmp/targets" | head -n 1)
143+"$tmp/rules" fit "$tmp/h/rules/rules.txt" "$overlay" "$rhead" > "$tmp/fit" || {
144+ cat "$tmp/fit" >&2
145+ echo "install: target capacity check failed; nothing installed" >&2
146+ [ "$check" = 0 ] && [ -n "$alarm" ] &&
147+ echo "$(date -u +%FT%TZ) omega-harness: tools/install.sh at $head refused: $(grep -v ' ok$' "$tmp/fit" | head -n 1)" >> "$alarm"
148+ exit 2
149+}
143150 while read -r kind prog path; do
144151 case $kind in
145152 skills) do_skills "$path" < /dev/null ;;
146153 target)
147- "$tmp/rules" render "$tmp/h/rules/rules.txt" "$overlay" "$prog" "$rhead" > "$tmp/out" || { rc=2; continue; }
154+ "$tmp/rules" render "$tmp/h/rules/rules.txt" "$overlay" "$prog" "$rhead" "$path" > "$tmp/out" || { rc=2; continue; }
148155 cmp -s "$tmp/out" "$path" && continue
149156 if [ "$check" = 1 ]; then echo "DIFFERS $path: not the rendering of rules at $rhead"; rc=1; continue; fi
150157 case $(readlink -f "$path") in

tools/regen.sh

@@ -5,17 +5,16 @@
55 # newest omega-mcp commit whose data/reference.json is the reference data for PIN (guides pinof decides),
66 # writes it flattened to data/reference.tsv with its provenance in data/SOURCE, then rewrites every
77 # generated block (`git ls-files | guides gen`). OMEGA_MCP is a clone URL or git directory of omega-mcp:
8-# default its local Radicle storage, else the HTTPS mirror. Run in the repository root.
8+# default the Interplane git repository. Run in the repository root.
99 # This file is invocation glue; the decisions are made by the Omega programs it builds.
1010 # Exit 0 regenerated, 1 guides gen reported findings, 2 usage, pin or I/O error.
1111 set -u
1212 [ "$#" -ge 1 ] || { sed -n '2,10s/^# \{0,1\}//p' "$0" >&2; exit 2; }
1313 omc=$1
1414 mcp=${2:-}
15-RID=z3e8UBQVfwEcESJrcTWEbyMAHWFBZ
15+forge=https://interplane.io/projects/omega-mcp/repo.git
1616 if [ -z "$mcp" ]; then
17- mcp=${RAD_HOME:-$HOME/.radicle}/storage/$RID
18- [ -d "$mcp" ] || mcp=https://www.aienos.com/rad/$RID.git
17+ mcp=$forge
1918 fi
2019 [ -f PIN ] && [ -d tools ] || { echo "regen: run in the omega-harness root" >&2; exit 2; }
2120 want=$(sed -n 's/^omc-sha256 //p' PIN)
@@ -39,6 +38,6 @@ done
3938 [ -n "$found" ] || { echo "regen: no omega-mcp commit holds reference data for PIN; generate it there first (omega-mcp tools/gen-reference.py)" >&2; exit 2; }
4039 mkdir -p data
4140 cp "$tmp/ref.tsv" data/reference.tsv
42-printf 'omega-mcp rad:%s %s data/reference.json sha256 %s\n' "$RID" "$found" "$(sha256sum "$tmp/ref.json" | cut -d' ' -f1)" > data/SOURCE
41+printf 'omega-mcp %s %s data/reference.json sha256 %s\n' "$forge" "$found" "$(sha256sum "$tmp/ref.json" | cut -d' ' -f1)" > data/SOURCE
4342 echo "regen: data/reference.tsv from omega-mcp $found"
4443 git ls-files | build/guides gen

tools/rules.om

@@ -4,26 +4,34 @@ note
44 note rules lint SRC [OVL] check both files; a line of the public SRC may not hold `~/`, `$HOME`,
55 note `/home/`, `/Users/`, `/root/`, `/srv/`, `/var/`, `/etc/`, `127.0.0.1`,
66 note the host name `spark` (lowercase) or a private repository name
7-note (`omega-pearl`, `aien-crypto`): those go in the overlay
8-note rules render SRC OVL PROG HEAD the instruction file for PROG, on stdout
7+note (`omega-pearl`, `aien-crypto`), Linear URLs or DRA issue IDs: those go in the overlay
8+note rules render SRC OVL PROG HEAD [PATH] the instruction file for PROG, on stdout
99 note rules targets SRC OVL `target PROG PATH`, `skills - DIR` and `alarm - FILE` lines
10+note rules fit SRC OVL HEAD for each OVL `cap CHARS PATH`: render the target with that PATH and count
11+note its characters (UTF-8 code points, as a reader that decodes the file
12+note counts them); prints `fit PROG PATH N of CHARS ok|OVER`; exit 1 when
13+note a render is over its cap or a cap names no target
1014 note
1115 note SRC is rules/rules.txt; OVL is the overlay, kept on one machine and never published. Both have one
1216 note format, one record per line group:
1317 note rule ID begins a rule; ID is lowercase letters, digits and `-`, unique over both files
1418 note date YYYY-MM-DD the date of the statement the rule rests on
1519 note said TEXT Drake's exact words, when they exist (any number of lines; kept, not rendered)
16-note for P ... the programs it applies to: claude, codex, agents, omp, watchdog; `all` is the
17-note first four
20+note for P ... the programs it applies to: claude, codex, agents, omp, watchdog, generic; `all`
21+note includes claude, codex, agents and omp. A generic reader gets agents and generic
22+note rules. If its configured cap is exceeded and an agents target is available, it
23+note gets the rules marked generic plus directions to the full agents file.
1824 note order N where it goes in every file it is rendered into (ascending; ties keep SRC
1925 note before OVL, then file order)
2026 note | TEXT or | one line of the rendered rule, or an empty one
2127 note end ends the rule
2228 note Outside a rule, a line is empty, a comment (`#`), or, in OVL only, `target PROG PATH` (PROG's
23-note instruction file on this machine), `skills DIR` (an installed skills directory) or `alarm FILE`
24-note (where a failed install is reported). A rendered file is a header naming HEAD (the last commit that
25-note changed the rules) and each rule for PROG in order, separated by an empty line. Same inputs, same
26-note bytes. Exit 0 done, 1 lint findings, 2 usage, read error or a malformed file.
29+note instruction file on this machine), `skills DIR` (an installed skills directory), `alarm FILE`
30+note (where a failed install is reported) or `cap CHARS PATH` (the most characters the reader of the
31+note target PATH keeps; `fit` and tools/install.sh refuse a render over it). A rendered file is a header
32+note naming HEAD (the last commit that changed the rules) and each rule for PROG in order, separated by an
33+note empty line. Same inputs, same bytes. Exit 0 done, 1 lint findings or a render over its cap, 2 usage,
34+note read error or a malformed file.
2735
2836 global rb uchar 16777216
2937 global obuf uchar 16777216
@@ -50,15 +58,20 @@ const s_hl ulong 6
5058 const s_ls ulong 7
5159 const s_le ulong 8
5260 const s_al ulong 9
61+note allm preserves the shared rules for claude, codex, agents and omp.
62+const allm ulong 15
63+const genm ulong 32
5364
5465 text a_lint "lint"
5566 text a_render "render"
5667 text a_tgts "targets"
68+text a_fit "fit"
5769 text p_claude "claude"
5870 text p_codex "codex"
5971 text p_agents "agents"
6072 text p_omp "omp"
6173 text p_watch "watchdog"
74+text p_gen "generic"
6275 text p_all "all"
6376 text w_rule "rule "
6477 text w_date "date "
@@ -70,6 +83,7 @@ text w_bar "|"
7083 text w_target "target "
7184 text w_skills "skills "
7285 text w_alarm "alarm "
86+text w_cap "cap "
7387 text k_home "~/"
7488 text k_home2 "/home/"
7589 text k_users "/Users/"
@@ -82,7 +96,9 @@ text k_dhome "$HOME"
8296 text k_root "/root/"
8397 text k_var "/var/"
8498 text k_etc "/etc/"
85-text m_use "usage: rules lint SRC [OVL] | rules render SRC OVL PROG HEAD | rules targets SRC OVL\n"
99+text k_linear "linear.app/"
100+text k_issue "DRA-"
101+text m_use "usage: rules lint SRC [OVL] | rules render SRC OVL PROG HEAD [PATH] | rules targets SRC OVL | rules fit SRC OVL HEAD\n"
86102 text m_read "rules: cannot read "
87103 text m_full "rules: refused, the rules files fill the 16777216-byte buffer\n"
88104 text m_many "rules: refused, more than 65536 rules\n"
@@ -91,7 +107,7 @@ text m_prog "rules: unknown program: "
91107 text f_line ": "
92108 text f_src "SRC"
93109 text f_ovl "OVL"
94-text f_out "outside a rule, expected rule, a comment or an empty line (OVL also target, skills or alarm)"
110+text f_out "outside a rule, expected rule, a comment or an empty line (OVL also target, skills, alarm or cap)"
95111 text f_in "inside a rule, expected date, said, for, order, | or end"
96112 text f_noid "a rule ID is lowercase letters, digits and -"
97113 text f_dup "the rule ID is used twice"
@@ -101,6 +117,13 @@ text f_noord "the rule has no order N"
101117 text f_notext "the rule has no | line"
102118 text f_open "the file ends inside a rule"
103119 text f_priv "the public rules source holds a home path, host path, host name or private name; move it to the overlay"
120+text f_tgt "a target line is `target PROG PATH`: one program (claude, codex, agents, omp, watchdog or generic), one space, and a path"
121+text f_cap "a cap line is `cap CHARS PATH`: 1 to 18 digits, one space, and a path"
122+text t_fit "fit "
123+text t_of " of "
124+text t_ok " ok\n"
125+text t_over " OVER\n"
126+text t_notgt "fit: no target line for the cap path "
104127 text f_rule " rule "
105128 text f_rules " rules, "
106129 text f_tg "findings\n"
@@ -111,6 +134,10 @@ text h_3 " and this machine's overlay. Do not edit this file: change the rules s
111134 text nl "\n"
112135 text sp " "
113136 text dash "- "
137+text g_1 "\n## Additional standing rules\nRead the full agent instructions at the following location before doing project work:\n"
138+text m_dup_target "more than one target uses the same path"
139+text m_path "rules: path is not configured for this program\n"
140+text m_over "rules: requested render exceeds its configured cap\n"
114141
115142 note ---------------------------------------------------------------- output
116143
@@ -333,7 +360,7 @@ end
333360 ret eq c 45
334361 end
335362
336-note word: the program word rb[a, b) as a bit (claude 1, codex 2, agents 4, omp 8, watchdog 16, all 15), else 0
363+note word: the program word rb[a, b) as a bit (claude 1, codex 2, agents 4, omp 8, watchdog 16, generic 32, all 15), else 0
337364 fn wbit a ulong b ulong to ulong
338365 m = sub b a
339366 if lis a b p_claude
@@ -352,7 +379,10 @@ if lis a b p_watch
352379 ret 16
353380 end
354381 if lis a b p_all
355-ret 15
382+ret allm
383+end
384+if lis a b p_gen
385+ret genm
356386 end
357387 ret 0
358388 end
@@ -590,6 +620,26 @@ fnd ovl f_in
590620 ret txt
591621 end
592622
623+note okt: the target line [p, e) is `target PROG PATH`: one known program (not `all`), one space, a path
624+fn okt p ulong e ulong to bool
625+a = add p len w_target
626+q = a
627+while lt q e bound 4096
628+if eq get rb q 32
629+break
630+end
631+q = add q 1
632+end
633+b = wbit a q
634+if or eq b 0 eq b allm
635+ret false
636+end
637+if ge add q 1 e
638+ret false
639+end
640+ret ne get rb add q 1 32
641+end
642+
593643 note outer: a line outside every rule
594644 fn outer p ulong e ulong ovl bool to void
595645 if eq p e
@@ -599,13 +649,52 @@ if eq get rb p 35
599649 ret
600650 end
601651 if ovl
602-if or lpre p e w_target or lpre p e w_skills lpre p e w_alarm
652+if lpre p e w_target
653+if not okt p e
654+fnd ovl f_tgt
655+else
656+a = add p len w_target
657+while ne get rb a 32 bound 4096
658+a = add a 1
659+end
660+if ne tfind add a 1 e p
661+fnd ovl m_dup_target
662+end
663+end
664+ret
665+end
666+if or lpre p e w_skills lpre p e w_alarm
667+ret
668+end
669+if lpre p e w_cap
670+if not okc p e
671+fnd ovl f_cap
672+end
603673 ret
604674 end
605675 end
606676 fnd ovl f_out
607677 end
608678
679+note okc: the OVL line [p, e) is `cap CHARS PATH`: 1 to 18 digits, one space, a path
680+fn okc p ulong e ulong to bool
681+a = add p len w_cap
682+q = a
683+while lt q e bound 4096
684+if eq get rb q 32
685+break
686+end
687+q = add q 1
688+end
689+if eq pnum a q 18446744073709551615
690+ret false
691+end
692+if ge add q 1 e
693+ret false
694+end
695+ret ne get rb add q 1 32
696+end
697+
609698 note private: the public SRC holds no home path, host path, host name or private name
610699 fn private to void
611700 ns = get st s_ns
@@ -622,6 +711,10 @@ fnd false f_priv
622711 else
623712 if or has p e k_dhome or has p e k_root or has p e k_var has p e k_etc
624713 fnd false f_priv
714+else
715+if or has p e k_linear has p e k_issue
716+fnd false f_priv
717+end
625718 end
626719 end
627720 end
@@ -665,7 +758,40 @@ end
665758 ret best
666759 end
667760
668-fn render m ulong to void
761+note tprog: the program bit of the OVL `target PROG PATH` line [p, e); 0 for any other line
762+fn tprog p ulong e ulong to ulong
763+if not lpre p e w_target
764+ret 0
765+end
766+a = add p len w_target
767+q = a
768+while lt q e bound 4096
769+if eq get rb q 32
770+break
771+end
772+q = add q 1
773+end
774+ret wbit a q
775+end
776+
777+note Print the path of a full agents file, if one exists. Its unchanged render contains all shared and agents-only rules.
778+fn agentptr to bool
779+p = get st s_ns
780+while lt p get st s_n bound 16777216
781+e = lend p
782+if eq tprog p e 4
783+ot g_1
784+orb add p len w_target e
785+o 10
786+ret true
787+end
788+p = add e 1
789+end
790+ret false
791+end
792+
793+note build: the file for program bit m into obuf (the header names ab[0, s_al) and hd)
794+fn build m ulong compact bool to void
669795 nr = get st s_nr
670796 for i ulong nr bound 65536
671797 put dn i 0
@@ -679,6 +805,15 @@ for k ulong get st s_hl bound 128
679805 o get hd k
680806 end
681807 ot h_3
808+if eq m genm
809+if not compact
810+m = or m 4
811+else
812+if not agentptr
813+m = or m 4
814+end
815+end
816+end
682817 c = ulong 0
683818 while true bound 65537
684819 r = pick m
@@ -690,7 +825,170 @@ o 10
690825 orule r
691826 c = add c 1
692827 end
693-flush
828+end
829+
830+
831+note ---------------------------------------------------------------- fit
832+
833+note tfind: the start of the OVL `target PROG PATH` line whose PATH is rb[a, b); s_n when there is none
834+fn tfind a ulong b ulong to ulong
835+n = get st s_n
836+p = get st s_ns
837+while lt p n bound 16777216
838+e = lend p
839+if lpre p e w_target
840+s = add p len w_target
841+while lt s e bound 4096
842+if eq get rb s 32
843+break
844+end
845+s = add s 1
846+end
847+if lt s e
848+if ideq add s 1 e a b
849+ret p
850+end
851+end
852+end
853+p = add e 1
854+end
855+ret n
856+end
857+
858+note nchars: the characters of obuf (UTF-8 code points: every byte that is not a continuation byte)
859+fn nchars to ulong
860+n = get st s_on
861+c = ulong 0
862+for i ulong n bound 16777216
863+if ne and get obuf i 192 128
864+c = add c 1
865+end
866+end
867+ret c
868+end
869+
870+note Rebuild only an oversized generic render. The same selection is used by fit and by installation.
871+fn boundedbuild m ulong lim ulong to ulong
872+put st s_on 0
873+build m false
874+k = nchars
875+if and eq m genm gt k lim
876+put st s_on 0
877+build m true
878+k = nchars
879+end
880+ret k
881+end
882+
883+note A path comparison uses the complete byte span, including any interior spaces.
884+fn patharg a ulong e ulong size ulong to bool
885+if ne sub e a size
886+ret false
887+end
888+for i ulong size bound 4096
889+if ne get ab i get rb add a i
890+ret false
891+end
892+end
893+ret true
894+end
895+
896+note For the exact target and program, return the strictest cap or the maximum ulong if uncapped.
897+fn pathlimit size ulong program ulong to ulong
898+lim = ulong 18446744073709551615
899+found = false
900+p = get st s_ns
901+while lt p get st s_n bound 16777216
902+e = lend p
903+cap = lpre p e w_cap
904+if or cap eq tprog p e program
905+a = add p len w_target
906+if cap
907+a = add p len w_cap
908+end
909+q = a
910+while lt q e bound 4096
911+if eq get rb q 32
912+break
913+end
914+q = add q 1
915+end
916+if patharg add q 1 e size
917+if cap
918+v = pnum a q
919+if lt v lim
920+lim = v
921+end
922+else
923+found = true
924+end
925+end
926+end
927+p = add e 1
928+end
929+if not found
930+wfd 2 m_path
931+exit 2
932+end
933+ret lim
934+end
935+
936+note fit: every OVL `cap CHARS PATH` line against the render of its target; a finding for each render over
937+note its cap and each cap without a target
938+fn fit to void
939+n = get st s_n
940+p = get st s_ns
941+while lt p n bound 16777216
942+e = lend p
943+if lpre p e w_cap
944+a = add p len w_cap
945+q = a
946+while lt q e bound 4096
947+if eq get rb q 32
948+break
949+end
950+q = add q 1
951+end
952+lim = pnum a q
953+t = tfind add q 1 e
954+if eq t n
955+wfd 1 t_notgt
956+wrb 1 add q 1 e
957+wfd 1 nl
958+put st s_bad add get st s_bad 1
959+else
960+g = add t len w_target
961+h = g
962+while lt h e bound 4096
963+if eq get rb h 32
964+break
965+end
966+h = add h 1
967+end
968+for i ulong sub h g bound 4096
969+put ab i get rb add g i
970+end
971+put st s_al sub h g
972+k = boundedbuild wbit g h lim
973+put st s_on 0
974+wfd 1 t_fit
975+wrb 1 g h
976+wfd 1 sp
977+wrb 1 add q 1 e
978+wfd 1 sp
979+wnum 1 k
980+wfd 1 t_of
981+wnum 1 lim
982+if gt k lim
983+wfd 1 t_over
984+put st s_bad add get st s_bad 1
985+else
986+wfd 1 t_ok
987+end
988+end
989+end
990+p = add e 1
991+end
694992 end
695993
696994 note ---------------------------------------------------------------- targets
@@ -740,7 +1038,14 @@ end
7401038 if argis a_tgts k
7411039 mode = ulong 2
7421040 end
743-if or eq mode 9 or and eq mode 1 ne c 6 and eq mode 2 ne c 4
1041+if argis a_fit k
1042+mode = ulong 3
1043+end
1044+if and eq mode 1 and ne c 6 ne c 7
1045+wfd 2 m_use
1046+ret 2
1047+end
1048+if or eq mode 9 or and eq mode 2 ne c 4 and eq mode 3 ne c 5
7441049 wfd 2 m_use
7451050 ret 2
7461051 end
@@ -781,7 +1086,11 @@ if eq mode 2
7811086 targets
7821087 ret 0
7831088 end
784-h = ldarg 5
1089+hi = ulong 5
1090+if eq mode 3
1091+hi = ulong 4
1092+end
1093+h = ldarg hi
7851094 if gt h 128
7861095 wfd 2 m_use
7871096 ret 2
@@ -790,16 +1099,32 @@ for i ulong h bound 128
7901099 put hd i get ab i
7911100 end
7921101 put st s_hl h
1102+if eq mode 3
1103+fit
1104+if ne get st s_bad 0
1105+ret 1
1106+end
1107+ret 0
1108+end
1109+lim = ulong 18446744073709551615
7931110 a = ldarg 4
7941111 m = wbit2 a
795-if or eq m 0 eq m 15
1112+if eq m 0
7961113 wfd 2 m_prog
7971114 z = write 2 ab 0 a
7981115 wfd 2 nl
7991116 ret 2
8001117 end
1118+if eq c 7
1119+lim = pathlimit ldarg 6 m
1120+a = ldarg 4
1121+end
8011122 put st s_al a
802-render m
1123+if gt boundedbuild m lim lim
1124+wfd 2 m_over
1125+ret 1
1126+end
1127+flush
8031128 ret 0
8041129 end
8051130
@@ -820,5 +1145,8 @@ end
8201145 if argis p_watch a
8211146 ret 16
8221147 end
1148+if argis p_gen a
1149+ret genm
1150+end
8231151 ret 0
8241152 end