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-mv/blob/main/seed/ng/bench/evidence/20261109T0156Z-d1b-fix/README.md # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / seed / ng / bench / evidence / 20261109T0156Z-d1b-fix / README.md` 38 lines ยท 2794 bytes Raw Blame History Rendered 1 # D1b fix: absent vs present-but-unusable files (HOST_TESTED, core 1) 2 3 Review finding F1 on `70168d58` (factory bay 6, MERGE_AFTER_FIX): `hashpb` returned 2^63 both for a file that is 4 absent and for one that is present but cannot be used, and run mode reads 2^63 as "absent". A stdin file 5 DIR/in/CASE of 16 MiB or more, or a directory there, silently lost its I row (rc 0); a present unlisted arm binary 6 of 16 MiB or more was silently skipped (rc 0). 7 8 Fix (one commit): `hashpb` (seed/ng/bench/ngbench-sha.om) returns 2^63 only when open fails with ENOENT (errno 2), 9 and 2^63 + 1 for every other open failure, a failed read (a directory: EISDIR) or 16 MiB or more. Run mode refuses 10 2^63 + 1 as `R input CASE` (stdin, ngbench.om `wants`) or `R label CASE ARM` (arm binary, `identone`). Callers that 11 test `ge 2^63` (sum, outok, recheck) are unchanged. This takes bay 6's proposal (`8a9b6acd`, which split only the 12 read and size failures) and closes the case it left open: a present file that open refuses (EACCES, mode 000) was 13 still reported as absent (rows `nc-*-mode000 bay6` below: rc 0, the I row or the pair silently gone). 14 15 Binaries (seed/out/omc `cfd96b48`, `cat seed/ng/ngbench.om seed/ng/sha256.om seed/ng/bench/ngbench-sha.om | omc`): 16 - fixed (this commit) `c1c4412c333d758ddde56916878da0cc168020abca8fe71426687b93b4d35a9f` 17 - D1b `70168d58` `47f399c88fed6b8fa8034c8ffcd6cd645cf5699739b9e410414b1c3a4d194622` (= its READY) 18 - bay 6 proposal `06e729b348afd39e7856187ff5ffe454afc603913bf6a5be160ead4dfc52a9e1` (= bay 6's fixtest.log) 19 20 `controls.sh.txt` (sha256 `a0d5ab40`...) built the fixture and ran every case with all three binaries, uid 1000; 21 `controls-log.txt` (sha256 `15a8ac54`...) is its output. Result for the fixed binary: 22 23 | case | fixed | D1b | bay 6 | 24 |---|---|---|---| 25 | no stdin; 6-byte stdin; 16 MiB - 1 stdin | rc 0, I row as expected | same | same | 26 | stdin 16 MiB | rc 1 `R input` | rc 0, no I row | rc 1 | 27 | stdin is a directory | rc 1 `R input` | rc 0, no I row | rc 1 | 28 | stdin mode 000 | rc 1 `R input` | rc 0, no I row | rc 0, no I row | 29 | binary 16 MiB, listed | rc 1 `R label` | rc 1 `R missing` (wrong reason) | rc 1 `R label` | 30 | binary 16 MiB, unlisted | rc 1 `R label` | rc 0, pair skipped | rc 1 | 31 | binary mode 000, listed | rc 1 `R label` | rc 1 `R missing` | rc 1 `R missing` | 32 | binary mode 000, unlisted | rc 1 `R label` | rc 0, pair skipped | rc 0, pair skipped | 33 | binary absent, unlisted (allowed) | rc 0, pair skipped | same | same | 34 | binary absent, listed | rc 1 `R missing` | same | same | 35 | sum: 18 sizes 0..16 MiB-1 + 3 binaries | equals coreutils sha256sum (21 files) | same | - | 36 | sum: 16 MiB, missing, mode 000, directory | rc 1 each | same | - | 37 38 No timing round: hashing stays outside the fork..waitpid interval (runone), so timed numbers are unaffected.