diff --git a/.crumb b/.crumb index a6735aad3..c73c375e3 100644 --- a/.crumb +++ b/.crumb @@ -47,8 +47,8 @@ "purpose": "Directory calibration. Purpose not yet described by a human." }, { - "digest": "e6e5d3ee601a22b1d2e08bf81b43a48ab95fc8b4b53fd1d75bbb313d120c9046", - "last_commit": "8a0078d22", + "digest": "aa1e23556ba2af624d51b2873d164d9430ff361feb89056dde9a52a24948e0a3", + "last_commit": "175830627", "name": "docs", "purpose": "Directory docs. Purpose not yet described by a human." }, @@ -95,8 +95,8 @@ "purpose": "Directory src. Purpose not yet described by a human." }, { - "digest": "766fef061465d7e8d964fed85a17337d81269feb87c6129f856b5b3ca0a74886", - "last_commit": "69739337d", + "digest": "f6010a66bf292ad0b850a7094548976a2db6f961406fdef46a07cc7a08ef40c3", + "last_commit": "175830627", "name": "tests", "purpose": "Directory tests. Purpose not yet described by a human." }, @@ -107,15 +107,15 @@ "purpose": "Directory tools. Purpose not yet described by a human." } ], - "children_root": "sha256:e29547e85c04163039fe333d69fdcf05377d8c9bd61acf199de3f273cb0680e4", - "compiled_at": "2026-11-06T06:13:47Z", + "children_root": "sha256:fa3a9f21ec4f9d4a8bb6964ab8283565cd20c5a6f21194bba289beebb89330e8", + "compiled_at": "2026-11-06T13:01:22Z", "compiler": "crumb-compile/1", - "digest": "sha256:7150c1721eb07950f52a1971f7fe556386a8bd3165d49654583591dd4b565a4e", + "digest": "sha256:e81385ccf0e4fc870fa1b20404274301fd331fa02dd51208e0f2d94eb00225cb", "evidence_files": 15651, "evidence_root": "sha256:34572a37cb457b0367bb868ef39f98ee3b4155c5043bb6ae5ec4c73330c196d6", - "files": 24096, - "generated_at_commit": "8e9700b5e554a152ed38659b09ec98e9951408d0", - "source_tree": "sha256:691a5594c2af188ae11f9d881eea3e7bd64e49f4a4b9cf1bbb91f43b675f4a1d" + "files": 24097, + "generated_at_commit": "1758306276e9b76d8e01136b13e840edba9bf03d", + "source_tree": "sha256:173775f6598a3f254a5f45204f7df9b8644d94a14d468ce517a6748078e5831c" }, "owner_lane": "", "provenance": { diff --git a/.github/workflows/gen-protocol-arm64.yml b/.github/workflows/gen-protocol-arm64.yml new file mode 100644 index 000000000..8a4f1b9a9 --- /dev/null +++ b/.github/workflows/gen-protocol-arm64.yml @@ -0,0 +1,36 @@ +# gen-protocol-arm64: `make test-gen-protocol` (GEN-1 pins, gencheck, genstats, famsig, dev pack) on a +# GitHub-hosted ubuntu-24.04-arm machine, not the Spark. famsig and gencheck link the seeded SHA-256 unit +# src/omega_om_units.c, which is AArch64 machine code, so the x86_64 AIEN Checks job cannot build them. +# The GEN protocol pins (tests/one_layer/generalization/protocol.json) hash docs and tools that other PRs +# edit; OMEGESE.md drifted from #970 to #1015 with no check failing. So this runs on every pull request, +# with no path filter. CPU only. Advisory, like AIEN Checks: GitHub gates no merge (Alpha does). +name: gen-protocol-arm64 +on: + pull_request: + push: + branches: [main] +permissions: + contents: read +jobs: + gen-protocol: + runs-on: ubuntu-24.04-arm + timeout-minutes: 30 + steps: + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 + with: + fetch-depth: 0 + - name: machine + run: uname -a; nproc; cc --version | head -1 + - name: test-gen-protocol + # shell: bash runs `bash -eo pipefail`, so a failing make fails the step through the tee. + shell: bash + run: | + mkdir -p "$RUNNER_TEMP/genp" + make test-gen-protocol 2>&1 | tee "$RUNNER_TEMP/genp/test-gen-protocol.log" + - name: Keep the test-gen-protocol log + if: always() + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + with: + name: test-gen-protocol + path: ${{ runner.temp }}/genp/ + if-no-files-found: ignore diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 15c7cc958..09058015d 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -7,6 +7,7 @@ The current development method is [Human-Directed Agentic Engineering (HDAE)](RE | Model | What it did | |---|---| +| Claude Opus 5.5 (via omp) | #1029: merged main `f0cc9d6a`; `OMEGESE.md` had drifted again (#1022 `efi` OP 0..14, `f4bf80f8` irequiv note, section 5 untouched), so its GEN pin is now `99872d93` and `GEN_PROTOCOL_V1.md` re-hashed to `53f93d30` for the recorded line. `make test-gen-protocol` 159 ok, 0 failed; with main's `protocol.json` it fails `digest drift`. | | Claude Opus 5.5 (via omp) | `seed/equiv/gate-irequiv.sh` failed `reader drift vs seed/wasm/irwasm.om` on main `e4f9f9c5`. First-parent bisect: the copies are identical at `ba5559d9` and drift at its child `f9a9a40b` (train r4, "Merge #995"), which carried #818 (`f2494481`, `01521b46`): #818 extended irwasm's reader to OSC IR v7 without touching the irequiv copy. The fix (the gate design of draft #1028, without its workflow file) keeps irequiv lines 43-496 byte-identical to irspirv and requires irwasm lines 65-843 to equal that range with the POSIX sed edits recorded in `seed/equiv/irwasm-v7.sed`. The gate also builds irwasm and checks that both readers give the same verdict on 26 units (22 valid, bad magic 20, version 21, truncation 22, trailing byte 27), and that irequiv refuses a v7 header as VERSION. `GATE-IREQUIV PASS` with `READERS units=26 agree=26` and `CONFORM native rows=140 equal=140`; negative controls (one byte appended to an irwasm or irspirv reader line, one line deleted from `irwasm-v7.sed`, a wrong expected verdict) each fail the gate. omc, irwasm, irspirv and evidence are unchanged. | | Claude Opus 5.5 (via omp) | #1022 `efi 14` machine identity for the x86efi backend (`fbcf0882`, credited here 2026-11-04 because that commit did not carry its row): `omc.om` `xf14` codegen for sub-operations 0 (CPUID brand string, N ≥ 16 else error 5), 1 (SystemTable FirmwareVendor UCS-2 units), 2 (FirmwareRevision) and `3 + (P << 16)` (SMBIOS table bytes found through the SMBIOS 3 or SMBIOS ConfigurationTable GUID, GUIDs 9 and 10, error 44 when absent or the anchor is wrong), error 25 for OP outside 0..14, `tests/x86efi/ident/id.om` and its `run.sh` section (EMULATED under QEMU q35 + OVMF with `-smbios type=1,...` and both entry-point types). Review 2026-11-04 (Rev1022): codegen read instruction by instruction, `corpus_diff.sh` on 1307 tracked `.om` files changes only the two efi 14 programs. `docs/X86-EFI.md` now states the 4-byte `_SM3` anchor compare and that the SMBIOS 3 maximum size may exceed the real table. | | Claude Opus 5.5 (via omp) | #1022 review fixes: merged feat/x86efi-main `882e93c0` (docs/X86-EFI.md conflict kept both texts) and then `19ee7e99` (run.sh keeps #1015's in-loop exit checks plus the ident sections), then main `d3d1b1bc` (#1015 merged; no file changed). `tests/x86efi/ident/id.om` no longer reads `br[48]` (Omega `and` is eager, so the brand trim trapped on an all-NUL or all-blank brand) and keeps every SMBIOS string and structure read below the copied length. `tests/x86efi/run.sh` gained five "ident bounds" cases (nul, blank, n2, capwalk, capscan); `SUMMARY pass=23 fail=0 not_run=0` EMULATED. Before/after receipt `evidence/x86efi/ident-bounds-20261104/`. OMEGESE, `error-codes.reg` error 25 and the `omc.om` notes now say efi OP 0..14 (omc `3ad9f10f`: `efi 14` passes the OP check, `efi 15` is error 25). omc fixpoint unchanged `3ad9f10f`, size-history row `x86efi-ident-1022` (511 functions). Repinned every active omc pin from `b4f45121` to `3ad9f10f` (om/units.sh, the five om/*/parity/run.sh, the seed gates, semhash, orig4.pin, prefetch compiler.sha256 with omc.om `0effe37a`, and the docs that state the pin); `om/units.sh` regenerated src/ with only the `omc=` identity strings changed and `--check` PASS; codec, evidence, gpumath, receipt and quantity units compile to the same bytes under both pins. | diff --git a/docs/.crumb b/docs/.crumb index ad0420105..2b4ea9fdc 100644 --- a/docs/.crumb +++ b/docs/.crumb @@ -124,14 +124,14 @@ } ], "children_root": "sha256:d25011adea349d458cc24cb696a242a665e67fc241f3942fbb88af6897e08b6b", - "compiled_at": "2026-11-06T05:08:44Z", + "compiled_at": "2026-11-06T13:01:22Z", "compiler": "crumb-compile/1", - "digest": "sha256:e6e5d3ee601a22b1d2e08bf81b43a48ab95fc8b4b53fd1d75bbb313d120c9046", + "digest": "sha256:aa1e23556ba2af624d51b2873d164d9430ff361feb89056dde9a52a24948e0a3", "evidence_files": 34, "evidence_root": "sha256:589d8b3706e6d7a202ab20b278dac5fc5bafc973f1c2a867b2668aa7210b65cc", "files": 149, - "generated_at_commit": "8a0078d224a90575d6dff45b3a94d49e690b5bd0", - "source_tree": "sha256:da76e3f215f7132fbf79b4bb1ec2604d3f2d0365f10f445fb88d024ff990c03c" + "generated_at_commit": "1758306276e9b76d8e01136b13e840edba9bf03d", + "source_tree": "sha256:01bf724cff9908d42625e1588a56e120f1e95dc35b25355aef386a2228d2172b" }, "owner_lane": "", "provenance": { diff --git a/docs/one_layer/GEN_PROTOCOL_V1.md b/docs/one_layer/GEN_PROTOCOL_V1.md index d9946313e..402a55c99 100644 --- a/docs/one_layer/GEN_PROTOCOL_V1.md +++ b/docs/one_layer/GEN_PROTOCOL_V1.md @@ -453,3 +453,28 @@ The runner, reducer, corpus builder and custodian scripts are specified by their keyword ids 199/200). The reader chain in `tools/` has no such words; conditions, section 5 reference lengths and the decision rule are unchanged, so no protocol content changed. `GEN_PROTOCOL_V1.md` re-hashed for this line. `make test-gen-protocol` re-run at the #946 head. +- **v1, file pins re-hashed after OMEGESE drift on main (before any held-out task; revision stays 1, as in + train r3 and #946):** `OMEGESE.md` re-hashed from `b625c60c...` to `9b58a4e7...`. Ten merges to main + changed it after #946 without re-pinning, so `make test-gen-protocol` failed on main from #970 on: + #970 (security673: branch-span error 24, `execpure`), #965 (error-code registry, section 9.14), #967 + (IR casts), #875 (OM-2 `dit` and `scrub`, 9.13.1), #918 (peername metadata), #848 and #857 (omc + `while`/`for ... bound N` up to 2^63-1; IR mode keeps 1..1000000), #994 (scrub keeps float registers), + train r4 #995 (carrying #818, irwasm v7, sections 11.1/11.2) and #1015 (target x86efi). None is + protocol content: OMEGESE section 5 ("Measured (phase 1)", which item 3 of section 5 here cites for + reference lengths) is byte-identical; the reader chain (`tools/exp445/reader.sh`, + `tools/omegese/omegese.c`, `arms/common.md`, `arms/omegese.md`) and every other pinned file are + unchanged; conditions and the decision rule are unchanged. The OMEGESE section 3 grammar and section 4 + lowering lines for `while`/`for ... bound N` now describe omc; the reader's `omegese emit` still accepts + `while ... bound` 1..1000000 only. `GEN_PROTOCOL_V1.md` re-hashed for this line. `make + test-gen-protocol` re-run on main d3d1b1bc. Merging main f0cc9d6a moved `OMEGESE.md` again, to + `99872d93...`: #1022 (x86efi `efi` OP 0..14, sections 4 and 9) and `f4bf80f8`'s irequiv reader note + (section 11). Neither touches section 5 or the reader chain, so it is re-pinned under this same line. +- **v1, `pack_dev.sh` re-hashed for umask-independent member modes (before any held-out task; revision + stays 1, as in train r3 and #946):** the dev pack stored each member with its on-disk mode, which + depends on the checkout umask. Under umask 0002 (the Spark) files are 0664 and directories 0775 and + the pack is `5f06a64a...`, the pinned `splits.dev.pack_sha256`; under umask 0022 (the GitHub + `ubuntu-24.04-arm` runner) they are 0644/0755 and the pack is `6f85afa7...`, so the dev-pack check + failed there. The tar line now passes `--mode=a+rX,ug+w,o-w`, which gives 0664/0775 under any umask + that keeps the owner read bit; umask 0022, 0002 and 0077 checkouts all give `5f06a64a...`, so + `pack_sha256` and the task bytes are unchanged. Only the `pack_dev.sh` pin changes. `GEN_PROTOCOL_V1.md` + re-hashed for this line. `make test-gen-protocol` re-run under umask 0022 and 0002. diff --git a/tests/.crumb b/tests/.crumb index 8a1724904..66e988c45 100644 --- a/tests/.crumb +++ b/tests/.crumb @@ -314,14 +314,14 @@ } ], "children_root": "sha256:8e339e41e1c3bf62fc071f46baa1567ace83d0f90e6f6bfb6e2a64fdf028aefc", - "compiled_at": "2026-11-06T02:55:53Z", + "compiled_at": "2026-11-06T13:01:22Z", "compiler": "crumb-compile/1", - "digest": "sha256:766fef061465d7e8d964fed85a17337d81269feb87c6129f856b5b3ca0a74886", + "digest": "sha256:f6010a66bf292ad0b850a7094548976a2db6f961406fdef46a07cc7a08ef40c3", "evidence_files": 74, "evidence_root": "sha256:9aa38bf7dcfa5eb3499356a0a2a1dd7704fedfae2d16822a7c9e1400f3a72723", "files": 2082, - "generated_at_commit": "69739337d107fc0c436d5b6e32d9a4bfbc5a07e4", - "source_tree": "sha256:54cea059f7310eaacefd86baef4a4bba7bf1ff46db27c9bc8cbe736050619c62" + "generated_at_commit": "1758306276e9b76d8e01136b13e840edba9bf03d", + "source_tree": "sha256:e9bfc0ba5254237dd2a40c737fc3cb93833e3da99554aa0ca1ddc21dd7956671" }, "owner_lane": "", "provenance": { diff --git a/tests/one_layer/generalization/dev/pack_dev.sh b/tests/one_layer/generalization/dev/pack_dev.sh index 769f0b331..79f928287 100755 --- a/tests/one_layer/generalization/dev/pack_dev.sh +++ b/tests/one_layer/generalization/dev/pack_dev.sh @@ -5,7 +5,8 @@ # tests/one_layer/exp445/pack_dev.sh (which packs only its own directory, so it cannot be called here): # first every hidden/expected is checked against gen_expected.c (computed from the prompts, independently # of reference.osc; a mismatch refuses), and the case directories must be exactly the task ids of META. -# Reproducible bytes (ustar, sorted, owner 0, mtime 0). META stays OUTSIDE the tarball (member rules). +# Reproducible bytes (ustar, sorted, owner 0, mtime 0, modes 0664 files / 0775 directories whatever the +# checkout umask: --mode sets them, so umask 0022 and 0002 give the same pack). META stays OUTSIDE the tarball (member rules). # Then: tests/one_layer/acceptance/ola.sh tasks-check /tasks.tar /TASKS.sha256 set -euo pipefail HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" @@ -23,7 +24,7 @@ for c in "$HERE"/tasks/cases/*/; do cmp -s "$T/exp" "$c/hidden/expected" || { echo "pack_dev: $id hidden/expected differs from gen_expected" >&2; exit 1; } n=$((n + 1)) done -(cd "$HERE" && tar --format=ustar --sort=name --owner=0 --group=0 --numeric-owner --mtime=@0 -cf "$OUT/tasks.tar.tmp" tasks) +(cd "$HERE" && tar --format=ustar --sort=name --owner=0 --group=0 --numeric-owner --mtime=@0 --mode=a+rX,ug+w,o-w -cf "$OUT/tasks.tar.tmp" tasks) mv "$OUT/tasks.tar.tmp" "$OUT/tasks.tar" (cd "$OUT" && sha256sum tasks.tar > TASKS.sha256.tmp && mv TASKS.sha256.tmp TASKS.sha256) echo "pack_dev: $n dev tasks -> $OUT/tasks.tar ($(cut -c1-16 "$OUT/TASKS.sha256")...)" diff --git a/tests/one_layer/generalization/protocol.json b/tests/one_layer/generalization/protocol.json index b287b3fc3..fa061c897 100644 --- a/tests/one_layer/generalization/protocol.json +++ b/tests/one_layer/generalization/protocol.json @@ -52,13 +52,13 @@ }, "record_sets": {"prefix_ids": ["wrap8", "big_pc_small_ds", "gcd_only", "sum_clamped", "even_digsums", "ceil_avg", "sum4_avg", "max4_half", "lcm32", "clamp_sum", "ds2_double", "digcount_nibbles", "digits_both", "avg_double"], "prefix_sha256": "b1a3d7beaae4b1c4220b4bb8f221f31e1ffb87c219119b10449ea2d792c132ef", "raw_manifest_sha256": "d6b8a9a4912640ebda8617110ed9ec2b1960b696535267672c4b4691a5533be0", "abstraction_manifest_sha256": "1fe9af29da784e6af6bf1589e12a68b60be2de12d24cc0904761a34ac6a3cb78", "raw_manifest": "tests/one_layer/generalization/records/C.MANIFEST", "abstraction_manifest": "tests/one_layer/generalization/records/D.MANIFEST"}, "pins": [ - {"path": "docs/one_layer/GEN_PROTOCOL_V1.md", "sha256": "34826a704ab170119715f4fb07e7c8fd42a055f45ae81559708733846cba4afd"}, - {"path": "docs/one_layer/OMEGESE.md", "sha256": "b625c60cbc27937d5357e597e27c3643a3ed5117a75edfc63a79ae0b10fb5146"}, + {"path": "docs/one_layer/GEN_PROTOCOL_V1.md", "sha256": "53f93d307efe29d6d2180a2296e7ade0892e6b70e1c758cd9842440f93402051"}, + {"path": "docs/one_layer/OMEGESE.md", "sha256": "99872d932403a9d7dfd67fb59b837e6c26e4cb40f8d2b56f2b54fee383a190a9"}, {"path": "tests/one_layer/acceptance/HARNESS_INTERFACE_V2.md", "sha256": "a7e38a6faa7cdf7d479891209055f4fe789a55f5d377e4b6e36840aefe7f04c8"}, {"path": "tests/one_layer/acceptance/ola.sh", "sha256": "f161e2c18eb7b7609fad12e49d3b659470b7892ca75b0aa8ebc555961d9eb667"}, {"path": "tests/one_layer/generalization/dev/META", "sha256": "1de87149b3c2e0ab80b9ba225bdd1e8b928e7a2c921d18df7dcb804daec6f0b2"}, {"path": "tests/one_layer/generalization/dev/gen_expected.c", "sha256": "166f7945a95a98789764cd439f7d8ced126a542a9a251e860df29bf661232506"}, - {"path": "tests/one_layer/generalization/dev/pack_dev.sh", "sha256": "40dd2dcceb8a8570c40022e059f396d3064238134081cabafd993f40222f2390"}, + {"path": "tests/one_layer/generalization/dev/pack_dev.sh", "sha256": "98a4fe835dd1c51f3c8d9c094e3224224e551033460e96b79731998769e8fd5e"}, {"path": "tests/one_layer/generalization/families/FAMSIG_V1.md", "sha256": "5ebbc8efe6e125863b17fb8b73a3b56a191d18d8a9be730dd2b4ea7133714092"}, {"path": "tests/one_layer/generalization/stats_vectors.tsv", "sha256": "522c534402bf1eadc0c08b8f926c0cffa504b263935b49903064a1f2404a80b5"}, {"path": "tools/exp445/PARAMS", "sha256": "a37136fb7fa81e9e0730c847b888d890ac8fd0cd79fdf41ee63cc5e762960aa1"},