diff --git a/skills/omega-harness/SKILL.md b/skills/omega-harness/SKILL.md index 2d1d5ba..60eea58 100644 --- a/skills/omega-harness/SKILL.md +++ b/skills/omega-harness/SKILL.md @@ -322,6 +322,7 @@ fi - Qualification case files (`.cases` in omega-mv) are executed by a conductor, not run directly. More than one conductor exists under `seed/qualification/`, and picking the wrong one looks like a failing gate. Read the conductor's `main` for its argument count first. Observed 2026-10-25 with compiler `734f0a39319fbfa930bcc62cb30dbf06d47d78e126372b74f5baf478e6126b61`: `seed/qualification/om2/gate.om` takes four arguments (`omc pinhash casesfile scratchdir`) and summarises as `OM2GATE PASS cases=N pass=N fail=N invalid=N not_run=N`; `seed/qualification/security673/gate669.om` accepts at most one argument and exits 90 under a four-argument call. A usage status such as 90 from a conductor is INVALID setup, never a qualified refusal. - Executable contracts reuse that conductor. `seed/omc/contracts/contracts.cases` (44 rows) must end `OM2GATE PASS`. `seed/omc/contracts/mutant.cases` builds two broken compilers, one with enforcement disabled and one whose prover accepts any constant predicate, and must exit 1 with `OM2GATE FAIL cases=2 pass=0 fail=2 invalid=0 not_run=0` plus a `VERDICT … FAIL run exit=0 expected=109` line for each. For that suite, exit 1 with the exact verdict lines is the expected outcome; a pass means the negative control failed. `seed/host/check.sh` runs both. - Capacity expansion intentionally changes three historical C2 refusals at main `91b3c932`: c2-00304 and c2-00675 (1025 names) and c2-00306 (513 functions). Report frozen `manifest-c2.txt` as 5873/5876 and run the additive `manifest-c2-capacity.txt` (3/3) separately; the pre-capacity compiler must fail that delta. Never edit the frozen manifest or call it a clean pass. +- C2 delta manifests (convention merged with omega-mv [#853](https://github.com/aien-dev/omega-mv/pull/853) as `4722cba58`, 2026-10-31; checked at main `d3d1b1bc` 2026-11-04): a compiler change that moves frozen C2 rows adds one additive manifest and never edits the frozen `seed/qualification/om2/manifest-c2.txt`. Main has four: `manifest-c2-capacity.txt` (3 rows), `-batch2.txt` (3), `-fpvreg.txt` (8, #853) and `-closerange.txt` (4, the #970 `close_range` delta, declared in [#1001](https://github.com/aien-dev/omega-mv/pull/1001) `2638a49bd`). The frozen manifest's failures must equal the union of the rows those manifests declare, each of which must pass; diff the two sets, a matching count alone is not enough. Register every new delta manifest in `current_c2_contract()` in `seed/omc/qualify-x86.py` (at main the list at lines 594-597 names all four) and in docs/X86-LINUX.md; #853 first shipped `-fpvreg.txt` without that registration and qualify-x86 reported its 8 rows as frozen-manifest FAILs. A diagnostic that legitimately differs per target goes in `seed/omc/x86-diagnostic-contracts.json` as an exact per-target entry (on main: `unroll-sum-diag.om`), never as a loosened comparison. #853 keeps f64/f32 names in V registers, and its int/float conversions can write d8..d15. PENDING, not merged (2026-11-04): [#865](https://github.com/aien-dev/omega-mv/pull/865) (head `25e264c6`, conflicting with main) is OM-2 only: it drops index checks implied by a constant-count `for`, and hoists at most seven loop constants into x20..x26, in function-mode units too; x27 (program-mode host-args pointer) and x28 (stack floor) are never hoist registers (`hzreg`/`hzcap`, note at omc.om's `poolc`). It adds `seed/omc/gate19.sh` to `seed/host/check.sh` (not on main): nine cases, six line-anchored source mutants, a function-mode register scan (objdump; x19, x27, x28, x29 never written) and a 64-program differential fuzz against a non-hoisting build; gate19 against omc `0d006207` must FAIL. #865 does not move C2 (VERDICT lines byte-identical across omc `0d006207`, `c4a34fc1` and `3c2a1277`), so it adds no delta manifest. A native binding may rely only on a unit never writing x19 or x29 and keeping sp balanced; the trampoline restores x20..x28 and d8..d15 (omega-bridge [#24](https://github.com/aien-dev/omega-bridge/pull/24), open draft, tests this with a direct trampoline probe and one mutant per restore pair). Update this note when #865 and bridge #24 merge. - `seed/wasm/gate-irwasm.sh` and the OM-2 `gate.om` suites are merged but not in any `tests/gates/*.gate` manifest at main `19f014f21`, so `tests/gates/run.sh seed` does not cover them (omega-mv #790). Run and report them separately. - A benchmark can need a seekable stdin. A checker replay that seeks back over its input 101 times exits 90 when stdin is a pipe, and the same command exits 0 when stdin is an opened regular file. Supply a file, and do not count the setup-status exit as a control result. - Native callers of compiled Omega units are qualified per language, and only by execution. Since omega-bridge main `adb26cc654656926e76ab1839adae63e92909e88` (PR #18, merged 2026-10-26), `tests/native/run.sh` prints `NATIVE-CALL PASS` only after all seven required callers (`c`, `c-bti`, `cpp`, `python`, `rust`, `zig`, `go`) built and ran. A present toolchain whose build fails prints `NATIVE-CALL FAIL` and a missing toolchain prints `NATIVE-CALL NOT_RUN`; both exit nonzero. Check the refusal paths with `OMEGA_NATIVE_OMC= sh tests/native/test_build_failures.sh`: it injects failing Zig and Go toolchains, hides both for the missing-toolchain control, then requires the real Zig and Go callers to pass. It needs real Zig 0.13.0 and Go binaries (`ZIG`, `GO`) and prints `NOT_RUN` without them. The historical `evidence/native-call-v1/run.log` predates this runner and stays unchanged; do not cite it as a current all-caller PASS.