diff --git a/README.md b/README.md index 9708e93..5503fe8 100644 --- a/README.md +++ b/README.md @@ -81,4 +81,16 @@ The `omega-encoding` skill (section 13) records the full set of observed results Each skill names the omega-mv commit it was checked against and lists known disagreements. Historical sections retain their dated pins. `omega-encoding` section 0 adds scoped pins for the IR/wasm backend, the merged Omega 1.0 roadmap, and main `91b3c932` (compiler `189ada82…3b54`): executable contracts, expanded capacity and the f32 return fix. The batch has host evidence, not GPU qualification. When the compiler changes, recheck cited lines, rerun examples, then update pins. Do not edit old evidence. Contributions follow the [shared AIEN agent rules](https://www.aienos.com/agents/RULES.md). +The 2026-10-28 qty/diagnostics pin originally recorded for #911 is merged as +`6999fa9e6dae4847c155ef4eacaece74f491d3ca`. The skills also record a separate, +audit-fix pin for [omega-mv #914](https://github.com/aien-dev/omega-mv/pull/914): +`955586a891f79d1cb4997f599be8760eaf70f819`, compiler `0ab18500…b9a3`. +Its expanded quantity and diagnostic examples were exercised on a Linux AArch64 +host. The fix merged as `d94a503f7aae57d09697046405da2e9a5895be6d` on +2026-10-28. Deployment and hardware qualification are not established. +`omega-harness` section 3 separately records the pending +[CUDApp #160](https://github.com/aien-dev/CUDApp/pull/160) encoder/TileLab repair, +its unchanged C5 compiler pin, required offline disassembler and independently +exercised CPU-only commands. That pending dependency is distinct from compiler #914. + Written by Drake Stapleton with AIEN agents. Apache License 2.0. diff --git a/skills/omega-encoding/SKILL.md b/skills/omega-encoding/SKILL.md index 6a922e9..87a7480 100644 --- a/skills/omega-encoding/SKILL.md +++ b/skills/omega-encoding/SKILL.md @@ -10,12 +10,43 @@ cannot express, and before encoding bytes, integers or host I/O in Omega. ## 0. Pin and how to re-check it -The current candidate pin below covers `qty` and the compiler's `check`/`next` interface. -Older tables and their citations remain dated history, not claims about this candidate. -Pending [omega-mv #911](https://github.com/aien-dev/omega-mv/pull/911), including -[#909](https://github.com/aien-dev/omega-mv/pull/909); not merged or deployed. +### Merged audit-fix pin (observed 2026-10-28) -### Current candidate pin (observed 2026-10-28) +[omega-mv #914](https://github.com/aien-dev/omega-mv/pull/914) merged as +`d94a503f7aae57d09697046405da2e9a5895be6d` on 2026-10-28. Deployment is not +established. A fresh clone of `fix/qty-diag-audit` at this exact candidate commit +was used for the host-only observations in the `qty` and `check`/`next` sections. + +| Item | Value | +|---|---| +| Commit | `955586a891f79d1cb4997f599be8760eaf70f819` | +| Compiler source `seed/omc/omc.om` | 12,545 lines, sha256 `d2e7c7c55af63272e5d0c3071eeb5c977554864143f115a1d1f42ee5da587d0d` | +| Compiler `seed/out/omc` | sha256 `0ab18500a68dfaff21c1e6eb74ef3c329cae6aac3d10d7310643c980dcefb9a3` | +| Seed loader `seed/rung0/seed0.hex` | sha256 `baaf081fe6055a768485c5d25d7435681ce00b04cfa80b26c48169f78944e14d` | + +`sh seed/omega-from-seed.sh` exited 0 with empty stderr. Its full stdout matched +the merged-pin rebuild block below byte for byte except for the fixpoint line, +which was: + +```text +PASS omc fixpoint 0ab18500a68dfaff21c1e6eb74ef3c329cae6aac3d10d7310643c980dcefb9a3 +``` + +The committed `seed/out/omc.sha256` and the independently measured binary digest +agreed before rebuilding; the rebuild reproduced that digest. This is a +fixpoint and focused host replay, not full qualification. The merged d629 pin +below still accepts some float/qty mixes and rejects legal quantity literals +and explicit integer ingress; its original register-only examples did not +exercise those boundaries. Use the audit-fix pin for the expanded examples. + +The earlier merged pin below covers the original `qty` and `check`/`next` +examples. Older tables and their citations remain dated history. +Originally observed on the [omega-mv #911](https://github.com/aien-dev/omega-mv/pull/911) +candidate, including [#909](https://github.com/aien-dev/omega-mv/pull/909). +Both are now merged: main `6999fa9e6dae4847c155ef4eacaece74f491d3ca` +contains the same compiler bytes. This does not establish deployment. + +### Merged qty and diagnostics pin (observed 2026-10-28) | Item | Value | |---|---| @@ -259,6 +290,38 @@ Observed: compile exit 7, empty stdout, stderr: omc: line 4: error 7 ``` +The audit-fix candidate also accepts typed quantity literals in arithmetic: + +```text +fn main to int +a = qty 1 +b = add a qty 1 +ret int b +end +``` + +Observed: compile exit 0, empty stderr; run exit 2, empty stdout/stderr. +Negative control: replace only `add a qty 1` with `add a 1.0`. Observed: +compile exit 7, empty stdout, stderr exactly `omc: line 3: error 7` followed +by a newline. A float literal must not be relabeled as quantity bits. + +Explicit integer ingress is checked rather than implicitly coerced: + +```text +fn main to int +a = ulong 7 +b = qty a +ret int b +end +``` + +Observed: compile exit 0, empty stderr; run exit 7, empty stdout/stderr. +Negative control: replace only `ulong 7` with `long -1`. Observed: +compile exit 0, empty stderr; run exit 105 (conversion trap 5), empty +stdout/stderr. These examples and all the earlier overflow, wrap and mixing +controls were rerun with the audit-fix candidate. + + ### `check` and `next`: text diagnostics and prefix context These are leading input lines to the seeded compiler, not command-line flags @@ -308,6 +371,50 @@ Negative control: compare the observed query with a copy whose name line is `a ulong param`. Observed comparison: unequal (`REJECTED`), so a local/parameter kind error is detectable. +At the audit-fix candidate, unknown names are `NAME`, not `TYPE` diagnostics: + +```sh +printf 'check\nfn main to int\nret missing\nend\n' | seed/out/omc +``` + +Observed exit 3, stdout: + +```text +omega-diag v1 +om1 NAME span=19-26 UNKNOWN REPAIRABLE code=3 line=2 expect=name found=missing +``` + +Observed stderr exactly `omc: line 3: error 3` followed by a newline. +The earlier `ret 0` check is the successful-output negative control. The +original `ret true` diagnostic and unfinished-loop query above were also +rerun and compared byte for byte with their quoted output at this candidate. + +Output failures must not report success. On Linux with `/dev/full`: + +```sh +for mode in check next; do + if printf '%s\nfn main to int\nret 0\nend\n' "$mode" | seed/out/omc > /dev/full; then rc=0; else rc=$?; fi + printf '%s rc=%s\n' "$mode" "$rc" +done +``` + +Observed stdout, empty stderr: + +```text +check rc=2 +next rc=2 +``` + +Run the broader host regression with +`bash tests/diagnostics/experiment_issue655.sh`. Observed exit 0, ending +`ALL 54/54 EXPERIMENT CHECKS PASSED (negative control + exact first error span matching)`. +It checks category records, compares complete query bytes for both 10- and +1,200-function inputs, and pairs `/dev/full` failures with successful-output +controls for `check`, `next` and ordinary compilation. Prefix queries are +streamed rather than limited to one 65,536-byte message buffer; this does +not remove the compiler's input, function-table or name-table limits. + + ## 1. Which language is which diff --git a/skills/omega-harness/SKILL.md b/skills/omega-harness/SKILL.md index a7f708c..87c190f 100644 --- a/skills/omega-harness/SKILL.md +++ b/skills/omega-harness/SKILL.md @@ -60,16 +60,32 @@ say so and stop rather than estimating. Use the target repository's documented commands. A host-only seed workflow on AArch64 Linux, in a disposable clone pinned to an exact revision, looks like this: -Current candidate source pin (2026-10-28): omega-mv -`1fe5976d398646b17acabbf6d9dfae96b017e439`, pending -[#911](https://github.com/aien-dev/omega-mv/pull/911) and incorporating -[#909](https://github.com/aien-dev/omega-mv/pull/909). +Merged audit-fix pin (observed 2026-10-28): omega-mv candidate +`955586a891f79d1cb4997f599be8760eaf70f819`, incorporated by +[#914](https://github.com/aien-dev/omega-mv/pull/914) as +`d94a503f7aae57d09697046405da2e9a5895be6d`. Deployment is not established. +`seed/omc/omc.om`: 12,545 lines, sha256 +`d2e7c7c55af63272e5d0c3071eeb5c977554864143f115a1d1f42ee5da587d0d`; +`seed/out/omc`: sha256 +`0ab18500a68dfaff21c1e6eb74ef3c329cae6aac3d10d7310643c980dcefb9a3`. +A fresh-clone seed rebuild reproduced that digest. `omega-encoding` section 0 +records the replayed overflow/wrap/refusal controls, typed qty literals, +checked integer ingress, corrected diagnostic categories and output-failure +controls. The diagnostics regression command there also exercised large queries. +These are focused host observations, not a full qualification or deployment. + +Merged source pin (2026-10-28): omega-mv +`1fe5976d398646b17acabbf6d9dfae96b017e439`, incorporated by +[#911](https://github.com/aien-dev/omega-mv/pull/911) into main +`6999fa9e6dae4847c155ef4eacaece74f491d3ca`, including +[#909](https://github.com/aien-dev/omega-mv/pull/909). Deployment is not established. `seed/omc/omc.om`: 12,520 lines, sha256 `3f937160c823d3a90a6b4cc296f00f517f36ede7fd27a06505c998985ec62240`; `seed/out/omc`: sha256 `d6290c7663c2b4bafb59eb3fdf812476e977f4c144def71095c6248ef9b96b84`. The fresh-clone `qty`, wrap/refusal controls and `check`/`next` outputs are -recorded in `omega-encoding` section 0. Older pins below remain dated history. +recorded in `omega-encoding` section 0 as historical observations; the expanded +examples use the audit-fix pin above. Older pins below remain dated history. ```sh @@ -174,6 +190,40 @@ Merged as `3a10bd29fb7debdcf2c8f5cb58680cc74cb5b1f3`; compiler pin unchanged. contract checks. No DPC++, Level Zero, GPU or Alpha qualification is implied. The standalone acceptance gate is not wired into protected gate manifests. +### CUDApp encoder and TileLab host repair (pending, observed 2026-10-28) + +Separate pending dependency: [CUDApp #160](https://github.com/aien-dev/CUDApp/pull/160), +source `85c059cc15edf704c9833fe4832f18c052ee83b3`, not merged or deployed. +This is not the compiler #914 pin above. Its `tools/c5/omc.pin` still selects +omega-mv `e5b32567a7aff3ce594e3254a622a846a6cd190b`, compiler sha256 +`2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f`. +Set `C5_OMC` to that checked compiler's absolute path. These host commands were +independently exercised in a disposable CUDApp clone at the pending source: + +```sh +OMC="$C5_OMC" sh tools/test_bw_spec_encoder.sh +make -j2 test-tilelab-host TILELAB_OMC="$C5_OMC" +make tilelab-replay TILELAB_OMC="$C5_OMC" +``` + +Prerequisites exercised: Linux AArch64, gcc 13.3.0 and offline `nvdisasm` +release 13.0, V13.0.85. The disassembler is a read-only instruction oracle, +not a production dependency. It is now required by the operand checks; a +missing oracle returns NOT_RUN, not a qualified encoder pass. + +All three commands exited 0. The encoder checked reference bytes and active +decode semantics on 461 corpus instructions, sample operand disassembly, +cold decode and refusal/read/truncation/mutation controls. Its final line was +`[spec-encoder] ALL SPEC-DRIVEN ENCODER/DECODER VERIFICATIONS PASSED (HOST_TESTED)!`. +The TileLab host target exercises a nondelegating CPU-fault driver through an +Omega conductor, ending `TILELAB_REPLAY PASS` and +`TILELAB_HOST_FAULT PASS (synthetic CPU only; GPU NOT_RUN)`. Expected refusal +messages on stderr are part of those controls, not ignored test failures. +`make tilelab-replay` builds the current `.om` replay in `build/tilelab_replay`, +outside historical evidence. It propagates child/exec failures; do not run it +with a real GPU driver without current hardware authorization. These are +focused synthetic host observations, not GPU qualification or a full-host-suite claim. + ## 4. Effects and authority - A proposed program or effect description does not authorize running it. Confirm capability and privilege at the execution boundary. Model confidence and semantic identity grant no authority.