Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-harness/compare/5eb9dc53978eecb222b7b0e4d05aaec4043e2556...673b68fbe4988f28891fe3db433a11bc1e91c21f # omega-harness Agent skills for operating, encoding and communicating in Omega (.om) and the AIEN repositories Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers ## Comparing `5eb9dc53978eecb222b7b0e4d05aaec4043e2556` ... `673b68fbe4988f28891fe3db433a11bc1e91c21f` - Reconcile signed and published Omega Harness history `673b68f` · Drake Stapleton · 2026-11-20 13:28 · Browse - Include the original C versus OM-2 batch and kernel comparison `c02e08f` · Drake Stapleton · 2026-11-20 13:22 · Browse - Add a repeatable Spark Q38 stress-test skill `b61f0dd` · Drake Stapleton · 2026-11-20 13:06 · Browse - omega-gpu-om: add Spark pinned-dep scratch workflow, OM-2 vreg-order parity, and GB10 pre-build hygiene `479b50a` · Drake Stapleton · 2026-11-20 00:04 · Browse - Add omega-gpu-om skill and update nvidia-gb10 spark-window/--sim guardrails `c4dad73` · Drake Stapleton · 2026-11-19 23:28 · Browse - Add omegese-wire skill and bot-wire wake-hygiene rules `435ff0d` · Drake Stapleton · 2026-11-19 11:55 · Browse - Record GB20B Spark boot lessons and verification receipt persistence in skills `8bcd3d2` · Drake Stapleton · 2026-11-19 02:46 · Browse - rules: clean up after yourself: unlock a locked worktree before removing it; name the tool's temporary-entry removal `041ba4d` · Drake Stapleton · 2026-11-17 16:13 · Browse - rules: clean up after yourself: name the clean-up tool's ordinary run, what it keeps and what a current claim is `ce6b69b` · Drake Stapleton · 2026-11-17 16:08 · Browse - rules: clean up after yourself: no host path or tool name in the public rule; archive contents checked `e4f069f` · Drake Stapleton · 2026-11-17 00:39 · Browse - rules: clean up after yourself: tool's landing mode described, lsof and cwd both, git-store landing named in the Interplane rule (review r12) `761837c` · Drake Stapleton · 2026-11-17 00:29 · Browse - rules: clean up after yourself: commit before bundling, dropped paused work marked not landing, open-files check names cwd, dated root cause (review r11) `4e00212` · Drake Stapleton · 2026-11-16 23:48 · Browse - rules: clean up after yourself: fix worktree order, bundle basis, archive contents, drop tool restatement (review r10) `1a89512` · Drake Stapleton · 2026-11-16 23:21 · Browse - rules: clean-up-after-yourself review r9 fixes (detached HEAD, report claim, not-landing bundles, reading scope, 2026-11-16 quote) `1d85a6b` · Drake Stapleton · 2026-11-16 23:11 · Browse - rules: clean-up-after-yourself answers review r8 (portable size measure, worktree remove, TMPDIR, landing route stated) `fef7b2f` · Drake Stapleton · 2026-11-15 06:28 · Browse - rules: clean-up-after-yourself answers review r7 (unwanted work kept as a not-landing bundle, readings listed) `72dace3` · Drake Stapleton · 2026-11-15 05:32 · Browse - rules: clean-up-after-yourself answers review r6 (work stopped before READY is bundled as not reviewed, unwanted work removed after a board line, allocated size counted) `e8a90f8` · Drake Stapleton · 2026-11-15 04:22 · Browse - rules: clean-up-after-yourself answers review r5 (landing route named by the machine, measure before deleting, archive without objects only when every ref and the index are saved) `5c22d81` · Drake Stapleton · 2026-11-15 04:12 · Browse - rules: clean-up-after-yourself answers review r4 of `8b5ce490` (machine detail pointed to the machine's own rules; 3-day direction stated; the one exception to never changing another lane's worktree; archive destination and objects; apparent single-link sizes) `76c9f31` · Drake Stapleton · 2026-11-15 04:05 · Browse - rules: clean-up-after-yourself answers review r3 of `cd605987` (GB freed counts single-link files; landed means main of the machine's git store, never Radicle; verbatim part of the 2026-11-14 words is a said line; bundles go once landed; bundle detail written once; untouched means newest modification time) `ca53d1c` · Drake Stapleton · 2026-11-15 03:33 · Browse - rules: clean-up-after-yourself answers review r2 of `6321e53f` (no overlay dependency, one READY definition shared with the Interplane rule, archive checks stated, lane records kept, own-folder clause restored, said line verbatim only, evidence named, reading list matches) `01c10a4` · Drake Stapleton · 2026-11-15 03:04 · Browse - rules: clean-up-after-yourself answers review r1 of `88c8aa7a` (READY bundle counts as saved, archive only for orphans, shared records keep their routes, machine program named in the overlay, link only when the program reads it, du not df) `aa251eb` · Drake Stapleton · 2026-11-15 02:55 · Browse - rules: clean up after yourself (Drake, 2026-11-08 and 2026-11-14) `cda89cc` · Drake Stapleton · 2026-11-15 02:46 · Browse - Limit external providers to the four supported by Omega Harness `a8b372b` · Drake Stapleton · 2026-11-18 19:01 · Browse - Carry the four verified harness fixes into the existing Git history `fa31d34` · Drake Stapleton · 2026-11-18 18:12 · Browse - Fit Spark instruction files to each reader while retaining the math-check rule `4fcd187` · Drake Stapleton · 2026-11-18 16:01 · Browse - Make the math-check instructions usable in installed skill directories `ddb26f1` · Drake Stapleton · 2026-11-18 15:47 · Browse - Check the source numbers independently for every Omega math review `457edc8` · Drake Stapleton · 2026-11-18 15:42 · Browse - Check reviewer evidence access before dispatch and reuse the blind session `3cf0932` · Drake Stapleton · 2026-11-18 15:26 · Browse - Keep the blind solve independent and make review costs reproducible `bf013b5` · Drake Stapleton · 2026-11-18 15:23 · Browse - Require independent review until a task class earns lighter review `80a84d6` · Drake Stapleton · 2026-11-18 15:14 · Browse - rules: corrective-action-must-hold, review 2 answers (replay before widening a gate, full review count) `e4641a7` · Drake Stapleton · 2026-11-18 10:51 · Browse - rules: corrective-action-must-hold (small, attacked before review, replaced when broken, cost stop before review 5) `11de088` · Drake Stapleton · 2026-11-18 10:35 · Browse - coder eval: stop without a row when the model produced no output token (port of `28397ff` onto the DRA-549 runner) `1ccb6b2` · Drake Stapleton · 2026-11-16 23:57 · Browse - skills/nvidia-gb10: no exclusive coordinator; never stop another lane's job (DRA-527 review) `714c266` · Drake Stapleton · 2026-11-16 23:52 · Browse - skills: add nvidia-gb10 (working on the DGX Spark's GB10 GPU without repeating recorded mistakes) `8573aef` · Drake Stapleton · 2026-11-15 04:08 · Browse - coder/eval: exit 127, stage A feedback, file-size containment, relative home (DRA-549 review round 2) `ea56895` · Drake Stapleton · 2026-11-16 22:54 · Browse - coder/eval: score without exposing expected output (DRA-549 review round 1) `99df04f` · Drake Stapleton · 2026-11-16 22:39 · Browse - coder eval: sandbox the scorer's gate, one session limit, limit marks (DRA-549) `2b69b6f` · Drake Stapleton · 2026-11-15 04:56 · Browse - coder eval: exact task ids, a stdin that matters, guard-loaded check (DRA-549) `1f44433` · Drake Stapleton · 2026-11-15 04:35 · Browse - coder eval: refuse unmanifested rows, test the raw columns, true elif fact (DRA-549) `92c1337` · Drake Stapleton · 2026-11-15 04:14 · Browse - coder eval: absolute task paths, gate verdicts, reference check (DRA-549) `35cba4a` · Drake Stapleton · 2026-11-15 03:55 · Browse - coder eval: self-test what each session gets; stop on machine failures (DRA-549) `f4fb6d9` · Drake Stapleton · 2026-11-15 03:32 · Browse - coder eval: record model, seed and runner; compare the arms; review fixes (DRA-549) `0d78043` · Drake Stapleton · 2026-11-15 03:20 · Browse - coder: follow PIN, verify observed facts, self-test the eval runner (DRA-549) `79bbe8a` · Drake Stapleton · 2026-11-15 03:10 · Browse - Bind daily Trinary work to inspection and silent consumption `dc06992` · Drake Stapleton · 2026-11-16 20:35 · Browse - Adopt Trinary daily flow and remove exclusive coordinator gate `453a3f2` · Drake Stapleton · 2026-11-16 19:57 · Browse - Treat Collective coordination as an open role, not an assignee `0ec397a` · Drake Stapleton · 2026-11-16 19:48 · Browse - Correct rule placement and guard private tracker references `10e5a2c` · Drake Stapleton · 2026-11-16 19:27 · Browse - Clarify scoped Collective authority and delivery records `3b8c73e` · Drake Stapleton · 2026-11-16 19:23 · Browse - Repin to omega-mv `6c562dd1f` and read omega-mcp from Interplane. `376556b` · Drake Stapleton · 2026-11-15 09:15 · Browse - rules: answer the review of `086b0100` (fresh is defined once, the command flags are an example, no verdict file is no review, the 2026-11-11 words kept) `b945574` · Drake Stapleton · 2026-11-15 01:54 · Browse - rules: the independent review is a fresh Claude Opus 5.5 run at medium effort, no other provider needed (Drake, 2026-11-14) `086b010` · Drake Stapleton · 2026-11-15 01:50 · Browse - rules: answer the review of `133bab61` (pins follow by program, not by hand; Claude keeps the models, plan-first and command rules) `c9f2bee` · Drake Stapleton · 2026-11-13 20:10 · Browse - rules: answer the review of `bb8a5c8a` (Claude keeps the agents-only rules that still matter; the percent is k of n by the calculator and its reading is marked; where the newest build is read) `133bab6` · Drake Stapleton · 2026-11-13 20:06 · Browse - rules: new code is written in the latest Omega build; progress is the percent of the effect delivered (Drake, 2026-11-13) `bb8a5c8` · Drake Stapleton · 2026-11-13 20:01 · Browse - rules: answer the review of `09fab2b5` (no install exception, READY stays the lane's to land, one issue record) `254fabd` · Drake Stapleton · 2026-11-13 14:42 · Browse - rules: answer the review of `c436b5e1` (route readiness, target vs deployed, history kept) `09fab2b` · Drake Stapleton · 2026-11-13 14:42 · Browse - rules: Interplane is built without Radicle now (Drake, 2026-11-13) `c436b5e` · Drake Stapleton · 2026-11-13 14:40 · Browse 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 4 4 5 5 Omega Harness supports local Omega and four external providers: Claude, Codex, Grok and Muse. Use this list for worker selection, setup and qualification. 6 6 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.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. 12 13 `skills/omega-harness/SKILL.md` section 1 has both rules in full. Only Drake reverses them. 13 14 14 15 ## What this repository is @@ -21,15 +22,19 @@ The skills live under `skills//SKILL.md` in the Agent Skills layout (front 21 22 `description`, then the body): 22 23 23 24 24 -7 skills, each `skills//SKILL.md`; the use column is the skill's own frontmatter `description`: 25 +11 skills, each `skills//SKILL.md`; the use column is the skill's own frontmatter `description`: 25 26 26 27 | Skill | Use | 27 28 |---|---| 28 29 | `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. | 29 30 | `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. | 30 32 | `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. | 31 33 | `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` | >- | 32 35 | `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. | 33 38 | `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. | 34 39 | `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. | 35 40 @@ -92,7 +97,7 @@ untrue, and record what you observed with its date. Older measurements stay as d 92 97 Re-check, read only, in a fresh clone: 93 98 94 99 ```sh 95 -git clone rad://z6do9WDBhuSnvopDkgFdFr1yWA62 omega-src 100 +git clone https://interplane.io/projects/omega-mv/repo.git omega-src 96 101 git -C omega-src checkout "$(sed -n 's/^omega-mv //p' PIN)" 97 102 sha256sum omega-src/seed/out/omc # must equal the omc-sha256 line of PIN 98 103 ``` @@ -125,18 +130,17 @@ output, the negative control, and what was not run. 125 130 126 131 ## Contributing 127 132 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 130 134 https://interplane.io/drakestapleton/omega-harness. The `aien-dev` GitHub organization is frozen 131 135 (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 133 137 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, 135 139 exit codes, pins, log sha256), land it with the hive landing tools, then confirm the head on the 136 140 interplane.io page. A non-MERGE review verdict on that head stops the landing. After the landing, the 137 141 landing tools' `land-hooks.sh` `harness` hook re-installs the skills and the instruction files from the 138 142 landed head (`tools/install.sh --omc auto --rev `; 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. 140 144 141 145 Keep the attribution in `README.md` and `LICENSE` intact. Contributions follow the shared AIEN agent 142 146 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 108 108 "Check the examples yourself" (Linux AArch64 only), NOT_RUN while writing this document: 109 109 110 110 ```sh 111 -git clone rad://z6do9WDBhuSnvopDkgFdFr1yWA62 omega-src 111 +git clone https://interplane.io/projects/omega-mv/repo.git omega-src 112 112 git -C omega-src checkout `f4df82394e35893dcf1354dda69a2fe028d94bc1` 113 113 sha256sum omega-src/seed/out/omc 114 114 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 137 137 ## Dependencies and provenance 138 138 139 139 - 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`; 141 141 the `aien-dev` GitHub organization is frozen since 2026-11-07) and a Linux AArch64 host. 142 142 - `skills/wolfram-math/SKILL.md` relies on the hosted Wolfram MCP endpoint for agents' arithmetic. 143 143 - `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 5 5 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. 6 6 7 7 8 -7 skills, each `skills//SKILL.md`; the use column is the skill's own frontmatter `description`: 8 +11 skills, each `skills//SKILL.md`; the use column is the skill's own frontmatter `description`: 9 9 10 10 | Skill | Use | 11 11 |---|---| 12 12 | `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. | 13 13 | `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. | 14 15 | `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. | 15 16 | `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` | >- | 16 18 | `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. | 17 21 | `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. | 18 22 | `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. | 19 23 @@ -28,20 +32,17 @@ For the documented method and systems-software case study, see Gregory M. Kurtze 28 32 29 33 ## Install 30 34 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 32 36 `DIR/.installed-from-omega-harness`; the same command with `--check` exits 1 when `main` has moved past 33 37 that head or an installed skill was edited: 34 38 35 39 ```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 39 41 omega-harness/tools/install.sh --skills ~/.agents/skills # pick the directory for your agent 40 42 omega-harness/tools/install.sh --skills ~/.agents/skills --check # is the installed head current? 41 43 ``` 42 44 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 45 46 directory. On a Linux AArch64 machine with an overlay (`~/.config/omega-harness/local.rules`, never 46 47 published), `tools/install.sh --omc OMC` also renders and installs the agents' instruction files that the 47 48 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 49 50 from the landed head. 50 51 51 52 **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. 53 54 Never push to a GitHub remote, open or update a GitHub PR or issue, publish with `gh`, or cite a GitHub 54 55 branch as current state. The `aien-dev` GitHub organization has been frozen since 2026-11-07; its 55 56 `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 136 137 137 138 | Pin (`PIN`) | Value | 138 139 |---|---| 139 -| omega-mv commit | ``2ee0a70d1830581b706f288e722f3329d51f3583`` | 140 -| `seed/out/omc` sha256 | ``26540e6de62402d5784b30b24d7c6faae488137c1f8a4b3e784fd0b5d5528991`` | 140 +| omega-mv commit | ``6c562dd1f7ab01fd9a2638e74a7330ec4c941ad8`` | 141 +| `seed/out/omc` sha256 | ``34d611ca0415eab1728d3234911d90e74af17ba9ab0c581d559f48274d7ca6d3`` | 141 142 | 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 | 142 143 143 144 144 145 ```sh 145 -git clone rad://z6do9WDBhuSnvopDkgFdFr1yWA62 omega-src 146 +git clone https://interplane.io/projects/omega-mv/repo.git omega-src 146 147 git -C omega-src checkout "$(sed -n 's/^omega-mv //p' PIN)" 147 148 sha256sum omega-src/seed/out/omc # must equal the omc-sha256 line of PIN 148 149 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 154 155 155 156 156 157 ```text 157 -GATE PASS examples=132 pass=132 fail=0 omc=`26540e6de62402d5784b30b24d7c6faae488137c1f8a4b3e784fd0b5d5528991` 158 +GATE PASS examples=132 pass=132 fail=0 omc=`34d611ca0415eab1728d3234911d90e74af17ba9ab0c581d559f48274d7ca6d3` 158 159 ``` 159 160 160 161 @@ -172,10 +173,10 @@ Repinning is editing `PIN` and running `tools/regen.sh`. The agents' standing ru 172 173 `rules/rules.txt`, rendered into each agent program's instruction file by `tools/rules.om`. What people 173 174 and agents still write is prose: explanations, method, rules and dated observations with their 174 175 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 176 177 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 179 180 [shared AIEN agent rules](https://www.aienos.com/agents/RULES.md). 180 181 181 182 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' 2 2 note lands a new seed/out/omc. PIN stays the only place the pin is written; the follower rewrites PIN, runs 3 3 note tools/regen.sh (which needs omega-mcp's reference data for the same pin, hence the follows line), commits, 4 4 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 6 6 regen sh tools/regen.sh "$OMC" 7 7 gate examples bash examples/gate.sh "$OMC" 8 8 gate check sh tools/check.sh "$OMC" SECURITY.md @@ -44,7 +44,7 @@ In scope: 44 44 Out of scope: 45 45 46 46 - 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). 48 48 - Conversion between Omega and other languages; report that privately to the omega-bridge maintainer 49 49 (https://interplane.io/drakestapleton/omega-bridge). 50 50 - 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 7 7 8 8 | File | What it does | 9 9 |---|---| 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. | 11 11 | `omega-prompt-head.md` | Rules part of the system prompt (tools, check loop, `DONE `). | 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). 15 19 16 20 ## Environment read by the guard 17 21 @@ -19,13 +23,16 @@ scripts. "Only Omega" is enforced by the harness and the compiler, not by model 19 23 |---|---|---| 20 24 | `OMEGA_HOME` | `~/.local/share/aien-omega` | holds `omc`, the built `gate` and `seed/qualification/om2/fixtures` | 21 25 | `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) | 23 27 | `OMEGA_STOP_LIMIT` | `0` (no limit) | after this many refused finishes the finish is allowed and logged | 24 28 | `OMEGA_LOG` | unset | append-only log of every allowed/refused tool call, compile and finish | 25 29 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`. 29 36 30 37 ## Running it 31 38 @@ -33,6 +40,7 @@ Build the pack, install the guard, then start `omp` in the project directory wit 33 40 34 41 ```sh 35 42 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 36 44 cp coder/omega-guard.ts ~/.local/share/aien-omega/ 37 45 omp --model PROVIDER/MODEL --tools read,edit,write,grep,glob,omega_run --no-skills --no-rules \ 38 46 --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 47 55 `sh coder/eval/run.sh omega|control OUTDIR coder/eval/tasks` runs every task in a fresh empty 48 56 directory, one after another. The `control` arm keeps the model, tools, guard and check loop and swaps 49 57 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= OMEGA_EVAL_SEED= 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 +``` 53 132 54 133 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 57 137 training corpus built from this repository, or the eval stops measuring anything. coder/build-context.sh @@ -1,24 +1,47 @@ 1 1 #!/bin/sh 2 2 # 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. 6 9 set -eu 7 10 here=$(cd "$(dirname "$0")" && pwd) 8 11 skill="$here/../skills/omega-encoding" 9 12 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} 11 14 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 ' and 'omc-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; } 12 20 mkdir -p "$out" 13 21 tmp=$(mktemp) 14 -trap 'rm -f "$tmp" "$tmp.elf"' EXIT 22 +trap 'rm -f "$tmp" "$tmp.elf" "$tmp.err" "$tmp.head"' EXIT 15 23 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" 16 38 { 17 - cat "$here/omega-prompt-head.md" 39 + cat "$tmp.head" 18 40 printf '\n# Omega language reference\n\n' 19 41 # Sections 2..11 of the omega-encoding skill; citation links are dropped to save tokens. 20 42 awk '/^## 2\. /{on=1} /^## 11a\. /{on=0} on' "$skill/SKILL.md" | 21 43 sed -E 's/ ?\((\[[^]]*\]\([^)]*\)(, ?)?)+\)//g; s/\[([^]]*)\]\([^)]*\)/\1/g' 44 + printf '\n## Observed with the pinned omc (%.8s)\n' "$pin_sha" 22 45 cat "$here/omega-observed.md" 23 46 printf '\n# Examples (each compiles with the pinned omc)\n' 24 47 for f in "$skill/examples/fnv1a32.om" "$skill/examples/trap_narrow.om" \ @@ -31,4 +54,16 @@ trap 'rm -f "$tmp" "$tmp.elf"' EXIT 31 54 done 32 55 } > "$tmp" 33 56 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 "codemeaning. 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 @@ 6 6 # TASKDIR holds TASK_ID/{spec.md,stdin,expected.out,expected.exit}; reference solutions live elsewhere 7 7 # Tasks run one after another (the live 35B takes serial requests only). Each task gets a fresh empty 8 8 # 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. 11 15 set -u 16 +. "$(dirname "$0")/case.sh" 12 17 arm=${1:?arm: omega or control} 13 18 out=${2:?outdir} 14 19 tasks=${3:?taskdir} 15 20 shift 3 16 21 home=${OMEGA_HOME:-$HOME/.local/share/aien-omega} 22 +home=$(cd "$home" && pwd) || { echo "no OMEGA_HOME directory $home" >&2; exit 2; } 17 23 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")"; } 20 39 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; } 21 49 case $arm in 22 50 omega) prompt_file="$home/context/OMEGA.md"; context="$home/context" ;; 23 51 control) prompt_file="$home/context/CONTROL.md" ;; 24 52 *) echo "arm must be omega or control" >&2; exit 2 ;; 25 53 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 26 58 mkdir -p "$out" "$out/empty-context" 27 59 out=$(cd "$out" && pwd) 28 60 [ "$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 30 94 # Resumable: a task already scored in results.tsv is skipped; an interrupted task left no row and is re-run. 31 95 [ -s "$out/results.tsv" ] || 32 96 printf 'id\tverdict\tomc_rc\tgate_rc\tsession_rc\twall_s\tstop_refusals\tnon_om_files\n' > "$out/results.tsv" 33 97 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 35 99 t="$tasks/$id" 36 100 d="$out/$id" 37 101 rm -rf "$d" 38 102 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")" 41 106 if [ -s "$t/stdin" ]; then 42 107 input="Standard input for the check (JSON string): $(jq -Rs . < "$t/stdin")" 43 108 else @@ -48,14 +113,32 @@ $input 48 113 Write the program to main.om in the working directory, check it with omega_run, and finish only when it is correct." 49 114 start=$(date +%s) 50 115 (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" \ 53 118 > "$d/transcript.jsonl" 2> "$d/stderr") 54 119 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 59 142 exit 3 60 143 fi 61 144 wall=$(($(date +%s) - start)) @@ -67,13 +150,26 @@ Write the program to main.om in the working directory, check it with omega_run, 67 150 else 68 151 "$omc" < "$d/work/main.om" > "$d/main.elf" 2> "$d/score.log" 69 152 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 70 158 if [ "$orc" -ne 0 ]; then 71 159 verdict=compile-fail 72 160 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 77 173 fi 78 174 fi 79 175 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 .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 @@ 1 1 // omega-guard: omp extension for `aien --omega`. Harness configuration, not product code: omp 2 2 // extensions are TypeScript, so this file is the smallest shim between the omp tool loop and the 3 3 // 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. 7 7 // 8 8 // Policy 9 9 // - write/edit may touch only `*.om` files (plus NOTES.md) inside the session directory; every other @@ -13,13 +13,14 @@ 13 13 // - After a successful write/edit of a `.om` file the pinned omc compiles it; the result (rc, the 14 14 // `omc: line N: error K` line, the offending source line and the error's meaning) is appended to 15 15 // 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 pass` line. 20 21 // 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). 23 24 import { spawnSync } from 'node:child_process' 24 25 import { createHash } from 'node:crypto' 25 26 import { appendFileSync, chmodSync, existsSync, mkdtempSync, readFileSync, realpathSync } from 'node:fs' @@ -28,13 +29,22 @@ import { basename, isAbsolute, join, resolve, sep } from 'node:path' 28 29 29 30 const OMEGA_HOME = process.env.OMEGA_HOME || join(homedir(), '.local/share/aien-omega') 30 31 const OMC = join(OMEGA_HOME, 'omc') 31 -const GATE = join(OMEGA_HOME, 'gate') 32 32 // Readable Omega reference. The eval control arm points this at an empty directory. 33 33 const CONTEXT = process.env.OMEGA_CONTEXT || join(OMEGA_HOME, 'context') 34 34 // Stop refusals before the session may end anyway (eval runs set it; unset means no limit). 35 35 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] || '' 38 48 const LOG = process.env.OMEGA_LOG 39 49 40 50 function note(line: string): void { @@ -43,14 +53,10 @@ function note(line: string): void { 43 53 const ALLOWED_TOOLS = new Set(['read', 'grep', 'glob', 'edit', 'write', 'omega_run']) 44 54 const BUILD = mkdtempSync(join(tmpdir(), 'aien-omega-')) 45 55 46 -const ERRORS: Record = { 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 = {} 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) 54 60 } 55 61 56 62 type Ctx = { cwd?: string } @@ -63,6 +69,7 @@ type Pi = { 63 69 64 70 function omcVerified(): string | undefined { 65 71 try { 72 + if (!OMC_SHA256) return `no pin: ${join(PACK, 'PIN')} has no omc-sha256 line (run build-context.sh)` 66 73 const sha = createHash('sha256').update(readFileSync(OMC)).digest('hex') 67 74 return sha === OMC_SHA256 ? undefined : `pinned omc mismatch: ${OMC} sha256 ${sha}, expected ${OMC_SHA256}` 68 75 } catch (e) { @@ -176,10 +183,13 @@ function compile(file: string): Compile { 176 183 } 177 184 178 185 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. 179 189 const r = spawnSync( 180 190 '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], 183 193 { input: stdin, timeout: 10_000, maxBuffer: 1 << 22 }, 184 194 ) 185 195 const cut = (b: Buffer | null) => { @@ -293,27 +303,20 @@ export default function (pi: Pi) { 293 303 touched.set(f, c.rc) 294 304 if (c.rc !== 0) return refuse(`Not done: ${basename(f)} does not compile.\n${c.report}`) 295 305 } 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') 299 309 return undefined 300 310 } 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 }) 309 312 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') 312 315 return undefined 313 316 } 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.`) 316 319 }) 317 320 } 318 321 319 -export { checkRead, checkWrite, writePaths } 322 +export { checkRead, checkWrite, sandboxRun, writePaths } coder/omega-observed.md @@ -1,7 +1,7 @@ 1 1 2 -## Observed with the pinned omc (`2c824805`) 3 - 4 2 - `struct` definitions come before the first `fn`; a `struct` after a function is error 9. 5 3 - `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 @@ 1 1 # Omega coder 2 2 3 3 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. 6 6 7 7 Intent: you hold the task's intent, which is what its author wants the finished program to do. It is 8 8 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` 3 3 /tools/0/name compile 4 4 /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}. 6 6 /tools/0/inputSchema/type object 7 7 /tools/0/inputSchema/properties/source/type string 8 8 /tools/0/inputSchema/properties/source/description Omega (.om) source text of one unit @@ -44,493 +44,493 @@ 44 44 /errors/1/meaning stdin read failed 45 45 /errors/1/cause The compiler could not read its input (stdin is not readable, e.g. a directory). 46 46 /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 48 48 /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 50 50 /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 52 52 /errors/1/citations/2/quote refusal cases (codes 1..30; 24 with its accept side) 53 53 /errors/1/example null 54 54 /errors/1/reproduce omc < / (stdin is a directory: the read fails, exit 1, stderr 'omc: line 1: error 1') 55 55 /errors/2/meaning stdout write failed 56 56 /errors/2/cause The compiler could not write the binary (stdout is full or closed). 57 57 /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 59 59 /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 61 61 /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 63 63 /errors/2/citations/2/quote refusal cases (codes 1..30; 24 with its accept side) 64 64 /errors/2/example null 65 65 /errors/2/reproduce omc < ok.om > /dev/full (the write fails with ENOSPC, exit 2) 66 66 /errors/3/meaning unknown name or field 67 67 /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). 68 68 /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 70 70 /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 72 72 /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 74 74 /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 76 76 /errors/3/citations/3/quote refusal cases (codes 1..30; 24 with its accept side) 77 77 /errors/3/example e03 78 78 /errors/4/meaning line ends early 79 79 /errors/4/cause The line stops before a required operand or word. 80 80 /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 82 82 /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 84 84 /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 86 86 /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 88 88 /errors/4/citations/3/quote refusal cases (codes 1..30; 24 with its accept side) 89 89 /errors/4/example e04 90 90 /errors/5/meaning extra words 91 91 /errors/5/cause Words remain on the line after a complete statement. 92 92 /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 94 94 /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 96 96 /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 98 98 /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 100 100 /errors/5/citations/3/quote refusal cases (codes 1..30; 24 with its accept side) 101 101 /errors/5/example e05 102 102 /errors/6/meaning malformed number 103 103 /errors/6/cause A number has a non-digit character, more than 20 digits or a bad hex form. 104 104 /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 106 106 /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 108 108 /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 110 110 /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 112 112 /errors/6/citations/3/quote refusal cases (codes 1..30; 24 with its accept side) 113 113 /errors/6/example e06 114 114 /errors/7/meaning type mismatch 115 115 /errors/7/cause Two values of an operation, an assignment or a call argument have different types; there are no implicit conversions. 116 116 /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 118 118 /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 120 120 /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 122 122 /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 124 124 /errors/7/citations/3/quote refusal cases (codes 1..30; 24 with its accept side) 125 125 /errors/7/example e07 126 126 /errors/8/meaning out of range 127 127 /errors/8/cause A literal is outside its type, or a count/bound/trap code is out of its range. 128 128 /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 130 130 /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 132 132 /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 134 134 /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 136 136 /errors/8/citations/3/quote refusal cases (codes 1..30; 24 with its accept side) 137 137 /errors/8/example e08 138 138 /errors/9/meaning word not allowed here 139 139 /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. 140 140 /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 142 142 /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 144 144 /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 146 146 /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 148 148 /errors/9/citations/3/quote refusal cases (codes 1..30; 24 with its accept side) 149 149 /errors/9/example e09 150 150 /errors/10/meaning duplicate name 151 151 /errors/10/cause A name already in scope, a function or a struct is declared again. 152 152 /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 154 154 /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 156 156 /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 158 158 /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 160 160 /errors/10/citations/3/quote refusal cases (codes 1..30; 24 with its accept side) 161 161 /errors/10/example e10 162 162 /errors/11/meaning ambiguous bare number 163 163 /errors/11/cause A number appears where no context gives it a type. 164 164 /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 166 166 /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 168 168 /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 170 170 /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 172 172 /errors/11/citations/3/quote refusal cases (codes 1..30; 24 with its accept side) 173 173 /errors/11/example e11 174 174 /errors/12/meaning register pool exhausted 175 175 /errors/12/cause More than 16 values are live at once in a function. 176 176 /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 178 178 /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 180 180 /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 182 182 /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 184 184 /errors/12/citations/3/quote refusal cases (codes 1..30; 24 with its accept side) 185 185 /errors/12/example e12 186 186 /errors/13/meaning name too long 187 187 /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. 188 188 /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 190 190 /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 192 192 /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 194 194 /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 196 196 /errors/13/citations/3/quote refusal cases (codes 1..30; 24 with its accept side) 197 197 /errors/13/example e13 198 198 /errors/14/meaning capacity exceeded 199 199 /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). 200 200 /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 202 202 /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 204 204 /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 206 206 /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 208 208 /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 210 210 /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 212 212 /errors/14/citations/5/quote refusal cases (codes 1..30; 24 with its accept side) 213 213 /errors/14/example e14 214 214 /errors/15/meaning missing end 215 215 /errors/15/cause The input ends inside an open block. 216 216 /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 218 218 /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 220 220 /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 222 222 /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 224 224 /errors/15/citations/3/quote refusal cases (codes 1..30; 24 with its accept side) 225 225 /errors/15/example e15 226 226 /errors/16/meaning syntax error or unknown word 227 227 /errors/16/cause A line does not start with a known statement form, or a type/length position holds something else. 228 228 /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 230 230 /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 232 232 /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 234 234 /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 236 236 /errors/16/citations/3/quote refusal cases (codes 1..30; 24 with its accept side) 237 237 /errors/16/example e16 238 238 /errors/17/meaning line after a path end 239 239 /errors/17/cause A line follows ret, break, continue, trap or exit in the same block and can never run. 240 240 /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 242 242 /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 244 244 /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 246 246 /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 248 248 /errors/17/citations/3/quote refusal cases (codes 1..30; 24 with its accept side) 249 249 /errors/17/example e17 250 250 /errors/18/meaning missing ret 251 251 /errors/18/cause A function with a result type can reach its end without a ret. 252 252 /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 254 254 /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 256 256 /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 258 258 /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 260 260 /errors/18/citations/3/quote refusal cases (codes 1..30; 24 with its accept side) 261 261 /errors/18/example e18 262 262 /errors/19/meaning global passed or same array twice 263 263 /errors/19/cause A global is passed as an argument, or one array is passed twice in a call. 264 264 /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 266 266 /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 268 268 /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 270 270 /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 272 272 /errors/19/citations/3/quote refusal cases (codes 1..30; 24 with its accept side) 273 273 /errors/19/example e19 274 274 /errors/20/meaning write to a read-only array 275 275 /errors/20/cause put, read or an edit argument targets a view or a text. 276 276 /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 278 278 /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 280 280 /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 282 282 /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 284 284 /errors/20/citations/3/quote refusal cases (codes 1..30; 24 with its accept side) 285 285 /errors/20/example e20 286 286 /errors/21/meaning constant index out of range 287 287 /errors/21/cause A literal index is outside the array or field. 288 288 /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 290 290 /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 292 292 /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 294 294 /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 296 296 /errors/21/citations/3/quote refusal cases (codes 1..30; 24 with its accept side) 297 297 /errors/21/example e21 298 298 /errors/22/meaning bad text literal 299 299 /errors/22/cause A text literal has an unknown escape or no closing quote. 300 300 /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 302 302 /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 304 304 /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 306 306 /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 308 308 /errors/22/citations/3/quote refusal cases (codes 1..30; 24 with its accept side) 309 309 /errors/22/example e22 310 310 /errors/23/meaning size capacity 311 311 /errors/23/cause An array is over `16777216` elements, globals over 1 GiB or local arrays over 4 MiB. 312 312 /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 314 314 /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 316 316 /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 318 318 /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 320 320 /errors/23/citations/3/quote refusal cases (codes 1..30; 24 with its accept side) 321 321 /errors/23/example e23 322 322 /errors/24/meaning branch displacement out of range 323 323 /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. 324 324 /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 326 326 /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 328 328 /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 330 330 /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 332 332 /errors/24/citations/3/quote refusal cases (codes 1..30; 24 with its accept side) 333 333 /errors/24/example null 334 334 /errors/24/example_note No minimal example: it needs about 1 MiB of machine code between a branch and its target. 335 335 /errors/25/meaning not available on this target 336 336 /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. 337 337 /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 339 339 /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 341 341 /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 343 343 /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 345 345 /errors/25/citations/3/quote refusal cases (codes 1..30; 24 with its accept side) 346 346 /errors/25/example e25 347 347 /errors/26/meaning bad memory ceiling 348 348 /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. 349 349 /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 351 351 /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 353 353 /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 355 355 /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 357 357 /errors/26/citations/3/quote refusal cases (codes 1..30; 24 with its accept side) 358 358 /errors/26/example null 359 359 /errors/26/reproduce OMC_MEMORY_MAX=12x omc < ok.om (refused before the input is read, exit 26, stderr 'omc: line 0: error 26') 360 360 /errors/27/meaning fresh element read before write (OM-2 init) 361 361 /errors/27/cause A fresh parameter element is read before it is definitely written, or the array is passed on. 362 362 /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 364 364 /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 366 366 /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 368 368 /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 370 370 /errors/27/citations/3/quote refusal cases (codes 1..30; 24 with its accept side) 371 371 /errors/27/example e27 372 372 /errors/28/meaning abstract constructor violation (OM-2 ctor) 373 373 /errors/28/cause seal outside the NAMEmk constructor, or a bad holds predicate. 374 374 /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 376 376 /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 378 378 /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 380 380 /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 382 382 /errors/28/citations/3/quote refusal cases (codes 1..30; 24 with its accept side) 383 383 /errors/28/example e28 384 384 /errors/29/meaning layout violation (OM-2 layout) 385 385 /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. 386 386 /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 388 388 /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 390 390 /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 392 392 /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 394 394 /errors/29/citations/3/quote refusal cases (codes 1..30; 24 with its accept side) 395 395 /errors/29/example e29 396 396 /errors/30/meaning contract syntax (OM-2) 397 397 /errors/30/cause Misplaced requires/ensures/invariant, result outside a value postcondition, or a forbidden predicate operation. 398 398 /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 400 400 /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 402 402 /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 404 404 /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 406 406 /errors/30/citations/3/quote refusal cases (codes 1..30; 24 with its accept side) 407 407 /errors/30/example e30 408 408 /traps/1/name OVERFLOW 409 409 /traps/1/meaning checked signed arithmetic out of range 410 410 /traps/1/cause Signed add/sub/mul/neg/div/shl produced a value outside the type. 411 411 /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 413 413 /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 415 415 /traps/1/citations/1/quote A trap in program mode ends the program with exit status 100 + the trap code 416 416 /traps/1/example t01 417 417 /traps/2/name DIV0 418 418 /traps/2/meaning division by zero 419 419 /traps/2/cause div or rem with a divisor of 0. 420 420 /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 422 422 /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 424 424 /traps/2/citations/1/quote A trap in program mode ends the program with exit status 100 + the trap code 425 425 /traps/2/example t02 426 426 /traps/3/name BOUNDS 427 427 /traps/3/meaning index or slice out of bounds 428 428 /traps/3/cause A run-time index is not below the length, or a host/read/write slice is outside its array. 429 429 /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 431 431 /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 433 433 /traps/3/citations/1/quote A trap in program mode ends the program with exit status 100 + the trap code 434 434 /traps/3/example t03 435 435 /traps/4/name LOOP_BOUND 436 436 /traps/4/meaning loop exceeded its bound 437 437 /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. 438 438 /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 440 440 /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 442 442 /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 444 444 /traps/4/citations/2/quote A trap in program mode ends the program with exit status 100 + the trap code 445 445 /traps/4/example t04 446 446 /traps/5/name CAST 447 447 /traps/5/meaning checked conversion out of range 448 448 /traps/5/cause A conversion `T v` got a value outside T. 449 449 /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 451 451 /traps/5/citations/0/quote A conversion ` 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 453 453 /traps/5/citations/1/quote A trap in program mode ends the program with exit status 100 + the trap code 454 454 /traps/5/example t05 455 455 /traps/6/name OOM 456 456 /traps/6/meaning stack pool exhausted 457 457 /traps/6/cause A call or local array would go below the fixed 8 MiB stack (deep recursion). 458 458 /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 460 460 /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 462 462 /traps/6/citations/1/quote A trap in program mode ends the program with exit status 100 + the trap code 463 463 /traps/6/example t06 464 464 /traps/7/name SHIFT 465 465 /traps/7/meaning shift or rotate amount out of range 466 466 /traps/7/cause A shift or rotate amount is outside 0..width-1. 467 467 /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 469 469 /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 471 471 /traps/7/citations/1/quote A trap in program mode ends the program with exit status 100 + the trap code 472 472 /traps/7/example t07 473 473 /traps/8/name RUNTIME 474 474 /traps/8/meaning runtime invariant broken 475 475 /traps/8/cause A runtime invariant (double release, bad handle) failed; checked native code raises it only through `trap 8`. 476 476 /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 478 478 /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 480 480 /traps/8/citations/1/quote A trap in program mode ends the program with exit status 100 + the trap code 481 481 /traps/8/example t08 482 482 /traps/9/name REQUIRES 483 483 /traps/9/meaning precondition failed 484 484 /traps/9/cause A requires clause was false on entry. 485 485 /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 487 487 /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 489 489 /traps/9/citations/1/quote A trap in program mode ends the program with exit status 100 + the trap code 490 490 /traps/9/example contract_fail 491 491 /traps/10/name ENSURES 492 492 /traps/10/meaning postcondition or invariant failed 493 493 /traps/10/cause An ensures, invariant or holds check was false. 494 494 /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 496 496 /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 498 498 /traps/10/citations/1/quote A trap in program mode ends the program with exit status 100 + the trap code 499 499 /traps/10/example t10 500 500 /traps/11/name ARENA_FULL 501 501 /traps/11/meaning arena allocation over capacity 502 502 /traps/11/cause An OSC arena allocation exceeded the arena's capacity; native program mode raises it only through `trap 11`. 503 503 /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 505 505 /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 507 507 /traps/11/citations/1/quote A trap in program mode ends the program with exit status 100 + the trap code 508 508 /traps/11/example t11 509 509 /traps/12/name STALE 510 510 /traps/12/meaning stale versioned handle 511 511 /traps/12/cause A handle whose generation no longer matches its slot; native program mode raises it only through `trap 12`. 512 512 /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 514 514 /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 516 516 /traps/12/citations/1/quote A trap in program mode ends the program with exit status 100 + the trap code 517 517 /traps/12/example t12 518 518 /traps/13/name POOL_FULL 519 519 /traps/13/meaning pool allocation with every slot live 520 520 /traps/13/cause An OSC pool allocation found no free slot; native program mode raises it only through `trap 13`. 521 521 /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 523 523 /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 525 525 /traps/13/citations/1/quote A trap in program mode ends the program with exit status 100 + the trap code 526 526 /traps/13/example t13 527 527 /traps/14/name RETIRED 528 528 /traps/14/meaning pool slot retired at the maximum generation 529 529 /traps/14/cause An OSC pool allocation found only retired slots; native program mode raises it only through `trap 14`. 530 530 /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 532 532 /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 534 534 /traps/14/citations/1/quote A trap in program mode ends the program with exit status 100 + the trap code 535 535 /traps/14/example t14 536 536 /words/fopen/table kw @@ -546,13 +546,13 @@ 546 546 /words/fopen/types/4 mode: int 547 547 /words/fopen/result long 548 548 /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 550 550 /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 552 552 /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 554 554 /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 556 556 /words/fopen/citations/3/quote an OM-2 function unit (first line `om2`, no `fn main`) may use the file 557 557 /words/fopen/example files 558 558 /words/fclose/table kw @@ -564,13 +564,13 @@ 564 564 /words/fclose/types/0 fd: int 565 565 /words/fclose/result long 566 566 /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 568 568 /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 570 570 /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 572 572 /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 574 574 /words/fclose/citations/3/quote an OM-2 function unit (first line `om2`, no `fn main`) may use the file 575 575 /words/fclose/example files 576 576 /words/fsync/table kw @@ -582,11 +582,11 @@ 582 582 /words/fsync/types/0 fd: int 583 583 /words/fsync/result long 584 584 /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 586 586 /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 588 588 /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 590 590 /words/fsync/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 591 591 /words/fsync/example files 592 592 /words/fdsync/table kw @@ -598,11 +598,11 @@ 598 598 /words/fdsync/types/0 fd: int 599 599 /words/fdsync/result long 600 600 /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 602 602 /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 604 604 /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 606 606 /words/fdsync/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 607 607 /words/fdsync/example files 608 608 /words/memfd/table kw @@ -617,11 +617,11 @@ 617 617 /words/memfd/types/3 flags: int 618 618 /words/memfd/result long 619 619 /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 621 621 /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 623 623 /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 625 625 /words/memfd/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 626 626 /words/memfd/example files 627 627 /words/fchmod/table kw @@ -634,11 +634,11 @@ 634 634 /words/fchmod/types/1 mode: int 635 635 /words/fchmod/result long 636 636 /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 638 638 /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 640 640 /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 642 642 /words/fchmod/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 643 643 /words/fchmod/example files 644 644 /words/chmod/table kw @@ -653,11 +653,11 @@ 653 653 /words/chmod/types/3 mode: int 654 654 /words/chmod/result long 655 655 /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 657 657 /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 659 659 /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 661 661 /words/chmod/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 662 662 /words/chmod/example files 663 663 /words/chown/table kw @@ -673,11 +673,11 @@ 673 673 /words/chown/types/4 gid: int 674 674 /words/chown/result long 675 675 /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 677 677 /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 679 679 /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 681 681 /words/chown/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 682 682 /words/chown/example dirs 683 683 /words/faccess/table kw @@ -692,11 +692,11 @@ 692 692 /words/faccess/types/3 mode: int 693 693 /words/faccess/result long 694 694 /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 696 696 /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 698 698 /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 700 700 /words/faccess/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 701 701 /words/faccess/example files 702 702 /words/getuid/table kw @@ -708,13 +708,13 @@ 708 708 /words/getuid/types [] 709 709 /words/getuid/result long 710 710 /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 712 712 /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 714 714 /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 716 716 /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 718 718 /words/getuid/citations/3/quote an OM-2 function unit (first line `om2`, no `fn main`) may use the file 719 719 /words/getuid/example dirs 720 720 /words/geteuid/table kw @@ -726,13 +726,13 @@ 726 726 /words/geteuid/types [] 727 727 /words/geteuid/result long 728 728 /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 730 730 /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 732 732 /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 734 734 /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 736 736 /words/geteuid/citations/3/quote an OM-2 function unit (first line `om2`, no `fn main`) may use the file 737 737 /words/geteuid/example dirs 738 738 /words/getgid/table kw @@ -744,13 +744,13 @@ 744 744 /words/getgid/types [] 745 745 /words/getgid/result long 746 746 /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 748 748 /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 750 750 /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 752 752 /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 754 754 /words/getgid/citations/3/quote an OM-2 function unit (first line `om2`, no `fn main`) may use the file 755 755 /words/getgid/example dirs 756 756 /words/getegid/table kw @@ -762,13 +762,13 @@ 762 762 /words/getegid/types [] 763 763 /words/getegid/result long 764 764 /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 766 766 /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 768 768 /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 770 770 /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 772 772 /words/getegid/citations/3/quote an OM-2 function unit (first line `om2`, no `fn main`) may use the file 773 773 /words/getegid/example dirs 774 774 /words/fchdir/table kw @@ -780,11 +780,11 @@ 780 780 /words/fchdir/types/0 fd: int 781 781 /words/fchdir/result long 782 782 /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 784 784 /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 786 786 /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 788 788 /words/fchdir/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 789 789 /words/fchdir/example dirs 790 790 /words/getppid/table kw @@ -796,11 +796,11 @@ 796 796 /words/getppid/types [] 797 797 /words/getppid/result long 798 798 /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 800 800 /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 802 802 /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 804 804 /words/getppid/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 805 805 /words/getppid/example procs 806 806 /words/setsid/table kw @@ -812,11 +812,11 @@ 812 812 /words/setsid/types [] 813 813 /words/setsid/result long 814 814 /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 816 816 /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 818 818 /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 820 820 /words/setsid/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 821 821 /words/setsid/example procs 822 822 /words/getpgid/table kw @@ -828,11 +828,11 @@ 828 828 /words/getpgid/types/0 pid: int 829 829 /words/getpgid/result long 830 830 /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 832 832 /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 834 834 /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 836 836 /words/getpgid/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 837 837 /words/getpgid/example procs 838 838 /words/getsid/table kw @@ -844,11 +844,11 @@ 844 844 /words/getsid/types/0 pid: int 845 845 /words/getsid/result long 846 846 /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 848 848 /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 850 850 /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 852 852 /words/getsid/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 853 853 /words/getsid/example procs 854 854 /words/syncfs/table kw @@ -860,11 +860,11 @@ 860 860 /words/syncfs/types/0 fd: int 861 861 /words/syncfs/result long 862 862 /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 864 864 /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 866 866 /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 868 868 /words/syncfs/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 869 869 /words/syncfs/example files 870 870 /words/shutdown/table kw @@ -877,11 +877,11 @@ 877 877 /words/shutdown/types/1 how: int 878 878 /words/shutdown/result long 879 879 /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 881 881 /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 883 883 /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 885 885 /words/shutdown/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 886 886 /words/shutdown/example sockets 887 887 /words/flock/table kw @@ -894,11 +894,11 @@ 894 894 /words/flock/types/1 op: int 895 895 /words/flock/result long 896 896 /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 898 898 /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 900 900 /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 902 902 /words/flock/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 903 903 /words/flock/example files 904 904 /words/setpgid/table kw @@ -911,11 +911,11 @@ 911 911 /words/setpgid/types/1 pgid: int 912 912 /words/setpgid/result long 913 913 /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 915 915 /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 917 917 /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 919 919 /words/setpgid/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 920 920 /words/setpgid/example procs 921 921 /words/umask/table kw @@ -927,11 +927,11 @@ 927 927 /words/umask/types/0 mask: int 928 928 /words/umask/result long 929 929 /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 931 931 /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 933 933 /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 935 935 /words/umask/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 936 936 /words/umask/example files 937 937 /words/fseek/table kw @@ -945,11 +945,11 @@ 945 945 /words/fseek/types/2 whence: int 946 946 /words/fseek/result long 947 947 /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 949 949 /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 951 951 /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 953 953 /words/fseek/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 954 954 /words/fseek/example files 955 955 /words/ftrunc/table kw @@ -962,11 +962,11 @@ 962 962 /words/ftrunc/types/1 length: long 963 963 /words/ftrunc/result long 964 964 /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 966 966 /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 968 968 /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 970 970 /words/ftrunc/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 971 971 /words/ftrunc/example files 972 972 /words/truncate/table kw @@ -981,11 +981,11 @@ 981 981 /words/truncate/types/3 length: long 982 982 /words/truncate/result long 983 983 /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 985 985 /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 987 987 /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 989 989 /words/truncate/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 990 990 /words/truncate/example files 991 991 /words/unlink/table kw @@ -999,11 +999,11 @@ 999 999 /words/unlink/types/2 n: ulong 1000 1000 /words/unlink/result long 1001 1001 /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 1003 1003 /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 1005 1005 /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 1007 1007 /words/unlink/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1008 1008 /words/unlink/example files 1009 1009 /words/makedir/table kw @@ -1018,11 +1018,11 @@ 1018 1018 /words/makedir/types/3 mode: int 1019 1019 /words/makedir/result long 1020 1020 /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 1022 1022 /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 1024 1024 /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 1026 1026 /words/makedir/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1027 1027 /words/makedir/example dirs 1028 1028 /words/rmdir/table kw @@ -1036,11 +1036,11 @@ 1036 1036 /words/rmdir/types/2 n: ulong 1037 1037 /words/rmdir/result long 1038 1038 /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 1040 1040 /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 1042 1042 /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 1044 1044 /words/rmdir/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1045 1045 /words/rmdir/example dirs 1046 1046 /words/cwd/table kw @@ -1054,11 +1054,11 @@ 1054 1054 /words/cwd/types/2 capacity: ulong 1055 1055 /words/cwd/result long 1056 1056 /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 1058 1058 /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 1060 1060 /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 1062 1062 /words/cwd/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1063 1063 /words/cwd/example dirs 1064 1064 /words/chdir/table kw @@ -1072,11 +1072,11 @@ 1072 1072 /words/chdir/types/2 n: ulong 1073 1073 /words/chdir/result long 1074 1074 /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 1076 1076 /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 1078 1078 /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 1080 1080 /words/chdir/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1081 1081 /words/chdir/example dirs 1082 1082 /words/readlnk/table kw @@ -1093,11 +1093,11 @@ 1093 1093 /words/readlnk/types/5 capacity: ulong 1094 1094 /words/readlnk/result long 1095 1095 /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 1097 1097 /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 1099 1099 /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 1101 1101 /words/readlnk/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1102 1102 /words/readlnk/example dirs 1103 1103 /words/getdnts/table kw @@ -1112,11 +1112,11 @@ 1112 1112 /words/getdnts/types/3 n: ulong 1113 1113 /words/getdnts/result long 1114 1114 /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 1116 1116 /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 1118 1118 /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 1120 1120 /words/getdnts/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1121 1121 /words/getdnts/example dirs 1122 1122 /words/fstat/table kw @@ -1131,13 +1131,13 @@ 1131 1131 /words/fstat/types/3 n: ulong 1132 1132 /words/fstat/result long 1133 1133 /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 1135 1135 /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 1137 1137 /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 1139 1139 /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 1141 1141 /words/fstat/citations/3/quote an OM-2 function unit (first line `om2`, no `fn main`) may use the file 1142 1142 /words/fstat/example files 1143 1143 /words/stat/table kw @@ -1154,13 +1154,13 @@ 1154 1154 /words/stat/types/5 capacity: ulong 1155 1155 /words/stat/result long 1156 1156 /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 1158 1158 /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 1160 1160 /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 1162 1162 /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 1164 1164 /words/stat/citations/3/quote an OM-2 function unit (first line `om2`, no `fn main`) may use the file 1165 1165 /words/stat/example files 1166 1166 /words/lstat/table kw @@ -1177,13 +1177,13 @@ 1177 1177 /words/lstat/types/5 capacity: ulong 1178 1178 /words/lstat/result long 1179 1179 /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 1181 1181 /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 1183 1183 /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 1185 1185 /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 1187 1187 /words/lstat/citations/3/quote an OM-2 function unit (first line `om2`, no `fn main`) may use the file 1188 1188 /words/lstat/example files 1189 1189 /words/renames/table kw @@ -1198,11 +1198,11 @@ 1198 1198 /words/renames/types/3 flags: int 1199 1199 /words/renames/result long 1200 1200 /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 1202 1202 /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 1204 1204 /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 1206 1206 /words/renames/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1207 1207 /words/renames/example dirs 1208 1208 /words/link/table kw @@ -1216,11 +1216,11 @@ 1216 1216 /words/link/types/2 n: ulong 1217 1217 /words/link/result long 1218 1218 /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 1220 1220 /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 1222 1222 /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 1224 1224 /words/link/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1225 1225 /words/link/example dirs 1226 1226 /words/symlnk/table kw @@ -1234,11 +1234,11 @@ 1234 1234 /words/symlnk/types/2 n: ulong 1235 1235 /words/symlnk/result long 1236 1236 /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 1238 1238 /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 1240 1240 /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 1242 1242 /words/symlnk/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1243 1243 /words/symlnk/example dirs 1244 1244 /words/monons/table kw @@ -1250,13 +1250,13 @@ 1250 1250 /words/monons/types [] 1251 1251 /words/monons/result long 1252 1252 /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 1254 1254 /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 1256 1256 /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 1258 1258 /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 1260 1260 /words/monons/citations/3/quote an OM-2 function unit (first line `om2`, no `fn main`) may use the file 1261 1261 /words/monons/example clock 1262 1262 /words/realns/table kw @@ -1268,13 +1268,13 @@ 1268 1268 /words/realns/types [] 1269 1269 /words/realns/result long 1270 1270 /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 1272 1272 /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 1274 1274 /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 1276 1276 /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 1278 1278 /words/realns/citations/3/quote an OM-2 function unit (first line `om2`, no `fn main`) may use the file 1279 1279 /words/realns/example clock 1280 1280 /words/sleepns/table kw @@ -1286,13 +1286,13 @@ 1286 1286 /words/sleepns/types/0 interval: long 1287 1287 /words/sleepns/result long 1288 1288 /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 1290 1290 /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 1292 1292 /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 1294 1294 /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 1296 1296 /words/sleepns/citations/3/quote an OM-2 function unit (first line `om2`, no `fn main`) may use the file 1297 1297 /words/sleepns/example clock 1298 1298 /words/socknew/table kw @@ -1306,11 +1306,11 @@ 1306 1306 /words/socknew/types/2 protocol: int 1307 1307 /words/socknew/result long 1308 1308 /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 1310 1310 /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 1312 1312 /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 1314 1314 /words/socknew/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1315 1315 /words/socknew/example sockets 1316 1316 /words/bind/table kw @@ -1325,11 +1325,11 @@ 1325 1325 /words/bind/types/3 n: ulong 1326 1326 /words/bind/result long 1327 1327 /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 1329 1329 /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 1331 1331 /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 1333 1333 /words/bind/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1334 1334 /words/bind/example sockets 1335 1335 /words/connect/table kw @@ -1344,11 +1344,11 @@ 1344 1344 /words/connect/types/3 n: ulong 1345 1345 /words/connect/result long 1346 1346 /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 1348 1348 /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 1350 1350 /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 1352 1352 /words/connect/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1353 1353 /words/connect/example sockets 1354 1354 /words/listen/table kw @@ -1361,11 +1361,11 @@ 1361 1361 /words/listen/types/1 backlog: int 1362 1362 /words/listen/result long 1363 1363 /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 1365 1365 /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 1367 1367 /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 1369 1369 /words/listen/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1370 1370 /words/listen/example sockets 1371 1371 /words/accept/table kw @@ -1378,11 +1378,11 @@ 1378 1378 /words/accept/types/1 flags: int 1379 1379 /words/accept/result long 1380 1380 /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 1382 1382 /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 1384 1384 /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 1386 1386 /words/accept/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1387 1387 /words/accept/example sockets 1388 1388 /words/sockname/table kw @@ -1397,11 +1397,11 @@ 1397 1397 /words/sockname/types/3 n: ulong 1398 1398 /words/sockname/result long 1399 1399 /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 1401 1401 /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 1403 1403 /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 1405 1405 /words/sockname/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1406 1406 /words/sockname/example sockets 1407 1407 /words/sockopt/table kw @@ -1418,11 +1418,11 @@ 1418 1418 /words/sockopt/types/5 n: ulong 1419 1419 /words/sockopt/result long 1420 1420 /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 1422 1422 /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 1424 1424 /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 1426 1426 /words/sockopt/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1427 1427 /words/sockopt/example sockets 1428 1428 /words/recv/table kw @@ -1438,11 +1438,11 @@ 1438 1438 /words/recv/types/4 flags: int 1439 1439 /words/recv/result long 1440 1440 /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 1442 1442 /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 1444 1444 /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 1446 1446 /words/recv/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1447 1447 /words/recv/example sockets 1448 1448 /words/send/table kw @@ -1458,11 +1458,11 @@ 1458 1458 /words/send/types/4 flags: int 1459 1459 /words/send/result long 1460 1460 /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 1462 1462 /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 1464 1464 /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 1466 1466 /words/send/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1467 1467 /words/send/example sockets 1468 1468 /words/waitio/table kw @@ -1476,11 +1476,11 @@ 1476 1476 /words/waitio/types/2 interval: long 1477 1477 /words/waitio/result long 1478 1478 /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 1480 1480 /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 1482 1482 /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 1484 1484 /words/waitio/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1485 1485 /words/waitio/example sockets 1486 1486 /words/peercred/table kw @@ -1495,11 +1495,11 @@ 1495 1495 /words/peercred/types/3 capacity: ulong 1496 1496 /words/peercred/result long 1497 1497 /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 1499 1499 /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 1501 1501 /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 1503 1503 /words/peercred/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1504 1504 /words/peercred/example sockets 1505 1505 /words/pollfds/table kw @@ -1514,11 +1514,11 @@ 1514 1514 /words/pollfds/types/3 interval: long 1515 1515 /words/pollfds/result long 1516 1516 /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 1518 1518 /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 1520 1520 /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 1522 1522 /words/pollfds/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1523 1523 /words/pollfds/example sockets 1524 1524 /words/sendmsg/table kw @@ -1534,11 +1534,11 @@ 1534 1534 /words/sendmsg/types/4 flags: int 1535 1535 /words/sendmsg/result long 1536 1536 /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 1538 1538 /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 1540 1540 /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 1542 1542 /words/sendmsg/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1543 1543 /words/sendmsg/example sockets 1544 1544 /words/fork/table kw @@ -1550,11 +1550,11 @@ 1550 1550 /words/fork/types [] 1551 1551 /words/fork/result long 1552 1552 /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 1554 1554 /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 1556 1556 /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 1558 1558 /words/fork/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1559 1559 /words/fork/example procs 1560 1560 /words/getpid/table kw @@ -1566,11 +1566,11 @@ 1566 1566 /words/getpid/types [] 1567 1567 /words/getpid/result long 1568 1568 /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 1570 1570 /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 1572 1572 /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 1574 1574 /words/getpid/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1575 1575 /words/getpid/example procs 1576 1576 /words/killpid/table kw @@ -1583,11 +1583,11 @@ 1583 1583 /words/killpid/types/1 signal: int 1584 1584 /words/killpid/result long 1585 1585 /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 1587 1587 /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 1589 1589 /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 1591 1591 /words/killpid/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1592 1592 /words/killpid/example procs 1593 1593 /words/waitpid/table kw @@ -1603,11 +1603,11 @@ 1603 1603 /words/waitpid/types/4 options: int 1604 1604 /words/waitpid/result long 1605 1605 /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 1607 1607 /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 1609 1609 /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 1611 1611 /words/waitpid/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1612 1612 /words/waitpid/example procs 1613 1613 /words/pipefds/table kw @@ -1622,11 +1622,11 @@ 1622 1622 /words/pipefds/types/3 flags: int 1623 1623 /words/pipefds/result long 1624 1624 /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 1626 1626 /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 1628 1628 /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 1630 1630 /words/pipefds/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1631 1631 /words/pipefds/example procs 1632 1632 /words/dupfd/table kw @@ -1640,11 +1640,11 @@ 1640 1640 /words/dupfd/types/2 flags: int 1641 1641 /words/dupfd/result long 1642 1642 /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 1644 1644 /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 1646 1646 /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 1648 1648 /words/dupfd/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1649 1649 /words/dupfd/example procs 1650 1650 /words/execprog/table kw @@ -1658,11 +1658,11 @@ 1658 1658 /words/execprog/types/2 n: ulong 1659 1659 /words/execprog/result long 1660 1660 /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 1662 1662 /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 1664 1664 /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 1666 1666 /words/execprog/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1667 1667 /words/execprog/example procs 1668 1668 /words/argcnt/table kw @@ -1674,11 +1674,11 @@ 1674 1674 /words/argcnt/types [] 1675 1675 /words/argcnt/result long 1676 1676 /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 1678 1678 /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 1680 1680 /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 1682 1682 /words/argcnt/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1683 1683 /words/argcnt/example argsenv 1684 1684 /words/argread/table kw @@ -1693,11 +1693,11 @@ 1693 1693 /words/argread/types/3 capacity: ulong 1694 1694 /words/argread/result long 1695 1695 /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 1697 1697 /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 1699 1699 /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 1701 1701 /words/argread/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1702 1702 /words/argread/example argtrap 1703 1703 /words/envcnt/table kw @@ -1709,11 +1709,11 @@ 1709 1709 /words/envcnt/types [] 1710 1710 /words/envcnt/result long 1711 1711 /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 1713 1713 /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 1715 1715 /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 1717 1717 /words/envcnt/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1718 1718 /words/envcnt/example argsenv 1719 1719 /words/envread/table kw @@ -1728,11 +1728,11 @@ 1728 1728 /words/envread/types/3 capacity: ulong 1729 1729 /words/envread/result long 1730 1730 /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 1732 1732 /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 1734 1734 /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 1736 1736 /words/envread/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1737 1737 /words/envread/example argsenv 1738 1738 /words/random/table kw @@ -1747,11 +1747,11 @@ 1747 1747 /words/random/types/3 flags: int 1748 1748 /words/random/result long 1749 1749 /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 1751 1751 /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 1753 1753 /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 1755 1755 /words/random/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1756 1756 /words/random/example clock 1757 1757 /words/peername/table kw @@ -1766,11 +1766,11 @@ 1766 1766 /words/peername/types/3 n: ulong 1767 1767 /words/peername/result long 1768 1768 /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 1770 1770 /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 1772 1772 /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 1774 1774 /words/peername/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1775 1775 /words/peername/example peername 1776 1776 /words/execenv/table kw @@ -1787,11 +1787,11 @@ 1787 1787 /words/execenv/types/5 m: ulong 1788 1788 /words/execenv/result long 1789 1789 /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 1791 1791 /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 1793 1793 /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 1795 1795 /words/execenv/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1796 1796 /words/execenv/example limits 1797 1797 /words/prlimit/table kw @@ -1807,11 +1807,11 @@ 1807 1807 /words/prlimit/types/4 n: ulong 1808 1808 /words/prlimit/result long 1809 1809 /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 1811 1811 /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 1813 1813 /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 1815 1815 /words/prlimit/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1816 1816 /words/prlimit/example limits 1817 1817 /words/cpuset/table kw @@ -1826,11 +1826,11 @@ 1826 1826 /words/cpuset/types/3 n: ulong 1827 1827 /words/cpuset/result long 1828 1828 /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 1830 1830 /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 1832 1832 /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 1834 1834 /words/cpuset/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1835 1835 /words/cpuset/example sched 1836 1836 /words/cpuget/table kw @@ -1845,11 +1845,11 @@ 1845 1845 /words/cpuget/types/3 n: ulong 1846 1846 /words/cpuget/result long 1847 1847 /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 1849 1849 /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 1851 1851 /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 1853 1853 /words/cpuget/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1854 1854 /words/cpuget/example sched 1855 1855 /words/cpunow/table kw @@ -1861,11 +1861,11 @@ 1861 1861 /words/cpunow/types [] 1862 1862 /words/cpunow/result long 1863 1863 /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 1865 1865 /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 1867 1867 /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 1869 1869 /words/cpunow/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1870 1870 /words/cpunow/example sched 1871 1871 /words/setprio/table kw @@ -1879,11 +1879,11 @@ 1879 1879 /words/setprio/types/2 priority: int 1880 1880 /words/setprio/result long 1881 1881 /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 1883 1883 /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 1885 1885 /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 1887 1887 /words/setprio/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1888 1888 /words/setprio/example sched 1889 1889 /words/getprio/table kw @@ -1896,11 +1896,11 @@ 1896 1896 /words/getprio/types/1 who: int 1897 1897 /words/getprio/result long 1898 1898 /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 1900 1900 /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 1902 1902 /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 1904 1904 /words/getprio/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1905 1905 /words/getprio/example sched 1906 1906 /words/execpure/table kw @@ -1914,11 +1914,11 @@ 1914 1914 /words/execpure/types/2 n: ulong 1915 1915 /words/execpure/result long 1916 1916 /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 1918 1918 /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 1920 1920 /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 1922 1922 /words/execpure/citations/2/quote Offsets, byte counts, capacities and argument indices are `ulong` 1923 1923 /words/execpure/example procs 1924 1924 /words/pread/table kw @@ -1934,9 +1934,9 @@ 1934 1934 /words/pread/types/4 pos: long 1935 1935 /words/pread/result long 1936 1936 /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 1938 1938 /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 1940 1940 /words/pread/citations/1/quote `pread fd A off n pos` / `pwrite fd A off n pos` (pos long) 1941 1941 /words/pread/example files 1942 1942 /words/pwrite/table kw @@ -1952,9 +1952,9 @@ 1952 1952 /words/pwrite/types/4 pos: long 1953 1953 /words/pwrite/result long 1954 1954 /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 1956 1956 /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 1958 1958 /words/pwrite/citations/1/quote `pread fd A off n pos` / `pwrite fd A off n pos` (pos long) 1959 1959 /words/pwrite/example files 1960 1960 /words/devctl/table kw @@ -1970,11 +1970,11 @@ 1970 1970 /words/devctl/types/4 n: ulong 1971 1971 /words/devctl/result long 1972 1972 /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 1974 1974 /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 1976 1976 /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 1978 1978 /words/devctl/citations/2/quote An OM-2 function unit (first line `om2`, no `fn main`) may also use `devctl` 1979 1979 /words/devctl/example mapping 1980 1980 /words/mapnew/table kw @@ -1990,11 +1990,11 @@ 1990 1990 /words/mapnew/types/4 mode: int literal 1, 2, 33 or 34 1991 1991 /words/mapnew/result long (handle) 1992 1992 /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 1994 1994 /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 1996 1996 /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 1998 1998 /words/mapnew/citations/2/quote An OM-2 function unit (first line `om2`, no `fn main`) may also use `devctl` 1999 1999 /words/mapnew/example mapping 2000 2000 /words/mapdrop/table kw @@ -2006,11 +2006,11 @@ 2006 2006 /words/mapdrop/types/0 handle: long 2007 2007 /words/mapdrop/result long 2008 2008 /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 2010 2010 /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 2012 2012 /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 2014 2014 /words/mapdrop/citations/2/quote An OM-2 function unit (first line `om2`, no `fn main`) may also use `devctl` 2015 2015 /words/mapdrop/example mapping 2016 2016 /words/mapread/table kw @@ -2026,11 +2026,11 @@ 2026 2026 /words/mapread/types/4 n: ulong 2027 2027 /words/mapread/result long 2028 2028 /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 2030 2030 /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 2032 2032 /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 2034 2034 /words/mapread/citations/2/quote An OM-2 function unit (first line `om2`, no `fn main`) may also use `devctl` 2035 2035 /words/mapread/example mapping 2036 2036 /words/mapwrite/table kw @@ -2046,11 +2046,11 @@ 2046 2046 /words/mapwrite/types/4 n: ulong 2047 2047 /words/mapwrite/result long 2048 2048 /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 2050 2050 /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 2052 2052 /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 2054 2054 /words/mapwrite/citations/2/quote An OM-2 function unit (first line `om2`, no `fn main`) may also use `devctl` 2055 2055 /words/mapwrite/example mapping 2056 2056 /words/devcall/table kw @@ -2069,11 +2069,11 @@ 2069 2069 /words/devcall/types/7 n: ulong (at most `1048576`; larger traps 3) 2070 2070 /words/devcall/result long 2071 2071 /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 2073 2073 /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 2075 2075 /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 2077 2077 /words/devcall/citations/2/quote An OM-2 function unit (first line `om2`, no `fn main`) may also use `devctl` 2078 2078 /words/devcall/example mapping 2079 2079 /words/uvmctl/table kw @@ -2089,11 +2089,11 @@ 2089 2089 /words/uvmctl/types/4 n: ulong (the request's exact payload length) 2090 2090 /words/uvmctl/result long 2091 2091 /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 2093 2093 /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 2095 2095 /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 2097 2097 /words/uvmctl/citations/2/quote An OM-2 function unit (first line `om2`, no `fn main`) may also use `devctl` 2098 2098 /words/uvmctl/example mapping 2099 2099 /words/mapaddr/table kw @@ -2105,11 +2105,11 @@ 2105 2105 /words/mapaddr/types/0 handle: long 2106 2106 /words/mapaddr/result ulong 2107 2107 /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 2109 2109 /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 2111 2111 /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 2113 2113 /words/mapaddr/citations/2/quote An OM-2 function unit (first line `om2`, no `fn main`) may also use `devctl` 2114 2114 /words/mapaddr/example mapping 2115 2115 /words/mapget/table kw @@ -2123,11 +2123,11 @@ 2123 2123 /words/mapget/types/2 width: int literal 4 or 8 2124 2124 /words/mapget/result ulong 2125 2125 /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 2127 2127 /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 2129 2129 /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 2131 2131 /words/mapget/citations/2/quote An OM-2 function unit (first line `om2`, no `fn main`) may also use `devctl` 2132 2132 /words/mapget/example mapping 2133 2133 /words/mapset/table kw @@ -2142,11 +2142,11 @@ 2142 2142 /words/mapset/types/3 value: ulong 2143 2143 /words/mapset/result long 2144 2144 /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 2146 2146 /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 2148 2148 /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 2150 2150 /words/mapset/citations/2/quote An OM-2 function unit (first line `om2`, no `fn main`) may also use `devctl` 2151 2151 /words/mapset/example mapping 2152 2152 /words/maphold/table kw @@ -2159,11 +2159,11 @@ 2159 2159 /words/maphold/types/1 bytes: ulong 2160 2160 /words/maphold/result long (handle) 2161 2161 /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 2163 2163 /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 2165 2165 /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 2167 2167 /words/maphold/citations/2/quote An OM-2 function unit (first line `om2`, no `fn main`) may also use `devctl` 2168 2168 /words/maphold/example mapping 2169 2169 /words/vfioctl/table kw @@ -2179,11 +2179,11 @@ 2179 2179 /words/vfioctl/types/4 n: ulong (the request's exact byte count) 2180 2180 /words/vfioctl/result long 2181 2181 /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 2183 2183 /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 2185 2185 /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 2187 2187 /words/vfioctl/citations/2/quote These additions are program-mode only; hosted x86 VFIO and function-mode VFIO are not implemented. 2188 2188 /words/vfioctl/example vfio 2189 2189 /words/vfiomap/table kw @@ -2198,11 +2198,11 @@ 2198 2198 /words/vfiomap/types/3 32: record length 2199 2199 /words/vfiomap/result long (handle) 2200 2200 /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 2202 2202 /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 2204 2204 /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 2206 2206 /words/vfiomap/citations/2/quote These additions are program-mode only; hosted x86 VFIO and function-mode VFIO are not implemented. 2207 2207 /words/vfiomap/example vfio 2208 2208 /words/vfiomapw/table kw @@ -2217,11 +2217,11 @@ 2217 2217 /words/vfiomapw/types/3 32: record length 2218 2218 /words/vfiomapw/result long (handle) 2219 2219 /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 2221 2221 /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 2223 2223 /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 2225 2225 /words/vfiomapw/citations/2/quote These additions are program-mode only; hosted x86 VFIO and function-mode VFIO are not implemented. 2226 2226 /words/vfiomapw/example vfio 2227 2227 /words/eventfd/table kw @@ -2233,11 +2233,11 @@ 2233 2233 /words/eventfd/types/0 initial: uint 2234 2234 /words/eventfd/result long 2235 2235 /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 2237 2237 /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 2239 2239 /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 2241 2241 /words/eventfd/citations/2/quote These additions are program-mode only; hosted x86 VFIO and function-mode VFIO are not implemented. 2242 2242 /words/eventfd/example vfio 2243 2243 /words/vfioirq/table kw @@ -2253,11 +2253,11 @@ 2253 2253 /words/vfioirq/types/4 n: ulong (checked against the caller's argsz) 2254 2254 /words/vfioirq/result long 2255 2255 /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 2257 2257 /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 2259 2259 /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 2261 2261 /words/vfioirq/citations/2/quote These additions are program-mode only; hosted x86 VFIO and function-mode VFIO are not implemented. 2262 2262 /words/vfioirq/example vfioirq_trap 2263 2263 /words/mapbind/table kw @@ -2272,11 +2272,11 @@ 2272 2272 /words/mapbind/types/3 access: int literal 1 or 3 2273 2273 /words/mapbind/result long 2274 2274 /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 2276 2276 /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 2278 2278 /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 2280 2280 /words/mapbind/citations/2/quote An OM-2 function unit (first line `om2`, no `fn main`) may also use `devctl` 2281 2281 /words/mapbind/example mapping 2282 2282 /words/cpufence/table kw @@ -2288,11 +2288,11 @@ 2288 2288 /words/cpufence/types [] 2289 2289 /words/cpufence/result - 2290 2290 /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 2292 2292 /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 2294 2294 /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 2296 2296 /words/cpufence/citations/2/quote `cpufence` | Statement, keyword 199 2297 2297 /words/cpufence/example cpu_order 2298 2298 /words/cpurelax/table kw @@ -2304,11 +2304,11 @@ 2304 2304 /words/cpurelax/types [] 2305 2305 /words/cpurelax/result - 2306 2306 /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 2308 2308 /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 2310 2310 /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 2312 2312 /words/cpurelax/citations/2/quote `cpurelax` | Statement, keyword 200 2313 2313 /words/cpurelax/example cpu_order 2314 2314 /words/kfdres/table kw @@ -2320,11 +2320,11 @@ 2320 2320 /words/kfdres/types/0 n: ulong (nonzero multiple of 4096; otherwise trap 3) 2321 2321 /words/kfdres/result long (handle) 2322 2322 /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 2324 2324 /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 2326 2326 /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 2328 2328 /words/kfdres/citations/2/quote Program-mode Linux only: native AArch64 and `target x86linux`. 2329 2329 /words/kfdres/example kfd 2330 2330 /words/kfdmap/table kw @@ -2338,11 +2338,11 @@ 2338 2338 /words/kfdmap/types/2 n: ulong (zero traps 3) 2339 2339 /words/kfdmap/result long (handle) 2340 2340 /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 2342 2342 /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 2344 2344 /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 2346 2346 /words/kfdmap/citations/2/quote Program-mode Linux only: native AArch64 and `target x86linux`. 2347 2347 /words/kfdmap/example kfdmap_trap 2348 2348 /words/kfdctl/table kw @@ -2359,11 +2359,11 @@ 2359 2359 /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 2360 2360 /words/kfdctl/result long 2361 2361 /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 2363 2363 /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 2365 2365 /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 2367 2367 /words/kfdctl/citations/2/quote Program-mode Linux only: native AArch64 and `target x86linux`. 2368 2368 /words/kfdctl/example kfd 2369 2369 /words/bool/table kw @@ -2375,11 +2375,11 @@ 2375 2375 /words/bool/types/0 VALUE: any integer, float or bool value 2376 2376 /words/bool/result bool 2377 2377 /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 2379 2379 /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 2381 2381 /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 2383 2383 /words/bool/citations/2/quote A conversion ` v` traps 5 when the value is outside the new type. 2384 2384 /words/bool/example control 2385 2385 /words/uchar/table kw @@ -2391,11 +2391,11 @@ 2391 2391 /words/uchar/types/0 VALUE: any integer, float or bool value 2392 2392 /words/uchar/result uchar 2393 2393 /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 2395 2395 /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 2397 2397 /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 2399 2399 /words/uchar/citations/2/quote A conversion ` v` traps 5 when the value is outside the new type. 2400 2400 /words/uchar/example ints 2401 2401 /words/u8/table kw @@ -2407,11 +2407,11 @@ 2407 2407 /words/u8/types/0 VALUE: any integer, float or bool value 2408 2408 /words/u8/result uchar 2409 2409 /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 2411 2411 /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 2413 2413 /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 2415 2415 /words/u8/citations/2/quote A conversion ` v` traps 5 when the value is outside the new type. 2416 2416 /words/u8/example ints 2417 2417 /words/ushort/table kw @@ -2423,11 +2423,11 @@ 2423 2423 /words/ushort/types/0 VALUE: any integer, float or bool value 2424 2424 /words/ushort/result ushort 2425 2425 /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 2427 2427 /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 2429 2429 /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 2431 2431 /words/ushort/citations/2/quote A conversion ` v` traps 5 when the value is outside the new type. 2432 2432 /words/ushort/example ints 2433 2433 /words/u16/table kw @@ -2439,11 +2439,11 @@ 2439 2439 /words/u16/types/0 VALUE: any integer, float or bool value 2440 2440 /words/u16/result ushort 2441 2441 /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 2443 2443 /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 2445 2445 /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 2447 2447 /words/u16/citations/2/quote A conversion ` v` traps 5 when the value is outside the new type. 2448 2448 /words/u16/example ints 2449 2449 /words/uint/table kw @@ -2455,11 +2455,11 @@ 2455 2455 /words/uint/types/0 VALUE: any integer, float or bool value 2456 2456 /words/uint/result uint 2457 2457 /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 2459 2459 /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 2461 2461 /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 2463 2463 /words/uint/citations/2/quote A conversion ` v` traps 5 when the value is outside the new type. 2464 2464 /words/uint/example ints 2465 2465 /words/u32/table kw @@ -2471,11 +2471,11 @@ 2471 2471 /words/u32/types/0 VALUE: any integer, float or bool value 2472 2472 /words/u32/result uint 2473 2473 /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 2475 2475 /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 2477 2477 /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 2479 2479 /words/u32/citations/2/quote A conversion ` v` traps 5 when the value is outside the new type. 2480 2480 /words/u32/example ints 2481 2481 /words/ulong/table kw @@ -2487,11 +2487,11 @@ 2487 2487 /words/ulong/types/0 VALUE: any integer, float or bool value 2488 2488 /words/ulong/result ulong 2489 2489 /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 2491 2491 /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 2493 2493 /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 2495 2495 /words/ulong/citations/2/quote A conversion ` v` traps 5 when the value is outside the new type. 2496 2496 /words/ulong/example ints 2497 2497 /words/u64/table kw @@ -2503,11 +2503,11 @@ 2503 2503 /words/u64/types/0 VALUE: any integer, float or bool value 2504 2504 /words/u64/result ulong 2505 2505 /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 2507 2507 /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 2509 2509 /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 2511 2511 /words/u64/citations/2/quote A conversion ` v` traps 5 when the value is outside the new type. 2512 2512 /words/u64/example ints 2513 2513 /words/byte/table kw @@ -2519,11 +2519,11 @@ 2519 2519 /words/byte/types/0 VALUE: any integer, float or bool value 2520 2520 /words/byte/result byte 2521 2521 /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 2523 2523 /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 2525 2525 /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 2527 2527 /words/byte/citations/2/quote A conversion ` v` traps 5 when the value is outside the new type. 2528 2528 /words/byte/example ints 2529 2529 /words/i8/table kw @@ -2535,11 +2535,11 @@ 2535 2535 /words/i8/types/0 VALUE: any integer, float or bool value 2536 2536 /words/i8/result byte 2537 2537 /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 2539 2539 /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 2541 2541 /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 2543 2543 /words/i8/citations/2/quote A conversion ` v` traps 5 when the value is outside the new type. 2544 2544 /words/i8/example ints 2545 2545 /words/short/table kw @@ -2551,11 +2551,11 @@ 2551 2551 /words/short/types/0 VALUE: any integer, float or bool value 2552 2552 /words/short/result short 2553 2553 /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 2555 2555 /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 2557 2557 /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 2559 2559 /words/short/citations/2/quote A conversion ` v` traps 5 when the value is outside the new type. 2560 2560 /words/short/example ints 2561 2561 /words/i16/table kw @@ -2567,11 +2567,11 @@ 2567 2567 /words/i16/types/0 VALUE: any integer, float or bool value 2568 2568 /words/i16/result short 2569 2569 /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 2571 2571 /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 2573 2573 /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 2575 2575 /words/i16/citations/2/quote A conversion ` v` traps 5 when the value is outside the new type. 2576 2576 /words/i16/example ints 2577 2577 /words/int/table kw @@ -2583,11 +2583,11 @@ 2583 2583 /words/int/types/0 VALUE: any integer, float or bool value 2584 2584 /words/int/result int 2585 2585 /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 2587 2587 /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 2589 2589 /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 2591 2591 /words/int/citations/2/quote A conversion ` v` traps 5 when the value is outside the new type. 2592 2592 /words/int/example hello 2593 2593 /words/i32/table kw @@ -2599,11 +2599,11 @@ 2599 2599 /words/i32/types/0 VALUE: any integer, float or bool value 2600 2600 /words/i32/result int 2601 2601 /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 2603 2603 /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 2605 2605 /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 2607 2607 /words/i32/citations/2/quote A conversion ` v` traps 5 when the value is outside the new type. 2608 2608 /words/i32/example ints 2609 2609 /words/long/table kw @@ -2615,11 +2615,11 @@ 2615 2615 /words/long/types/0 VALUE: any integer, float or bool value 2616 2616 /words/long/result long 2617 2617 /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 2619 2619 /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 2621 2621 /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 2623 2623 /words/long/citations/2/quote A conversion ` v` traps 5 when the value is outside the new type. 2624 2624 /words/long/example ints 2625 2625 /words/i64/table kw @@ -2631,11 +2631,11 @@ 2631 2631 /words/i64/types/0 VALUE: any integer, float or bool value 2632 2632 /words/i64/result long 2633 2633 /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 2635 2635 /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 2637 2637 /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 2639 2639 /words/i64/citations/2/quote A conversion ` v` traps 5 when the value is outside the new type. 2640 2640 /words/i64/example ints 2641 2641 /words/qty/table kw @@ -2647,13 +2647,13 @@ 2647 2647 /words/qty/types/0 VALUE: an integer value 2648 2648 /words/qty/result qty 2649 2649 /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 2651 2651 /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 2653 2653 /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 2655 2655 /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 2657 2657 /words/qty/citations/3/quote The seeded syntax is prefix conversion (`q = qty w`, `w = ulong q`). 2658 2658 /words/qty/example qty 2659 2659 /words/dit/table kw2 @@ -2665,11 +2665,11 @@ 2665 2665 /words/dit/types/0 v: int 0 or 1 (else trap 3) 2666 2666 /words/dit/result long 2667 2667 /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 2669 2669 /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 2671 2671 /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 2673 2673 /words/dit/citations/2/quote program mode only (error 9 in function mode), AArch64 only (error 25 under `target x86linux`), and give a long 2674 2674 /words/dit/example secrets 2675 2675 /words/scrub/table kw2 @@ -2681,11 +2681,11 @@ 2681 2681 /words/scrub/types/0 n: ulong, a multiple of 16 at most `1048576` (else trap 3) 2682 2682 /words/scrub/result long 2683 2683 /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 2685 2685 /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 2687 2687 /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 2689 2689 /words/scrub/citations/2/quote program mode only (error 9 in function mode), AArch64 only (error 25 under `target x86linux`), and give a long 2690 2690 /words/scrub/example secrets 2691 2691 /words/add/table kw @@ -2698,9 +2698,9 @@ 2698 2698 /words/add/types/1 B: the same type T 2699 2699 /words/add/result T 2700 2700 /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 2702 2702 /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 2704 2704 /words/add/citations/1/quote Unsigned add, sub, mul, shl, neg, not wrap modulo 2^width 2705 2705 /words/add/example ints 2706 2706 /words/sub/table kw @@ -2713,9 +2713,9 @@ 2713 2713 /words/sub/types/1 B: the same type T 2714 2714 /words/sub/result T 2715 2715 /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 2717 2717 /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 2719 2719 /words/sub/citations/1/quote Unsigned add, sub, mul, shl, neg, not wrap modulo 2^width 2720 2720 /words/sub/example arith 2721 2721 /words/mul/table kw @@ -2728,9 +2728,9 @@ 2728 2728 /words/mul/types/1 B: the same type T 2729 2729 /words/mul/result T 2730 2730 /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 2732 2732 /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 2734 2734 /words/mul/citations/1/quote Unsigned add, sub, mul, shl, neg, not wrap modulo 2^width 2735 2735 /words/mul/example arith 2736 2736 /words/div/table kw @@ -2743,9 +2743,9 @@ 2743 2743 /words/div/types/1 B: the same type T 2744 2744 /words/div/result T 2745 2745 /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 2747 2747 /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 2749 2749 /words/div/citations/1/quote div and rem trap 2 when the divisor is 0. 2750 2750 /words/div/example arith 2751 2751 /words/rem/table kw @@ -2758,9 +2758,9 @@ 2758 2758 /words/rem/types/1 B: the same type T 2759 2759 /words/rem/result T 2760 2760 /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 2762 2762 /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 2764 2764 /words/rem/citations/1/quote div and rem trap 2 when the divisor is 0. 2765 2765 /words/rem/example ints 2766 2766 /words/and/table kw @@ -2773,9 +2773,9 @@ 2773 2773 /words/and/types/1 B: the same type T 2774 2774 /words/and/result T 2775 2775 /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 2777 2777 /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 2779 2779 /words/and/citations/1/quote the two values of an op 2780 2780 /words/and/example arith 2781 2781 /words/or/table kw @@ -2788,9 +2788,9 @@ 2788 2788 /words/or/types/1 B: the same type T 2789 2789 /words/or/result T 2790 2790 /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 2792 2792 /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 2794 2794 /words/or/citations/1/quote the two values of an op 2795 2795 /words/or/example arith 2796 2796 /words/xor/table kw @@ -2803,9 +2803,9 @@ 2803 2803 /words/xor/types/1 B: the same type T 2804 2804 /words/xor/result T 2805 2805 /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 2807 2807 /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 2809 2809 /words/xor/citations/1/quote the two values of an op 2810 2810 /words/xor/example arith 2811 2811 /words/shl/table kw @@ -2818,9 +2818,9 @@ 2818 2818 /words/shl/types/1 B: the same type T 2819 2819 /words/shl/result T 2820 2820 /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 2822 2822 /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 2824 2824 /words/shl/citations/1/quote A shift amount outside 0 .. width - 1 traps 7 2825 2825 /words/shl/example arith 2826 2826 /words/shr/table kw @@ -2833,9 +2833,9 @@ 2833 2833 /words/shr/types/1 B: the same type T 2834 2834 /words/shr/result T 2835 2835 /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 2837 2837 /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 2839 2839 /words/shr/citations/1/quote shr of a signed value keeps the sign. 2840 2840 /words/shr/example arith 2841 2841 /words/eq/table kw @@ -2848,9 +2848,9 @@ 2848 2848 /words/eq/types/1 B: the same type T 2849 2849 /words/eq/result bool 2850 2850 /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 2852 2852 /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 2854 2854 /words/eq/citations/1/quote comparisons `eq ne lt le gt ge` 2855 2855 /words/eq/example arith 2856 2856 /words/ne/table kw @@ -2863,9 +2863,9 @@ 2863 2863 /words/ne/types/1 B: the same type T 2864 2864 /words/ne/result bool 2865 2865 /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 2867 2867 /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 2869 2869 /words/ne/citations/1/quote comparisons `eq ne lt le gt ge` 2870 2870 /words/ne/example arith 2871 2871 /words/lt/table kw @@ -2878,9 +2878,9 @@ 2878 2878 /words/lt/types/1 B: the same type T 2879 2879 /words/lt/result bool 2880 2880 /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 2882 2882 /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 2884 2884 /words/lt/citations/1/quote comparisons `eq ne lt le gt ge` 2885 2885 /words/lt/example arith 2886 2886 /words/le/table kw @@ -2893,9 +2893,9 @@ 2893 2893 /words/le/types/1 B: the same type T 2894 2894 /words/le/result bool 2895 2895 /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 2897 2897 /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 2899 2899 /words/le/citations/1/quote comparisons `eq ne lt le gt ge` 2900 2900 /words/le/example arith 2901 2901 /words/gt/table kw @@ -2908,9 +2908,9 @@ 2908 2908 /words/gt/types/1 B: the same type T 2909 2909 /words/gt/result bool 2910 2910 /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 2912 2912 /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 2914 2914 /words/gt/citations/1/quote comparisons `eq ne lt le gt ge` 2915 2915 /words/gt/example arith 2916 2916 /words/ge/table kw @@ -2923,9 +2923,9 @@ 2923 2923 /words/ge/types/1 B: the same type T 2924 2924 /words/ge/result bool 2925 2925 /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 2927 2927 /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 2929 2929 /words/ge/citations/1/quote comparisons `eq ne lt le gt ge` 2930 2930 /words/ge/example arith 2931 2931 /words/neg/table kw @@ -2937,9 +2937,9 @@ 2937 2937 /words/neg/types/0 A: number type T 2938 2938 /words/neg/result T 2939 2939 /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 2941 2941 /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 2943 2943 /words/neg/citations/1/quote Signed add, sub, mul, neg, div and shl trap 1 2944 2944 /words/neg/example arith 2945 2945 /words/not/table kw @@ -2951,9 +2951,9 @@ 2951 2951 /words/not/types/0 A: integer type T or bool 2952 2952 /words/not/result T 2953 2953 /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 2955 2955 /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 2957 2957 /words/not/citations/1/quote Unsigned add, sub, mul, shl, neg, not wrap modulo 2^width 2958 2958 /words/not/example arith 2959 2959 /words/get/table kw @@ -2966,11 +2966,11 @@ 2966 2966 /words/get/types/1 i: integer index 2967 2967 /words/get/result element type 2968 2968 /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 2970 2970 /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 2972 2972 /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 2974 2974 /words/get/citations/2/quote a number index included (it is checked at run time, never error 21) 2975 2975 /words/get/example arrays 2976 2976 /words/len/table kw @@ -2982,11 +2982,11 @@ 2982 2982 /words/len/types/0 A: array or text 2983 2983 /words/len/result ulong 2984 2984 /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 2986 2986 /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 2988 2988 /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 2990 2990 /words/len/citations/2/quote `len NAME` is the current length, a run-time ulong, never folded 2991 2991 /words/len/example hello 2992 2992 /words/read/table kw @@ -3001,9 +3001,9 @@ 3001 3001 /words/read/types/3 n: ulong 3002 3002 /words/read/result long 3003 3003 /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 3005 3005 /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 3007 3007 /words/read/citations/1/quote `read fd A off n` and `write fd A off n` (fd int, off and n ulong) 3008 3008 /words/read/example files 3009 3009 /words/write/table kw @@ -3018,9 +3018,9 @@ 3018 3018 /words/write/types/3 n: ulong 3019 3019 /words/write/result long 3020 3020 /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 3022 3022 /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 3024 3024 /words/write/citations/1/quote `read fd A off n` and `write fd A off n` (fd int, off and n ulong) 3025 3025 /words/write/example hello 3026 3026 /words/true/table kw @@ -3032,9 +3032,9 @@ 3032 3032 /words/true/types [] 3033 3033 /words/true/result bool 3034 3034 /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 3036 3036 /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 3038 3038 /words/true/citations/1/quote `true` and `false` are the bool numbers 1 and 0. 3039 3039 /words/true/example control 3040 3040 /words/false/table kw @@ -3046,9 +3046,9 @@ 3046 3046 /words/false/types [] 3047 3047 /words/false/result bool 3048 3048 /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 3050 3050 /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 3052 3052 /words/false/citations/1/quote `true` and `false` are the bool numbers 1 and 0. 3053 3053 /words/false/example control 3054 3054 /words/view/table kw @@ -3061,9 +3061,9 @@ 3061 3061 /words/view/types/1 N: length or * (OM-2 unsized) 3062 3062 /words/view/result - 3063 3063 /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 3065 3065 /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 3067 3067 /words/view/citations/1/quote A parameter `NAME view T N` or `NAME edit T N` 3068 3068 /words/view/example arrays 3069 3069 /words/edit/table kw @@ -3076,9 +3076,9 @@ 3076 3076 /words/edit/types/1 N: length or * (OM-2 unsized) 3077 3077 /words/edit/result - 3078 3078 /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 3080 3080 /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 3082 3082 /words/edit/citations/1/quote A parameter `NAME view T N` or `NAME edit T N` 3083 3083 /words/edit/example arrays 3084 3084 /words/fn/table kw @@ -3091,11 +3091,11 @@ 3091 3091 /words/fn/types/1 PARAM: up to 63 characters, at most 6 slots 3092 3092 /words/fn/result - 3093 3093 /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 3095 3095 /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 3097 3097 /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 3099 3099 /words/fn/citations/2/quote A program with a line `fn main` is a whole Linux program 3100 3100 /words/fn/example hello 3101 3101 /words/to/table kw @@ -3107,9 +3107,9 @@ 3107 3107 /words/to/types/0 TYPE: a scalar type or void 3108 3108 /words/to/result - 3109 3109 /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 3111 3111 /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 3113 3113 /words/to/citations/1/quote to | void 3114 3114 /words/to/example hello 3115 3115 /words/end/table kw @@ -3121,9 +3121,9 @@ 3121 3121 /words/end/types [] 3122 3122 /words/end/result - 3123 3123 /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 3125 3125 /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 3127 3127 /words/end/citations/1/quote `end` closes it 3128 3128 /words/end/example hello 3129 3129 /words/if/table kw @@ -3135,9 +3135,9 @@ 3135 3135 /words/if/types/0 COND: bool 3136 3136 /words/if/result - 3137 3137 /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 3139 3139 /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 3141 3141 /words/if/citations/1/quote if / else / end 3142 3142 /words/if/example control 3143 3143 /words/else/table kw @@ -3149,9 +3149,9 @@ 3149 3149 /words/else/types [] 3150 3150 /words/else/result - 3151 3151 /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 3153 3153 /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 3155 3155 /words/else/citations/1/quote if / else / end 3156 3156 /words/else/example control 3157 3157 /words/while/table kw @@ -3164,9 +3164,9 @@ 3164 3164 /words/while/types/1 N: 1..`9223372036854775807` (IR mode 1..`1000000`) 3165 3165 /words/while/result - 3166 3166 /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 3168 3168 /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 3170 3170 /words/while/citations/1/quote while [bound N] / end 3171 3171 /words/while/example control 3172 3172 /words/bound/table kw @@ -3178,11 +3178,11 @@ 3178 3178 /words/bound/types/0 N: number or integer const 1..`9223372036854775807` (IR mode 1..`1000000`) 3179 3179 /words/bound/result - 3180 3180 /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 3182 3182 /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 3184 3184 /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 3186 3186 /words/bound/citations/2/quote N as for while. 3187 3187 /words/bound/example control 3188 3188 /words/for/table kw @@ -3196,11 +3196,11 @@ 3196 3196 /words/for/types/2 COUNT: number or value of TYPE 3197 3197 /words/for/result - 3198 3198 /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 3200 3200 /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 3202 3202 /words/for/citations/1/quote for [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 3204 3204 /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 3205 3205 /words/for/example for_guard 3206 3206 /words/ret/table kw @@ -3212,9 +3212,9 @@ 3212 3212 /words/ret/types/0 VALUE: the function's result type (none for void) 3213 3213 /words/ret/result - 3214 3214 /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 3216 3216 /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 3218 3218 /words/ret/citations/1/quote ret [] 3219 3219 /words/ret/example hello 3220 3220 /words/=/table kw @@ -3227,9 +3227,9 @@ 3227 3227 /words/=/types/1 VALUE: any value 3228 3228 /words/=/result - 3229 3229 /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 3231 3231 /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 3233 3233 /words/=/citations/1/quote = 3234 3234 /words/=/example hello 3235 3235 /words/(/table kw @@ -3241,9 +3241,9 @@ 3241 3241 /words/(/types/0 VALUE: any value 3242 3242 /words/(/result VALUE's type 3243 3243 /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 3245 3245 /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 3247 3247 /words/(/citations/1/quote `(` and `)` are separate words 3248 3248 /words/(/example calls 3249 3249 /words/)/table kw @@ -3255,9 +3255,9 @@ 3255 3255 /words/)/types/0 VALUE: any value 3256 3256 /words/)/result VALUE's type 3257 3257 /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 3259 3259 /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 3261 3261 /words/)/citations/1/quote `(` and `)` are separate words 3262 3262 /words/)/example calls 3263 3263 /words/void/table kw @@ -3269,9 +3269,9 @@ 3269 3269 /words/void/types [] 3270 3270 /words/void/result - 3271 3271 /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 3273 3273 /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 3275 3275 /words/void/citations/1/quote `to void` makes a void function 3276 3276 /words/void/example arrays 3277 3277 /words/global/table kw @@ -3285,11 +3285,11 @@ 3285 3285 /words/global/types/2 N: 1..`16777216`, or * (a run-time pool) 3286 3286 /words/global/result - 3287 3287 /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 3289 3289 /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 3291 3291 /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 3293 3293 /words/global/citations/2/quote `global NAME T *`: a run-time pool of element type T 3294 3294 /words/global/example arrays 3295 3295 /words/enlarge/table kw @@ -3303,17 +3303,17 @@ 3303 3303 /words/enlarge/types/2 r: long 3304 3304 /words/enlarge/result long 3305 3305 /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 3307 3307 /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 3309 3309 /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 3311 3311 /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 3313 3313 /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 3315 3315 /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 3317 3317 /words/enlarge/citations/5/quote A refusal is a result the program handles; it is never a trap. 3318 3318 /words/enlarge/example pools 3319 3319 /words/text/table kw @@ -3326,9 +3326,9 @@ 3326 3326 /words/text/types/1 bytes: escapes \\n \\t \\\\ \\" 3327 3327 /words/text/result - 3328 3328 /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 3330 3330 /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 3332 3332 /words/text/citations/1/quote `text NAME "bytes"`: a read-only array of uchar 3333 3333 /words/text/example hello 3334 3334 /words/put/table kw @@ -3342,9 +3342,9 @@ 3342 3342 /words/put/types/2 v: element type 3343 3343 /words/put/result - 3344 3344 /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 3346 3346 /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 3348 3348 /words/put/citations/1/quote put 3349 3349 /words/put/example arrays 3350 3350 /words/free/table kw @@ -3356,11 +3356,11 @@ 3356 3356 /words/free/types [] 3357 3357 /words/free/result - 3358 3358 /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 3360 3360 /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 3362 3362 /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 3364 3364 /words/free/citations/2/quote if or or or eq c 77 eq c 78 eq c 79 eq c 81 3365 3365 /words/free/example free_refused 3366 3366 /words/own/table kw @@ -3372,9 +3372,9 @@ 3372 3372 /words/own/types [] 3373 3373 /words/own/result - 3374 3374 /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 3376 3376 /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 3378 3378 /words/own/citations/1/quote if or or or eq c 77 eq c 78 eq c 79 eq c 81 3379 3379 /words/own/example own_refused 3380 3380 /words/exit/table kw @@ -3386,9 +3386,9 @@ 3386 3386 /words/exit/types/0 v: int 3387 3387 /words/exit/result - 3388 3388 /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 3390 3390 /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 3392 3392 /words/exit/citations/1/quote `exit v` (v int) ends the program with status v modulo 256. 3393 3393 /words/exit/example exit 3394 3394 /words/note/table kw @@ -3400,9 +3400,9 @@ 3400 3400 /words/note/types [] 3401 3401 /words/note/result - 3402 3402 /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 3404 3404 /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 3406 3406 /words/note/citations/1/quote `note ...` is a line the translator does not read beyond its first word. 3407 3407 /words/note/example hello 3408 3408 /words/new/table kw @@ -3416,9 +3416,9 @@ 3416 3416 /words/new/types/2 v: initial element value 3417 3417 /words/new/result array 3418 3418 /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 3420 3420 /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 3422 3422 /words/new/citations/1/quote `NAME = new T N v`: a local array of N elements, each v, on the stack 3423 3423 /words/new/example arrays 3424 3424 /words/break/table kw @@ -3430,9 +3430,9 @@ 3430 3430 /words/break/types [] 3431 3431 /words/break/result - 3432 3432 /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 3434 3434 /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 3436 3436 /words/break/citations/1/quote leave the innermost loop; outside a loop: error 9. 3437 3437 /words/break/example control 3438 3438 /words/trap/table kw @@ -3444,9 +3444,9 @@ 3444 3444 /words/trap/types/0 N: 1..14 3445 3445 /words/trap/result - 3446 3446 /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 3448 3448 /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 3450 3450 /words/trap/citations/1/quote trap stop with that code 3451 3451 /words/trap/example trapword 3452 3452 /words/continue/table kw @@ -3458,9 +3458,9 @@ 3458 3458 /words/continue/types [] 3459 3459 /words/continue/result - 3460 3460 /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 3462 3462 /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 3464 3464 /words/continue/citations/1/quote jump to the next iteration 3465 3465 /words/continue/example control 3466 3466 /words/const/table kw @@ -3474,9 +3474,9 @@ 3474 3474 /words/const/types/2 LITERAL: value of TYPE 3475 3475 /words/const/result - 3476 3476 /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 3478 3478 /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 3480 3480 /words/const/citations/1/quote `const NAME TYPE LITERAL` at top level defines a named value before use. 3481 3481 /words/const/example consts 3482 3482 /words/struct/table kw @@ -3488,9 +3488,9 @@ 3488 3488 /words/struct/types/0 fields: 1..16, at most 64 eight-byte cells 3489 3489 /words/struct/result - 3490 3490 /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 3492 3492 /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 3494 3494 /words/struct/citations/1/quote `struct Name field type [len] ... end`, one line, before the first `fn`. 3495 3495 /words/struct/example structs 3496 3496 /words/sizeof/table kw @@ -3502,9 +3502,9 @@ 3502 3502 /words/sizeof/types/0 T: scalar type or struct 3503 3503 /words/sizeof/result ulong 3504 3504 /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 3506 3506 /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 3508 3508 /words/sizeof/citations/1/quote `sizeof T` is the size in bytes of a scalar type 3509 3509 /words/sizeof/example structs 3510 3510 /words/offsetof/table kw @@ -3517,9 +3517,9 @@ 3517 3517 /words/offsetof/types/1 field: field name 3518 3518 /words/offsetof/result ulong 3519 3519 /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 3521 3521 /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 3523 3523 /words/offsetof/citations/1/quote `offsetof S f` is the byte offset of field `f` 3524 3524 /words/offsetof/example structs 3525 3525 /words/f32/table kw @@ -3531,9 +3531,9 @@ 3531 3531 /words/f32/types/0 VALUE: integer or float value 3532 3532 /words/f32/result f32 3533 3533 /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 3535 3535 /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 3537 3537 /words/f32/citations/1/quote `f32` and `f64` are IEEE-754 binary32 and binary64. 3538 3538 /words/f32/example floats 3539 3539 /words/f64/table kw @@ -3545,9 +3545,9 @@ 3545 3545 /words/f64/types/0 VALUE: integer or float value 3546 3546 /words/f64/result f64 3547 3547 /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 3549 3549 /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 3551 3551 /words/f64/citations/1/quote `f32` and `f64` are IEEE-754 binary32 and binary64. 3552 3552 /words/f64/example floats 3553 3553 /words/bitcast/table kw @@ -3560,9 +3560,9 @@ 3560 3560 /words/bitcast/types/1 VALUE: f32/i32/u32 or f64/i64/u64 3561 3561 /words/bitcast/result T 3562 3562 /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 3564 3564 /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 3566 3566 /words/bitcast/citations/1/quote `bitcast T value` reinterprets a value of the same width 3567 3567 /words/bitcast/example floats 3568 3568 /words/fsqrt/table kw @@ -3574,9 +3574,9 @@ 3574 3574 /words/fsqrt/types/0 X: f32 or f64 3575 3575 /words/fsqrt/result the operand type 3576 3576 /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 3578 3578 /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 3580 3580 /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 3581 3581 /words/fsqrt/example floats 3582 3582 /words/fabs/table kw @@ -3588,9 +3588,9 @@ 3588 3588 /words/fabs/types/0 X: f32 or f64 3589 3589 /words/fabs/result the operand type 3590 3590 /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 3592 3592 /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 3594 3594 /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 3595 3595 /words/fabs/example floats 3596 3596 /words/fmin/table kw @@ -3602,9 +3602,9 @@ 3602 3602 /words/fmin/types/0 A, B: one float type 3603 3603 /words/fmin/result the operand type 3604 3604 /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 3606 3606 /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 3608 3608 /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 3609 3609 /words/fmin/example floats 3610 3610 /words/fmax/table kw @@ -3616,9 +3616,9 @@ 3616 3616 /words/fmax/types/0 A, B: one float type 3617 3617 /words/fmax/result the operand type 3618 3618 /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 3620 3620 /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 3622 3622 /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 3623 3623 /words/fmax/example floats 3624 3624 /words/fma/table kw @@ -3630,11 +3630,11 @@ 3630 3630 /words/fma/types/0 A, B, C: one explicit float type (f32 or f64) 3631 3631 /words/fma/result the operand type 3632 3632 /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 3634 3634 /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 3636 3636 /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 3638 3638 /words/fma/citations/2/quote The words are `bitcast`, `fsqrt`, `fabs`, `fmin`, `fmax` and `fma` 3639 3639 /words/fma/example fma 3640 3640 /words/rotr/table kw2 @@ -3647,11 +3647,11 @@ 3647 3647 /words/rotr/types/1 N: T 3648 3648 /words/rotr/result T 3649 3649 /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 3651 3651 /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 3653 3653 /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 3655 3655 /words/rotr/citations/2/quote rotr rotl unroll inline fresh abstract seal open holds layout field at little big part out 3656 3656 /words/rotr/example om2_rotate 3657 3657 /words/rotl/table kw2 @@ -3664,11 +3664,11 @@ 3664 3664 /words/rotl/types/1 N: T 3665 3665 /words/rotl/result T 3666 3666 /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 3668 3668 /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 3670 3670 /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 3672 3672 /words/rotl/citations/2/quote rotr rotl unroll inline fresh abstract seal open holds layout field at little big part out 3673 3673 /words/rotl/example om2_rotate 3674 3674 /words/unroll/table kw2 @@ -3680,11 +3680,11 @@ 3680 3680 /words/unroll/types/0 K: number 1..64 3681 3681 /words/unroll/result - 3682 3682 /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 3684 3684 /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 3686 3686 /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 3688 3688 /words/unroll/citations/2/quote rotr rotl unroll inline fresh abstract seal open holds layout field at little big part out 3689 3689 /words/unroll/example om2_unroll 3690 3690 /words/inline/table kw2 @@ -3696,11 +3696,11 @@ 3696 3696 /words/inline/types [] 3697 3697 /words/inline/result - 3698 3698 /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 3700 3700 /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 3702 3702 /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 3704 3704 /words/inline/citations/2/quote rotr rotl unroll inline fresh abstract seal open holds layout field at little big part out 3705 3705 /words/inline/example om2_unroll 3706 3706 /words/fresh/table kw2 @@ -3712,11 +3712,11 @@ 3712 3712 /words/fresh/types/0 N: at most 64 3713 3713 /words/fresh/result - 3714 3714 /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 3716 3716 /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 3718 3718 /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 3720 3720 /words/fresh/citations/2/quote rotr rotl unroll inline fresh abstract seal open holds layout field at little big part out 3721 3721 /words/fresh/example om2_fresh 3722 3722 /words/abstract/table kw2 @@ -3729,11 +3729,11 @@ 3729 3729 /words/abstract/types/1 W: rotr rotl and or xor 3730 3730 /words/abstract/result - 3731 3731 /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 3733 3733 /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 3735 3735 /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 3737 3737 /words/abstract/citations/2/quote rotr rotl unroll inline fresh abstract seal open holds layout field at little big part out 3738 3738 /words/abstract/example om2_abstract 3739 3739 /words/seal/table kw2 @@ -3746,11 +3746,11 @@ 3746 3746 /words/seal/types/1 v: its base type T 3747 3747 /words/seal/result NAME 3748 3748 /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 3750 3750 /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 3752 3752 /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 3754 3754 /words/seal/citations/2/quote rotr rotl unroll inline fresh abstract seal open holds layout field at little big part out 3755 3755 /words/seal/example om2_abstract 3756 3756 /words/open/table kw2 @@ -3762,11 +3762,11 @@ 3762 3762 /words/open/types/0 v: abstract value 3763 3763 /words/open/result base type T 3764 3764 /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 3766 3766 /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 3768 3768 /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 3770 3770 /words/open/citations/2/quote rotr rotl unroll inline fresh abstract seal open holds layout field at little big part out 3771 3771 /words/open/example om2_abstract 3772 3772 /words/holds/table kw2 @@ -3778,11 +3778,11 @@ 3778 3778 /words/holds/types/0 NAME: ulong abstract type 3779 3779 /words/holds/result - 3780 3780 /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 3782 3782 /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 3784 3784 /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 3786 3786 /words/holds/citations/2/quote rotr rotl unroll inline fresh abstract seal open holds layout field at little big part out 3787 3787 /words/holds/example om2_abstract 3788 3788 /words/ops/table kw2 @@ -3794,11 +3794,11 @@ 3794 3794 /words/ops/types/0 W: rotr rotl and or xor 3795 3795 /words/ops/result - 3796 3796 /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 3798 3798 /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 3800 3800 /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 3802 3802 /words/ops/citations/2/quote rotr rotl unroll inline fresh abstract seal open holds layout field at little big part out 3803 3803 /words/ops/example om2_abstract 3804 3804 /words/layout/table kw2 @@ -3811,11 +3811,11 @@ 3811 3811 /words/layout/types/1 SIZE: 1..4096 3812 3812 /words/layout/result - 3813 3813 /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 3815 3815 /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 3817 3817 /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 3819 3819 /words/layout/citations/2/quote rotr rotl unroll inline fresh abstract seal open holds layout field at little big part out 3820 3820 /words/layout/example om2_layout 3821 3821 /words/field/table kw2 @@ -3829,11 +3829,11 @@ 3829 3829 /words/field/types/2 OFF: byte offset 3830 3830 /words/field/result - 3831 3831 /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 3833 3833 /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 3835 3835 /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 3837 3837 /words/field/citations/2/quote rotr rotl unroll inline fresh abstract seal open holds layout field at little big part out 3838 3838 /words/field/example om2_layout 3839 3839 /words/at/table kw2 @@ -3845,11 +3845,11 @@ 3845 3845 /words/at/types/0 OFF: byte offset 3846 3846 /words/at/result - 3847 3847 /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 3849 3849 /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 3851 3851 /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 3853 3853 /words/at/citations/2/quote rotr rotl unroll inline fresh abstract seal open holds layout field at little big part out 3854 3854 /words/at/example om2_layout 3855 3855 /words/little/table kw2 @@ -3861,11 +3861,11 @@ 3861 3861 /words/little/types [] 3862 3862 /words/little/result - 3863 3863 /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 3865 3865 /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 3867 3867 /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 3869 3869 /words/little/citations/2/quote rotr rotl unroll inline fresh abstract seal open holds layout field at little big part out 3870 3870 /words/little/example om2_layout 3871 3871 /words/big/table kw2 @@ -3877,11 +3877,11 @@ 3877 3877 /words/big/types [] 3878 3878 /words/big/result - 3879 3879 /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 3881 3881 /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 3883 3883 /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 3885 3885 /words/big/citations/2/quote rotr rotl unroll inline fresh abstract seal open holds layout field at little big part out 3886 3886 /words/big/example om2_layout 3887 3887 /words/part/table kw2 @@ -3895,11 +3895,11 @@ 3895 3895 /words/part/types/2 k: ulong 3896 3896 /words/part/result view/edit of k elements 3897 3897 /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 3899 3899 /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 3901 3901 /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 3903 3903 /words/part/citations/2/quote rotr rotl unroll inline fresh abstract seal open holds layout field at little big part out 3904 3904 /words/part/example om2_part 3905 3905 /words/out/table kw2 @@ -3912,11 +3912,11 @@ 3912 3912 /words/out/types/1 N: length 3913 3913 /words/out/result - 3914 3914 /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 3916 3916 /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 3918 3918 /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 3920 3920 /words/out/citations/2/quote rotr rotl unroll inline fresh abstract seal open holds layout field at little big part out 3921 3921 /words/out/example om2_out 3922 3922 /words/export/table kw2 @@ -3928,96 +3928,96 @@ 3928 3928 /words/export/types [] 3929 3929 /words/export/result - 3930 3930 /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 3932 3932 /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 3934 3934 /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 3936 3936 /words/export/citations/2/quote rotr rotl unroll inline fresh abstract seal open holds layout field at little big part out 3937 3937 /words/export/example om2_export 3938 3938 /topics/requires/form requires BOOL 3939 3939 /topics/requires/summary OM-2 precondition: part of a function's prefix, checked on entry; false traps 9. 3940 3940 /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 3942 3942 /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 3944 3944 /topics/requires/citations/1/quote False `requires` uses existing trap **9** 3945 3945 /topics/requires/example contract_fail 3946 3946 /topics/ensures/form ensures BOOL 3947 3947 /topics/ensures/summary OM-2 postcondition: checked on every normal return; `result` names the returned value; false traps 10. 3948 3948 /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 3950 3950 /topics/ensures/citations/0/quote Postconditions execute in declaration order on **every normal return** 3951 3951 /topics/ensures/example contracts 3952 3952 /topics/invariant/form invariant BOOL 3953 3953 /topics/invariant/summary OM-2 loop invariant: the prefix of a while or for body, checked at the loop head; false traps 10. 3954 3954 /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 3956 3956 /topics/invariant/citations/0/quote `invariant BOOL` forms the prefix of a `while` or `for` body 3957 3957 /topics/invariant/example contracts 3958 3958 /topics/result/form result 3959 3959 /topics/result/summary OM-2: the returned value, available only inside ensures clauses (elsewhere error 30). 3960 3960 /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 3962 3962 /topics/result/citations/0/quote The read-only name `result` is available only in value postconditions. 3963 3963 /topics/result/example contracts 3964 3964 /topics/om2/form om2 | om2 diag | om2 fmt 3965 3965 /topics/om2/summary First line that opts a unit into profile OM-2 (rotate, unroll, inline, layout, abstract types, contracts, unsized views). 3966 3966 /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 3968 3968 /topics/om2/citations/0/quote when the next line is exactly `om2` 3969 3969 /topics/om2/example om2_rotate 3970 3970 /topics/exit_status/summary Program exit status: main's value modulo 256; a trap N exits 100 + N; exit v exits v modulo 256. 3971 3971 /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 3973 3973 /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 3975 3975 /topics/exit_status/citations/1/quote exit status 100 + the trap code 3976 3976 /topics/exit_status/example exit 3977 3977 /topics/packed_list/summary Host-word argument lists: little-endian u16 count, then per record a u16 length and the bytes. 3978 3978 /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 3980 3980 /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 3982 3982 /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; 3983 3983 /topics/packed_list/example dirs 3984 3984 /topics/paths/summary Host paths are length-delimited byte slices of at most 4095 bytes; embedded zero bytes trap 3. 3985 3985 /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 3987 3987 /topics/paths/citations/0/quote Paths are at most 4095 bytes. 3988 3988 /topics/paths/example files 3989 3989 /topics/host_words/summary Native host words: Linux system calls with checked slices; results are long, negative errno on failure. 3990 3990 /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 3992 3992 /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 3994 3994 /topics/host_words/citations/1/quote an OM-2 function unit (first line `om2`, no `fn main`) may use the file 3995 3995 /topics/host_words/example files 3996 3996 /topics/compile_errors/summary omc writes `omc: line N: error K` to stderr and exits with K; use explain_error for any K. 3997 3997 /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 3999 3999 /topics/compile_errors/citations/0/quote fn fail code ulong to void 4000 4000 /topics/compile_errors/example e03 4001 4001 /topics/traps/summary Run-time traps 1..14 end a program with exit 100 + code. 4002 4002 /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 4004 4004 /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 4006 4006 /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 4008 4008 /topics/traps/citations/2/quote With no bound a number count is not guarded and any other count traps 4 after `1000000` passes 4009 4009 /topics/traps/example t02 4010 4010 /topics/loops/form while COND [bound N] / end | for NAME TYPE COUNT [bound N] / end 4011 4011 /topics/loops/summary Every loop except a for with a number count and no bound traps 4 (exit 104) past a pass limit. 4012 4012 /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 4014 4014 /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 4016 4016 /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 4017 4017 /topics/loops/example for_guard 4018 4018 /topics/contracts/summary OM-2 contracts: requires, ensures and invariant clauses checked at run time (traps 9 and 10). 4019 4019 /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 4021 4021 /topics/contracts/citations/0/quote Compiler error **30** means misplaced 4022 4022 /topics/contracts/example contracts 4023 4023 /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 @@ 5 5 # Seeded 2026-11-11 from the instruction files then in use; the account of every change is in the landing 6 6 # report. Change a rule here and land it; the files are regenerated at landing. 7 7 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 + 8 26 rule no-github 9 27 date 2026-11-11 10 28 said No more GitHub? Everything goes to interplane. @@ -12,8 +30,8 @@ for all watchdog 12 30 order 20 13 31 | ## No GitHub: everything goes to Interplane (Drake standing rule, 2026-11-11) 14 32 | 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. 17 35 end 18 36 19 37 rule receipts-not-approvals @@ -23,20 +41,74 @@ for all watchdog 23 41 order 22 24 42 | ## Receipts, not approvals (Drake, 2026-11-11) 25 43 | 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. 27 45 end 28 46 47 +# The different-provider part of the 2026-11-11 words below was replaced by Drake on 2026-11-14 (last said line). 29 48 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. 31 51 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. 32 53 for all watchdog 33 54 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." 36 57 | - 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 "" --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. 40 112 end 41 113 42 114 rule automate-everything @@ -61,10 +133,10 @@ date 2026-11-12 61 133 said btw that should be the standing rule 62 134 for all 63 135 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) 65 137 | 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. 68 140 | - 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. 69 141 | - 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. 70 142 end @@ -91,8 +163,8 @@ for all 91 163 order 25 92 164 | ## Interplane: plain surface, full depth one click down (Drake, 2026-11-11) 93 165 | 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. 96 168 | - 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. 97 169 end 98 170 @@ -137,6 +209,51 @@ order 27 137 209 | - 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. 138 210 end 139 211 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 + 140 257 rule hardware-first 141 258 date 2026-10-24 142 259 for agents claude codex @@ -153,9 +270,9 @@ end 153 270 154 271 rule no-silent-dependency 155 272 date 2026-10-25 156 -for agents omp 273 +for agents omp claude 157 274 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. 159 276 end 160 277 161 278 rule fix-it-dont-file-it @@ -167,7 +284,7 @@ end 167 284 168 285 rule agents-plan-first 169 286 date 2026-10-03 170 -for agents 287 +for agents claude 171 288 order 180 172 289 | ### Plan First, Always 173 290 | - Before starting substantive architectural, coding, or configuration work, write a short, numbered plan. @@ -176,7 +293,7 @@ end 176 293 177 294 rule agents-ground-truth 178 295 date 2026-10-03 179 -for agents 296 +for agents claude 180 297 order 181 181 298 | ### Ground Truth & Evidence Invariant 182 299 | - **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 211 328 212 329 rule agents-agent-skills 213 330 date 2026-11-11 214 -for agents 331 +for agents claude 215 332 order 187 216 333 | ## Agent skills 217 334 | 218 335 | ### Issue tracker 219 336 | 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`. 221 338 | 222 339 | ### Triage labels 223 340 | @@ -230,7 +347,7 @@ end 230 347 231 348 rule agents-publishing-identity 232 349 date 2026-11-11 233 -for agents 350 +for agents claude 234 351 order 190 235 352 | ## Publishing identity (GitHub retired 2026-11-11, see the No GitHub rule above) 236 353 | @@ -370,3 +487,34 @@ order 300 370 487 | # Reversibility rule (Drake standing order, 2026-11-08) 371 488 | 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. 372 489 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 14 14 Drake's order of 2026-11-07, verified by Manager(Aien) the same day: 15 15 16 16 - **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://` (or `rad clone rad:`). 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/.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.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/.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. 18 18 - **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 `, never with `gh`. Before 2026-11-11 the desk merged only after a signed review of a READY file's head; that is history. 19 19 - **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:` or `git clone https://www.aienos.com/rad/.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.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. 21 21 - **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. 22 22 - **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. 23 23 - **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/.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: 26 26 27 27 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. 28 28 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/` 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 `-.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/` 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 `-.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. 30 30 31 31 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 `). 32 32 @@ -175,14 +175,14 @@ For memory, do not route to an archived repo just because its name sounds right. 175 175 - [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. 176 176 - [synapse](https://github.com/aien-dev/synapse): agent-native changesets/coordination with Git/Radicle interoperability. A coordination claim is not a verification verdict. 177 177 - 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. 179 179 - [spark-connector](https://github.com/aien-dev/spark-connector): volunteer-verification connector; enrollment is not blanket permission to execute hardware or change trust anchors. 180 180 - [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. 181 181 - [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. 182 182 183 183 ### User-facing and supporting projects 184 184 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. 186 186 187 187 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. 188 188 skills/lean-verify/SKILL.md @@ -138,6 +138,10 @@ ssh 'cd ~/workspace/lean-verify && PATH=$HOME/.elan/bin:$PATH taskset -c 138 138 139 139 Put new proofs under `LeanVerify/` and import them from `LeanVerify.lean` so `lake build` checks them all. 140 140 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 + 141 145 ## Repair 142 146 143 147 - Server does not start: `ssh ~/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