From ba65f9820a3076c27ddcadcd7706c31a3883e976 Mon Sep 17 00:00:00 2001 From: Drake Stapleton <213298340+drakestapleton@users.noreply.github.com> Date: Sat, 7 Nov 2026 00:21:01 -0600 Subject: [PATCH 1/4] tools(omegallm): add checked Omega checkpoint patches (DRA-187) --- docs/omegallm/WSP-PATCH.md | 214 +++ .../OMEGALLM/wsp-patch-20261107/README.md | 96 ++ .../OMEGALLM/wsp-patch-20261107/build.log | 7 + .../wsp-patch-20261107/real-show.json | 1 + .../OMEGALLM/wsp-patch-20261107/real.jsonl | 30 + .../OMEGALLM/wsp-patch-20261107/sha256.diff | 237 +++ .../OMEGALLM/wsp-patch-20261107/small.jsonl | 787 ++++++++++ tools/omegallm/wpatch/.crumb | 20 + tools/omegallm/wpatch/README.md | 106 ++ tools/omegallm/wpatch/build.sh | 43 + tools/omegallm/wpatch/check.py | 402 +++++ tools/omegallm/wpatch/wpatch.om | 1369 +++++++++++++++++ 12 files changed, 3312 insertions(+) create mode 100644 docs/omegallm/WSP-PATCH.md create mode 100644 evidence/OMEGALLM/wsp-patch-20261107/README.md create mode 100644 evidence/OMEGALLM/wsp-patch-20261107/build.log create mode 100644 evidence/OMEGALLM/wsp-patch-20261107/real-show.json create mode 100644 evidence/OMEGALLM/wsp-patch-20261107/real.jsonl create mode 100644 evidence/OMEGALLM/wsp-patch-20261107/sha256.diff create mode 100644 evidence/OMEGALLM/wsp-patch-20261107/small.jsonl create mode 100644 tools/omegallm/wpatch/.crumb create mode 100644 tools/omegallm/wpatch/README.md create mode 100755 tools/omegallm/wpatch/build.sh create mode 100755 tools/omegallm/wpatch/check.py create mode 100644 tools/omegallm/wpatch/wpatch.om diff --git a/docs/omegallm/WSP-PATCH.md b/docs/omegallm/WSP-PATCH.md new file mode 100644 index 0000000..e1500a2 --- /dev/null +++ b/docs/omegallm/WSP-PATCH.md @@ -0,0 +1,214 @@ +# Checked weight-space patches + +`tools/omegallm/wpatch` implements inspect, diff, show, validate, apply, verify, +revert, bind and checkbind in seeded Omega. This format describes an exact edit, +not a training algorithm or a claim that the edit improves the model. + +Base implementation revision: aien-train `0518c915dea370b3bffbb90d579b1daa5ba8b8f5`. +Compiler and SHA implementation: omega-mv +`e5b32567a7aff3ce594e3254a622a846a6cd190b`. +The tool README gives build instructions, commands, source hashes and cache rules. + +## Checkpoint convention + +OLLMCK02 has fifteen little-endian u64 header words: magic, V, T, D, H, F, L, B, +seed, step, total, learning-rate word, P, G and payload FNV-1a-64. The payload is +P f64 weight words followed by P m words and P v words. This tool preserves all +header words except the refreshed payload FNV. Diff requires BASE and EDITED to +have the same first fourteen header words and identical m/v bytes. It rejects a +no-op diff. It does not change training step or learning rate. + +The tied embedding/head `wte[V,D]` comes first, then `wpe[T,D]`. Each layer has +`g1[1,D]`, `wq[D,D]`, `wk[D,D]`, `wv[D,D]`, `wo[D,D]`, `g2[1,D]`, `w1[D,F]`, +`w2[F,D]`. The final tensor is `gf[1,D]`. All are row-major. Flat offsets are +weight-element indices; checkpoint byte offsets are 120 + 8 times that index. +The existing `ogeom` validator is reused, rather than duplicating its limits. + +## OLLMWP01 manifest + +All integers and f64 bit patterns are little-endian u64. Hashes are raw 32-byte +SHA-256 digests in their normal byte order, never integer words. There is no +padding between the tables or text. A manifest is named `.wp` using its +whole-file SHA-256 in lowercase hexadecimal. Every patch-consuming command +recomputes that digest. A filename of 64 hex digits plus `.wp` must match it; +uppercase hex names are recognized but refused as noncanonical. Other filenames +are permitted for transport and corruption diagnostics, without a filename +identity assertion. The digest remains visible through show and bind. + +Fixed header, 376 bytes: + +| Byte offset | Field | +| --- | --- | +| 0 | ASCII `OLLMWP01` | +| 8 | Total file bytes | +| 16 | Optimizer policy: 0 keep, 1 zero changed m, 2 zero changed m/v | +| 24 | Tensor count, exactly 3 + 8L | +| 32 | Number of changed weight words, nonzero | +| 40 | P | +| 48,56,64,72,80,88 | V,T,D,H,F,L | +| 96 | SHA-256 of complete BASE checkpoint | +| 128 | SHA-256 of expected applied checkpoint, including selected m/v policy | +| 160 | SHA-256 of all expected weights cast to contiguous little-endian f32 | +| 192 | SHA-256 of the exact entry-table bytes | +| 224,232 | Params and rationale byte lengths | +| 240 | Saved checkpoint header length, exactly 120 | +| 248 | Reserved, zero | +| 256 | Exact original 120-byte checkpoint header | + +Immediately after the header are tensor records, each 128 bytes, in the canonical +checkpoint order. Kind codes: wte=0, wpe=1, g1=2, wq=3, wk=4, wv=5, wo=6, g2=7, +w1=8, w2=9, gf=10. Every tensor is recorded, including unchanged tensors. + +| Record byte offset | Field | +| --- | --- | +| 0,8 | Kind code, layer (zero for nonlayer tensors) | +| 16,24 | Rows, columns | +| 32 | Dtype code, exactly 64 for f64 | +| 40 | Flat weight offset | +| 48 | Changed-entry count in this tensor | +| 56 | Reserved, zero | +| 64,96 | Base and expected output raw tensor-byte SHA-256 | + +The entry table follows. Policy 0 entries are 24 bytes: flat index, old f64 bits, +new f64 bits. Policies 1 and 2 entries are 40 bytes: those three words, old m bits, +old v bits. Both saved moment words are present even when only m is reset. +Indices must be strictly ascending and unique. Every index belongs to its +canonical tensor interval, and each tensor's count must agree with the scan. +Old and new words must differ. New values must be finite with absolute magnitude +at most 1e6. Old words may encode any f64, so a broken weight can be repaired and +reverted exactly. New signed-zero changes are valid and retain their exact bits. + +Params bytes follow the entry table, then rationale bytes. Both are strict UTF-8; +overlong encodings, surrogates, invalid continuations and incomplete sequences +are refused. NUL is permitted in metadata and escaped by show. Each field is at +most 16 MiB. The length sum must equal the exact file length. The tool's mapped +input ceiling is 2,400,000,000 bytes and entry ceiling is 29,995,392, further +limited by the actual checkpoint geometry. Length checks precede table reads. + +## Validation and output behavior + +Validate checks checkpoint format, exact size and FNV, manifest geometry, every +tensor shape/dtype/offset, ordered entry membership and count, entries hash, +exact saved base header, full base SHA, tensor hashes, old weight bits and saved +optimizer bits. It applies the entries in a private copy and checks the resulting +full SHA, per-tensor SHA and f32 SHA before reporting PASS. Apply repeats this +path, creates OUT with exclusive creation, writes it, then reopens and hashes it. +A postwrite hash mismatch unlinks the newly created output. No output is silently +reused or overwritten. Revert verifies the edited checkpoint, restores saved +words, refreshes FNV and requires the exact base SHA before and after writing. + +F32 identity is SHA-256 over P contiguous little-endian IEEE-754 binary32 values +cast from checkpoint f64 weights with the pinned CPU's round-to-nearest conversion. +It excludes header, m and v. Verify compares f64 checkpoint and f32 identities and +reports how many entries have different old/new f32 bits. Those counts distinguish +an encoded edit from one that survives the deployed weight representation. This +is not evidence that a serving process actually reloaded those weights. + +Inputs use private file mappings and must remain stable for the command's entire +lifetime. There is no lock against an external writer. Forced termination can +leave a partial new output, and writes are not an atomic deployment transaction. +Run verify before consuming a checkpoint. Content addressing detects accidental +corruption and binds exact content; it does not authenticate an author. + +## OLLMWB01 binding + +The 168-byte binding record contains ASCII `OLLMWB01` at offset 0; complete +checkpoint SHA at 8; f32 weight SHA at 40; runtime executable SHA at 72; manifest +SHA at 104; SHA of the preceding 136 bytes at 136. Bind verifies PATCH against CK +before creating the record. Checkbind validates record magic/length/checksum and +CK/runtime identities. It does not take a patch path and does not prove that the +record's patch is trusted. Preserve the canonical manifest alongside the binding. + +A consumer must fail closed on checkbind failure, discard previously loaded +weight and KV caches, and load the bound checkpoint with the bound executable. +Changing a manifest, checkpoint or runtime requires a fresh checked binding. +No server, loader or live model is changed by this tool. + +## Refusal exit codes + +Exit 0 means command success. There is no automatic fallback. + +| Exit | Refusal | +| --- | --- | +| 2 | Invalid command, arity or numeric argument | +| 20 | Empty input or checkpoint shorter than header | +| 21 | Input exceeds mapped size ceiling | +| 22 | Checkpoint magic | +| 23 | Unsupported/invalid checkpoint geometry, G or total | +| 24 | Checkpoint P disagrees with geometry | +| 25 | Checkpoint exact payload length | +| 26 | Checkpoint payload FNV | +| 27 | Unknown tensor/layer or invalid slice bounds | +| 30 | Content-addressed manifest filename does not match bytes | +| 31 | Metadata is not strict UTF-8 | +| 32 | Manifest truncated, length mismatch or table bounds | +| 33 | Manifest magic, fixed header length or reserved header word | +| 34 | Unsupported optimizer policy | +| 35 | Zero or excessive manifest edit count | +| 36 | Manifest/base geometry or checkpoint-header mismatch | +| 37 | Tensor order, shape, dtype, offset or reserved word | +| 38 | Flat entry index is out of bounds | +| 39 | Entry indices descend | +| 40 | New weight is NaN | +| 41 | New weight is infinite | +| 42 | New weight magnitude exceeds 1e6 | +| 43 | Duplicate entry index | +| 44 | Entry old bits equal new bits | +| 45 | Tensor changed count disagrees with entries | +| 46 | Entry-table SHA mismatch | +| 47 | Expected old/new weight bits mismatch | +| 48 | Saved or policy-applied optimizer bits mismatch | +| 49 | Tensor SHA mismatch | +| 50 | Input base/applied full checkpoint SHA mismatch | +| 52 | OUT already exists, including symlinks | +| 53 | Generated or written output checkpoint SHA mismatch | +| 54 | F32 weight SHA mismatch | +| 55 | Diff has no changed weight words | +| 56 | Diff EDITED changed m or v | +| 57 | Metadata field exceeds limit | +| 58 | Binding magic or length | +| 59 | Binding checksum | +| 60 | Bound checkpoint SHA mismatch | +| 61 | Bound f32 SHA mismatch | +| 62 | Bound runtime executable SHA mismatch | +| 70 | Open, map, read, write, permission or close I/O failure | +| 71 | Failed to unlink a newly created rejected output | + +When an input violates multiple rules, the first check determines the code. For +example, a truncated canonical-name patch can fail filename identity before a +later field check. Noncanonical corruption fixtures in check.py isolate the +individual refusal paths. Omega runtime traps remain nonzero compiler/runtime +errors, not successful refusals; no trap is counted as an expected test result. + +## Evidence and dependency boundary + +`evidence/OMEGALLM/wsp-patch-20261107/` records host CPU execution, the source +composition diff, exact identities, small acceptance and round40 rollback. +All product transformations and hashing are Omega. Build orchestration currently +uses dash 0.5.12-6ubuntu5, sed 0.1.1, git 2.43.0, sha256sum 0.8.0, diff +(pi-uu-diff) 0.8.0, taskset util-linux 2.39.3 and GNU nice 9.4. The shell composition +role is the existing build path; its Omega replacement would be a bounded source +composer, not a hidden host implementation of checkpoint editing. The compiler +is a pinned verification/build tool. Python 3.12.3 and hashlib/struct/mmap are +external acceptance oracles only. No new host library enters the product runtime. + +WolframLanguageEvaluator checks used during implementation: + +```text +FromDigits[Reverse[ToCharacterCode["OLLMWP01"]],256] -> 3544421242629803087 +FromDigits[Reverse[ToCharacterCode["OLLMWB01"]],256] -> 3544405849467014223 +With[{v=256,t=8,d=16,f=32,l=2},v*d+t*d+l*(4*d*d+2*d*f+2*d)+d] -> 8400 +With[{v=4096,t=256,d=384,f=1536,l=8}, + {v*d+t*d+l*(4*d*d+2*d*f+2*d)+d, + v*d+t*d+3*(4*d*d+2*d*f+2*d)+2*d+4*d*d+d*f}] + -> {15833472,8162304} +FullSimplify[(m^2*s+a^2)/a^2,Assumptions->{a>m>0,s>=0}] + -> 1 + (m^2*s)/a^2 +FullSimplify[Sqrt[m^2*s/n],Assumptions->{m>=0,s>=0,n>0}] + -> m*Sqrt[s/n] +``` + +The last two identities justify the scaled RMS accumulator, which avoids +squaring the largest finite f64. Evidence labels remain separate: this tool is +IMPLEMENTED and host-CPU EXERCISED. GPU qualification, model-quality improvement, +merge and deployment are not established by these receipts. diff --git a/evidence/OMEGALLM/wsp-patch-20261107/README.md b/evidence/OMEGALLM/wsp-patch-20261107/README.md new file mode 100644 index 0000000..eca4305 --- /dev/null +++ b/evidence/OMEGALLM/wsp-patch-20261107/README.md @@ -0,0 +1,96 @@ +# wpatch host-CPU receipt, 2026-11-07 + +Status: IMPLEMENTED and EXERCISED, PASS on the recorded host CPU paths. +GPU qualification, inference-quality improvement, merge and deployment: NOT_RUN. +No GPU was opened and no live service was changed. Round40 was read-only. + +Base source: aien-train `0518c915dea370b3bffbb90d579b1daa5ba8b8f5`. +Compiler source: omega-mv `e5b32567a7aff3ce594e3254a622a846a6cd190b`. +Build output: `/home/drakestapleton/work/wsp/wpatch-build`. +Final binary SHA-256: +`330660c5963b116aa9e50fd1c2ff3376a27d8cc73788f09878c80280f74c48e3`. + +## Commands and observed results + +All commands ran from the WPatch private worktree unless their arguments show +otherwise. The evidence records the literal commands, outputs and exit codes. + +```text +OUT=/home/drakestapleton/work/wsp/wpatch-build CORE=0 sh tools/omegallm/wpatch/build.sh +exit 0; build.log includes compiler, SHA source, composed source and binary hashes. + +taskset -c 0 nice -n 19 python3 tools/omegallm/wpatch/check.py \ + --build /home/drakestapleton/work/wsp/wpatch-build \ + --work /home/drakestapleton/work/wsp/ck/wpatch-small-2 +exit 0; small.jsonl: 685 assertions PASS, 100 subprocess commands, 0 failures. + +fuser /home/drakestapleton/handoffs/hive/queen/pool-19.lock +exit 0; holder 735700. Used the required core-0/nice-19 fallback, not core 19. + +taskset -c 0 nice -n 19 python3 tools/omegallm/wpatch/check.py \ + --build /home/drakestapleton/work/wsp/wpatch-build \ + --work /home/drakestapleton/work/wsp/ck/wpatch-test \ + --real /home/drakestapleton/.local/share/omega-tool-model/round40/model.ck +exit 0; real.jsonl: 21 assertions PASS, 6 subprocess commands, 0 failures. +``` + +The small test initializes V256 T8 D16 H2 F32 L2 B2, trains two steps on +`b'abc abcd abcde\0'*200`, then checks every tensor and all optimizer policies. +Each policy passes inspect, diff, show, validate, apply, verify, revert, bind and +checkbind. The independent verifier checks exact header/entry/moment bytes, +per-tensor and whole-file SHA, f32 SHA, exact rollback, and f32-surviving counts. +One f64 edit deliberately disappears in f32. Boundary vectors cover signed zero, +subnormal values, ties, overflow, NaN and infinity. Inspect's scaled RMS remains +finite with the largest finite f64 while separately counting nonfinite values. + +Required corruptions PASS with distinct codes: wrong base SHA 50, geometry 36, +tensor shape 37, out-of-range index 38, NaN 40, infinity 41, magnitude 42, +unsorted 39, duplicate 43, old bits 47, named-manifest bit flip 30, truncation 32, +and existing OUT 52. Additional entry/hash/moment/count/output/binding controls +are in small.jsonl. Every subprocess code is asserted, including refusals. +Refused apply paths leave no newly created checkpoint, and existing/base files +remain identical. Postwrite cleanup on an externally injected write race and +forced process termination were NOT_RUN; the stable-file precondition applies. + +Round40 edits exactly ten consecutive layer-3 w2 entries starting at flat index +8162304 by adding 0.001 to each in a copy. Policy 2 clears their m/v. The recorded +verify result is `PASS f32_surviving=10 changed=10`. Raw per-command elapsed +nanoseconds are in real.jsonl; they are MEASURED on a shared CPU host, not a speed +qualification. Reverted and source SHA both equal: +`7c7b5b5260f2d9453b6076b64e7f23e88341d96498584f2dfaa229c31ad2e346`. +Output SHA: +`95c8676227161d5fd425082462333a9180fe0c870478b69446bbf92678f47eac`. +F32 output SHA: +`168f305d64d3d4192ae8fb8d854fa4c9b9a28ec12e7d399d30ec62153f5e831e`. +Canonical patch: +`e0b262208c29d55f11a8dd53a82d8dd43ceac9cc5064b1c90e942fed34dd8658.wp`. +The additional CPU-only `wpatch show` command exited 0; its output is +`real-show.json`. Large checkpoint artifacts remain under `ck/wpatch-test/`, +not in git. No outside model weights were downloaded or used. + +## Source composition + +Composition order is `om2`, SHA layout, CPU ollm with its main renamed `wpollm`, +SHA functions, then wpatch. Layouts must precede the first function at this pin. +Only one `om2` is emitted; SHA `export fn` becomes `fn`. On non-note lines the +mechanical renames are: + +```text +kinit -> wskinit iv -> wsiv sched -> wssched +rounds -> wsround compress -> wscomp run -> wsrun +blocks -> wsblks finish -> wsfin tobuf -> wstobuf +absorb -> wsabsb +``` + +The exact unified source transformation is retained in `sha256.diff` and is +regenerated by build.sh. The pinned SHA source digest is +`dbf002dd6aa36585632b9d01d98ac3f0bd2fa0f0475082940de53638847994bb`. +The compiler digest is +`2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f`. + +A scoped `crumb compile tools/omegallm/wpatch` unexpectedly regenerated other +committed crumbs in this private tree. Its out-of-scope generated-only changes +were restored; only the new tool-directory crumb is included. Existing stale +repository crumbs were not taken over. This is not a whole-repository crumb gate +PASS. No language extension or existing harness pin/guide behavior changed; +tool-specific format and usage documentation is included in this change. diff --git a/evidence/OMEGALLM/wsp-patch-20261107/build.log b/evidence/OMEGALLM/wsp-patch-20261107/build.log new file mode 100644 index 0000000..e7a229a --- /dev/null +++ b/evidence/OMEGALLM/wsp-patch-20261107/build.log @@ -0,0 +1,7 @@ +BUILD_OK 819664d5a2284189cd9baca67681675ed2b4685e19d1d976ce071b0f6fcaa5ea /home/drakestapleton/work/wsp/wpatch-build/ollm source_sha256 2d13b609945a97ad95dba8626e67588d87c6aec64043affbaf4c107af246eb96 +2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f /home/drakestapleton/work/wsp/aien-train-wpatch/../omega-mv/seed/out/omc +dbf002dd6aa36585632b9d01d98ac3f0bd2fa0f0475082940de53638847994bb /home/drakestapleton/work/wsp/wpatch-build/sha256-source.om +30be8c25abba5459b228419e8f444bac56b840220877933de0a76cbcb1a661cf /home/drakestapleton/work/wsp/wpatch-build/wpatch-all.om +330660c5963b116aa9e50fd1c2ff3376a27d8cc73788f09878c80280f74c48e3 /home/drakestapleton/work/wsp/wpatch-build/wpatch + +exit=0 diff --git a/evidence/OMEGALLM/wsp-patch-20261107/real-show.json b/evidence/OMEGALLM/wsp-patch-20261107/real-show.json new file mode 100644 index 0000000..72d8b9f --- /dev/null +++ b/evidence/OMEGALLM/wsp-patch-20261107/real-show.json @@ -0,0 +1 @@ +{"patch_sha256":"e0b262208c29d55f11a8dd53a82d8dd43ceac9cc5064b1c90e942fed34dd8658","base_sha256":"7c7b5b5260f2d9453b6076b64e7f23e88341d96498584f2dfaa229c31ad2e346","output_sha256":"95c8676227161d5fd425082462333a9180fe0c870478b69446bbf92678f47eac","f32_sha256":"168f305d64d3d4192ae8fb8d854fa4c9b9a28ec12e7d399d30ec62153f5e831e","entries_sha256":"d49cd7bcd2516e67ab7e59b853fa1e685b821969e368231a1e7f89237771d27c","policy":2,"changed":10,"entries_first_20":[[8162304,"3fe9504e80000000","3fe9587fa6e978d5","beca0c1e20000000","3de10f3880000000"],[8162305,"3fc5a5c440000000","3fc5c688dba5e354","be8dc766e0000000","3dd9d3c280000000"],[8162306,"bfea138ba0000000","bfea0b5a7916872b","bec46326a0000000","3ddce787e0000000"],[8162307,"3fdea46480000000","3fdeb4c6cdd2f1aa","beb7a553c0000000","3de08f9ac0000000"],[8162308,"3fcc7c2b00000000","3fcc9cef9ba5e354","bed26247e0000000","3dd7869380000000"],[8162309,"bfd71ab560000000","bfd70a53122d0e56","3ebf726700000000","3ddb7cd460000000"],[8162310,"bfebdb2720000000","bfebd2f5f916872b","beb4b5e160000000","3dd5e96a40000000"],[8162311,"3fbb498f40000000","3fbb8b18774bc6a8","be903eb2e0000000","3dd31378e0000000"],[8162312,"bfe7d240e0000000","bfe7ca0fb916872b","bed227f7c0000000","3ddfbd7580000000"],[8162313,"bfdde6f6a0000000","bfddd694522d0e56","3eb20946a0000000","3de1026e00000000"]],"params":"{\"kind\":\"w2\",\"layer\":3,\"entries\":10,\"delta\":0.001}\u000a","rationale":"Read-only round40 baseline. Checked patch integration fixture, not a quality claim.\u000a"} diff --git a/evidence/OMEGALLM/wsp-patch-20261107/real.jsonl b/evidence/OMEGALLM/wsp-patch-20261107/real.jsonl new file mode 100644 index 0000000..7ff5718 --- /dev/null +++ b/evidence/OMEGALLM/wsp-patch-20261107/real.jsonl @@ -0,0 +1,30 @@ +{"instrument": "external Python stdlib only", "wpatch_sha256": "330660c5963b116aa9e50fd1c2ff3376a27d8cc73788f09878c80280f74c48e3"} +{"status": "PASS", "check": "real base pinned SHA"} +{"status": "PASS", "check": "Wolfram layer3 w2 offset"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "diff", "/home/drakestapleton/.local/share/omega-tool-model/round40/model.ck", "/home/drakestapleton/work/wsp/ck/wpatch-test/round40-edited.ck", "2", "/home/drakestapleton/work/wsp/ck/wpatch-test/params.txt", "/home/drakestapleton/work/wsp/ck/wpatch-test/rationale.txt", "/home/drakestapleton/work/wsp/ck/wpatch-test/patches"], "exit": 0, "expected": 0, "elapsed_ns": 13481034042, "stdout": "/home/drakestapleton/work/wsp/ck/wpatch-test/patches/e0b262208c29d55f11a8dd53a82d8dd43ceac9cc5064b1c90e942fed34dd8658.wp\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch diff /home/drakestapleton/.local/share/omega-tool-model/round40/model.ck /home/drakestapleton/work/wsp/ck/wpatch-test/round40-edited.ck 2 /home/drakestapleton/work/wsp/ck/wpatch-test/params.txt /home/drakestapleton/work/wsp/ck/wpatch-test/rationale.txt /home/drakestapleton/work/wsp/ck/wpatch-test/patches"} +{"status": "PASS", "check": "oracle manifest magic"} +{"status": "PASS", "check": "oracle canonical manifest name"} +{"status": "PASS", "check": "oracle manifest length"} +{"status": "PASS", "check": "oracle policy"} +{"status": "PASS", "check": "oracle edit identity"} +{"status": "PASS", "check": "oracle metadata lengths"} +{"status": "PASS", "check": "oracle strict order"} +{"status": "PASS", "check": "oracle indices in bounds"} +{"status": "PASS", "check": "real ten entry identity"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/home/drakestapleton/work/wsp/ck/wpatch-test/patches/e0b262208c29d55f11a8dd53a82d8dd43ceac9cc5064b1c90e942fed34dd8658.wp", "/home/drakestapleton/.local/share/omega-tool-model/round40/model.ck"], "exit": 0, "expected": 0, "elapsed_ns": 8618002065, "stdout": "PASS\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /home/drakestapleton/work/wsp/ck/wpatch-test/patches/e0b262208c29d55f11a8dd53a82d8dd43ceac9cc5064b1c90e942fed34dd8658.wp /home/drakestapleton/.local/share/omega-tool-model/round40/model.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/home/drakestapleton/work/wsp/ck/wpatch-test/patches/e0b262208c29d55f11a8dd53a82d8dd43ceac9cc5064b1c90e942fed34dd8658.wp", "/home/drakestapleton/.local/share/omega-tool-model/round40/model.ck", "/home/drakestapleton/work/wsp/ck/wpatch-test/round40-applied.ck"], "exit": 0, "expected": 0, "elapsed_ns": 11758389725, "stdout": "PASS\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /home/drakestapleton/work/wsp/ck/wpatch-test/patches/e0b262208c29d55f11a8dd53a82d8dd43ceac9cc5064b1c90e942fed34dd8658.wp /home/drakestapleton/.local/share/omega-tool-model/round40/model.ck /home/drakestapleton/work/wsp/ck/wpatch-test/round40-applied.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "verify", "/home/drakestapleton/work/wsp/ck/wpatch-test/patches/e0b262208c29d55f11a8dd53a82d8dd43ceac9cc5064b1c90e942fed34dd8658.wp", "/home/drakestapleton/work/wsp/ck/wpatch-test/round40-applied.ck"], "exit": 0, "expected": 0, "elapsed_ns": 4230008415, "stdout": "PASS f32_surviving=10 changed=10\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch verify /home/drakestapleton/work/wsp/ck/wpatch-test/patches/e0b262208c29d55f11a8dd53a82d8dd43ceac9cc5064b1c90e942fed34dd8658.wp /home/drakestapleton/work/wsp/ck/wpatch-test/round40-applied.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "revert", "/home/drakestapleton/work/wsp/ck/wpatch-test/patches/e0b262208c29d55f11a8dd53a82d8dd43ceac9cc5064b1c90e942fed34dd8658.wp", "/home/drakestapleton/work/wsp/ck/wpatch-test/round40-applied.ck", "/home/drakestapleton/work/wsp/ck/wpatch-test/round40-reverted.ck"], "exit": 0, "expected": 0, "elapsed_ns": 10230308042, "stdout": "PASS\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch revert /home/drakestapleton/work/wsp/ck/wpatch-test/patches/e0b262208c29d55f11a8dd53a82d8dd43ceac9cc5064b1c90e942fed34dd8658.wp /home/drakestapleton/work/wsp/ck/wpatch-test/round40-applied.ck /home/drakestapleton/work/wsp/ck/wpatch-test/round40-reverted.ck"} +{"command": ["sha256sum", "/home/drakestapleton/.local/share/omega-tool-model/round40/model.ck", "/home/drakestapleton/work/wsp/ck/wpatch-test/round40-reverted.ck", "/home/drakestapleton/work/wsp/ck/wpatch-test/round40-applied.ck"], "exit": 0, "expected": 0, "elapsed_ns": 1069018534, "stdout": "7c7b5b5260f2d9453b6076b64e7f23e88341d96498584f2dfaa229c31ad2e346 /home/drakestapleton/.local/share/omega-tool-model/round40/model.ck\n7c7b5b5260f2d9453b6076b64e7f23e88341d96498584f2dfaa229c31ad2e346 /home/drakestapleton/work/wsp/ck/wpatch-test/round40-reverted.ck\n95c8676227161d5fd425082462333a9180fe0c870478b69446bbf92678f47eac /home/drakestapleton/work/wsp/ck/wpatch-test/round40-applied.ck\n", "stderr": ""} +{"status": "PASS", "check": "exit: sha256sum /home/drakestapleton/.local/share/omega-tool-model/round40/model.ck /home/drakestapleton/work/wsp/ck/wpatch-test/round40-reverted.ck /home/drakestapleton/work/wsp/ck/wpatch-test/round40-applied.ck"} +{"status": "PASS", "check": "real byte-identical revert SHA"} +{"status": "PASS", "check": "real base unchanged"} +{"status": "PASS", "check": "real output SHA oracle"} +{"status": "PASS", "check": "real f32 SHA oracle"} +{"real_patch": "/home/drakestapleton/work/wsp/ck/wpatch-test/patches/e0b262208c29d55f11a8dd53a82d8dd43ceac9cc5064b1c90e942fed34dd8658.wp", "real_hashes": "7c7b5b5260f2d9453b6076b64e7f23e88341d96498584f2dfaa229c31ad2e346 /home/drakestapleton/.local/share/omega-tool-model/round40/model.ck\n7c7b5b5260f2d9453b6076b64e7f23e88341d96498584f2dfaa229c31ad2e346 /home/drakestapleton/work/wsp/ck/wpatch-test/round40-reverted.ck\n95c8676227161d5fd425082462333a9180fe0c870478b69446bbf92678f47eac /home/drakestapleton/work/wsp/ck/wpatch-test/round40-applied.ck\n"} +{"status": "PASS", "checks": 21, "commands": 6, "failures": 0} diff --git a/evidence/OMEGALLM/wsp-patch-20261107/sha256.diff b/evidence/OMEGALLM/wsp-patch-20261107/sha256.diff new file mode 100644 index 0000000..4598749 --- /dev/null +++ b/evidence/OMEGALLM/wsp-patch-20261107/sha256.diff @@ -0,0 +1,237 @@ +--- /home/drakestapleton/work/wsp/wpatch-build/sha256-source.om 2026-11-07 00:14:57.196092902 -0600 ++++ /home/drakestapleton/work/wsp/wpatch-build/sha256-vendored.om 2026-11-07 00:14:57.208093013 -0600 +@@ -1,3 +1,9 @@ ++om2 ++layout shactx 104 ++field state uint 8 at 0 little ++field count ulong at 32 little ++field buf uchar 64 at 40 little ++end + note SPDX-License-Identifier: Apache-2.0 + note sha256-om2.om: FIPS 180-4 SHA-256 in OM-2 (spec/omegese-om2.md, #747/#748, ledger L838). + note The four entries are the API of src/sha256.h, exported through omega-bridge ABI v2 as +@@ -18,17 +24,11 @@ + note bridge c-type shactx sha256_ctx + note bridge c-define SHA256_DIGEST_SIZE 32 + note bridge c-define SHA256_BLOCK_SIZE 64 +-om2 + +-layout shactx 104 +-field state uint 8 at 0 little +-field count ulong at 32 little +-field buf uchar 64 at 40 little +-end + + note K[0..63]: the first 32 bits of the fractional parts of the cube roots of the first 64 primes. + note Copied mechanically from seed/qualification/om2/fixtures/sha256-k.dec (tool-computed, never typed). +-fn kinit k edit uint 64 to void ++fn wskinit k edit uint 64 to void + put k 0 0x428a2f98 + put k 1 0x71374491 + put k 2 0xb5c0fbcf +@@ -97,7 +97,7 @@ + + note H(0): the first 32 bits of the fractional parts of the square roots of the first 8 primes + note (fixtures/sha256-iv.dec). +-fn iv s edit uint 8 to void ++fn wsiv s edit uint 8 to void + put s 0 0x6a09e667 + put s 1 0xbb67ae85 + put s 2 0x3c6ef372 +@@ -111,7 +111,7 @@ + note Message schedule of the block m[o .. o+64). w is fresh: its incoming contents are never read. + note The compiler proves that every get of w reads an element written earlier in this function + note (error 27 otherwise): w[0..16) are the block's big-endian words, w[16..64) the FIPS recurrence. +-fn sched w edit uint 64 fresh m view uchar * o ulong to void ++fn wssched w edit uint 64 fresh m view uchar * o ulong to void + q = ulong 0 + x = uint 0 + y = uint 0 +@@ -137,7 +137,7 @@ + note identities. h first becomes T1, then T1 + T2, which is the next a; the names then shift by one. + note The sums are built a term per line and each Sigma in two lines through t: 12 names are live, and + note omc hands out 16 registers with no spilling (error 12 under compiler-s1/s2 for longer lines). +-fn rounds s edit uint 8 w view uint 64 kt view uint 64 to void ++fn wsround s edit uint 8 w view uint 64 kt view uint 64 to void + a = get s 0 + b = get s 1 + c = get s 2 +@@ -182,15 +182,15 @@ + + note One block m[o .. o+64) into s. sched and rounds stay calls: inlined, their names would share + note one 16-register frame with this function's parameters (no spilling, error 12). +-fn compress s edit uint 8 w edit uint 64 kt view uint 64 m view uchar * o ulong to void +-sched w m o +-rounds s w kt ++fn wscomp s edit uint 8 w edit uint 64 kt view uint 64 m view uchar * o ulong to void ++wssched w m o ++wsround s w kt + end + + note The whole blocks of m (len m is a multiple of 64 and at most 2^25, so under 2^19 passes). +-fn run s edit uint 8 w edit uint 64 kt view uint 64 m view uchar * to void ++fn wsrun s edit uint 8 w edit uint 64 kt view uint 64 m view uchar * to void + for j ulong shr len m 6 +-compress s w kt m shl j 6 ++wscomp s w kt m shl j 6 + end + end + +@@ -198,24 +198,24 @@ + note (OMEGESE.md section 2; omc s_for), so m is cut into runs of 2^25 bytes (2^19 blocks): + note len m = top * 2^44 + mid * 2^25 + rest, and no loop passes 2^20 times. top reaches 1000000 + note only above 1.7e19 bytes, which no AArch64 address space holds. +-fn blocks s edit uint 8 w edit uint 64 kt view uint 64 m view uchar * to void ++fn wsblks s edit uint 8 w edit uint 64 kt view uint 64 m view uchar * to void + q = ulong 0 + for a ulong shr len m 44 + for b ulong 0x80000 +-run s w kt part m q 0x2000000 ++wsrun s w kt part m q 0x2000000 + q = add q 0x2000000 + end + end + for b ulong and shr len m 25 0x7ffff +-run s w kt part m q 0x2000000 ++wsrun s w kt part m q 0x2000000 + q = add q 0x2000000 + end +-run s w kt part m q sub len m q ++wsrun s w kt part m q sub len m q + end + + note Pad the k pending bytes already in p (k < 64; p was all zero past them): 0x80, zeros, and the + note 64-bit big-endian bit length of the n-byte message in the last 8 bytes of one or two blocks. +-fn finish s edit uint 8 w edit uint 64 kt view uint 64 p edit uchar 128 k ulong n ulong to void ++fn wsfin s edit uint 8 w edit uint 64 kt view uint 64 p edit uchar 128 k ulong n ulong to void + put p k 0x80 + e = ulong 64 + if ge k 56 +@@ -225,15 +225,15 @@ + for i ulong 8 unroll + put p sub e add i 1 uchar and shr bits mul i 8 0xff + end +-compress s w kt view p 0 ++wscomp s w kt view p 0 + if eq e 128 +-compress s w kt view p 64 ++wscomp s w kt view p 64 + end + end + +-export fn sha256_init c edit shactx to void ++fn sha256_init c edit shactx to void + s = new uint 8 0 +-iv s ++wsiv s + for i ulong 8 unroll + put c state i get s i + end +@@ -242,20 +242,20 @@ + + note k bytes of d from o into the context's buffer at bi (bi + k <= 64). A function of its own: inside + note absorb the copy loop needs more than the 16 registers (error 12 under compiler-s4). +-fn tobuf c edit shactx bi ulong d view uchar * o ulong k ulong to void ++fn wstobuf c edit shactx bi ulong d view uchar * o ulong k ulong to void + for i ulong k + put c buf add bi i get d add o i + end + end + + note Whole blocks are hashed straight from d; the bytes that complete a pending block go through blk. +-fn absorb c edit shactx d view uchar * bi ulong to void ++fn wsabsb c edit shactx d view uchar * bi ulong to void + n = len d + s = new uint 8 0 + w = new uint 64 0 + kt = new uint 64 0 + blk = new uchar 64 0 +-kinit kt ++wskinit kt + for i ulong 8 unroll + put s i get c state i + end +@@ -268,37 +268,37 @@ + for i ulong off + put blk add bi i get d i + end +-compress s w kt view blk 0 ++wscomp s w kt view blk 0 + end + nb = shr sub n off 6 +-blocks s w kt part d off shl nb 6 ++wsblks s w kt part d off shl nb 6 + off = add off shl nb 6 +-tobuf c 0 d off sub n off ++wstobuf c 0 d off sub n off + for i ulong 8 unroll + put c state i get s i + end + end + + note Any length, including 0 and >= 2^32. lt n sub 64 bi cannot wrap (bi < 64); add bi n could. +-export fn sha256_update c edit shactx d view uchar * to void ++fn sha256_update c edit shactx d view uchar * to void + n = len d + cnt = get c count + bi = and cnt 63 + put c count add cnt n + if lt n sub 64 bi +-tobuf c bi d 0 n ++wstobuf c bi d 0 n + ret + end +-absorb c d bi ++wsabsb c d bi + end + +-export fn sha256_final c edit shactx o out uchar 32 to void ++fn sha256_final c edit shactx o out uchar 32 to void + s = new uint 8 0 + w = new uint 64 0 + kt = new uint 64 0 + p = new uchar 128 0 + v = ulong 0 +-kinit kt ++wskinit kt + for i ulong 8 unroll + put s i get c state i + end +@@ -307,7 +307,7 @@ + for i ulong k + put p i get c buf i + end +-finish s w kt p k cnt ++wsfin s w kt p k cnt + for i ulong 8 unroll + v = ulong get s i + for j ulong 4 unroll +@@ -318,23 +318,23 @@ + + note Equal to init, update(d), final on a fresh context (section 7), with the state in locals. o may + note overlap d: the binding copies o out only after the call returns status 0. +-export fn sha256_hash d view uchar * o out uchar 32 to void ++fn sha256_hash d view uchar * o out uchar 32 to void + s = new uint 8 0 + w = new uint 64 0 + kt = new uint 64 0 + p = new uchar 128 0 + v = ulong 0 +-kinit kt +-iv s ++wskinit kt ++wsiv s + n = len d + nb = shr n 6 +-blocks s w kt part d 0 shl nb 6 ++wsblks s w kt part d 0 shl nb 6 + off = shl nb 6 + k = sub n off + for i ulong k + put p i get d add off i + end +-finish s w kt p k n ++wsfin s w kt p k n + for i ulong 8 unroll + v = ulong get s i + for j ulong 4 unroll diff --git a/evidence/OMEGALLM/wsp-patch-20261107/small.jsonl b/evidence/OMEGALLM/wsp-patch-20261107/small.jsonl new file mode 100644 index 0000000..f008ee6 --- /dev/null +++ b/evidence/OMEGALLM/wsp-patch-20261107/small.jsonl @@ -0,0 +1,787 @@ +{"instrument": "external Python stdlib only", "wpatch_sha256": "330660c5963b116aa9e50fd1c2ff3376a27d8cc73788f09878c80280f74c48e3"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/ollm", "init", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "256", "8", "16", "2", "32", "2", "2", "1", "10", "3000", "1"], "exit": 0, "expected": 0, "elapsed_ns": 7274099, "stdout": "I 8400\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/ollm init /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck 256 8 16 2 32 2 2 1 10 3000 1"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/ollm", "train", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/train.bin", "2", "1"], "exit": 0, "expected": 0, "elapsed_ns": 22430511, "stdout": "T 1 5541842\nT 2 5520363\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/ollm train /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/train.bin 2 1"} +{"status": "PASS", "check": "oracle CK02 magic"} +{"status": "PASS", "check": "oracle checkpoint length"} +{"status": "PASS", "check": "oracle checkpoint FNV"} +{"status": "PASS", "check": "oracle checkpoint geometry P"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "inspect", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"], "exit": 0, "expected": 0, "elapsed_ns": 2701369, "stdout": "OLLMCK02 V T D H F L B P: 256 8 16 2 32 2 2 8400\nseed step total lr G fnv: 1 2 10 4569063951553953530 1 12929047925843260235\nwte 0 256x16 dtype=f64 offset=0 sha256=8cff8d99b6ae9164f7732cf6801ae974d3a2a7944f33ccc0505a481eefc64cc6 rms=2.0150972434014620e-2 maxabs=3.4694049902618817e-2 nonfinite=0\nwpe 0 8x16 dtype=f64 offset=4096 sha256=8466ddee307934f1d085b7fc3f2f222b33f320a47b8f72c0782cd099f53c3a56 rms=2.0597512474142969e-2 maxabs=3.4688363182317480e-2 nonfinite=0\ng1 0 1x16 dtype=f64 offset=4224 sha256=8e55ebc45ecdca0459276d85bdcc502985681ca91936c7d388f36141657e7724 rms=9.9998560202156934e-1 maxabs=1.0000898116642267e0 nonfinite=0\nwq 0 16x16 dtype=f64 offset=4240 sha256=adfe7504881e98ae49edbd9bd2a8c6259a190472f5f2a301aabf76d433a26668 rms=1.9387060051204409e-2 maxabs=3.4602970449885450e-2 nonfinite=0\nwk 0 16x16 dtype=f64 offset=4496 sha256=accdb602abdaf839de2b6e98f98e399bcb00eea03cdc1e14ffe760c6012bffa8 rms=2.0086632119378893e-2 maxabs=3.4488179470423929e-2 nonfinite=0\nwv 0 16x16 dtype=f64 offset=4752 sha256=fa6b0727cb263311c2c3b75e6fea1f7902613c5051548b6cff87fecb0556f9d0 rms=2.0442612683966512e-2 maxabs=3.4608463868511711e-2 nonfinite=0\nwo 0 16x16 dtype=f64 offset=5008 sha256=b43e998b213e289c9464b79a54a04243a629061e9351882c0af8ba717ab1f27c rms=9.3607584314112308e-3 maxabs=1.7186119006150049e-2 nonfinite=0\ng2 0 1x16 dtype=f64 offset=5264 sha256=02d1cd2862c618fa82ecbe721cef53d3f0064a85c37dc3c81b60256496a551e8 rms=1.0000317542785344e0 maxabs=1.0000900660818634e0 nonfinite=0\nw1 0 16x32 dtype=f64 offset=5280 sha256=0d43f123403113f54dc36bf858225654da6ca9b2fa6dd13d34ea03df0300162d rms=1.9707409527231671e-2 maxabs=3.4604831137893370e-2 nonfinite=0\nw2 0 32x16 dtype=f64 offset=5792 sha256=ff25c2a9843e2cb7febd7173d1310c5c38d4c3b84f80d41fe477671df90958a4 rms=9.9353752213784609e-3 maxabs=1.7383742580227750e-2 nonfinite=0\ng1 1 1x16 dtype=f64 offset=6304 sha256=d5ef48d1f1f83bea39dbec4469a83b73134a957a6f7ee5c7f55d489a085e2fc2 rms=1.0000055077295755e0 maxabs=1.0000896598909829e0 nonfinite=0\nwq 1 16x16 dtype=f64 offset=6320 sha256=cd5d9460b4f8b03c13493204e04f3499387caa9332da929e17aa53b5bf93f1b9 rms=1.9395643851273927e-2 maxabs=3.4713570183186637e-2 nonfinite=0\nwk 1 16x16 dtype=f64 offset=6576 sha256=77e6c5613a0fba859e0559bee3beb70fb9e4ac007b87134dfc1e2fe482194b44 rms=2.0451505765922823e-2 maxabs=3.4557907877036364e-2 nonfinite=0\nwv 1 16x16 dtype=f64 offset=6832 sha256=a49caf53f5f318fe312bef6bc78842f4f194d97965a34d4d1903a20c325e3af6 rms=2.0283640674707430e-2 maxabs=3.4634749954325338e-2 nonfinite=0\nwo 1 16x16 dtype=f64 offset=7088 sha256=4a99000fa39bce104d6cd39bd7e6e8f108b0a120d700c1372a14614b7d2a3cf9 rms=9.5378278603200783e-3 maxabs=1.7408843619714149e-2 nonfinite=0\ng2 1 1x16 dtype=f64 offset=7344 sha256=975a6761e290c4c1493058ce603d78cf98fe638c88792c88a13d422d00044af5 rms=1.0000051625444570e0 maxabs=1.0000900629791575e0 nonfinite=0\nw1 1 16x32 dtype=f64 offset=7360 sha256=6744256441b31f1e97fe7739e0af3edbeeabb2960c9030bde44a0940f673b254 rms=1.9646243437713831e-2 maxabs=3.4519835058524788e-2 nonfinite=0\nw2 1 32x16 dtype=f64 offset=7872 sha256=f01f41002a7e3c6afa8dbfe6c69ab753d4361cf25faae3e3ea4738e7aa1f0232 rms=9.9239498616909447e-3 maxabs=1.7320015361641458e-2 nonfinite=0\ngf 0 1x16 dtype=f64 offset=8384 sha256=65aa5211ba1921da7b4c26e7667f49bf0d2a7219f2fef32dcc828fb4cf181a9a rms=1.0000070876612532e0 maxabs=1.0000900576992735e0 nonfinite=0\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch inspect /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "inspect", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "wte", "0", "0", "1", "0", "2"], "exit": 0, "expected": 0, "elapsed_ns": 1117483, "stdout": "OLLMCK02 V T D H F L B P: 256 8 16 2 32 2 2 8400\nseed step total lr G fnv: 1 2 10 4569063951553953530 1 12929047925843260235\n0 0 4.6933608192067630e-3 3f73395873a10edd\n0 1 6.2277422802250175e-3 3f798242d6be64df\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch inspect /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck wte 0 0 1 0 2"} +{"status": "PASS", "check": "inspect exact slice bits"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "inspect", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "wte", "0", "0", "99999", "0", "1"], "exit": 27, "expected": 27, "elapsed_ns": 1121434, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch inspect /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck wte 0 0 99999 0 1"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "diff", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/edited.ck", "0", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/params.txt", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/rationale.txt", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-0"], "exit": 0, "expected": 0, "elapsed_ns": 13808319, "stdout": "/home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch diff /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/edited.ck 0 /home/drakestapleton/work/wsp/ck/wpatch-small-2/params.txt /home/drakestapleton/work/wsp/ck/wpatch-small-2/rationale.txt /home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-0"} +{"status": "PASS", "check": "oracle manifest magic"} +{"status": "PASS", "check": "oracle canonical manifest name"} +{"status": "PASS", "check": "oracle manifest length"} +{"status": "PASS", "check": "oracle policy"} +{"status": "PASS", "check": "oracle edit identity"} +{"status": "PASS", "check": "oracle metadata lengths"} +{"status": "PASS", "check": "oracle strict order"} +{"status": "PASS", "check": "oracle indices in bounds"} +{"status": "PASS", "check": "oracle CK02 magic"} +{"status": "PASS", "check": "oracle checkpoint length"} +{"status": "PASS", "check": "oracle checkpoint FNV"} +{"status": "PASS", "check": "oracle checkpoint geometry P"} +{"status": "PASS", "check": "oracle preserved base header"} +{"status": "PASS", "check": "oracle manifest geometry"} +{"status": "PASS", "check": "oracle manifest P"} +{"status": "PASS", "check": "oracle base SHA"} +{"status": "PASS", "check": "oracle UTF8 provenance"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle expected output SHA"} +{"status": "PASS", "check": "oracle expected f32 SHA"} +{"status": "PASS", "check": "oracle all tensors present"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "show", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp"], "exit": 0, "expected": 0, "elapsed_ns": 1265676, "stdout": "{\"patch_sha256\":\"6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115\",\"base_sha256\":\"0f7c5cce37a019be53786dfc27fd01146f7606343ccbe7f632d19661dc6f7004\",\"output_sha256\":\"df9ba29d0123bf5852c13765b758998bd1e5a49f63b983dcf934e0b63f261eb3\",\"f32_sha256\":\"b61cbd26710589e5e352794c1b05e08a1fe954e982d135c3bcfa88f95b077068\",\"entries_sha256\":\"1f2e4172184215f85733f111b30a46cdd694b2d887c0280698f2ea7c7f2f1d04\",\"policy\":0,\"changed\":20,\"entries_first_20\":[[0,\"3f73395873a10edd\",\"3f7751ebe85d795c\"],[1,\"3f798242d6be64df\",\"3f798242d6be64de\"],[4096,\"3f9d71eaecf958fb\",\"3f9e780fca28739b\"],[4224,\"3fefff43cec7fbde\",\"3ff003ba7ad8ba59\"],[4240,\"3f91335e055b2e52\",\"3f923982e28a48f2\"],[4496,\"3f7e376430d30470\",\"3f8127fbd2c7b778\"],[4752,\"bf8127b4d0942b41\",\"bf7e36d62c6bec03\"],[5008,\"bf642a283fb3a03a\",\"bf57f202ac759678\"],[5264,\"3ff0005e70ee046f\",\"3ff004770462c0d9\"],[5280,\"3f937e8c81983fca\",\"3f9484b15ec75a6a\"],[5792,\"bf8d0a85a19f1a66\",\"bf8afe3be740e526\"],[6304,\"3ff0005d56c1676d\",\"3ff00475ea3623d7\"],[6320,\"3f478f6a628528cb\",\"3f5c2a0304343e62\"],[6576,\"3f96ddb9cf3d8cbd\",\"3f97e3deac6ca75d\"],[6832,\"bf85cdb8b6e68c3d\",\"bf83c16efc8856fe\"],[7088,\"3f66903abb2fa5f3\",\"3f6ec161a4a87af1\"],[7344,\"3fefff43cf3b0247\",\"3ff003ba7b123d8e\"],[7360,\"bfa157e08134d98b\",\"bfa0d4ce129d4c3b\"],[7872,\"bf908b27ddd68b5c\",\"bf8f0a06014ee178\"],[8384,\"3fefffe8aac28f0e\",\"3ff0040ce8d603f1\"]],\"params\":\"{\\\"delta\\\":0.001,\\\"name\\\":\\\"Ω patch\\\"}\\u000a\",\"rationale\":\"Own-model fixture. Preserve exact rollback.\\u000a\"}\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch show /home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp"} +{"status": "PASS", "check": "show UTF8 provenance"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"], "exit": 0, "expected": 0, "elapsed_ns": 6679118, "stdout": "PASS\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-0.ck"], "exit": 0, "expected": 0, "elapsed_ns": 12582196, "stdout": "PASS\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-0.ck"} +{"status": "PASS", "check": "apply exact oracle bytes"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "verify", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-0.ck"], "exit": 0, "expected": 0, "elapsed_ns": 3730338, "stdout": "PASS f32_surviving=19 changed=20\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch verify /home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-0.ck"} +{"status": "PASS", "check": "oracle manifest magic"} +{"status": "PASS", "check": "oracle canonical manifest name"} +{"status": "PASS", "check": "oracle manifest length"} +{"status": "PASS", "check": "oracle policy"} +{"status": "PASS", "check": "oracle edit identity"} +{"status": "PASS", "check": "oracle metadata lengths"} +{"status": "PASS", "check": "oracle strict order"} +{"status": "PASS", "check": "oracle indices in bounds"} +{"status": "PASS", "check": "verify f32 survival count"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "revert", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-0.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/reverted-0.ck"], "exit": 0, "expected": 0, "elapsed_ns": 12254993, "stdout": "PASS\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch revert /home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-0.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/reverted-0.ck"} +{"status": "PASS", "check": "revert byte-identical base"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "bind", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-0.ck", "/home/drakestapleton/work/wsp/wpatch-build/wpatch", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/binding-0"], "exit": 0, "expected": 0, "elapsed_ns": 9592297, "stdout": "PASS\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch bind /home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-0.ck /home/drakestapleton/work/wsp/wpatch-build/wpatch /home/drakestapleton/work/wsp/ck/wpatch-small-2/binding-0"} +{"status": "PASS", "check": "oracle binding format"} +{"status": "PASS", "check": "oracle binding CK and f32"} +{"status": "PASS", "check": "oracle binding runtime and patch"} +{"status": "PASS", "check": "oracle binding self digest"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "checkbind", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/binding-0", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-0.ck", "/home/drakestapleton/work/wsp/wpatch-build/wpatch"], "exit": 0, "expected": 0, "elapsed_ns": 4999583, "stdout": "PASS\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch checkbind /home/drakestapleton/work/wsp/ck/wpatch-small-2/binding-0 /home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-0.ck /home/drakestapleton/work/wsp/wpatch-build/wpatch"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "checkbind", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/binding-0", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/wpatch-build/wpatch"], "exit": 60, "expected": 60, "elapsed_ns": 2705817, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch checkbind /home/drakestapleton/work/wsp/ck/wpatch-small-2/binding-0 /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/wpatch-build/wpatch"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "checkbind", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/binding-0", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-0.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/runtime-0"], "exit": 62, "expected": 62, "elapsed_ns": 4658731, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch checkbind /home/drakestapleton/work/wsp/ck/wpatch-small-2/binding-0 /home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-0.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/runtime-0"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "checkbind", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/wrong-f32-binding-0", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-0.ck", "/home/drakestapleton/work/wsp/wpatch-build/wpatch"], "exit": 61, "expected": 61, "elapsed_ns": 2842282, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch checkbind /home/drakestapleton/work/wsp/ck/wpatch-small-2/wrong-f32-binding-0 /home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-0.ck /home/drakestapleton/work/wsp/wpatch-build/wpatch"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "checkbind", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/wrong-f32-binding-0", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-0.ck", "/home/drakestapleton/work/wsp/wpatch-build/wpatch"], "exit": 59, "expected": 59, "elapsed_ns": 1029417, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch checkbind /home/drakestapleton/work/wsp/ck/wpatch-small-2/wrong-f32-binding-0 /home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-0.ck /home/drakestapleton/work/wsp/wpatch-build/wpatch"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-0.ck"], "exit": 52, "expected": 52, "elapsed_ns": 6705005, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-0.ck"} +{"status": "PASS", "check": "OUT exists preserved"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"], "exit": 52, "expected": 52, "elapsed_ns": 6728190, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "revert", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-0.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"], "exit": 52, "expected": 52, "elapsed_ns": 6346874, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch revert /home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-0.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "diff", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/edited.ck", "0", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/params.txt", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/rationale.txt", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-0"], "exit": 52, "expected": 52, "elapsed_ns": 10173806, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch diff /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/edited.ck 0 /home/drakestapleton/work/wsp/ck/wpatch-small-2/params.txt /home/drakestapleton/work/wsp/ck/wpatch-small-2/rationale.txt /home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-0"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "diff", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/edited.ck", "1", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/params.txt", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/rationale.txt", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-1"], "exit": 0, "expected": 0, "elapsed_ns": 13842144, "stdout": "/home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch diff /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/edited.ck 1 /home/drakestapleton/work/wsp/ck/wpatch-small-2/params.txt /home/drakestapleton/work/wsp/ck/wpatch-small-2/rationale.txt /home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-1"} +{"status": "PASS", "check": "oracle manifest magic"} +{"status": "PASS", "check": "oracle canonical manifest name"} +{"status": "PASS", "check": "oracle manifest length"} +{"status": "PASS", "check": "oracle policy"} +{"status": "PASS", "check": "oracle edit identity"} +{"status": "PASS", "check": "oracle metadata lengths"} +{"status": "PASS", "check": "oracle strict order"} +{"status": "PASS", "check": "oracle indices in bounds"} +{"status": "PASS", "check": "oracle CK02 magic"} +{"status": "PASS", "check": "oracle checkpoint length"} +{"status": "PASS", "check": "oracle checkpoint FNV"} +{"status": "PASS", "check": "oracle checkpoint geometry P"} +{"status": "PASS", "check": "oracle preserved base header"} +{"status": "PASS", "check": "oracle manifest geometry"} +{"status": "PASS", "check": "oracle manifest P"} +{"status": "PASS", "check": "oracle base SHA"} +{"status": "PASS", "check": "oracle UTF8 provenance"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle expected output SHA"} +{"status": "PASS", "check": "oracle expected f32 SHA"} +{"status": "PASS", "check": "oracle all tensors present"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "show", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp"], "exit": 0, "expected": 0, "elapsed_ns": 1770049, "stdout": "{\"patch_sha256\":\"66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8\",\"base_sha256\":\"0f7c5cce37a019be53786dfc27fd01146f7606343ccbe7f632d19661dc6f7004\",\"output_sha256\":\"a094ea3f1ddb087d13316f882b44e4ba3e3fe8d4d32efcfcb9f86cbae7049f28\",\"f32_sha256\":\"b61cbd26710589e5e352794c1b05e08a1fe954e982d135c3bcfa88f95b077068\",\"entries_sha256\":\"a4d6249a009e496434ea6f1eed97e59b6d26560225e1727bc6213b69f0f22f77\",\"policy\":1,\"changed\":20,\"entries_first_20\":[[0,\"3f73395873a10edd\",\"3f7751ebe85d795c\",\"bf8552a73209b7de\",\"3f14fbfe29a9774b\"],[1,\"3f798242d6be64df\",\"3f798242d6be64de\",\"3f8ae1fb0b51213f\",\"3f18d79eff023b06\"],[4096,\"3f9d71eaecf958fb\",\"3f9e780fca28739b\",\"bf6fda794c7f4356\",\"3ee4874452c54ea4\"],[4224,\"3fefff43cec7fbde\",\"3ff003ba7ad8ba59\",\"3f1256c5dd67068a\",\"3e2760769ce5b9f8\"],[4240,\"3f91335e055b2e52\",\"3f923982e28a48f2\",\"3e8c82f3e951ecd7\",\"3d22dc1b3d5ebae0\"],[4496,\"3f7e376430d30470\",\"3f8127fbd2c7b778\",\"bea74810b3835236\",\"3d5affaac6d4f0e8\"],[4752,\"bf8127b4d0942b41\",\"bf7e36d62c6bec03\",\"3f2ff9fda43ff4ce\",\"3e655d362beed931\"],[5008,\"bf642a283fb3a03a\",\"bf57f202ac759678\",\"3f3502ff80b87ea6\",\"3e72e5c1e1efe469\"],[5264,\"3ff0005e70ee046f\",\"3ff004770462c0d9\",\"bf18ed43b60b63b7\",\"3e355bda46217552\"],[5280,\"3f937e8c81983fca\",\"3f9484b15ec75a6a\",\"bf48faf52cc05b78\",\"3e965b7796fddabc\"],[5792,\"bf8d0a85a19f1a66\",\"bf8afe3be740e526\",\"3f4a9cc4b0ff81ae\",\"3e99124af81315f5\"],[6304,\"3ff0005d56c1676d\",\"3ff00475ea3623d7\",\"bf183fc5d9e8349e\",\"3e34f092d477879a\"],[6320,\"3f478f6a628528cb\",\"3f5c2a0304343e62\",\"bea91b8ad8d8fa88\",\"3d711f50953c987a\"],[6576,\"3f96ddb9cf3d8cbd\",\"3f97e3deac6ca75d\",\"bea1d46f2116bc66\",\"3d46551f111a70d4\"],[6832,\"bf85cdb8b6e68c3d\",\"bf83c16efc8856fe\",\"bf4f1c7c31f855d4\",\"3ea2ab72a16c8090\"],[7088,\"3f66903abb2fa5f3\",\"3f6ec161a4a87af1\",\"bf50fdbc8214d868\",\"3ea5d7a369874dbc\"],[7344,\"3fefff43cf3b0247\",\"3ff003ba7b123d8e\",\"3f0d8004986b399c\",\"3e1e3eb1e77eda8e\"],[7360,\"bfa157e08134d98b\",\"bfa0d4ce129d4c3b\",\"3f1d076f4cc62d48\",\"3e421f608bd657e5\"],[7872,\"bf908b27ddd68b5c\",\"bf8f0a06014ee178\",\"3f549ba6f596fe71\",\"3ead9cd639986443\"],[8384,\"3fefffe8aac28f0e\",\"3ff0040ce8d603f1\",\"3f27d30ec44cacbd\",\"3e64d03ccafe7fec\"]],\"params\":\"{\\\"delta\\\":0.001,\\\"name\\\":\\\"Ω patch\\\"}\\u000a\",\"rationale\":\"Own-model fixture. Preserve exact rollback.\\u000a\"}\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch show /home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp"} +{"status": "PASS", "check": "show UTF8 provenance"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"], "exit": 0, "expected": 0, "elapsed_ns": 7115633, "stdout": "PASS\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-1.ck"], "exit": 0, "expected": 0, "elapsed_ns": 13531021, "stdout": "PASS\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-1.ck"} +{"status": "PASS", "check": "apply exact oracle bytes"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "verify", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-1.ck"], "exit": 0, "expected": 0, "elapsed_ns": 4289944, "stdout": "PASS f32_surviving=19 changed=20\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch verify /home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-1.ck"} +{"status": "PASS", "check": "oracle manifest magic"} +{"status": "PASS", "check": "oracle canonical manifest name"} +{"status": "PASS", "check": "oracle manifest length"} +{"status": "PASS", "check": "oracle policy"} +{"status": "PASS", "check": "oracle edit identity"} +{"status": "PASS", "check": "oracle metadata lengths"} +{"status": "PASS", "check": "oracle strict order"} +{"status": "PASS", "check": "oracle indices in bounds"} +{"status": "PASS", "check": "verify f32 survival count"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "revert", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-1.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/reverted-1.ck"], "exit": 0, "expected": 0, "elapsed_ns": 11703916, "stdout": "PASS\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch revert /home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-1.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/reverted-1.ck"} +{"status": "PASS", "check": "revert byte-identical base"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "bind", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-1.ck", "/home/drakestapleton/work/wsp/wpatch-build/wpatch", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/binding-1"], "exit": 0, "expected": 0, "elapsed_ns": 10830164, "stdout": "PASS\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch bind /home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-1.ck /home/drakestapleton/work/wsp/wpatch-build/wpatch /home/drakestapleton/work/wsp/ck/wpatch-small-2/binding-1"} +{"status": "PASS", "check": "oracle binding format"} +{"status": "PASS", "check": "oracle binding CK and f32"} +{"status": "PASS", "check": "oracle binding runtime and patch"} +{"status": "PASS", "check": "oracle binding self digest"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "checkbind", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/binding-1", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-1.ck", "/home/drakestapleton/work/wsp/wpatch-build/wpatch"], "exit": 0, "expected": 0, "elapsed_ns": 4922125, "stdout": "PASS\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch checkbind /home/drakestapleton/work/wsp/ck/wpatch-small-2/binding-1 /home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-1.ck /home/drakestapleton/work/wsp/wpatch-build/wpatch"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "checkbind", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/binding-1", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/wpatch-build/wpatch"], "exit": 60, "expected": 60, "elapsed_ns": 2720809, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch checkbind /home/drakestapleton/work/wsp/ck/wpatch-small-2/binding-1 /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/wpatch-build/wpatch"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "checkbind", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/binding-1", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-1.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/runtime-1"], "exit": 62, "expected": 62, "elapsed_ns": 4714764, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch checkbind /home/drakestapleton/work/wsp/ck/wpatch-small-2/binding-1 /home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-1.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/runtime-1"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "checkbind", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/wrong-f32-binding-1", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-1.ck", "/home/drakestapleton/work/wsp/wpatch-build/wpatch"], "exit": 61, "expected": 61, "elapsed_ns": 3195565, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch checkbind /home/drakestapleton/work/wsp/ck/wpatch-small-2/wrong-f32-binding-1 /home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-1.ck /home/drakestapleton/work/wsp/wpatch-build/wpatch"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "checkbind", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/wrong-f32-binding-1", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-1.ck", "/home/drakestapleton/work/wsp/wpatch-build/wpatch"], "exit": 59, "expected": 59, "elapsed_ns": 689494, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch checkbind /home/drakestapleton/work/wsp/ck/wpatch-small-2/wrong-f32-binding-1 /home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-1.ck /home/drakestapleton/work/wsp/wpatch-build/wpatch"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-1.ck"], "exit": 52, "expected": 52, "elapsed_ns": 6712574, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-1.ck"} +{"status": "PASS", "check": "OUT exists preserved"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"], "exit": 52, "expected": 52, "elapsed_ns": 6951968, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "revert", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-1.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"], "exit": 52, "expected": 52, "elapsed_ns": 6762847, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch revert /home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-1.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "diff", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/edited.ck", "1", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/params.txt", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/rationale.txt", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-1"], "exit": 52, "expected": 52, "elapsed_ns": 17105294, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch diff /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/edited.ck 1 /home/drakestapleton/work/wsp/ck/wpatch-small-2/params.txt /home/drakestapleton/work/wsp/ck/wpatch-small-2/rationale.txt /home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-1"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "diff", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/edited.ck", "2", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/params.txt", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/rationale.txt", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-2"], "exit": 0, "expected": 0, "elapsed_ns": 24733252, "stdout": "/home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch diff /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/edited.ck 2 /home/drakestapleton/work/wsp/ck/wpatch-small-2/params.txt /home/drakestapleton/work/wsp/ck/wpatch-small-2/rationale.txt /home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-2"} +{"status": "PASS", "check": "oracle manifest magic"} +{"status": "PASS", "check": "oracle canonical manifest name"} +{"status": "PASS", "check": "oracle manifest length"} +{"status": "PASS", "check": "oracle policy"} +{"status": "PASS", "check": "oracle edit identity"} +{"status": "PASS", "check": "oracle metadata lengths"} +{"status": "PASS", "check": "oracle strict order"} +{"status": "PASS", "check": "oracle indices in bounds"} +{"status": "PASS", "check": "oracle CK02 magic"} +{"status": "PASS", "check": "oracle checkpoint length"} +{"status": "PASS", "check": "oracle checkpoint FNV"} +{"status": "PASS", "check": "oracle checkpoint geometry P"} +{"status": "PASS", "check": "oracle preserved base header"} +{"status": "PASS", "check": "oracle manifest geometry"} +{"status": "PASS", "check": "oracle manifest P"} +{"status": "PASS", "check": "oracle base SHA"} +{"status": "PASS", "check": "oracle UTF8 provenance"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle expected output SHA"} +{"status": "PASS", "check": "oracle expected f32 SHA"} +{"status": "PASS", "check": "oracle all tensors present"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "show", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp"], "exit": 0, "expected": 0, "elapsed_ns": 1656559, "stdout": "{\"patch_sha256\":\"b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea\",\"base_sha256\":\"0f7c5cce37a019be53786dfc27fd01146f7606343ccbe7f632d19661dc6f7004\",\"output_sha256\":\"2c2a6304ba02509b12b70174ed70d586d1a0e1da4226257bc56be24e1e7eefe0\",\"f32_sha256\":\"b61cbd26710589e5e352794c1b05e08a1fe954e982d135c3bcfa88f95b077068\",\"entries_sha256\":\"a4d6249a009e496434ea6f1eed97e59b6d26560225e1727bc6213b69f0f22f77\",\"policy\":2,\"changed\":20,\"entries_first_20\":[[0,\"3f73395873a10edd\",\"3f7751ebe85d795c\",\"bf8552a73209b7de\",\"3f14fbfe29a9774b\"],[1,\"3f798242d6be64df\",\"3f798242d6be64de\",\"3f8ae1fb0b51213f\",\"3f18d79eff023b06\"],[4096,\"3f9d71eaecf958fb\",\"3f9e780fca28739b\",\"bf6fda794c7f4356\",\"3ee4874452c54ea4\"],[4224,\"3fefff43cec7fbde\",\"3ff003ba7ad8ba59\",\"3f1256c5dd67068a\",\"3e2760769ce5b9f8\"],[4240,\"3f91335e055b2e52\",\"3f923982e28a48f2\",\"3e8c82f3e951ecd7\",\"3d22dc1b3d5ebae0\"],[4496,\"3f7e376430d30470\",\"3f8127fbd2c7b778\",\"bea74810b3835236\",\"3d5affaac6d4f0e8\"],[4752,\"bf8127b4d0942b41\",\"bf7e36d62c6bec03\",\"3f2ff9fda43ff4ce\",\"3e655d362beed931\"],[5008,\"bf642a283fb3a03a\",\"bf57f202ac759678\",\"3f3502ff80b87ea6\",\"3e72e5c1e1efe469\"],[5264,\"3ff0005e70ee046f\",\"3ff004770462c0d9\",\"bf18ed43b60b63b7\",\"3e355bda46217552\"],[5280,\"3f937e8c81983fca\",\"3f9484b15ec75a6a\",\"bf48faf52cc05b78\",\"3e965b7796fddabc\"],[5792,\"bf8d0a85a19f1a66\",\"bf8afe3be740e526\",\"3f4a9cc4b0ff81ae\",\"3e99124af81315f5\"],[6304,\"3ff0005d56c1676d\",\"3ff00475ea3623d7\",\"bf183fc5d9e8349e\",\"3e34f092d477879a\"],[6320,\"3f478f6a628528cb\",\"3f5c2a0304343e62\",\"bea91b8ad8d8fa88\",\"3d711f50953c987a\"],[6576,\"3f96ddb9cf3d8cbd\",\"3f97e3deac6ca75d\",\"bea1d46f2116bc66\",\"3d46551f111a70d4\"],[6832,\"bf85cdb8b6e68c3d\",\"bf83c16efc8856fe\",\"bf4f1c7c31f855d4\",\"3ea2ab72a16c8090\"],[7088,\"3f66903abb2fa5f3\",\"3f6ec161a4a87af1\",\"bf50fdbc8214d868\",\"3ea5d7a369874dbc\"],[7344,\"3fefff43cf3b0247\",\"3ff003ba7b123d8e\",\"3f0d8004986b399c\",\"3e1e3eb1e77eda8e\"],[7360,\"bfa157e08134d98b\",\"bfa0d4ce129d4c3b\",\"3f1d076f4cc62d48\",\"3e421f608bd657e5\"],[7872,\"bf908b27ddd68b5c\",\"bf8f0a06014ee178\",\"3f549ba6f596fe71\",\"3ead9cd639986443\"],[8384,\"3fefffe8aac28f0e\",\"3ff0040ce8d603f1\",\"3f27d30ec44cacbd\",\"3e64d03ccafe7fec\"]],\"params\":\"{\\\"delta\\\":0.001,\\\"name\\\":\\\"Ω patch\\\"}\\u000a\",\"rationale\":\"Own-model fixture. Preserve exact rollback.\\u000a\"}\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch show /home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp"} +{"status": "PASS", "check": "show UTF8 provenance"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"], "exit": 0, "expected": 0, "elapsed_ns": 6398331, "stdout": "PASS\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-2.ck"], "exit": 0, "expected": 0, "elapsed_ns": 13036008, "stdout": "PASS\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-2.ck"} +{"status": "PASS", "check": "apply exact oracle bytes"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "verify", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-2.ck"], "exit": 0, "expected": 0, "elapsed_ns": 3864563, "stdout": "PASS f32_surviving=19 changed=20\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch verify /home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-2.ck"} +{"status": "PASS", "check": "oracle manifest magic"} +{"status": "PASS", "check": "oracle canonical manifest name"} +{"status": "PASS", "check": "oracle manifest length"} +{"status": "PASS", "check": "oracle policy"} +{"status": "PASS", "check": "oracle edit identity"} +{"status": "PASS", "check": "oracle metadata lengths"} +{"status": "PASS", "check": "oracle strict order"} +{"status": "PASS", "check": "oracle indices in bounds"} +{"status": "PASS", "check": "verify f32 survival count"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "revert", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-2.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/reverted-2.ck"], "exit": 0, "expected": 0, "elapsed_ns": 11429769, "stdout": "PASS\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch revert /home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-2.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/reverted-2.ck"} +{"status": "PASS", "check": "revert byte-identical base"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "bind", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-2.ck", "/home/drakestapleton/work/wsp/wpatch-build/wpatch", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/binding-2"], "exit": 0, "expected": 0, "elapsed_ns": 10246510, "stdout": "PASS\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch bind /home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-2.ck /home/drakestapleton/work/wsp/wpatch-build/wpatch /home/drakestapleton/work/wsp/ck/wpatch-small-2/binding-2"} +{"status": "PASS", "check": "oracle binding format"} +{"status": "PASS", "check": "oracle binding CK and f32"} +{"status": "PASS", "check": "oracle binding runtime and patch"} +{"status": "PASS", "check": "oracle binding self digest"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "checkbind", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/binding-2", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-2.ck", "/home/drakestapleton/work/wsp/wpatch-build/wpatch"], "exit": 0, "expected": 0, "elapsed_ns": 4948862, "stdout": "PASS\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch checkbind /home/drakestapleton/work/wsp/ck/wpatch-small-2/binding-2 /home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-2.ck /home/drakestapleton/work/wsp/wpatch-build/wpatch"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "checkbind", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/binding-2", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/wpatch-build/wpatch"], "exit": 60, "expected": 60, "elapsed_ns": 2913771, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch checkbind /home/drakestapleton/work/wsp/ck/wpatch-small-2/binding-2 /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/wpatch-build/wpatch"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "checkbind", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/binding-2", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-2.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/runtime-2"], "exit": 62, "expected": 62, "elapsed_ns": 4735036, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch checkbind /home/drakestapleton/work/wsp/ck/wpatch-small-2/binding-2 /home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-2.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/runtime-2"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "checkbind", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/wrong-f32-binding-2", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-2.ck", "/home/drakestapleton/work/wsp/wpatch-build/wpatch"], "exit": 61, "expected": 61, "elapsed_ns": 2938619, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch checkbind /home/drakestapleton/work/wsp/ck/wpatch-small-2/wrong-f32-binding-2 /home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-2.ck /home/drakestapleton/work/wsp/wpatch-build/wpatch"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "checkbind", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/wrong-f32-binding-2", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-2.ck", "/home/drakestapleton/work/wsp/wpatch-build/wpatch"], "exit": 59, "expected": 59, "elapsed_ns": 920008, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch checkbind /home/drakestapleton/work/wsp/ck/wpatch-small-2/wrong-f32-binding-2 /home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-2.ck /home/drakestapleton/work/wsp/wpatch-build/wpatch"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-2.ck"], "exit": 52, "expected": 52, "elapsed_ns": 6484188, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-2.ck"} +{"status": "PASS", "check": "OUT exists preserved"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"], "exit": 52, "expected": 52, "elapsed_ns": 6800575, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "revert", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-2.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"], "exit": 52, "expected": 52, "elapsed_ns": 6104568, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch revert /home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-2.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "diff", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/edited.ck", "2", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/params.txt", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/rationale.txt", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-2"], "exit": 52, "expected": 52, "elapsed_ns": 10063053, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch diff /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/edited.ck 2 /home/drakestapleton/work/wsp/ck/wpatch-small-2/params.txt /home/drakestapleton/work/wsp/ck/wpatch-small-2/rationale.txt /home/drakestapleton/work/wsp/ck/wpatch-small-2/patches-2"} +{"status": "PASS", "check": "BASE never written"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/wrong-base-sha.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"], "exit": 50, "expected": 50, "elapsed_ns": 2811098, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /home/drakestapleton/work/wsp/ck/wpatch-small-2/wrong-base-sha.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/wrong-base-sha.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/wrong-base-sha.ck"], "exit": 50, "expected": 50, "elapsed_ns": 2387286, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /home/drakestapleton/work/wsp/ck/wpatch-small-2/wrong-base-sha.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/wrong-base-sha.ck"} +{"status": "PASS", "check": "wrong-base-sha: refusal creates no output"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/geometry.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"], "exit": 36, "expected": 36, "elapsed_ns": 1285564, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /home/drakestapleton/work/wsp/ck/wpatch-small-2/geometry.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/geometry.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/geometry.ck"], "exit": 36, "expected": 36, "elapsed_ns": 1165466, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /home/drakestapleton/work/wsp/ck/wpatch-small-2/geometry.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/geometry.ck"} +{"status": "PASS", "check": "geometry: refusal creates no output"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/shape.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"], "exit": 37, "expected": 37, "elapsed_ns": 1244859, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /home/drakestapleton/work/wsp/ck/wpatch-small-2/shape.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/shape.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/shape.ck"], "exit": 37, "expected": 37, "elapsed_ns": 1231643, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /home/drakestapleton/work/wsp/ck/wpatch-small-2/shape.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/shape.ck"} +{"status": "PASS", "check": "shape: refusal creates no output"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/oob.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"], "exit": 38, "expected": 38, "elapsed_ns": 1211852, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /home/drakestapleton/work/wsp/ck/wpatch-small-2/oob.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/oob.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/oob.ck"], "exit": 38, "expected": 38, "elapsed_ns": 1205739, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /home/drakestapleton/work/wsp/ck/wpatch-small-2/oob.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/oob.ck"} +{"status": "PASS", "check": "oob: refusal creates no output"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/nan.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"], "exit": 40, "expected": 40, "elapsed_ns": 1110122, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /home/drakestapleton/work/wsp/ck/wpatch-small-2/nan.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/nan.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/nan.ck"], "exit": 40, "expected": 40, "elapsed_ns": 1138570, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /home/drakestapleton/work/wsp/ck/wpatch-small-2/nan.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/nan.ck"} +{"status": "PASS", "check": "nan: refusal creates no output"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/inf.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"], "exit": 41, "expected": 41, "elapsed_ns": 1191435, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /home/drakestapleton/work/wsp/ck/wpatch-small-2/inf.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/inf.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/inf.ck"], "exit": 41, "expected": 41, "elapsed_ns": 1102922, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /home/drakestapleton/work/wsp/ck/wpatch-small-2/inf.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/inf.ck"} +{"status": "PASS", "check": "inf: refusal creates no output"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/magnitude.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"], "exit": 42, "expected": 42, "elapsed_ns": 1106698, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /home/drakestapleton/work/wsp/ck/wpatch-small-2/magnitude.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/magnitude.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/magnitude.ck"], "exit": 42, "expected": 42, "elapsed_ns": 1164187, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /home/drakestapleton/work/wsp/ck/wpatch-small-2/magnitude.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/magnitude.ck"} +{"status": "PASS", "check": "magnitude: refusal creates no output"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/unsorted.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"], "exit": 39, "expected": 39, "elapsed_ns": 1410077, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /home/drakestapleton/work/wsp/ck/wpatch-small-2/unsorted.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/unsorted.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/unsorted.ck"], "exit": 39, "expected": 39, "elapsed_ns": 1172619, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /home/drakestapleton/work/wsp/ck/wpatch-small-2/unsorted.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/unsorted.ck"} +{"status": "PASS", "check": "unsorted: refusal creates no output"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/duplicate.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"], "exit": 43, "expected": 43, "elapsed_ns": 1121594, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /home/drakestapleton/work/wsp/ck/wpatch-small-2/duplicate.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/duplicate.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/duplicate.ck"], "exit": 43, "expected": 43, "elapsed_ns": 1089162, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /home/drakestapleton/work/wsp/ck/wpatch-small-2/duplicate.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/duplicate.ck"} +{"status": "PASS", "check": "duplicate: refusal creates no output"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/old-bits.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"], "exit": 47, "expected": 47, "elapsed_ns": 3363743, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /home/drakestapleton/work/wsp/ck/wpatch-small-2/old-bits.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/old-bits.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/old-bits.ck"], "exit": 47, "expected": 47, "elapsed_ns": 3522656, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /home/drakestapleton/work/wsp/ck/wpatch-small-2/old-bits.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/old-bits.ck"} +{"status": "PASS", "check": "old-bits: refusal creates no output"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/old-moment.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"], "exit": 48, "expected": 48, "elapsed_ns": 3162446, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /home/drakestapleton/work/wsp/ck/wpatch-small-2/old-moment.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/old-moment.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/old-moment.ck"], "exit": 48, "expected": 48, "elapsed_ns": 3389008, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /home/drakestapleton/work/wsp/ck/wpatch-small-2/old-moment.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/old-moment.ck"} +{"status": "PASS", "check": "old-moment: refusal creates no output"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/entries-hash.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"], "exit": 46, "expected": 46, "elapsed_ns": 1404237, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /home/drakestapleton/work/wsp/ck/wpatch-small-2/entries-hash.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/entries-hash.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/entries-hash.ck"], "exit": 46, "expected": 46, "elapsed_ns": 1303324, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /home/drakestapleton/work/wsp/ck/wpatch-small-2/entries-hash.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/entries-hash.ck"} +{"status": "PASS", "check": "entries-hash: refusal creates no output"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/tensor-count.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"], "exit": 45, "expected": 45, "elapsed_ns": 1213323, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /home/drakestapleton/work/wsp/ck/wpatch-small-2/tensor-count.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/tensor-count.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/tensor-count.ck"], "exit": 45, "expected": 45, "elapsed_ns": 1290380, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /home/drakestapleton/work/wsp/ck/wpatch-small-2/tensor-count.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/tensor-count.ck"} +{"status": "PASS", "check": "tensor-count: refusal creates no output"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/tensor-base-sha.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"], "exit": 49, "expected": 49, "elapsed_ns": 2556584, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /home/drakestapleton/work/wsp/ck/wpatch-small-2/tensor-base-sha.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/tensor-base-sha.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/tensor-base-sha.ck"], "exit": 49, "expected": 49, "elapsed_ns": 2865994, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /home/drakestapleton/work/wsp/ck/wpatch-small-2/tensor-base-sha.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/tensor-base-sha.ck"} +{"status": "PASS", "check": "tensor-base-sha: refusal creates no output"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/tensor-out-sha.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"], "exit": 49, "expected": 49, "elapsed_ns": 5435458, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /home/drakestapleton/work/wsp/ck/wpatch-small-2/tensor-out-sha.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/tensor-out-sha.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/tensor-out-sha.ck"], "exit": 49, "expected": 49, "elapsed_ns": 5513843, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /home/drakestapleton/work/wsp/ck/wpatch-small-2/tensor-out-sha.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/tensor-out-sha.ck"} +{"status": "PASS", "check": "tensor-out-sha: refusal creates no output"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/output-sha.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"], "exit": 53, "expected": 53, "elapsed_ns": 5364897, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /home/drakestapleton/work/wsp/ck/wpatch-small-2/output-sha.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/output-sha.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/output-sha.ck"], "exit": 53, "expected": 53, "elapsed_ns": 5665028, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /home/drakestapleton/work/wsp/ck/wpatch-small-2/output-sha.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/output-sha.ck"} +{"status": "PASS", "check": "output-sha: refusal creates no output"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/output-f32-sha.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"], "exit": 54, "expected": 54, "elapsed_ns": 6710846, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /home/drakestapleton/work/wsp/ck/wpatch-small-2/output-f32-sha.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/output-f32-sha.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/output-f32-sha.ck"], "exit": 54, "expected": 54, "elapsed_ns": 7075937, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /home/drakestapleton/work/wsp/ck/wpatch-small-2/output-f32-sha.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/output-f32-sha.ck"} +{"status": "PASS", "check": "output-f32-sha: refusal creates no output"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "show", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/flipped/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp"], "exit": 30, "expected": 30, "elapsed_ns": 1077306, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch show /home/drakestapleton/work/wsp/ck/wpatch-small-2/flipped/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/flipped/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"], "exit": 30, "expected": 30, "elapsed_ns": 746839, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /home/drakestapleton/work/wsp/ck/wpatch-small-2/flipped/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "verify", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/flipped/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-1.ck"], "exit": 30, "expected": 30, "elapsed_ns": 726423, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch verify /home/drakestapleton/work/wsp/ck/wpatch-small-2/flipped/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-1.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/flipped/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/bad-apply.ck"], "exit": 30, "expected": 30, "elapsed_ns": 716439, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /home/drakestapleton/work/wsp/ck/wpatch-small-2/flipped/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/bad-apply.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "revert", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/flipped/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-1.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/bad-revert.ck"], "exit": 30, "expected": 30, "elapsed_ns": 570374, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch revert /home/drakestapleton/work/wsp/ck/wpatch-small-2/flipped/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-1.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/bad-revert.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "bind", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/flipped/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-1.ck", "/home/drakestapleton/work/wsp/wpatch-build/wpatch", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/bad-bind"], "exit": 30, "expected": 30, "elapsed_ns": 613622, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch bind /home/drakestapleton/work/wsp/ck/wpatch-small-2/flipped/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/applied-1.ck /home/drakestapleton/work/wsp/wpatch-build/wpatch /home/drakestapleton/work/wsp/ck/wpatch-small-2/bad-bind"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/truncated.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"], "exit": 32, "expected": 32, "elapsed_ns": 592422, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /home/drakestapleton/work/wsp/ck/wpatch-small-2/truncated.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "show", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/truncated.wp"], "exit": 32, "expected": 32, "elapsed_ns": 598453, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch show /home/drakestapleton/work/wsp/ck/wpatch-small-2/truncated.wp"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "diff", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "0", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/params.txt", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/rationale.txt", "/home/drakestapleton/work/wsp/ck/wpatch-small-2"], "exit": 55, "expected": 55, "elapsed_ns": 2252389, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch diff /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck 0 /home/drakestapleton/work/wsp/ck/wpatch-small-2/params.txt /home/drakestapleton/work/wsp/ck/wpatch-small-2/rationale.txt /home/drakestapleton/work/wsp/ck/wpatch-small-2"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "diff", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/wrong-m.ck", "0", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/params.txt", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/rationale.txt", "/home/drakestapleton/work/wsp/ck/wpatch-small-2"], "exit": 56, "expected": 56, "elapsed_ns": 4047478, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch diff /home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/wrong-m.ck 0 /home/drakestapleton/work/wsp/ck/wpatch-small-2/params.txt /home/drakestapleton/work/wsp/ck/wpatch-small-2/rationale.txt /home/drakestapleton/work/wsp/ck/wpatch-small-2"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "diff", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/exotic.ck", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/exotic-edited.ck", "0", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/params.txt", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/rationale.txt", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/exotic-patches"], "exit": 0, "expected": 0, "elapsed_ns": 14241987, "stdout": "/home/drakestapleton/work/wsp/ck/wpatch-small-2/exotic-patches/a426d92627d93db4de09b0e6bed92dccf6c744bb91bf13f19b1cc0ee50b63e6b.wp\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch diff /home/drakestapleton/work/wsp/ck/wpatch-small-2/exotic.ck /home/drakestapleton/work/wsp/ck/wpatch-small-2/exotic-edited.ck 0 /home/drakestapleton/work/wsp/ck/wpatch-small-2/params.txt /home/drakestapleton/work/wsp/ck/wpatch-small-2/rationale.txt /home/drakestapleton/work/wsp/ck/wpatch-small-2/exotic-patches"} +{"status": "PASS", "check": "f32 cast boundary vectors"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/exotic-patches/a426d92627d93db4de09b0e6bed92dccf6c744bb91bf13f19b1cc0ee50b63e6b.wp", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/exotic.ck"], "exit": 0, "expected": 0, "elapsed_ns": 7170258, "stdout": "PASS\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /home/drakestapleton/work/wsp/ck/wpatch-small-2/exotic-patches/a426d92627d93db4de09b0e6bed92dccf6c744bb91bf13f19b1cc0ee50b63e6b.wp /home/drakestapleton/work/wsp/ck/wpatch-small-2/exotic.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "inspect", "/home/drakestapleton/work/wsp/ck/wpatch-small-2/exotic.ck"], "exit": 0, "expected": 0, "elapsed_ns": 2490855, "stdout": "OLLMCK02 V T D H F L B P: 256 8 16 2 32 2 2 8400\nseed step total lr G fnv: 1 2 10 4569063951553953530 1 3717650157346357865\nwte 0 256x16 dtype=f64 offset=0 sha256=898afc07405721fe16488b80d246453413e7b593856b7a09cf8021bab210d1c1 rms=2.8088955232223696e306 maxabs=1.7976931348623164e308 nonfinite=3\nwpe 0 8x16 dtype=f64 offset=4096 sha256=8466ddee307934f1d085b7fc3f2f222b33f320a47b8f72c0782cd099f53c3a56 rms=2.0597512474142969e-2 maxabs=3.4688363182317480e-2 nonfinite=0\ng1 0 1x16 dtype=f64 offset=4224 sha256=8e55ebc45ecdca0459276d85bdcc502985681ca91936c7d388f36141657e7724 rms=9.9998560202156934e-1 maxabs=1.0000898116642267e0 nonfinite=0\nwq 0 16x16 dtype=f64 offset=4240 sha256=adfe7504881e98ae49edbd9bd2a8c6259a190472f5f2a301aabf76d433a26668 rms=1.9387060051204409e-2 maxabs=3.4602970449885450e-2 nonfinite=0\nwk 0 16x16 dtype=f64 offset=4496 sha256=accdb602abdaf839de2b6e98f98e399bcb00eea03cdc1e14ffe760c6012bffa8 rms=2.0086632119378893e-2 maxabs=3.4488179470423929e-2 nonfinite=0\nwv 0 16x16 dtype=f64 offset=4752 sha256=fa6b0727cb263311c2c3b75e6fea1f7902613c5051548b6cff87fecb0556f9d0 rms=2.0442612683966512e-2 maxabs=3.4608463868511711e-2 nonfinite=0\nwo 0 16x16 dtype=f64 offset=5008 sha256=b43e998b213e289c9464b79a54a04243a629061e9351882c0af8ba717ab1f27c rms=9.3607584314112308e-3 maxabs=1.7186119006150049e-2 nonfinite=0\ng2 0 1x16 dtype=f64 offset=5264 sha256=02d1cd2862c618fa82ecbe721cef53d3f0064a85c37dc3c81b60256496a551e8 rms=1.0000317542785344e0 maxabs=1.0000900660818634e0 nonfinite=0\nw1 0 16x32 dtype=f64 offset=5280 sha256=0d43f123403113f54dc36bf858225654da6ca9b2fa6dd13d34ea03df0300162d rms=1.9707409527231671e-2 maxabs=3.4604831137893370e-2 nonfinite=0\nw2 0 32x16 dtype=f64 offset=5792 sha256=ff25c2a9843e2cb7febd7173d1310c5c38d4c3b84f80d41fe477671df90958a4 rms=9.9353752213784609e-3 maxabs=1.7383742580227750e-2 nonfinite=0\ng1 1 1x16 dtype=f64 offset=6304 sha256=d5ef48d1f1f83bea39dbec4469a83b73134a957a6f7ee5c7f55d489a085e2fc2 rms=1.0000055077295755e0 maxabs=1.0000896598909829e0 nonfinite=0\nwq 1 16x16 dtype=f64 offset=6320 sha256=cd5d9460b4f8b03c13493204e04f3499387caa9332da929e17aa53b5bf93f1b9 rms=1.9395643851273927e-2 maxabs=3.4713570183186637e-2 nonfinite=0\nwk 1 16x16 dtype=f64 offset=6576 sha256=77e6c5613a0fba859e0559bee3beb70fb9e4ac007b87134dfc1e2fe482194b44 rms=2.0451505765922823e-2 maxabs=3.4557907877036364e-2 nonfinite=0\nwv 1 16x16 dtype=f64 offset=6832 sha256=a49caf53f5f318fe312bef6bc78842f4f194d97965a34d4d1903a20c325e3af6 rms=2.0283640674707430e-2 maxabs=3.4634749954325338e-2 nonfinite=0\nwo 1 16x16 dtype=f64 offset=7088 sha256=4a99000fa39bce104d6cd39bd7e6e8f108b0a120d700c1372a14614b7d2a3cf9 rms=9.5378278603200783e-3 maxabs=1.7408843619714149e-2 nonfinite=0\ng2 1 1x16 dtype=f64 offset=7344 sha256=975a6761e290c4c1493058ce603d78cf98fe638c88792c88a13d422d00044af5 rms=1.0000051625444570e0 maxabs=1.0000900629791575e0 nonfinite=0\nw1 1 16x32 dtype=f64 offset=7360 sha256=6744256441b31f1e97fe7739e0af3edbeeabb2960c9030bde44a0940f673b254 rms=1.9646243437713831e-2 maxabs=3.4519835058524788e-2 nonfinite=0\nw2 1 32x16 dtype=f64 offset=7872 sha256=f01f41002a7e3c6afa8dbfe6c69ab753d4361cf25faae3e3ea4738e7aa1f0232 rms=9.9239498616909447e-3 maxabs=1.7320015361641458e-2 nonfinite=0\ngf 0 1x16 dtype=f64 offset=8384 sha256=65aa5211ba1921da7b4c26e7667f49bf0d2a7219f2fef32dcc828fb4cf181a9a rms=1.0000070876612532e0 maxabs=1.0000900576992735e0 nonfinite=0\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch inspect /home/drakestapleton/work/wsp/ck/wpatch-small-2/exotic.ck"} +{"status": "PASS", "check": "scaled RMS survives maximum finite f64, counts nonfinite separately"} +{"status": "PASS", "check": "final base identity"} +{"status": "PASS", "checks": 685, "commands": 100, "failures": 0} diff --git a/tools/omegallm/wpatch/.crumb b/tools/omegallm/wpatch/.crumb new file mode 100644 index 0000000..f04032e --- /dev/null +++ b/tools/omegallm/wpatch/.crumb @@ -0,0 +1,20 @@ +{ + "extensions": { + "generated": { + "children": [], + "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "compiled_at": "2026-11-07T06:17:25Z", + "compiler": "crumb-compile/1", + "digest": "sha256:b422d64b6374255960b48112a3d7e2911b55c4868af25c5262907a58e74fe031", + "evidence_files": 0, + "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "files": 0, + "generated_at_commit": "0518c915dea370b3bffbb90d579b1daa5ba8b8f5", + "source_tree": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + } + }, + "layer": "tooling", + "name": "wpatch", + "purpose": "Checked Omega checkpoint patches, exact rollback, and runtime identity binding.", + "schema_version": "1.0.0" +} diff --git a/tools/omegallm/wpatch/README.md b/tools/omegallm/wpatch/README.md new file mode 100644 index 0000000..b7cd5bb --- /dev/null +++ b/tools/omegallm/wpatch/README.md @@ -0,0 +1,106 @@ +# wpatch + +CPU-only checked patches for Drake's OLLMCK02 checkpoints. The product is Omega. +It does not import model weights, run inference, open a GPU, or claim a quality +improvement. Python is an independent acceptance instrument, not a product path. + +## Build + +From the repository root, with the pinned omega-mv checkout beside it: + +```sh +OUT="$HOME/work/wsp/wpatch-build" CORE=0 sh tools/omegallm/wpatch/build.sh +``` + +`OMC` and `OMEGA_MV` can select the compiler binary and source checkout. The build +checks the compiler and SHA source identities. It composes the existing CPU ollm +sources without changing `native/omegallm`. The SHA layout comes before every +function. The ollm entry point becomes `wpollm`; SHA private symbols receive a +`ws` prefix. The exact source transformation is in `OUT/sha256.diff`. + +Compiler: omega-mv `e5b32567a7aff3ce594e3254a622a846a6cd190b`, omc SHA-256 +`2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f`. +SHA source: `om/sha256/sha256-om2.om` at that revision, SHA-256 +`dbf002dd6aa36585632b9d01d98ac3f0bd2fa0f0475082940de53638847994bb`. + +## Commands + +```text +wpatch inspect CK +wpatch inspect CK KIND LAYER R0 R1 C0 C1 +wpatch diff BASE EDITED POLICY PARAMS_FILE RATIONALE_FILE OUTDIR +wpatch show PATCH +wpatch validate PATCH BASE +wpatch apply PATCH BASE OUT +wpatch verify PATCH CK +wpatch revert PATCH EDITED OUT +wpatch bind PATCH CK RUNTIME_BIN OUT +wpatch checkbind BINDING CK RUNTIME_BIN +``` + +Indices are zero-based. Slice ends are exclusive. Tensor kinds are `wte`, `wpe`, +`g1`, `wq`, `wk`, `wv`, `wo`, `g2`, `w1`, `w2`, `gf`. Use layer zero for the three +nonlayer tensors. `w1` is D by F and `w2` is F by D, in checkpoint row-major order. +Offsets printed by inspect are flat weight indices, not byte offsets. Decimal +values are diagnostic; the adjacent 16-digit hexadecimal word is authoritative. +Inspect prints all header fields and per-tensor SHA, RMS, maximum absolute finite +value, and nonfinite count. The scaled RMS accumulates finite values, treating +nonfinite values as zero in its full-tensor denominator. Check the nonfinite +count before interpreting either statistic. + +`diff` requires matching headers apart from FNV and bit-identical m/v arrays. +It records the changed weight words and applies the requested optimizer policy +to its expected output, not to either input. Policy 0 keeps m/v; policy 1 clears +changed m; policy 2 clears changed m and v. Policies 1 and 2 save old m/v words +for exact rollback. Changes that disappear in f32 remain in the manifest. +Params and rationale are exact UTF-8 file contents, each at most 16 MiB. They may +be empty. Params need not be JSON. OUTDIR must exist. The result path is printed. + +`show` emits JSON with identities, policy, total changed count, the first twenty +entries, params and rationale. `validate` checks the base, all entries and tensor +records, and the complete simulated output including its f32 identity. `apply` +writes a new file only after this check and rechecks the written bytes. `verify` +checks an applied checkpoint and reports total edits and edits surviving f32. +`revert` restores the exact old weight and optimizer words and requires the base +SHA to match. All checkpoint-writing commands refresh the payload FNV. + +`bind` first verifies the applied checkpoint, then binds checkpoint SHA, f32 +weight SHA, runtime executable SHA and manifest SHA in a checksummed record. +`checkbind` checks that record and the checkpoint/runtime identities. It does not +load a model or invalidate an existing runtime cache. A serving caller must run +checkbind, discard cached weights and KV state, and load the exact bound files +before claiming a repaired run. Merely creating a binding is not deployment. + +No output is overwritten, including a symlink or an output equal to BASE. Patches +and bindings are created read-only. Checkpoints are mode 0600. Inputs are mapped +privately, never written. Keep all inputs and the output directory stable while +a command runs. These are integrity checks, not cryptographic signatures or +protection against a malicious concurrent writer. A crash or forced termination +can leave a partial newly created output; do not use it without verification. + +The full binary format, limits and refusal codes are in +[`docs/omegallm/WSP-PATCH.md`](../../../docs/omegallm/WSP-PATCH.md). + +## Independent acceptance + +Use a new work directory each time: + +```sh +taskset -c 0 nice -n 19 python3 tools/omegallm/wpatch/check.py \ + --build "$HOME/work/wsp/wpatch-build" --work "$HOME/work/wsp/ck/wpatch-small-new" +``` + +The instrument trains an own-model small checkpoint, checks all commands and all +optimizer policies, independently parses and hashes manifests/checkpoints, +checks f32 cast boundaries, and exercises corruptions with exact refusal codes. +It prints JSONL including each command, exit code and elapsed nanoseconds. + +For the pinned round40 fixture, add `--real PATH_TO_ROUND40/model.ck` and use a +separate work directory. It changes ten layer-3 w2 entries in a copy, performs +diff/validate/apply/verify/revert, and independently checks restored SHA and f32 +output SHA. It never writes into the source model directory. For lane wsp, first +check the pool-19 lock; use its authorized flock/core-19 wrapper if free, otherwise +core 0 at nice 19. Do not run on reserved cores 3, 7 or 15. + +Evidence: `evidence/OMEGALLM/wsp-patch-20261107/`. Host CPU execution is not GPU +qualification, a model-quality result, a merge, or a deployment. diff --git a/tools/omegallm/wpatch/build.sh b/tools/omegallm/wpatch/build.sh new file mode 100755 index 0000000..2bdf71a --- /dev/null +++ b/tools/omegallm/wpatch/build.sh @@ -0,0 +1,43 @@ +#!/bin/sh +# CPU only. Product implementation is Omega; sh/sed/git are build composition tools. +# Composition: om2, SHA layout, ollm (main -> wpollm), SHA functions, wpatch. +# Layouts must precede the first fn (error 29 otherwise). SHA functions still append +# after ollm. SHA export fn becomes fn; om2 is emitted once. Rename only non-note +# tokens: kinit->wskinit, iv->wsiv, sched->wssched, rounds->wsround, +# compress->wscomp, run->wsrun, blocks->wsblks, finish->wsfin, +# tobuf->wstobuf, absorb->wsabsb. Full mechanical diff is saved in OUT/sha256.diff. +set -eu +here=$(CDPATH= cd -- "$(dirname "$0")/../../.." && pwd) +: "${OUT:?set OUT to a private build directory}" +OMC=${OMC:-$here/../omega-mv/seed/out/omc} +OMEGA_MV=${OMEGA_MV:-$here/../omega-mv} +CORE=${CORE:-0} +export OUT OMC CORE +pin=e5b32567a7aff3ce594e3254a622a846a6cd190b +sha=dbf002dd6aa36585632b9d01d98ac3f0bd2fa0f0475082940de53638847994bb +TARGET=aarch64 sh "$here/tests/omegallm/build.sh" +git -C "$OMEGA_MV" show "$pin:om/sha256/sha256-om2.om" > "$OUT/sha256-source.om" +test "$(sha256sum "$OUT/sha256-source.om" | cut -d' ' -f1)" = "$sha" +test "$(grep -c '^fn main to int$' "$OUT/ollm.om")" = 1 +sed -n '/^layout shactx 104$/,/^end$/p' "$OUT/sha256-source.om" > "$OUT/sha256-layout.om" +sed -e '/^om2$/d' -e '/^layout shactx 104$/,/^end$/d' \ + -e 's/^export fn /fn /' \ + -e '/^note/!{s/\bkinit\b/wskinit/g;s/\biv\b/wsiv/g;s/\bsched\b/wssched/g;s/\brounds\b/wsround/g;s/\bcompress\b/wscomp/g;s/\brun\b/wsrun/g;s/\bblocks\b/wsblks/g;s/\bfinish\b/wsfin/g;s/\btobuf\b/wstobuf/g;s/\babsorb\b/wsabsb/g;}' \ + "$OUT/sha256-source.om" > "$OUT/sha256-functions.om" +{ printf 'om2\n'; cat "$OUT/sha256-layout.om" "$OUT/sha256-functions.om"; } > "$OUT/sha256-vendored.om" +diff -u "$OUT/sha256-source.om" "$OUT/sha256-vendored.om" > "$OUT/sha256.diff" || test "$?" = 1 +{ + printf 'om2\n' + cat "$OUT/sha256-layout.om" + sed -e '/^om2$/d' -e 's/^fn main to int$/fn wpollm to int/' "$OUT/ollm.om" + cat "$OUT/sha256-functions.om" "$here/tools/omegallm/wpatch/wpatch.om" +} > "$OUT/wpatch-all.om" +if taskset -c "$CORE" nice -n 19 "$OMC" < "$OUT/wpatch-all.om" > "$OUT/wpatch.new"; then + chmod +x "$OUT/wpatch.new" + mv "$OUT/wpatch.new" "$OUT/wpatch" +else + rc=$? + rm -f "$OUT/wpatch.new" + exit "$rc" +fi +sha256sum "$OMC" "$OUT/sha256-source.om" "$OUT/wpatch-all.om" "$OUT/wpatch" diff --git a/tools/omegallm/wpatch/check.py b/tools/omegallm/wpatch/check.py new file mode 100755 index 0000000..3a7336f --- /dev/null +++ b/tools/omegallm/wpatch/check.py @@ -0,0 +1,402 @@ +#!/usr/bin/env python3 +"""Independent external instrument, never imported or invoked by wpatch. + +Usage: check.py --build DIR --work DIR [--real ROUND40_CK] +Every command, return code, stdout and elapsed time is printed as JSONL. +Run in a private, previously absent --work directory. Heavy work needs the lane's +CPU lock and taskset wrapper. All fixtures are derived from own-model checkpoints. +""" +import argparse +import hashlib +import json +import math +import mmap +from pathlib import Path +import shutil +import struct +import subprocess +import time + +U = struct.Struct(' 0 and 'nonfinite=3' in wte, + 'scaled RMS survives maximum finite f64, counts nonfinite separately') + need(basep.read_bytes() == base, 'final base identity') + + +def real(build, work, source): + wp = build/'wpatch' + need(file_sha(source).hex() == BASE_SHA, 'real base pinned SHA') + edited = work/'round40-edited.ck' + shutil.copyfile(source, edited) + with edited.open('r+b') as f: + with mmap.mmap(f.fileno(),0) as mm: + hd = struct.unpack_from('<15Q',mm) + ts = tensors(hd) + off = next(t[4] for t in ts if t[:2] == (9,3)) + need(off == 8162304, 'Wolfram layer3 w2 offset') + for i in range(10): + o = 120+8*(off+i) + F.pack_into(mm,o,F.unpack_from(mm,o)[0]+0.001) + put(mm,112,fnv(memoryview(mm)[120:])) + mm.flush() + pf,rf = work/'params.txt',work/'rationale.txt' + pf.write_text('{"kind":"w2","layer":3,"entries":10,"delta":0.001}\n') + rf.write_text('Read-only round40 baseline. Checked patch integration fixture, not a quality claim.\n') + od = work/'patches' + od.mkdir() + patch = Path(run(wp,'diff',source,edited,2,pf,rf,od).strip()) + mb, rows, entries, *_ = manifest(patch) + need(len(entries) == 10 and all(e[0] == off+i for i,e in enumerate(entries)), 'real ten entry identity') + run(wp,'validate',patch,source) + out,rev = work/'round40-applied.ck',work/'round40-reverted.ck' + run(wp,'apply',patch,source,out) + run(wp,'verify',patch,out) + run(wp,'revert',patch,out,rev) + text = run('sha256sum',source,rev,out) + need(file_sha(rev).hex() == BASE_SHA, 'real byte-identical revert SHA') + need(file_sha(source).hex() == BASE_SHA, 'real base unchanged') + need(file_sha(out) == mb[128:160], 'real output SHA oracle') + with out.open('rb') as f: + with mmap.mmap(f.fileno(),0,access=mmap.ACCESS_READ) as mm: + need(f32hash(mm) == mb[160:192], 'real f32 SHA oracle') + record(real_patch=str(patch), real_hashes=text) + + +def main(): + p = argparse.ArgumentParser(description=__doc__) + p.add_argument('--build',type=Path,required=True) + p.add_argument('--work',type=Path,required=True) + p.add_argument('--real',type=Path) + a = p.parse_args() + a.build = a.build.resolve() + a.work = a.work.resolve() + a.work.mkdir(parents=True,exist_ok=False) + record(instrument='external Python stdlib only', wpatch_sha256=file_sha(a.build/'wpatch').hex()) + if a.real: + real(a.build,a.work,a.real.resolve()) + else: + small(a.build,a.work) + record(status='PASS', checks=passed, commands=commands, failures=0) + + +if __name__ == '__main__': + main() diff --git a/tools/omegallm/wpatch/wpatch.om b/tools/omegallm/wpatch/wpatch.om new file mode 100644 index 0000000..5c17d3d --- /dev/null +++ b/tools/omegallm/wpatch/wpatch.om @@ -0,0 +1,1369 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note OLLMWP01 checked checkpoint patches. All product operations are Omega. +note See WSP-PATCH.md for byte layout and refusal codes. Maps are private, never shared writes. +note Wolfram FromDigits[Reverse[ToCharacterCode["OLLMWP01"]],256] -> 3544421242629803087. +note Wolfram FromDigits[Reverse[ToCharacterCode["OLLMWB01"]],256] -> 3544405849467014223. +global wpm long 4 +global wpsz ulong 4 +global wpnt ulong 1 +global wpt ulong 1048 +global wpd uchar 256 +global wpout uchar 4100 +global wpol ulong 1 +global wpne ulong 1 +global wpeo ulong 1 +global wpes ulong 1 +global wpns ulong 1 +text wphex "0123456789abcdef" +text wpins "inspect" +text wpdif "diff" +text wpsho "show" +text wpval "validate" +text wpapp "apply" +text wpver "verify" +text wprev "revert" +text wpbin "bind" +text wpchk "checkbind" +text wpkinds "wte wpe g1 wq wk wv wo g2 w1 w2 gf " +text wpnan "NaN" +text wpinf "Inf" +text wphdr "OLLMCK02 V T D H F L B P: " +text wphdr2 "seed step total lr G fnv: " +text wptxt " dtype=f64 offset=" +text wpsha " sha256=" +text wprms " rms=" +text wpmax " maxabs=" +text wpnf " nonfinite=" +text wpok "PASS\n" +text wpsurv "PASS f32_surviving=" +text wpof " changed=" +text wpjs0 "{\"patch_sha256\":\"" +text wpjs1 "\",\"base_sha256\":\"" +text wpjs2 "\",\"output_sha256\":\"" +text wpjs3 "\",\"f32_sha256\":\"" +text wpjs4 "\",\"entries_sha256\":\"" +text wpjs5 "\",\"policy\":" +text wpjs6 ",\"changed\":" +text wpjs7 ",\"entries_first_20\":[" +text wpjs8 "],\"params\":" +text wpjs9 ",\"rationale\":" + +fn wptext s view uchar * to void +for i ulong len s +oputc ulong get s i +end +end +fn wpcmd s view uchar * to bool +n = oargp 1 +if ne n len s +ret false +end +for i ulong n +if ne get oarg i get s i +ret false +end +end +ret true +end +fn wpnl to void +oputc 10 +end +fn wpsp to void +oputc 32 +end +fn wphexout o ulong to void +for i ulong 32 +v = ulong get wpd add o i +oputc ulong get wphex shr v 4 +oputc ulong get wphex and v 15 +end +end +fn wpdget h long o ulong slot ulong to void +r = mapread h o wpd slot 32 +end +fn wpdeq h long o ulong slot ulong code int to void +b = new uchar 32 0 +r = mapread h o b 0 32 +for i ulong 32 +if ne get b i get wpd add slot i +exit code +end +end +end +fn wphash h long o ulong n ulong slot ulong to void +b = new uchar 65536 0 +c = new uchar 104 0 +d = new uchar 32 0 +sha256_init c +p = ulong 0 +while lt p n bound 999999 +k = sub n p +if gt k 65536 +k = 65536 +end +r = mapread h add o p b 0 k +sha256_update c part b 0 k +p = add p k +end +sha256_final c d +for i ulong 32 +put wpd add slot i get d i +end +end +fn wpdput h long o ulong slot ulong to void +r = mapwrite h o wpd slot 32 +end +fn wpclose h long to void +r = mapdrop h +if ne r 0 +exit 70 +end +end +fn wpopen ai ulong slot ulong to void +n = oargp ai +fd = int fopen oarg 0 n 0 0 +if lt fd 0 +exit 70 +end +sz = fseek fd 0 2 +if le sz 0 +exit 20 +end +if gt sz 2400000000 +exit 21 +end +h = mapnew fd 0 ulong sz 3 2 +r = fclose fd +if or lt h 0 ne r 0 +exit 70 +end +put wpm slot h +put wpsz slot ulong sz +end +fn wpnew slot ulong n ulong to void +h = mapnew int -1 0 n 3 34 +if lt h 0 +exit 70 +end +put wpm slot h +put wpsz slot n +end +fn wpget slot ulong o ulong to ulong +ret mapget get wpm slot o 8 +end +fn wpput slot ulong o ulong v ulong to void +r = mapset get wpm slot o 8 v +end +fn wpcopy src long dst long so ulong doff ulong n ulong to void +b = new uchar 65536 0 +p = ulong 0 +while lt p n bound 999999 +k = sub n p +if gt k 65536 +k = 65536 +end +r = mapread src add so p b 0 k +r = mapwrite dst add doff p b 0 k +p = add p k +end +end +fn wpfnv h long n ulong to ulong +b = new uchar 65536 0 +v = ulong 14695981039346656037 +p = ulong 120 +while lt p n bound 999999 +k = sub n p +if gt k 65536 +k = 65536 +end +r = mapread h p b 0 k +for i ulong k +v = mul xor v ulong get b i 1099511628211 +end +p = add p k +end +ret v +end +fn wpfput f edit uchar 32768 o ulong v ulong to void +for j ulong 4 +put f add o j uchar and shr v mul j 8 255 +end +end +fn wpcast b view uchar 65536 f edit uchar 32768 k ulong to void +for i ulong k +u = ulong 0 +for j ulong 8 +u = or u shl ulong get b add mul i 8 j mul j 8 +end +v = ulong bitcast uint f32 bitcast f64 u +wpfput f mul i 4 v +end +end +fn wpfchunk slot ulong p ulong k ulong c edit uchar 104 to void +b = new uchar 65536 0 +f = new uchar 32768 0 +o = add 120 mul p 8 +n = mul k 8 +r = mapread get wpm slot o b 0 n +wpcast b f k +sha256_update c part f 0 mul k 4 +end +fn wpf32 slot ulong ds ulong to void +c = new uchar 104 0 +d = new uchar 32 0 +sha256_init c +p = ulong 0 +while lt p get og 8 bound 999999 +k = sub get og 8 p +if gt k 8192 +k = 8192 +end +wpfchunk slot p k c +p = add p k +end +sha256_final c d +for i ulong 32 +put wpd add ds i get d i +end +end +note Tensor table stride 8: kind, layer, rows, cols, flat offset, length, changed count, reserved. +fn wptadd k ulong l ulong r ulong c ulong off ulong to void +q = mul get wpnt 0 8 +put wpt q k +put wpt add q 1 l +put wpt add q 2 r +put wpt add q 3 c +put wpt add q 4 off +put wpt add q 5 mul r c +put wpt add q 6 0 +put wpnt 0 add get wpnt 0 1 +end +fn wptensor to void +put wpnt 0 0 +d = get og 2 +wptadd 0 0 get og 0 d 0 +wptadd 1 0 get og 1 d get og 30 +for l ulong get og 5 +wptadd 2 l 1 d opg1 l +wptadd 3 l d d opwq l +wptadd 4 l d d opwk l +wptadd 5 l d d opwv l +wptadd 6 l d d opwo l +wptadd 7 l 1 d opg2 l +wptadd 8 l d get og 4 opw1 l +wptadd 9 l get og 4 d opw2 l +end +wptadd 10 0 1 d get og 33 +end +fn wphead slot ulong to void +if lt get wpsz slot 120 +exit 20 +end +if ne wpget slot 0 3616473253210246223 +exit 22 +end +for i ulong 7 +put og i wpget slot mul add i 1 8 +end +if not ogeom +exit 23 +end +if ne wpget slot 96 get og 8 +exit 24 +end +if ne get wpsz slot add 120 mul 24 get og 8 +exit 25 +end +if not ogok2 wpget slot 104 +exit 23 +end +if gt wpget slot 80 999999 +exit 23 +end +wptensor +end +fn wpck slot ulong to void +wphead slot +if ne wpfnv get wpm slot get wpsz slot wpget slot 112 +exit 26 +end +end +fn wpvalidval u ulong to void +v = bitcast f64 u +if ne v v +exit 40 +end +if eq and shr u 52 2047 2047 +exit 41 +end +if gt fabs v 1000000.0 +exit 42 +end +end +fn wptname k ulong to void +for i ulong 4 +v = ulong get wpkinds add mul k 4 i +if ne v 32 +oputc v +end +end +end +note Scientific decimal, 17 significant digits. Hex bits beside it are the exact authority. +fn wpdec v f64 to void +if ne v v +wptext wpnan +ret +end +if eq fabs v bitcast f64 ulong 9218868437227405312 +if lt v 0.0 +oputc 45 +end +wptext wpinf +ret +end +x = fabs v +if ne and bitcast ulong v 9223372036854775808 0 +oputc 45 +end +if eq x 0.0 +oputc 48 +ret +end +e = long 0 +while ge x 10.0 bound 400 +x = div x 10.0 +e = add e 1 +end +while lt x 1.0 bound 400 +x = mul x 10.0 +e = sub e 1 +end +for i ulong 17 +q = ulong x +if gt q 9 +q = 9 +end +oputc add q 48 +if eq i 0 +oputc 46 +end +x = mul sub x f64 q 10.0 +end +oputc 101 +oputl e +end +global wpsacc f64 2 +global wpnacc ulong 1 +fn wpstblk st ulong nn ulong to void +ss = get wpsacc 0 +mx = get wpsacc 1 +nf = get wpnacc 0 +for j ulong nn +v = bitcast f64 wpget 1 add 120 mul add st j 8 +if or ne v v eq fabs v bitcast f64 ulong 9218868437227405312 +nf = add nf 1 +else +av = fabs v +if gt av mx +r = div mx av +ss = add 1.0 mul ss mul r r +mx = av +else +if gt av 0.0 +r = div av mx +ss = add ss mul r r +end +end +end +end +put wpsacc 0 ss +put wpsacc 1 mx +put wpnacc 0 nf +end +fn wpstats ti ulong to void +q = mul ti 8 +st = get wpt add q 4 +nn = get wpt add q 5 +put wpsacc 0 0.0 +put wpsacc 1 0.0 +put wpnacc 0 0 +for blk ulong div add nn 65535 65536 +lo = mul blk 65536 +hi = sub nn lo +if gt hi 65536 +hi = 65536 +end +wpstblk add st lo hi +end +wptext wprms +wpdec mul get wpsacc 1 fsqrt div get wpsacc 0 f64 nn +wptext wpmax +wpdec get wpsacc 1 +wptext wpnf +oputu get wpnacc 0 +end +fn wpht slot ulong q ulong to void +o = add 120 mul get wpt add q 4 8 +n = mul get wpt add q 5 8 +wphash get wpm slot o n 0 +end +fn wpinspect to void +if and ne oargc 3 ne oargc 9 +exit 2 +end +wpopen 2 1 +wpck 1 +wptext wphdr +for i ulong 7 +oputu get og i +wpsp +end +oputu get og 8 +wpnl +wptext wphdr2 +for i ulong 4 +oputu wpget 1 add 64 mul i 8 +wpsp +end +oputu wpget 1 104 +wpsp +oputu wpget 1 112 +wpnl +if eq oargc 9 +wpslice +ret +end +for t ulong get wpnt 0 +q = mul t 8 +wptname get wpt q +wpsp +oputu get wpt add q 1 +wpsp +oputu get wpt add q 2 +oputc 120 +oputu get wpt add q 3 +wptext wptxt +oputu get wpt add q 4 +wpht 1 q +wptext wpsha +wphexout 0 +wpstats t +wpnl +end +end +fn wpkmatch k ulong to bool +n = oargp 3 +if gt n 3 +ret false +end +for i ulong n +if ne get oarg i get wpkinds add mul k 4 i +ret false +end +end +ret eq get wpkinds add mul k 4 n 32 +end +fn wpslice to void +ly = oargu 4 +r0 = oargu 5 +r1 = oargu 6 +c0 = oargu 7 +c1 = oargu 8 +for t ulong get wpnt 0 +q = mul t 8 +if and wpkmatch get wpt q eq ly get wpt add q 1 +if or gt r0 r1 gt c0 c1 +exit 27 +end +if gt r1 get wpt add q 2 +exit 27 +end +if gt c1 get wpt add q 3 +exit 27 +end +wpslcprt q r0 r1 c0 c1 +ret +end +end +exit 27 +end +fn wpslcprt q ulong r0 ulong r1 ulong c0 ulong c1 ulong to void +for rr ulong sub r1 r0 +for cc ulong sub c1 c0 +wpslcval q add rr r0 add cc c0 +end +end +end +fn wpslcval q ulong rr ulong cc ulong to void +ix = mul rr get wpt add q 3 +ix = add ix get wpt add q 4 +ix = add ix cc +u = wpget 1 add 120 mul ix 8 +oputu rr +wpsp +oputu cc +wpsp +wpdec bitcast f64 u +wpsp +oputx u +wpnl +end +note Hash names are recognized in either hex case. Only canonical lower-case spelling is accepted. +fn wpname ai ulong slot ulong to void +n = oargp ai +st = ulong 0 +for i ulong n +if eq get oarg i 47 +st = add i 1 +end +end +if ne sub n st 67 +ret +end +if ne get oarg add st 64 46 +ret +end +if or ne get oarg add st 65 119 ne get oarg add st 66 112 +ret +end +for i ulong 64 +v = ulong get oarg add st i +ok = or and ge v 48 le v 57 and ge v 97 le v 102 +ok = or ok and ge v 65 le v 70 +if not ok +ret +end +end +for i ulong 64 +v = ulong get wpd add slot div i 2 +if eq rem i 2 0 +v = shr v 4 +else +v = and v 15 +end +if ne get oarg add st i get wphex v +exit 30 +end +end +end +note Metadata text is strict UTF-8, including rejection of overlong and surrogate sequences. +global wpuf ulong 3 +fn wputfb v ulong to void +need = get wpuf 0 +lo = get wpuf 1 +hi = get wpuf 2 +if gt need 0 +if or lt v lo gt v hi +exit 31 +end +need = sub need 1 +lo = 128 +hi = 191 +else +if ge v 128 +if or lt v 194 gt v 244 +exit 31 +end +need = 1 +if ge v 224 +need = 2 +end +if ge v 240 +need = 3 +end +if eq v 224 +lo = 160 +end +if eq v 237 +hi = 159 +end +if eq v 240 +lo = 144 +end +if eq v 244 +hi = 143 +end +end +end +put wpuf 0 need +put wpuf 1 lo +put wpuf 2 hi +end +fn wputf h long off ulong nn ulong to void +b = new uchar 65536 0 +put wpuf 0 0 +put wpuf 1 128 +put wpuf 2 191 +p = ulong 0 +while lt p nn bound 999999 +k = sub nn p +if gt k 65536 +k = 65536 +end +r = mapread h add off p b 0 k +for i ulong k +wputfb ulong get b i +end +p = add p k +end +if ne get wpuf 0 0 +exit 31 +end +end +fn wpload to void +wpopen 2 0 +if lt get wpsz 0 376 +exit 32 +end +wphash get wpm 0 0 get wpsz 0 192 +wpname 2 192 +if ne wpget 0 0 3544421242629803087 +exit 33 +end +if ne wpget 0 8 get wpsz 0 +exit 32 +end +put wpol 0 wpget 0 16 +if gt get wpol 0 2 +exit 34 +end +if or ne wpget 0 240 120 ne wpget 0 248 0 +exit 33 +end +put wpne 0 wpget 0 32 +if or eq get wpne 0 0 gt get wpne 0 29995392 +exit 35 +end +if gt wpget 0 24 131 +exit 36 +end +put wpes 0 24 +if ne get wpol 0 0 +put wpes 0 40 +end +put wpeo 0 add 376 mul wpget 0 24 128 +n = add get wpeo 0 mul get wpne 0 get wpes 0 +if gt n get wpsz 0 +exit 32 +end +if gt wpget 0 224 sub get wpsz 0 n +exit 32 +end +n = add n wpget 0 224 +if ne wpget 0 232 sub get wpsz 0 n +exit 32 +end +wputf get wpm 0 sub n wpget 0 224 wpget 0 224 +wputf get wpm 0 n wpget 0 232 +end +fn wpgeometry to void +if ne wpget 0 40 get og 8 +exit 36 +end +for i ulong 6 +if ne wpget 0 add 48 mul i 8 get og i +exit 36 +end +end +if ne wpget 0 24 get wpnt 0 +exit 36 +end +for t ulong get wpnt 0 +q = mul t 8 +r = add 376 mul t 128 +for j ulong 4 +if ne wpget 0 add r mul j 8 get wpt add q j +exit 37 +end +end +if or ne wpget 0 add r 32 64 ne wpget 0 add r 56 0 +exit 37 +end +if ne wpget 0 add r 40 get wpt add q 4 +exit 37 +end +end +end +fn wpefield e ulong f ulong to ulong +ret wpget 0 add get wpeo 0 add mul e get wpes 0 f +end +fn wpentry e ulong prev ulong to ulong +ix = wpefield e 0 +if ge ix get og 8 +exit 38 +end +if gt e 0 +if lt ix prev +exit 39 +end +if eq ix prev +exit 43 +end +end +wpvalidval wpefield e 16 +if eq wpefield e 8 wpefield e 16 +exit 44 +end +ret ix +end +fn wptend t ulong to ulong +q = mul t 8 +ret add get wpt add q 4 get wpt add q 5 +end +global wpest ulong 2 +fn wpeblock lo ulong nn ulong to void +prev = get wpest 0 +t = get wpest 1 +for j ulong nn +ix = wpentry add lo j prev +prev = ix +while ge ix wptend t bound 132 +t = add t 1 +end +q = add mul t 8 6 +put wpt q add get wpt q 1 +end +put wpest 0 prev +put wpest 1 t +end +fn wpentries to void +put wpest 0 0 +put wpest 1 0 +for blk ulong div add get wpne 0 65535 65536 +lo = mul blk 65536 +nn = sub get wpne 0 lo +if gt nn 65536 +nn = 65536 +end +wpeblock lo nn +end +for t ulong get wpnt 0 +if ne get wpt add mul t 8 6 wpget 0 add 424 mul t 128 +exit 45 +end +end +wphash get wpm 0 get wpeo 0 mul get wpne 0 get wpes 0 0 +wpdeq get wpm 0 192 0 46 +end +fn wpold e ulong rev bool to void +ix = wpefield e 0 +o = add 120 mul ix 8 +want = wpefield e 8 +if rev +want = wpefield e 16 +end +if ne wpget 1 o want +exit 47 +end +if ne get wpol 0 0 +want = wpefield e 24 +if rev +want = 0 +end +if ne wpget 1 add o mul get og 8 8 want +exit 48 +end +want = wpefield e 32 +if and rev eq get wpol 0 2 +want = 0 +end +if ne wpget 1 add o mul get og 8 16 want +exit 48 +end +end +end +fn wptchecks slot ulong rev bool to void +for t ulong get wpnt 0 +q = mul t 8 +wpht slot q +ao = add 440 mul t 128 +if rev +ao = add ao 32 +end +wpdeq get wpm 0 ao 0 49 +end +end +fn wpvalidate rev bool to void +wpck 1 +wpgeometry +wpentries +if not rev +for i ulong 15 +if ne wpget 0 add 256 mul i 8 wpget 1 mul i 8 +exit 36 +end +end +end +wphash get wpm 1 0 get wpsz 1 0 +ao = ulong 96 +if rev +ao = 128 +end +wpdeq get wpm 0 ao 0 50 +wptchecks 1 rev +for blk ulong div add get wpne 0 65535 65536 +lo = mul blk 65536 +nn = sub get wpne 0 lo +if gt nn 65536 +nn = 65536 +end +for j ulong nn +wpold add lo j rev +end +end +end +fn wpchange e ulong rev bool to void +ix = wpefield e 0 +o = add 120 mul ix 8 +want = wpefield e 16 +if rev +want = wpefield e 8 +end +wpput 2 o want +if ne get wpol 0 0 +want = ulong 0 +if rev +want = wpefield e 24 +end +wpput 2 add o mul get og 8 8 want +if eq get wpol 0 2 +want = 0 +if rev +want = wpefield e 32 +end +wpput 2 add o mul get og 8 16 want +end +end +end +fn wptransform rev bool to void +wpnew 2 get wpsz 1 +wpcopy get wpm 1 get wpm 2 0 0 get wpsz 1 +for blk ulong div add get wpne 0 65535 65536 +lo = mul blk 65536 +nn = sub get wpne 0 lo +if gt nn 65536 +nn = 65536 +end +for j ulong nn +wpchange add lo j rev +end +end +wpput 2 112 wpfnv get wpm 2 get wpsz 2 +end +fn wpoutpath ai ulong to void +n = oargp ai +put wpns 0 n +for i ulong n +put wpout i get oarg i +end +end +fn wpabort fd int code int to void +r = fclose fd +r = unlink wpout 0 get wpns 0 +if ne r 0 +exit 71 +end +exit code +end +fn wpsave slot ulong readonly bool to void +fd = int fopen wpout 0 get wpns 0 193 384 +if eq fd -17 +exit 52 +end +if lt fd 0 +exit 70 +end +b = new uchar 65536 0 +p = ulong 0 +while lt p get wpsz slot bound 999999 +k = sub get wpsz slot p +if gt k 65536 +k = 65536 +end +r = mapread get wpm slot p b 0 k +j = ulong 0 +while lt j k bound 65537 +r = write fd b j sub k j +if le r 0 +wpabort fd 70 +end +j = add j ulong r +end +p = add p k +end +if ne fsync fd 0 +wpabort fd 70 +end +if readonly +if ne fchmod fd 292 0 +wpabort fd 70 +end +end +if ne fclose fd 0 +wpabort fd 70 +end +end +fn wpoutputcheck rev bool to void +wphash get wpm 2 0 get wpsz 2 0 +ao = ulong 128 +if rev +ao = 96 +end +wpdeq get wpm 0 ao 0 53 +wptchecks 2 not rev +if not rev +wpf32 2 0 +wpdeq get wpm 0 160 0 54 +end +end +fn wpapply rev bool to void +if ne oargc 5 +exit 2 +end +wpload +wpopen 3 1 +wpvalidate rev +wptransform rev +wpoutputcheck rev +wpoutpath 4 +wpsave 2 false +wpclose get wpm 2 +wpopen 4 2 +wphash get wpm 2 0 get wpsz 2 0 +ao = ulong 128 +if rev +ao = 96 +end +if not wpdequal get wpm 0 ao 0 +wpabort int -1 53 +end +if not rev +wpf32 2 0 +if not wpdequal get wpm 0 160 0 +wpabort int -1 54 +end +end +wptext wpok +end +fn wpdequal h long o ulong slot ulong to bool +b = new uchar 32 0 +r = mapread h o b 0 32 +for i ulong 32 +if ne get b i get wpd add slot i +ret false +end +end +ret true +end +fn wpsurvive e ulong to bool +a = bitcast uint f32 bitcast f64 wpefield e 8 +b = bitcast uint f32 bitcast f64 wpefield e 16 +ret ne a b +end +fn wpverify to void +if ne oargc 4 +exit 2 +end +wpload +wpopen 3 1 +wpvalidate true +wpf32 1 0 +wpdeq get wpm 0 160 0 54 +surv = ulong 0 +for blk ulong div add get wpne 0 65535 65536 +lo = mul blk 65536 +nn = sub get wpne 0 lo +if gt nn 65536 +nn = 65536 +end +for j ulong nn +if wpsurvive add lo j +surv = add surv 1 +end +end +end +wptext wpsurv +oputu surv +wptext wpof +oputu get wpne 0 +wpnl +end +note Count weight changes and require identical Adam payload before creating a manifest. +fn wpdcblk st ulong nn ulong to ulong +cnt = ulong 0 +for j ulong nn +o = add 120 mul add st j 8 +if ne wpget 1 o wpget 2 o +wpvalidval wpget 2 o +cnt = add cnt 1 +end +end +ret cnt +end +fn wpdcpart q ulong to void +st = get wpt add q 4 +nn = get wpt add q 5 +cnt = ulong 0 +for blk ulong div add nn 65535 65536 +lo = mul blk 65536 +kk = sub nn lo +if gt kk 65536 +kk = 65536 +end +cnt = add cnt wpdcblk add st lo kk +end +put wpt add q 6 cnt +put wpne 0 add get wpne 0 cnt +end +fn wpdcount to void +put wpne 0 0 +for t ulong get wpnt 0 +wpdcpart mul t 8 +end +if eq get wpne 0 0 +exit 55 +end +wphash get wpm 1 add 120 mul get og 8 8 mul get og 8 16 0 +wphash get wpm 2 add 120 mul get og 8 8 mul get og 8 16 32 +for i ulong 32 +if ne get wpd i get wpd add i 32 +exit 56 +end +end +end +fn wpdrecords to void +for t ulong get wpnt 0 +q = mul t 8 +r = add 376 mul t 128 +for j ulong 4 +wpput 0 add r mul j 8 get wpt add q j +end +wpput 0 add r 32 64 +wpput 0 add r 40 get wpt add q 4 +wpput 0 add r 48 get wpt add q 6 +wpht 1 q +wpdput get wpm 0 add r 64 0 +wpht 2 q +wpdput get wpm 0 add r 96 0 +end +end +fn wpdemit ix ulong e ulong to void +o = add 120 mul ix 8 +r = add get wpeo 0 mul e get wpes 0 +wpput 0 r ix +wpput 0 add r 8 wpget 1 o +wpput 0 add r 16 wpget 2 o +if ne get wpol 0 0 +wpput 0 add r 24 wpget 1 add o mul get og 8 8 +wpput 0 add r 32 wpget 1 add o mul get og 8 16 +wpput 2 add o mul get og 8 8 0 +if eq get wpol 0 2 +wpput 2 add o mul get og 8 16 0 +end +end +end +fn wpdeblk lo ulong nn ulong first ulong to ulong +e = first +for j ulong nn +ix = add lo j +o = add 120 mul ix 8 +if ne wpget 1 o wpget 2 o +wpdemit ix e +e = add e 1 +end +end +ret e +end +fn wpdentries to void +e = ulong 0 +for blk ulong div add get og 8 65535 65536 +lo = mul blk 65536 +nn = sub get og 8 lo +if gt nn 65536 +nn = 65536 +end +e = wpdeblk lo nn e +end +wpput 2 112 wpfnv get wpm 2 get wpsz 2 +end +fn wpmeta ai ulong off ulong nn ulong to void +if eq nn 0 +ret +end +wpopen ai 3 +wputf get wpm 3 0 nn +wpcopy get wpm 3 get wpm 0 0 off nn +wpclose get wpm 3 +end +fn wpdheader pn ulong rn ulong to void +wpput 0 0 3544421242629803087 +wpput 0 8 get wpsz 0 +wpput 0 16 get wpol 0 +wpput 0 24 get wpnt 0 +wpput 0 32 get wpne 0 +wpput 0 40 get og 8 +for i ulong 6 +wpput 0 add 48 mul i 8 get og i +end +wpput 0 224 pn +wpput 0 232 rn +wpput 0 240 120 +wpcopy get wpm 1 get wpm 0 0 256 120 +wphash get wpm 1 0 get wpsz 1 0 +wpdput get wpm 0 96 0 +wphash get wpm 2 0 get wpsz 2 0 +wpdput get wpm 0 128 0 +wpf32 2 0 +wpdput get wpm 0 160 0 +wphash get wpm 0 get wpeo 0 mul get wpne 0 get wpes 0 0 +wpdput get wpm 0 192 0 +end +fn wpdpath to void +wpoutpath 7 +n = get wpns 0 +if gt n 4000 +exit 2 +end +put wpout n 47 +n = add n 1 +for i ulong 32 +v = ulong get wpd add 192 i +put wpout add n mul i 2 get wphex shr v 4 +put wpout add add n mul i 2 1 get wphex and v 15 +end +n = add n 64 +put wpout n 46 +put wpout add n 1 119 +put wpout add n 2 112 +put wpns 0 add n 3 +end +fn wpdiff to void +if ne oargc 8 +exit 2 +end +put wpol 0 oargu 4 +if gt get wpol 0 2 +exit 34 +end +wpopen 2 1 +wpck 1 +wpopen 3 2 +if ne get wpsz 1 get wpsz 2 +exit 36 +end +for i ulong 14 +if ne wpget 1 mul i 8 wpget 2 mul i 8 +exit 36 +end +end +if ne wpfnv get wpm 2 get wpsz 2 wpget 2 112 +exit 26 +end +wpdcount +pn = ofsz 5 +rn = ofsz 6 +if or gt pn 16777216 gt rn 16777216 +exit 57 +end +put wpes 0 24 +if ne get wpol 0 0 +put wpes 0 40 +end +put wpeo 0 add 376 mul get wpnt 0 128 +n = add get wpeo 0 mul get wpne 0 get wpes 0 +wpnew 0 add n add pn rn +wpdrecords +wpdentries +wpdheader pn rn +wpmeta 5 n pn +wpmeta 6 add n pn rn +wphash get wpm 0 0 get wpsz 0 192 +wpdpath +wpsave 0 true +for i ulong get wpns 0 +oputc ulong get wpout i +end +wpnl +end +fn wpjson h long off ulong nn ulong to void +b = new uchar 65536 0 +oputc 34 +p = ulong 0 +while lt p nn bound 999999 +k = sub nn p +if gt k 65536 +k = 65536 +end +r = mapread h add off p b 0 k +for i ulong k +v = ulong get b i +if or eq v 34 eq v 92 +oputc 92 +oputc v +else +if lt v 32 +oputc 92 +oputc 117 +oputc 48 +oputc 48 +oputc ulong get wphex shr v 4 +oputc ulong get wphex and v 15 +else +oputc v +end +end +end +p = add p k +end +oputc 34 +end +fn wpshow to void +if ne oargc 3 +exit 2 +end +wpload +wptext wpjs0 +wphexout 192 +wptext wpjs1 +wpdget get wpm 0 96 0 +wphexout 0 +wptext wpjs2 +wpdget get wpm 0 128 0 +wphexout 0 +wptext wpjs3 +wpdget get wpm 0 160 0 +wphexout 0 +wptext wpjs4 +wpdget get wpm 0 192 0 +wphexout 0 +wptext wpjs5 +oputu get wpol 0 +wptext wpjs6 +oputu get wpne 0 +wptext wpjs7 +nn = get wpne 0 +if gt nn 20 +nn = 20 +end +for e ulong nn +if gt e 0 +oputc 44 +end +oputc 91 +oputu wpefield e 0 +for j ulong sub div get wpes 0 8 1 +oputc 44 +oputc 34 +oputx wpefield e mul add j 1 8 +oputc 34 +end +oputc 93 +end +n = add get wpeo 0 mul get wpne 0 get wpes 0 +wptext wpjs8 +wpjson get wpm 0 n wpget 0 224 +wptext wpjs9 +wpjson get wpm 0 add n wpget 0 224 wpget 0 232 +oputc 125 +wpnl +end +note Binding is 168 bytes: magic, checkpoint/f32/runtime/patch SHA-256, then record SHA-256. +fn wpbind to void +if ne oargc 6 +exit 2 +end +wpload +wpopen 3 1 +wpvalidate true +wpf32 1 0 +wpdeq get wpm 0 160 0 54 +wpnew 2 168 +wpput 2 0 3544405849467014223 +wpcopy get wpm 0 get wpm 2 128 8 64 +wphash get wpm 0 0 get wpsz 0 0 +wpdput get wpm 2 104 0 +wpopen 4 3 +wphash get wpm 3 0 get wpsz 3 0 +wpdput get wpm 2 72 0 +wphash get wpm 2 0 136 0 +wpdput get wpm 2 136 0 +wpoutpath 5 +wpsave 2 true +wptext wpok +end +fn wpcheckbind to void +if ne oargc 5 +exit 2 +end +wpopen 2 0 +if ne get wpsz 0 168 +exit 58 +end +if ne wpget 0 0 3544405849467014223 +exit 58 +end +wphash get wpm 0 0 136 0 +wpdeq get wpm 0 136 0 59 +wpopen 3 1 +wpck 1 +wphash get wpm 1 0 get wpsz 1 0 +wpdeq get wpm 0 8 0 60 +wpf32 1 0 +wpdeq get wpm 0 40 0 61 +wpopen 4 3 +wphash get wpm 3 0 get wpsz 3 0 +wpdeq get wpm 0 72 0 62 +wptext wpok +end +fn main to int +if lt oargc 2 +ret 2 +end +if wpcmd wpins +wpinspect +else +if wpcmd wpdif +wpdiff +else +if wpcmd wpsho +wpshow +else +if wpcmd wpval +if ne oargc 4 +ret 2 +end +wpload +wpopen 3 1 +wpvalidate false +wptransform false +wpoutputcheck false +wptext wpok +else +if wpcmd wpapp +wpapply false +else +if wpcmd wprev +wpapply true +else +if wpcmd wpver +wpverify +else +if wpcmd wpbin +wpbind +else +if wpcmd wpchk +wpcheckbind +else +ret 2 +end +end +end +end +end +end +end +end +end +oflush +ret 0 +end From ca047de8e449dac95ae8cbfe1eaeb8c1cd93ffac Mon Sep 17 00:00:00 2001 From: Drake Stapleton <213298340+drakestapleton@users.noreply.github.com> Date: Sat, 7 Nov 2026 00:22:13 -0600 Subject: [PATCH 2/4] docs(wpatch): record actual build subprocess tool versions --- docs/omegallm/WSP-PATCH.md | 4 +- .../wsp-patch-20261107/host-tools.json | 94 +++++++++++++++++++ 2 files changed, 96 insertions(+), 2 deletions(-) create mode 100644 evidence/OMEGALLM/wsp-patch-20261107/host-tools.json diff --git a/docs/omegallm/WSP-PATCH.md b/docs/omegallm/WSP-PATCH.md index e1500a2..483befa 100644 --- a/docs/omegallm/WSP-PATCH.md +++ b/docs/omegallm/WSP-PATCH.md @@ -185,8 +185,8 @@ errors, not successful refusals; no trap is counted as an expected test result. `evidence/OMEGALLM/wsp-patch-20261107/` records host CPU execution, the source composition diff, exact identities, small acceptance and round40 rollback. All product transformations and hashing are Omega. Build orchestration currently -uses dash 0.5.12-6ubuntu5, sed 0.1.1, git 2.43.0, sha256sum 0.8.0, diff -(pi-uu-diff) 0.8.0, taskset util-linux 2.39.3 and GNU nice 9.4. The shell composition +uses dash 0.5.12-6ubuntu5, GNU sed 4.9, git 2.43.0, GNU sha256sum 9.4, +GNU diffutils 3.10, taskset util-linux 2.39.3 and GNU nice 9.4. The shell composition role is the existing build path; its Omega replacement would be a bounded source composer, not a hidden host implementation of checkpoint editing. The compiler is a pinned verification/build tool. Python 3.12.3 and hashlib/struct/mmap are diff --git a/evidence/OMEGALLM/wsp-patch-20261107/host-tools.json b/evidence/OMEGALLM/wsp-patch-20261107/host-tools.json new file mode 100644 index 0000000..28d68f9 --- /dev/null +++ b/evidence/OMEGALLM/wsp-patch-20261107/host-tools.json @@ -0,0 +1,94 @@ +[ + { + "command": [ + "sh", + "-c", + "command -v sed; command -v sha256sum; command -v diff" + ], + "exit": 0, + "stdout": "/usr/bin/sed\n/usr/bin/sha256sum\n/usr/bin/diff\n", + "stderr": "" + }, + { + "command": [ + "dpkg-query", + "-W", + "dash" + ], + "exit": 0, + "stdout": "dash\t0.5.12-6ubuntu5\n", + "stderr": "" + }, + { + "command": [ + "sed", + "--version" + ], + "exit": 0, + "stdout": "sed (GNU sed) 4.9\nPackaged by Debian\nCopyright (C) 2022 Free Software Foundation, Inc.\nLicense GPLv3+: GNU GPL version 3 or later .\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.\n\nWritten by Jay Fenlason, Tom Lord, Ken Pizzini,\nPaolo Bonzini, Jim Meyering, and Assaf Gordon.\n\nThis sed program was built with SELinux support.\nSELinux is disabled on this system.\n\nGNU sed home page: .\nGeneral help using GNU software: .\nE-mail bug reports to: .\n", + "stderr": "" + }, + { + "command": [ + "sha256sum", + "--version" + ], + "exit": 0, + "stdout": "sha256sum (GNU coreutils) 9.4\nCopyright (C) 2023 Free Software Foundation, Inc.\nLicense GPLv3+: GNU GPL version 3 or later .\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.\n\nWritten by Ulrich Drepper, Scott Miller, and David Madore.\n", + "stderr": "" + }, + { + "command": [ + "diff", + "--version" + ], + "exit": 0, + "stdout": "diff (GNU diffutils) 3.10\nCopyright (C) 2023 Free Software Foundation, Inc.\nLicense GPLv3+: GNU GPL version 3 or later .\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.\n\nWritten by Paul Eggert, Mike Haertel, David Hayes,\nRichard Stallman, and Len Tower.\n", + "stderr": "" + }, + { + "command": [ + "git", + "--version" + ], + "exit": 0, + "stdout": "git version 2.43.0\n", + "stderr": "" + }, + { + "command": [ + "taskset", + "--version" + ], + "exit": 0, + "stdout": "taskset from util-linux 2.39.3\n", + "stderr": "" + }, + { + "command": [ + "nice", + "--version" + ], + "exit": 0, + "stdout": "nice (GNU coreutils) 9.4\nCopyright (C) 2023 Free Software Foundation, Inc.\nLicense GPLv3+: GNU GPL version 3 or later .\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.\n\nWritten by David MacKenzie.\n", + "stderr": "" + }, + { + "command": [ + "python3", + "--version" + ], + "exit": 0, + "stdout": "Python 3.12.3\n", + "stderr": "" + }, + { + "command": [ + "uname", + "-srmo" + ], + "exit": 0, + "stdout": "Linux 7.0.0-1019-nvidia aarch64 GNU/Linux\n", + "stderr": "" + } +] From 1a9c30e59fed0423e87aef15056285d93e60e506 Mon Sep 17 00:00:00 2001 From: Drake Stapleton <213298340+drakestapleton@users.noreply.github.com> Date: Sat, 7 Nov 2026 00:37:56 -0600 Subject: [PATCH 3/4] fix(wpatch): enforce admission bounds and independently verify requested edits --- docs/omegallm/WSP-PATCH.md | 7 +- .../OMEGALLM/wsp-patch-20261107/REVIEW.md | 69 ++ .../wsp-patch-20261107/review-before.json | 73 ++ .../wsp-patch-20261107/review-build.log | 7 + .../wsp-patch-20261107/review-crumb.log | 13 + .../wsp-patch-20261107/review-real.jsonl | 34 + .../wsp-patch-20261107/review-small.jsonl | 816 ++++++++++++++++++ tools/omegallm/wpatch/.crumb | 10 +- tools/omegallm/wpatch/README.md | 34 +- tools/omegallm/wpatch/check.py | 100 ++- tools/omegallm/wpatch/wpatch.om | 3 + 11 files changed, 1148 insertions(+), 18 deletions(-) create mode 100644 evidence/OMEGALLM/wsp-patch-20261107/REVIEW.md create mode 100644 evidence/OMEGALLM/wsp-patch-20261107/review-before.json create mode 100644 evidence/OMEGALLM/wsp-patch-20261107/review-build.log create mode 100644 evidence/OMEGALLM/wsp-patch-20261107/review-crumb.log create mode 100644 evidence/OMEGALLM/wsp-patch-20261107/review-real.jsonl create mode 100644 evidence/OMEGALLM/wsp-patch-20261107/review-small.jsonl diff --git a/docs/omegallm/WSP-PATCH.md b/docs/omegallm/WSP-PATCH.md index 483befa..dc859e2 100644 --- a/docs/omegallm/WSP-PATCH.md +++ b/docs/omegallm/WSP-PATCH.md @@ -116,8 +116,11 @@ The 168-byte binding record contains ASCII `OLLMWB01` at offset 0; complete checkpoint SHA at 8; f32 weight SHA at 40; runtime executable SHA at 72; manifest SHA at 104; SHA of the preceding 136 bytes at 136. Bind verifies PATCH against CK before creating the record. Checkbind validates record magic/length/checksum and -CK/runtime identities. It does not take a patch path and does not prove that the -record's patch is trusted. Preserve the canonical manifest alongside the binding. +CK/runtime identities. It takes no manifest argument and never rereads a manifest, +so it cannot detect a replaced manifest. The stored manifest digest identifies +what bind checked earlier, not what a manifest path contains now. Checkbind also +does not prove that the recorded patch is trusted. Preserve the canonical +manifest alongside the binding and check its intended identity separately. A consumer must fail closed on checkbind failure, discard previously loaded weight and KV caches, and load the bound checkpoint with the bound executable. diff --git a/evidence/OMEGALLM/wsp-patch-20261107/REVIEW.md b/evidence/OMEGALLM/wsp-patch-20261107/REVIEW.md new file mode 100644 index 0000000..bf5ea28 --- /dev/null +++ b/evidence/OMEGALLM/wsp-patch-20261107/REVIEW.md @@ -0,0 +1,69 @@ +# PR 79 review repair receipt + +This records the review repair after `ca047de8e449dac95ae8cbfe1eaeb8c1cd93ffac`. +Earlier receipts are retained unchanged. `review-before.json` records reproductions +against the earlier binary. `review-build.log` and `review-small.jsonl` describe +the repaired candidate. + +Candidate binary SHA-256: +`bf993a780c7421cc2cd23d42fef5692135e9bd339f19a90059d4ef7f17be0847`. + +| Finding | Reproduced | Evidence and change | +| --- | --- | --- | +| Real oracle checked self-consistency, not the requested edit | Yes | A different finite-value patch passed product verify and both old hash comparisons while differing from the requested output. `requested_output` now builds the expectation directly from BASE plus the requested bits and policy resets. `compare_requested` compares every byte. Real SHA/f32 expectations come from that independent file, not from the manifest. | +| Admission omitted each metadata field's 16 MiB ceiling | Yes | The old binary accepted a transport-name manifest with 16,777,217 params bytes, exit 0. Admission now checks both field lengths and exits 57 before parsing text. Tests cover params and rationale with validate, show and apply; rejected apply creates no output. | +| README link needs another parent traversal | No | Resolving the existing `../../../docs/omegallm/WSP-PATCH.md` from the README directory reaches the existing repository document. The receipt records the resolved path and existence. The link is intentionally unchanged. | +| Checkbind manifest-replacement limitation unclear | Yes, documentation gap | README and the format document now state directly that checkbind takes no manifest argument, never rereads it, and cannot detect a replaced manifest. | + +## Small acceptance and new controls + +```text +OUT=/home/drakestapleton/work/wsp/wpatch-build CORE=0 sh tools/omegallm/wpatch/build.sh +exit 0 + +taskset -c 0 nice -n 19 python3 tools/omegallm/wpatch/check.py \ + --build /home/drakestapleton/work/wsp/wpatch-build \ + --work /tmp/wpatch-review-kvpuocsc/small +exit 0; 702 assertions PASS, 108 commands, zero failures +``` + +The independent-oracle mutant is constructed by Python: one finite new value is +changed, the expected checkpoint is rebuilt, and the manifest's output, tensor, +f32 and entry hashes and canonical filename are recomputed. Product verify +accepts it, exit 0. The requested-byte oracle reports FAIL with +`negative_control: true`, and the enclosing negative-control assertion passes. +The normal outputs pass the same byte comparator for all optimizer policies. +This demonstrates that a self-consistent manifest cannot define oracle success. + +A previously absent negative case runs on the small `/tmp` fixture: an invalid +UTF-8 byte in a transport-name manifest is refused with exit 31. This case is +also retained in check.py. Oversized params and rationale both return exit 57. +All subprocess exit codes are asserted and retained in review-small.jsonl. + +Only the owned wpatch crumb was retained from regeneration. Exact pre-command +snapshots of unrelated generated crumbs were restored; review-crumb.log records +that operation. The parent-directory crumb remains the integrator's scope. +No native source, runtime, GPU, deployed checkpoint or historical receipt was +changed. Host CPU checks are not quality improvement or deployment evidence. + +## Locked round40 acceptance + +The requested serialized command completed with exit 0: + +```sh +flock -w 3600 -o /home/drakestapleton/handoffs/hive/queen/pool-19.lock \ + taskset -c 19 nice -n 10 python3 tools/omegallm/wpatch/check.py \ + --build /home/drakestapleton/work/wsp/wpatch-build \ + --work /home/drakestapleton/work/wsp/ck/wpatch-review-20261107 \ + --real /home/drakestapleton/.local/share/omega-tool-model/round40/model.ck +``` + +`review-real.jsonl`: 24 assertions PASS, six commands, zero failures. Every byte +of the applied checkpoint equals the independent expected checkpoint built from +BASE plus the requested ten edits and policy-2 resets. Complete checkpoint and +f32 hashes also match independently derived expectations. Product verify reports +`PASS f32_surviving=10 changed=10`. Revert and the unchanged source both hash to +`7c7b5b5260f2d9453b6076b64e7f23e88341d96498584f2dfaa229c31ad2e346`. + +IMPLEMENTED and host-CPU EXERCISED. GPU qualification, model-quality improvement, +merge and deployment remain NOT_RUN. diff --git a/evidence/OMEGALLM/wsp-patch-20261107/review-before.json b/evidence/OMEGALLM/wsp-patch-20261107/review-before.json new file mode 100644 index 0000000..629ea1f --- /dev/null +++ b/evidence/OMEGALLM/wsp-patch-20261107/review-before.json @@ -0,0 +1,73 @@ +[ + { + "command": [ + "/home/drakestapleton/work/wsp/wpatch-build/wpatch", + "validate", + "/tmp/wpatch-review-kvpuocsc/oversized-params.wp", + "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck" + ], + "exit": 0, + "stdout": "PASS\n", + "stderr": "" + }, + { + "command": [ + "/home/drakestapleton/work/wsp/wpatch-build/wpatch", + "diff", + "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", + "/tmp/wpatch-review-kvpuocsc/mutated.ck", + "2", + "/home/drakestapleton/work/wsp/ck/wpatch-small-2/params.txt", + "/home/drakestapleton/work/wsp/ck/wpatch-small-2/rationale.txt", + "/tmp/wpatch-review-kvpuocsc/patches" + ], + "exit": 0, + "stdout": "/tmp/wpatch-review-kvpuocsc/patches/1ad4db1bbd875453c2d00bfdadf045af0639fe215d7f16ef23084c3001fe261a.wp\n", + "stderr": "" + }, + { + "command": [ + "/home/drakestapleton/work/wsp/wpatch-build/wpatch", + "apply", + "/tmp/wpatch-review-kvpuocsc/patches/1ad4db1bbd875453c2d00bfdadf045af0639fe215d7f16ef23084c3001fe261a.wp", + "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck", + "/tmp/wpatch-review-kvpuocsc/mutant-applied.ck" + ], + "exit": 0, + "stdout": "PASS\n", + "stderr": "" + }, + { + "command": [ + "/home/drakestapleton/work/wsp/wpatch-build/wpatch", + "verify", + "/tmp/wpatch-review-kvpuocsc/patches/1ad4db1bbd875453c2d00bfdadf045af0639fe215d7f16ef23084c3001fe261a.wp", + "/tmp/wpatch-review-kvpuocsc/mutant-applied.ck" + ], + "exit": 0, + "stdout": "PASS f32_surviving=19 changed=20\n", + "stderr": "" + }, + { + "check": "old real oracle accepts self-consistent wrong requested values", + "self_consistent": true, + "wrong_requested_output": true, + "verify_exit": 0 + }, + { + "command": [ + "/home/drakestapleton/work/wsp/wpatch-build/wpatch", + "validate", + "/tmp/wpatch-review-kvpuocsc/invalid-utf8.wp", + "/home/drakestapleton/work/wsp/ck/wpatch-small-2/base.ck" + ], + "exit": 31, + "stdout": "", + "stderr": "" + }, + { + "check": "README existing relative link", + "resolved": "/home/drakestapleton/work/wsp/aien-train-wpatch/docs/omegallm/WSP-PATCH.md", + "exists": true + } +] diff --git a/evidence/OMEGALLM/wsp-patch-20261107/review-build.log b/evidence/OMEGALLM/wsp-patch-20261107/review-build.log new file mode 100644 index 0000000..802f121 --- /dev/null +++ b/evidence/OMEGALLM/wsp-patch-20261107/review-build.log @@ -0,0 +1,7 @@ +BUILD_OK 819664d5a2284189cd9baca67681675ed2b4685e19d1d976ce071b0f6fcaa5ea /home/drakestapleton/work/wsp/wpatch-build/ollm source_sha256 2d13b609945a97ad95dba8626e67588d87c6aec64043affbaf4c107af246eb96 +2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f /home/drakestapleton/work/wsp/aien-train-wpatch/../omega-mv/seed/out/omc +dbf002dd6aa36585632b9d01d98ac3f0bd2fa0f0475082940de53638847994bb /home/drakestapleton/work/wsp/wpatch-build/sha256-source.om +7e8b3ca2cf378af25029ce42ca6c760c880fa3612691216e2f2339c369c22591 /home/drakestapleton/work/wsp/wpatch-build/wpatch-all.om +bf993a780c7421cc2cd23d42fef5692135e9bd339f19a90059d4ef7f17be0847 /home/drakestapleton/work/wsp/wpatch-build/wpatch + +exit=0 diff --git a/evidence/OMEGALLM/wsp-patch-20261107/review-crumb.log b/evidence/OMEGALLM/wsp-patch-20261107/review-crumb.log new file mode 100644 index 0000000..d0b110a --- /dev/null +++ b/evidence/OMEGALLM/wsp-patch-20261107/review-crumb.log @@ -0,0 +1,13 @@ +COMPILED native/omegallm/tok +COMPILED tests/omegallm/tok +COMPILED tools/omegallm/wpatch +COMPILED docs/omegallm +COMPILED evidence/OMEGALLM +COMPILED native/omegallm +COMPILED native/omegalora +COMPILED tests/omegallm +COMPILED tools/omegallm-ui +crumb compile: 16 crumbs, 9 rewritten, HEAD ca047de + +exit=0 +Restored exact pre-command snapshots of eight unrelated generated crumbs. Only owned wpatch crumb retained. diff --git a/evidence/OMEGALLM/wsp-patch-20261107/review-real.jsonl b/evidence/OMEGALLM/wsp-patch-20261107/review-real.jsonl new file mode 100644 index 0000000..8cf4ebf --- /dev/null +++ b/evidence/OMEGALLM/wsp-patch-20261107/review-real.jsonl @@ -0,0 +1,34 @@ +{"instrument": "external Python stdlib only", "wpatch_sha256": "bf993a780c7421cc2cd23d42fef5692135e9bd339f19a90059d4ef7f17be0847"} +{"status": "PASS", "check": "real base pinned SHA"} +{"status": "PASS", "check": "Wolfram layer3 w2 offset"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "diff", "/home/drakestapleton/.local/share/omega-tool-model/round40/model.ck", "/home/drakestapleton/work/wsp/ck/wpatch-review-20261107/round40-edited.ck", "2", "/home/drakestapleton/work/wsp/ck/wpatch-review-20261107/params.txt", "/home/drakestapleton/work/wsp/ck/wpatch-review-20261107/rationale.txt", "/home/drakestapleton/work/wsp/ck/wpatch-review-20261107/patches"], "exit": 0, "expected": 0, "elapsed_ns": 8084028602, "stdout": "/home/drakestapleton/work/wsp/ck/wpatch-review-20261107/patches/e0b262208c29d55f11a8dd53a82d8dd43ceac9cc5064b1c90e942fed34dd8658.wp\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch diff /home/drakestapleton/.local/share/omega-tool-model/round40/model.ck /home/drakestapleton/work/wsp/ck/wpatch-review-20261107/round40-edited.ck 2 /home/drakestapleton/work/wsp/ck/wpatch-review-20261107/params.txt /home/drakestapleton/work/wsp/ck/wpatch-review-20261107/rationale.txt /home/drakestapleton/work/wsp/ck/wpatch-review-20261107/patches"} +{"status": "PASS", "check": "oracle manifest magic"} +{"status": "PASS", "check": "oracle canonical manifest name"} +{"status": "PASS", "check": "oracle manifest length"} +{"status": "PASS", "check": "oracle policy"} +{"status": "PASS", "check": "oracle edit identity"} +{"status": "PASS", "check": "oracle metadata lengths"} +{"status": "PASS", "check": "oracle strict order"} +{"status": "PASS", "check": "oracle indices in bounds"} +{"status": "PASS", "check": "real ten entry identity"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/home/drakestapleton/work/wsp/ck/wpatch-review-20261107/patches/e0b262208c29d55f11a8dd53a82d8dd43ceac9cc5064b1c90e942fed34dd8658.wp", "/home/drakestapleton/.local/share/omega-tool-model/round40/model.ck"], "exit": 0, "expected": 0, "elapsed_ns": 5672540980, "stdout": "PASS\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /home/drakestapleton/work/wsp/ck/wpatch-review-20261107/patches/e0b262208c29d55f11a8dd53a82d8dd43ceac9cc5064b1c90e942fed34dd8658.wp /home/drakestapleton/.local/share/omega-tool-model/round40/model.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/home/drakestapleton/work/wsp/ck/wpatch-review-20261107/patches/e0b262208c29d55f11a8dd53a82d8dd43ceac9cc5064b1c90e942fed34dd8658.wp", "/home/drakestapleton/.local/share/omega-tool-model/round40/model.ck", "/home/drakestapleton/work/wsp/ck/wpatch-review-20261107/round40-applied.ck"], "exit": 0, "expected": 0, "elapsed_ns": 7742923810, "stdout": "PASS\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /home/drakestapleton/work/wsp/ck/wpatch-review-20261107/patches/e0b262208c29d55f11a8dd53a82d8dd43ceac9cc5064b1c90e942fed34dd8658.wp /home/drakestapleton/.local/share/omega-tool-model/round40/model.ck /home/drakestapleton/work/wsp/ck/wpatch-review-20261107/round40-applied.ck"} +{"oracle": "independent requested checkpoint bytes", "status": "PASS", "negative_control": false, "expected": "/home/drakestapleton/work/wsp/ck/wpatch-review-20261107/round40-expected.ck", "actual": "/home/drakestapleton/work/wsp/ck/wpatch-review-20261107/round40-applied.ck"} +{"status": "PASS", "check": "real apply equals independently requested bytes"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "verify", "/home/drakestapleton/work/wsp/ck/wpatch-review-20261107/patches/e0b262208c29d55f11a8dd53a82d8dd43ceac9cc5064b1c90e942fed34dd8658.wp", "/home/drakestapleton/work/wsp/ck/wpatch-review-20261107/round40-applied.ck"], "exit": 0, "expected": 0, "elapsed_ns": 2606910191, "stdout": "PASS f32_surviving=10 changed=10\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch verify /home/drakestapleton/work/wsp/ck/wpatch-review-20261107/patches/e0b262208c29d55f11a8dd53a82d8dd43ceac9cc5064b1c90e942fed34dd8658.wp /home/drakestapleton/work/wsp/ck/wpatch-review-20261107/round40-applied.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "revert", "/home/drakestapleton/work/wsp/ck/wpatch-review-20261107/patches/e0b262208c29d55f11a8dd53a82d8dd43ceac9cc5064b1c90e942fed34dd8658.wp", "/home/drakestapleton/work/wsp/ck/wpatch-review-20261107/round40-applied.ck", "/home/drakestapleton/work/wsp/ck/wpatch-review-20261107/round40-reverted.ck"], "exit": 0, "expected": 0, "elapsed_ns": 6677793346, "stdout": "PASS\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch revert /home/drakestapleton/work/wsp/ck/wpatch-review-20261107/patches/e0b262208c29d55f11a8dd53a82d8dd43ceac9cc5064b1c90e942fed34dd8658.wp /home/drakestapleton/work/wsp/ck/wpatch-review-20261107/round40-applied.ck /home/drakestapleton/work/wsp/ck/wpatch-review-20261107/round40-reverted.ck"} +{"command": ["sha256sum", "/home/drakestapleton/.local/share/omega-tool-model/round40/model.ck", "/home/drakestapleton/work/wsp/ck/wpatch-review-20261107/round40-reverted.ck", "/home/drakestapleton/work/wsp/ck/wpatch-review-20261107/round40-applied.ck"], "exit": 0, "expected": 0, "elapsed_ns": 919420991, "stdout": "7c7b5b5260f2d9453b6076b64e7f23e88341d96498584f2dfaa229c31ad2e346 /home/drakestapleton/.local/share/omega-tool-model/round40/model.ck\n7c7b5b5260f2d9453b6076b64e7f23e88341d96498584f2dfaa229c31ad2e346 /home/drakestapleton/work/wsp/ck/wpatch-review-20261107/round40-reverted.ck\n95c8676227161d5fd425082462333a9180fe0c870478b69446bbf92678f47eac /home/drakestapleton/work/wsp/ck/wpatch-review-20261107/round40-applied.ck\n", "stderr": ""} +{"status": "PASS", "check": "exit: sha256sum /home/drakestapleton/.local/share/omega-tool-model/round40/model.ck /home/drakestapleton/work/wsp/ck/wpatch-review-20261107/round40-reverted.ck /home/drakestapleton/work/wsp/ck/wpatch-review-20261107/round40-applied.ck"} +{"status": "PASS", "check": "real byte-identical revert SHA"} +{"status": "PASS", "check": "real base unchanged"} +{"status": "PASS", "check": "real output SHA matches independent expected bytes"} +{"status": "PASS", "check": "real manifest output SHA matches independent expected bytes"} +{"status": "PASS", "check": "real f32 SHA matches independent expected bytes"} +{"status": "PASS", "check": "real manifest f32 SHA matches independent expected bytes"} +{"real_patch": "/home/drakestapleton/work/wsp/ck/wpatch-review-20261107/patches/e0b262208c29d55f11a8dd53a82d8dd43ceac9cc5064b1c90e942fed34dd8658.wp", "real_hashes": "7c7b5b5260f2d9453b6076b64e7f23e88341d96498584f2dfaa229c31ad2e346 /home/drakestapleton/.local/share/omega-tool-model/round40/model.ck\n7c7b5b5260f2d9453b6076b64e7f23e88341d96498584f2dfaa229c31ad2e346 /home/drakestapleton/work/wsp/ck/wpatch-review-20261107/round40-reverted.ck\n95c8676227161d5fd425082462333a9180fe0c870478b69446bbf92678f47eac /home/drakestapleton/work/wsp/ck/wpatch-review-20261107/round40-applied.ck\n"} +{"status": "PASS", "checks": 24, "commands": 6, "failures": 0} diff --git a/evidence/OMEGALLM/wsp-patch-20261107/review-small.jsonl b/evidence/OMEGALLM/wsp-patch-20261107/review-small.jsonl new file mode 100644 index 0000000..96e0741 --- /dev/null +++ b/evidence/OMEGALLM/wsp-patch-20261107/review-small.jsonl @@ -0,0 +1,816 @@ +{"instrument": "external Python stdlib only", "wpatch_sha256": "bf993a780c7421cc2cd23d42fef5692135e9bd339f19a90059d4ef7f17be0847"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/ollm", "init", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "256", "8", "16", "2", "32", "2", "2", "1", "10", "3000", "1"], "exit": 0, "expected": 0, "elapsed_ns": 7020529, "stdout": "I 8400\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/ollm init /tmp/wpatch-review-kvpuocsc/small/base.ck 256 8 16 2 32 2 2 1 10 3000 1"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/ollm", "train", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/tmp/wpatch-review-kvpuocsc/small/train.bin", "2", "1"], "exit": 0, "expected": 0, "elapsed_ns": 20907667, "stdout": "T 1 5541842\nT 2 5520363\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/ollm train /tmp/wpatch-review-kvpuocsc/small/base.ck /tmp/wpatch-review-kvpuocsc/small/train.bin 2 1"} +{"status": "PASS", "check": "oracle CK02 magic"} +{"status": "PASS", "check": "oracle checkpoint length"} +{"status": "PASS", "check": "oracle checkpoint FNV"} +{"status": "PASS", "check": "oracle checkpoint geometry P"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "inspect", "/tmp/wpatch-review-kvpuocsc/small/base.ck"], "exit": 0, "expected": 0, "elapsed_ns": 2646649, "stdout": "OLLMCK02 V T D H F L B P: 256 8 16 2 32 2 2 8400\nseed step total lr G fnv: 1 2 10 4569063951553953530 1 12929047925843260235\nwte 0 256x16 dtype=f64 offset=0 sha256=8cff8d99b6ae9164f7732cf6801ae974d3a2a7944f33ccc0505a481eefc64cc6 rms=2.0150972434014620e-2 maxabs=3.4694049902618817e-2 nonfinite=0\nwpe 0 8x16 dtype=f64 offset=4096 sha256=8466ddee307934f1d085b7fc3f2f222b33f320a47b8f72c0782cd099f53c3a56 rms=2.0597512474142969e-2 maxabs=3.4688363182317480e-2 nonfinite=0\ng1 0 1x16 dtype=f64 offset=4224 sha256=8e55ebc45ecdca0459276d85bdcc502985681ca91936c7d388f36141657e7724 rms=9.9998560202156934e-1 maxabs=1.0000898116642267e0 nonfinite=0\nwq 0 16x16 dtype=f64 offset=4240 sha256=adfe7504881e98ae49edbd9bd2a8c6259a190472f5f2a301aabf76d433a26668 rms=1.9387060051204409e-2 maxabs=3.4602970449885450e-2 nonfinite=0\nwk 0 16x16 dtype=f64 offset=4496 sha256=accdb602abdaf839de2b6e98f98e399bcb00eea03cdc1e14ffe760c6012bffa8 rms=2.0086632119378893e-2 maxabs=3.4488179470423929e-2 nonfinite=0\nwv 0 16x16 dtype=f64 offset=4752 sha256=fa6b0727cb263311c2c3b75e6fea1f7902613c5051548b6cff87fecb0556f9d0 rms=2.0442612683966512e-2 maxabs=3.4608463868511711e-2 nonfinite=0\nwo 0 16x16 dtype=f64 offset=5008 sha256=b43e998b213e289c9464b79a54a04243a629061e9351882c0af8ba717ab1f27c rms=9.3607584314112308e-3 maxabs=1.7186119006150049e-2 nonfinite=0\ng2 0 1x16 dtype=f64 offset=5264 sha256=02d1cd2862c618fa82ecbe721cef53d3f0064a85c37dc3c81b60256496a551e8 rms=1.0000317542785344e0 maxabs=1.0000900660818634e0 nonfinite=0\nw1 0 16x32 dtype=f64 offset=5280 sha256=0d43f123403113f54dc36bf858225654da6ca9b2fa6dd13d34ea03df0300162d rms=1.9707409527231671e-2 maxabs=3.4604831137893370e-2 nonfinite=0\nw2 0 32x16 dtype=f64 offset=5792 sha256=ff25c2a9843e2cb7febd7173d1310c5c38d4c3b84f80d41fe477671df90958a4 rms=9.9353752213784609e-3 maxabs=1.7383742580227750e-2 nonfinite=0\ng1 1 1x16 dtype=f64 offset=6304 sha256=d5ef48d1f1f83bea39dbec4469a83b73134a957a6f7ee5c7f55d489a085e2fc2 rms=1.0000055077295755e0 maxabs=1.0000896598909829e0 nonfinite=0\nwq 1 16x16 dtype=f64 offset=6320 sha256=cd5d9460b4f8b03c13493204e04f3499387caa9332da929e17aa53b5bf93f1b9 rms=1.9395643851273927e-2 maxabs=3.4713570183186637e-2 nonfinite=0\nwk 1 16x16 dtype=f64 offset=6576 sha256=77e6c5613a0fba859e0559bee3beb70fb9e4ac007b87134dfc1e2fe482194b44 rms=2.0451505765922823e-2 maxabs=3.4557907877036364e-2 nonfinite=0\nwv 1 16x16 dtype=f64 offset=6832 sha256=a49caf53f5f318fe312bef6bc78842f4f194d97965a34d4d1903a20c325e3af6 rms=2.0283640674707430e-2 maxabs=3.4634749954325338e-2 nonfinite=0\nwo 1 16x16 dtype=f64 offset=7088 sha256=4a99000fa39bce104d6cd39bd7e6e8f108b0a120d700c1372a14614b7d2a3cf9 rms=9.5378278603200783e-3 maxabs=1.7408843619714149e-2 nonfinite=0\ng2 1 1x16 dtype=f64 offset=7344 sha256=975a6761e290c4c1493058ce603d78cf98fe638c88792c88a13d422d00044af5 rms=1.0000051625444570e0 maxabs=1.0000900629791575e0 nonfinite=0\nw1 1 16x32 dtype=f64 offset=7360 sha256=6744256441b31f1e97fe7739e0af3edbeeabb2960c9030bde44a0940f673b254 rms=1.9646243437713831e-2 maxabs=3.4519835058524788e-2 nonfinite=0\nw2 1 32x16 dtype=f64 offset=7872 sha256=f01f41002a7e3c6afa8dbfe6c69ab753d4361cf25faae3e3ea4738e7aa1f0232 rms=9.9239498616909447e-3 maxabs=1.7320015361641458e-2 nonfinite=0\ngf 0 1x16 dtype=f64 offset=8384 sha256=65aa5211ba1921da7b4c26e7667f49bf0d2a7219f2fef32dcc828fb4cf181a9a rms=1.0000070876612532e0 maxabs=1.0000900576992735e0 nonfinite=0\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch inspect /tmp/wpatch-review-kvpuocsc/small/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "inspect", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "wte", "0", "0", "1", "0", "2"], "exit": 0, "expected": 0, "elapsed_ns": 993338, "stdout": "OLLMCK02 V T D H F L B P: 256 8 16 2 32 2 2 8400\nseed step total lr G fnv: 1 2 10 4569063951553953530 1 12929047925843260235\n0 0 4.6933608192067630e-3 3f73395873a10edd\n0 1 6.2277422802250175e-3 3f798242d6be64df\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch inspect /tmp/wpatch-review-kvpuocsc/small/base.ck wte 0 0 1 0 2"} +{"status": "PASS", "check": "inspect exact slice bits"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "inspect", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "wte", "0", "0", "99999", "0", "1"], "exit": 27, "expected": 27, "elapsed_ns": 929465, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch inspect /tmp/wpatch-review-kvpuocsc/small/base.ck wte 0 0 99999 0 1"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "diff", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/tmp/wpatch-review-kvpuocsc/small/edited.ck", "0", "/tmp/wpatch-review-kvpuocsc/small/params.txt", "/tmp/wpatch-review-kvpuocsc/small/rationale.txt", "/tmp/wpatch-review-kvpuocsc/small/patches-0"], "exit": 0, "expected": 0, "elapsed_ns": 12232403, "stdout": "/tmp/wpatch-review-kvpuocsc/small/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch diff /tmp/wpatch-review-kvpuocsc/small/base.ck /tmp/wpatch-review-kvpuocsc/small/edited.ck 0 /tmp/wpatch-review-kvpuocsc/small/params.txt /tmp/wpatch-review-kvpuocsc/small/rationale.txt /tmp/wpatch-review-kvpuocsc/small/patches-0"} +{"status": "PASS", "check": "oracle manifest magic"} +{"status": "PASS", "check": "oracle canonical manifest name"} +{"status": "PASS", "check": "oracle manifest length"} +{"status": "PASS", "check": "oracle policy"} +{"status": "PASS", "check": "oracle edit identity"} +{"status": "PASS", "check": "oracle metadata lengths"} +{"status": "PASS", "check": "oracle strict order"} +{"status": "PASS", "check": "oracle indices in bounds"} +{"status": "PASS", "check": "oracle CK02 magic"} +{"status": "PASS", "check": "oracle checkpoint length"} +{"status": "PASS", "check": "oracle checkpoint FNV"} +{"status": "PASS", "check": "oracle checkpoint geometry P"} +{"status": "PASS", "check": "oracle preserved base header"} +{"status": "PASS", "check": "oracle manifest geometry"} +{"status": "PASS", "check": "oracle manifest P"} +{"status": "PASS", "check": "oracle base SHA"} +{"status": "PASS", "check": "oracle UTF8 provenance"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle expected output SHA"} +{"status": "PASS", "check": "oracle expected f32 SHA"} +{"status": "PASS", "check": "oracle all tensors present"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "manifest oracle agrees with independent request"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "show", "/tmp/wpatch-review-kvpuocsc/small/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp"], "exit": 0, "expected": 0, "elapsed_ns": 973673, "stdout": "{\"patch_sha256\":\"6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115\",\"base_sha256\":\"0f7c5cce37a019be53786dfc27fd01146f7606343ccbe7f632d19661dc6f7004\",\"output_sha256\":\"df9ba29d0123bf5852c13765b758998bd1e5a49f63b983dcf934e0b63f261eb3\",\"f32_sha256\":\"b61cbd26710589e5e352794c1b05e08a1fe954e982d135c3bcfa88f95b077068\",\"entries_sha256\":\"1f2e4172184215f85733f111b30a46cdd694b2d887c0280698f2ea7c7f2f1d04\",\"policy\":0,\"changed\":20,\"entries_first_20\":[[0,\"3f73395873a10edd\",\"3f7751ebe85d795c\"],[1,\"3f798242d6be64df\",\"3f798242d6be64de\"],[4096,\"3f9d71eaecf958fb\",\"3f9e780fca28739b\"],[4224,\"3fefff43cec7fbde\",\"3ff003ba7ad8ba59\"],[4240,\"3f91335e055b2e52\",\"3f923982e28a48f2\"],[4496,\"3f7e376430d30470\",\"3f8127fbd2c7b778\"],[4752,\"bf8127b4d0942b41\",\"bf7e36d62c6bec03\"],[5008,\"bf642a283fb3a03a\",\"bf57f202ac759678\"],[5264,\"3ff0005e70ee046f\",\"3ff004770462c0d9\"],[5280,\"3f937e8c81983fca\",\"3f9484b15ec75a6a\"],[5792,\"bf8d0a85a19f1a66\",\"bf8afe3be740e526\"],[6304,\"3ff0005d56c1676d\",\"3ff00475ea3623d7\"],[6320,\"3f478f6a628528cb\",\"3f5c2a0304343e62\"],[6576,\"3f96ddb9cf3d8cbd\",\"3f97e3deac6ca75d\"],[6832,\"bf85cdb8b6e68c3d\",\"bf83c16efc8856fe\"],[7088,\"3f66903abb2fa5f3\",\"3f6ec161a4a87af1\"],[7344,\"3fefff43cf3b0247\",\"3ff003ba7b123d8e\"],[7360,\"bfa157e08134d98b\",\"bfa0d4ce129d4c3b\"],[7872,\"bf908b27ddd68b5c\",\"bf8f0a06014ee178\"],[8384,\"3fefffe8aac28f0e\",\"3ff0040ce8d603f1\"]],\"params\":\"{\\\"delta\\\":0.001,\\\"name\\\":\\\"Ω patch\\\"}\\u000a\",\"rationale\":\"Own-model fixture. Preserve exact rollback.\\u000a\"}\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch show /tmp/wpatch-review-kvpuocsc/small/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp"} +{"status": "PASS", "check": "show UTF8 provenance"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/tmp/wpatch-review-kvpuocsc/small/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck"], "exit": 0, "expected": 0, "elapsed_ns": 6118217, "stdout": "PASS\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /tmp/wpatch-review-kvpuocsc/small/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp /tmp/wpatch-review-kvpuocsc/small/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/tmp/wpatch-review-kvpuocsc/small/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/tmp/wpatch-review-kvpuocsc/small/applied-0.ck"], "exit": 0, "expected": 0, "elapsed_ns": 11040183, "stdout": "PASS\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /tmp/wpatch-review-kvpuocsc/small/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp /tmp/wpatch-review-kvpuocsc/small/base.ck /tmp/wpatch-review-kvpuocsc/small/applied-0.ck"} +{"status": "PASS", "check": "apply exact oracle bytes"} +{"oracle": "independent requested checkpoint bytes", "status": "PASS", "negative_control": false, "expected": "/tmp/wpatch-review-kvpuocsc/small/expected-0.ck", "actual": "/tmp/wpatch-review-kvpuocsc/small/applied-0.ck"} +{"status": "PASS", "check": "apply equals independent requested bytes"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "verify", "/tmp/wpatch-review-kvpuocsc/small/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp", "/tmp/wpatch-review-kvpuocsc/small/applied-0.ck"], "exit": 0, "expected": 0, "elapsed_ns": 3585025, "stdout": "PASS f32_surviving=19 changed=20\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch verify /tmp/wpatch-review-kvpuocsc/small/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp /tmp/wpatch-review-kvpuocsc/small/applied-0.ck"} +{"status": "PASS", "check": "oracle manifest magic"} +{"status": "PASS", "check": "oracle canonical manifest name"} +{"status": "PASS", "check": "oracle manifest length"} +{"status": "PASS", "check": "oracle policy"} +{"status": "PASS", "check": "oracle edit identity"} +{"status": "PASS", "check": "oracle metadata lengths"} +{"status": "PASS", "check": "oracle strict order"} +{"status": "PASS", "check": "oracle indices in bounds"} +{"status": "PASS", "check": "verify f32 survival count"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "revert", "/tmp/wpatch-review-kvpuocsc/small/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp", "/tmp/wpatch-review-kvpuocsc/small/applied-0.ck", "/tmp/wpatch-review-kvpuocsc/small/reverted-0.ck"], "exit": 0, "expected": 0, "elapsed_ns": 10800805, "stdout": "PASS\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch revert /tmp/wpatch-review-kvpuocsc/small/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp /tmp/wpatch-review-kvpuocsc/small/applied-0.ck /tmp/wpatch-review-kvpuocsc/small/reverted-0.ck"} +{"status": "PASS", "check": "revert byte-identical base"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "bind", "/tmp/wpatch-review-kvpuocsc/small/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp", "/tmp/wpatch-review-kvpuocsc/small/applied-0.ck", "/home/drakestapleton/work/wsp/wpatch-build/wpatch", "/tmp/wpatch-review-kvpuocsc/small/binding-0"], "exit": 0, "expected": 0, "elapsed_ns": 8664209, "stdout": "PASS\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch bind /tmp/wpatch-review-kvpuocsc/small/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp /tmp/wpatch-review-kvpuocsc/small/applied-0.ck /home/drakestapleton/work/wsp/wpatch-build/wpatch /tmp/wpatch-review-kvpuocsc/small/binding-0"} +{"status": "PASS", "check": "oracle binding format"} +{"status": "PASS", "check": "oracle binding CK and f32"} +{"status": "PASS", "check": "oracle binding runtime and patch"} +{"status": "PASS", "check": "oracle binding self digest"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "checkbind", "/tmp/wpatch-review-kvpuocsc/small/binding-0", "/tmp/wpatch-review-kvpuocsc/small/applied-0.ck", "/home/drakestapleton/work/wsp/wpatch-build/wpatch"], "exit": 0, "expected": 0, "elapsed_ns": 4489738, "stdout": "PASS\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch checkbind /tmp/wpatch-review-kvpuocsc/small/binding-0 /tmp/wpatch-review-kvpuocsc/small/applied-0.ck /home/drakestapleton/work/wsp/wpatch-build/wpatch"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "checkbind", "/tmp/wpatch-review-kvpuocsc/small/binding-0", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/home/drakestapleton/work/wsp/wpatch-build/wpatch"], "exit": 60, "expected": 60, "elapsed_ns": 2147428, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch checkbind /tmp/wpatch-review-kvpuocsc/small/binding-0 /tmp/wpatch-review-kvpuocsc/small/base.ck /home/drakestapleton/work/wsp/wpatch-build/wpatch"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "checkbind", "/tmp/wpatch-review-kvpuocsc/small/binding-0", "/tmp/wpatch-review-kvpuocsc/small/applied-0.ck", "/tmp/wpatch-review-kvpuocsc/small/runtime-0"], "exit": 62, "expected": 62, "elapsed_ns": 4365353, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch checkbind /tmp/wpatch-review-kvpuocsc/small/binding-0 /tmp/wpatch-review-kvpuocsc/small/applied-0.ck /tmp/wpatch-review-kvpuocsc/small/runtime-0"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "checkbind", "/tmp/wpatch-review-kvpuocsc/small/wrong-f32-binding-0", "/tmp/wpatch-review-kvpuocsc/small/applied-0.ck", "/home/drakestapleton/work/wsp/wpatch-build/wpatch"], "exit": 61, "expected": 61, "elapsed_ns": 2531448, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch checkbind /tmp/wpatch-review-kvpuocsc/small/wrong-f32-binding-0 /tmp/wpatch-review-kvpuocsc/small/applied-0.ck /home/drakestapleton/work/wsp/wpatch-build/wpatch"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "checkbind", "/tmp/wpatch-review-kvpuocsc/small/wrong-f32-binding-0", "/tmp/wpatch-review-kvpuocsc/small/applied-0.ck", "/home/drakestapleton/work/wsp/wpatch-build/wpatch"], "exit": 59, "expected": 59, "elapsed_ns": 585525, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch checkbind /tmp/wpatch-review-kvpuocsc/small/wrong-f32-binding-0 /tmp/wpatch-review-kvpuocsc/small/applied-0.ck /home/drakestapleton/work/wsp/wpatch-build/wpatch"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/tmp/wpatch-review-kvpuocsc/small/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/tmp/wpatch-review-kvpuocsc/small/applied-0.ck"], "exit": 52, "expected": 52, "elapsed_ns": 6051656, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /tmp/wpatch-review-kvpuocsc/small/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp /tmp/wpatch-review-kvpuocsc/small/base.ck /tmp/wpatch-review-kvpuocsc/small/applied-0.ck"} +{"status": "PASS", "check": "OUT exists preserved"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/tmp/wpatch-review-kvpuocsc/small/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/tmp/wpatch-review-kvpuocsc/small/base.ck"], "exit": 52, "expected": 52, "elapsed_ns": 6089848, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /tmp/wpatch-review-kvpuocsc/small/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp /tmp/wpatch-review-kvpuocsc/small/base.ck /tmp/wpatch-review-kvpuocsc/small/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "revert", "/tmp/wpatch-review-kvpuocsc/small/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp", "/tmp/wpatch-review-kvpuocsc/small/applied-0.ck", "/tmp/wpatch-review-kvpuocsc/small/base.ck"], "exit": 52, "expected": 52, "elapsed_ns": 5696613, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch revert /tmp/wpatch-review-kvpuocsc/small/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp /tmp/wpatch-review-kvpuocsc/small/applied-0.ck /tmp/wpatch-review-kvpuocsc/small/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "diff", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/tmp/wpatch-review-kvpuocsc/small/edited.ck", "0", "/tmp/wpatch-review-kvpuocsc/small/params.txt", "/tmp/wpatch-review-kvpuocsc/small/rationale.txt", "/tmp/wpatch-review-kvpuocsc/small/patches-0"], "exit": 52, "expected": 52, "elapsed_ns": 8972356, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch diff /tmp/wpatch-review-kvpuocsc/small/base.ck /tmp/wpatch-review-kvpuocsc/small/edited.ck 0 /tmp/wpatch-review-kvpuocsc/small/params.txt /tmp/wpatch-review-kvpuocsc/small/rationale.txt /tmp/wpatch-review-kvpuocsc/small/patches-0"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "diff", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/tmp/wpatch-review-kvpuocsc/small/edited.ck", "1", "/tmp/wpatch-review-kvpuocsc/small/params.txt", "/tmp/wpatch-review-kvpuocsc/small/rationale.txt", "/tmp/wpatch-review-kvpuocsc/small/patches-1"], "exit": 0, "expected": 0, "elapsed_ns": 12717623, "stdout": "/tmp/wpatch-review-kvpuocsc/small/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch diff /tmp/wpatch-review-kvpuocsc/small/base.ck /tmp/wpatch-review-kvpuocsc/small/edited.ck 1 /tmp/wpatch-review-kvpuocsc/small/params.txt /tmp/wpatch-review-kvpuocsc/small/rationale.txt /tmp/wpatch-review-kvpuocsc/small/patches-1"} +{"status": "PASS", "check": "oracle manifest magic"} +{"status": "PASS", "check": "oracle canonical manifest name"} +{"status": "PASS", "check": "oracle manifest length"} +{"status": "PASS", "check": "oracle policy"} +{"status": "PASS", "check": "oracle edit identity"} +{"status": "PASS", "check": "oracle metadata lengths"} +{"status": "PASS", "check": "oracle strict order"} +{"status": "PASS", "check": "oracle indices in bounds"} +{"status": "PASS", "check": "oracle CK02 magic"} +{"status": "PASS", "check": "oracle checkpoint length"} +{"status": "PASS", "check": "oracle checkpoint FNV"} +{"status": "PASS", "check": "oracle checkpoint geometry P"} +{"status": "PASS", "check": "oracle preserved base header"} +{"status": "PASS", "check": "oracle manifest geometry"} +{"status": "PASS", "check": "oracle manifest P"} +{"status": "PASS", "check": "oracle base SHA"} +{"status": "PASS", "check": "oracle UTF8 provenance"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle expected output SHA"} +{"status": "PASS", "check": "oracle expected f32 SHA"} +{"status": "PASS", "check": "oracle all tensors present"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "manifest oracle agrees with independent request"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "show", "/tmp/wpatch-review-kvpuocsc/small/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp"], "exit": 0, "expected": 0, "elapsed_ns": 974041, "stdout": "{\"patch_sha256\":\"66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8\",\"base_sha256\":\"0f7c5cce37a019be53786dfc27fd01146f7606343ccbe7f632d19661dc6f7004\",\"output_sha256\":\"a094ea3f1ddb087d13316f882b44e4ba3e3fe8d4d32efcfcb9f86cbae7049f28\",\"f32_sha256\":\"b61cbd26710589e5e352794c1b05e08a1fe954e982d135c3bcfa88f95b077068\",\"entries_sha256\":\"a4d6249a009e496434ea6f1eed97e59b6d26560225e1727bc6213b69f0f22f77\",\"policy\":1,\"changed\":20,\"entries_first_20\":[[0,\"3f73395873a10edd\",\"3f7751ebe85d795c\",\"bf8552a73209b7de\",\"3f14fbfe29a9774b\"],[1,\"3f798242d6be64df\",\"3f798242d6be64de\",\"3f8ae1fb0b51213f\",\"3f18d79eff023b06\"],[4096,\"3f9d71eaecf958fb\",\"3f9e780fca28739b\",\"bf6fda794c7f4356\",\"3ee4874452c54ea4\"],[4224,\"3fefff43cec7fbde\",\"3ff003ba7ad8ba59\",\"3f1256c5dd67068a\",\"3e2760769ce5b9f8\"],[4240,\"3f91335e055b2e52\",\"3f923982e28a48f2\",\"3e8c82f3e951ecd7\",\"3d22dc1b3d5ebae0\"],[4496,\"3f7e376430d30470\",\"3f8127fbd2c7b778\",\"bea74810b3835236\",\"3d5affaac6d4f0e8\"],[4752,\"bf8127b4d0942b41\",\"bf7e36d62c6bec03\",\"3f2ff9fda43ff4ce\",\"3e655d362beed931\"],[5008,\"bf642a283fb3a03a\",\"bf57f202ac759678\",\"3f3502ff80b87ea6\",\"3e72e5c1e1efe469\"],[5264,\"3ff0005e70ee046f\",\"3ff004770462c0d9\",\"bf18ed43b60b63b7\",\"3e355bda46217552\"],[5280,\"3f937e8c81983fca\",\"3f9484b15ec75a6a\",\"bf48faf52cc05b78\",\"3e965b7796fddabc\"],[5792,\"bf8d0a85a19f1a66\",\"bf8afe3be740e526\",\"3f4a9cc4b0ff81ae\",\"3e99124af81315f5\"],[6304,\"3ff0005d56c1676d\",\"3ff00475ea3623d7\",\"bf183fc5d9e8349e\",\"3e34f092d477879a\"],[6320,\"3f478f6a628528cb\",\"3f5c2a0304343e62\",\"bea91b8ad8d8fa88\",\"3d711f50953c987a\"],[6576,\"3f96ddb9cf3d8cbd\",\"3f97e3deac6ca75d\",\"bea1d46f2116bc66\",\"3d46551f111a70d4\"],[6832,\"bf85cdb8b6e68c3d\",\"bf83c16efc8856fe\",\"bf4f1c7c31f855d4\",\"3ea2ab72a16c8090\"],[7088,\"3f66903abb2fa5f3\",\"3f6ec161a4a87af1\",\"bf50fdbc8214d868\",\"3ea5d7a369874dbc\"],[7344,\"3fefff43cf3b0247\",\"3ff003ba7b123d8e\",\"3f0d8004986b399c\",\"3e1e3eb1e77eda8e\"],[7360,\"bfa157e08134d98b\",\"bfa0d4ce129d4c3b\",\"3f1d076f4cc62d48\",\"3e421f608bd657e5\"],[7872,\"bf908b27ddd68b5c\",\"bf8f0a06014ee178\",\"3f549ba6f596fe71\",\"3ead9cd639986443\"],[8384,\"3fefffe8aac28f0e\",\"3ff0040ce8d603f1\",\"3f27d30ec44cacbd\",\"3e64d03ccafe7fec\"]],\"params\":\"{\\\"delta\\\":0.001,\\\"name\\\":\\\"Ω patch\\\"}\\u000a\",\"rationale\":\"Own-model fixture. Preserve exact rollback.\\u000a\"}\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch show /tmp/wpatch-review-kvpuocsc/small/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp"} +{"status": "PASS", "check": "show UTF8 provenance"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/tmp/wpatch-review-kvpuocsc/small/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck"], "exit": 0, "expected": 0, "elapsed_ns": 6145993, "stdout": "PASS\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /tmp/wpatch-review-kvpuocsc/small/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /tmp/wpatch-review-kvpuocsc/small/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/tmp/wpatch-review-kvpuocsc/small/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/tmp/wpatch-review-kvpuocsc/small/applied-1.ck"], "exit": 0, "expected": 0, "elapsed_ns": 11461659, "stdout": "PASS\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /tmp/wpatch-review-kvpuocsc/small/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /tmp/wpatch-review-kvpuocsc/small/base.ck /tmp/wpatch-review-kvpuocsc/small/applied-1.ck"} +{"status": "PASS", "check": "apply exact oracle bytes"} +{"oracle": "independent requested checkpoint bytes", "status": "PASS", "negative_control": false, "expected": "/tmp/wpatch-review-kvpuocsc/small/expected-1.ck", "actual": "/tmp/wpatch-review-kvpuocsc/small/applied-1.ck"} +{"status": "PASS", "check": "apply equals independent requested bytes"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "verify", "/tmp/wpatch-review-kvpuocsc/small/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp", "/tmp/wpatch-review-kvpuocsc/small/applied-1.ck"], "exit": 0, "expected": 0, "elapsed_ns": 3535505, "stdout": "PASS f32_surviving=19 changed=20\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch verify /tmp/wpatch-review-kvpuocsc/small/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /tmp/wpatch-review-kvpuocsc/small/applied-1.ck"} +{"status": "PASS", "check": "oracle manifest magic"} +{"status": "PASS", "check": "oracle canonical manifest name"} +{"status": "PASS", "check": "oracle manifest length"} +{"status": "PASS", "check": "oracle policy"} +{"status": "PASS", "check": "oracle edit identity"} +{"status": "PASS", "check": "oracle metadata lengths"} +{"status": "PASS", "check": "oracle strict order"} +{"status": "PASS", "check": "oracle indices in bounds"} +{"status": "PASS", "check": "verify f32 survival count"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "revert", "/tmp/wpatch-review-kvpuocsc/small/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp", "/tmp/wpatch-review-kvpuocsc/small/applied-1.ck", "/tmp/wpatch-review-kvpuocsc/small/reverted-1.ck"], "exit": 0, "expected": 0, "elapsed_ns": 10073790, "stdout": "PASS\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch revert /tmp/wpatch-review-kvpuocsc/small/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /tmp/wpatch-review-kvpuocsc/small/applied-1.ck /tmp/wpatch-review-kvpuocsc/small/reverted-1.ck"} +{"status": "PASS", "check": "revert byte-identical base"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "bind", "/tmp/wpatch-review-kvpuocsc/small/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp", "/tmp/wpatch-review-kvpuocsc/small/applied-1.ck", "/home/drakestapleton/work/wsp/wpatch-build/wpatch", "/tmp/wpatch-review-kvpuocsc/small/binding-1"], "exit": 0, "expected": 0, "elapsed_ns": 9283559, "stdout": "PASS\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch bind /tmp/wpatch-review-kvpuocsc/small/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /tmp/wpatch-review-kvpuocsc/small/applied-1.ck /home/drakestapleton/work/wsp/wpatch-build/wpatch /tmp/wpatch-review-kvpuocsc/small/binding-1"} +{"status": "PASS", "check": "oracle binding format"} +{"status": "PASS", "check": "oracle binding CK and f32"} +{"status": "PASS", "check": "oracle binding runtime and patch"} +{"status": "PASS", "check": "oracle binding self digest"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "checkbind", "/tmp/wpatch-review-kvpuocsc/small/binding-1", "/tmp/wpatch-review-kvpuocsc/small/applied-1.ck", "/home/drakestapleton/work/wsp/wpatch-build/wpatch"], "exit": 0, "expected": 0, "elapsed_ns": 4518075, "stdout": "PASS\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch checkbind /tmp/wpatch-review-kvpuocsc/small/binding-1 /tmp/wpatch-review-kvpuocsc/small/applied-1.ck /home/drakestapleton/work/wsp/wpatch-build/wpatch"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "checkbind", "/tmp/wpatch-review-kvpuocsc/small/binding-1", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/home/drakestapleton/work/wsp/wpatch-build/wpatch"], "exit": 60, "expected": 60, "elapsed_ns": 2138852, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch checkbind /tmp/wpatch-review-kvpuocsc/small/binding-1 /tmp/wpatch-review-kvpuocsc/small/base.ck /home/drakestapleton/work/wsp/wpatch-build/wpatch"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "checkbind", "/tmp/wpatch-review-kvpuocsc/small/binding-1", "/tmp/wpatch-review-kvpuocsc/small/applied-1.ck", "/tmp/wpatch-review-kvpuocsc/small/runtime-1"], "exit": 62, "expected": 62, "elapsed_ns": 4444042, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch checkbind /tmp/wpatch-review-kvpuocsc/small/binding-1 /tmp/wpatch-review-kvpuocsc/small/applied-1.ck /tmp/wpatch-review-kvpuocsc/small/runtime-1"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "checkbind", "/tmp/wpatch-review-kvpuocsc/small/wrong-f32-binding-1", "/tmp/wpatch-review-kvpuocsc/small/applied-1.ck", "/home/drakestapleton/work/wsp/wpatch-build/wpatch"], "exit": 61, "expected": 61, "elapsed_ns": 2601448, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch checkbind /tmp/wpatch-review-kvpuocsc/small/wrong-f32-binding-1 /tmp/wpatch-review-kvpuocsc/small/applied-1.ck /home/drakestapleton/work/wsp/wpatch-build/wpatch"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "checkbind", "/tmp/wpatch-review-kvpuocsc/small/wrong-f32-binding-1", "/tmp/wpatch-review-kvpuocsc/small/applied-1.ck", "/home/drakestapleton/work/wsp/wpatch-build/wpatch"], "exit": 59, "expected": 59, "elapsed_ns": 622166, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch checkbind /tmp/wpatch-review-kvpuocsc/small/wrong-f32-binding-1 /tmp/wpatch-review-kvpuocsc/small/applied-1.ck /home/drakestapleton/work/wsp/wpatch-build/wpatch"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/tmp/wpatch-review-kvpuocsc/small/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/tmp/wpatch-review-kvpuocsc/small/applied-1.ck"], "exit": 52, "expected": 52, "elapsed_ns": 6118714, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /tmp/wpatch-review-kvpuocsc/small/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /tmp/wpatch-review-kvpuocsc/small/base.ck /tmp/wpatch-review-kvpuocsc/small/applied-1.ck"} +{"status": "PASS", "check": "OUT exists preserved"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/tmp/wpatch-review-kvpuocsc/small/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/tmp/wpatch-review-kvpuocsc/small/base.ck"], "exit": 52, "expected": 52, "elapsed_ns": 6163721, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /tmp/wpatch-review-kvpuocsc/small/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /tmp/wpatch-review-kvpuocsc/small/base.ck /tmp/wpatch-review-kvpuocsc/small/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "revert", "/tmp/wpatch-review-kvpuocsc/small/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp", "/tmp/wpatch-review-kvpuocsc/small/applied-1.ck", "/tmp/wpatch-review-kvpuocsc/small/base.ck"], "exit": 52, "expected": 52, "elapsed_ns": 5687285, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch revert /tmp/wpatch-review-kvpuocsc/small/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /tmp/wpatch-review-kvpuocsc/small/applied-1.ck /tmp/wpatch-review-kvpuocsc/small/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "diff", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/tmp/wpatch-review-kvpuocsc/small/edited.ck", "1", "/tmp/wpatch-review-kvpuocsc/small/params.txt", "/tmp/wpatch-review-kvpuocsc/small/rationale.txt", "/tmp/wpatch-review-kvpuocsc/small/patches-1"], "exit": 52, "expected": 52, "elapsed_ns": 9079877, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch diff /tmp/wpatch-review-kvpuocsc/small/base.ck /tmp/wpatch-review-kvpuocsc/small/edited.ck 1 /tmp/wpatch-review-kvpuocsc/small/params.txt /tmp/wpatch-review-kvpuocsc/small/rationale.txt /tmp/wpatch-review-kvpuocsc/small/patches-1"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "diff", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/tmp/wpatch-review-kvpuocsc/small/edited.ck", "2", "/tmp/wpatch-review-kvpuocsc/small/params.txt", "/tmp/wpatch-review-kvpuocsc/small/rationale.txt", "/tmp/wpatch-review-kvpuocsc/small/patches-2"], "exit": 0, "expected": 0, "elapsed_ns": 12197314, "stdout": "/tmp/wpatch-review-kvpuocsc/small/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch diff /tmp/wpatch-review-kvpuocsc/small/base.ck /tmp/wpatch-review-kvpuocsc/small/edited.ck 2 /tmp/wpatch-review-kvpuocsc/small/params.txt /tmp/wpatch-review-kvpuocsc/small/rationale.txt /tmp/wpatch-review-kvpuocsc/small/patches-2"} +{"status": "PASS", "check": "oracle manifest magic"} +{"status": "PASS", "check": "oracle canonical manifest name"} +{"status": "PASS", "check": "oracle manifest length"} +{"status": "PASS", "check": "oracle policy"} +{"status": "PASS", "check": "oracle edit identity"} +{"status": "PASS", "check": "oracle metadata lengths"} +{"status": "PASS", "check": "oracle strict order"} +{"status": "PASS", "check": "oracle indices in bounds"} +{"status": "PASS", "check": "oracle CK02 magic"} +{"status": "PASS", "check": "oracle checkpoint length"} +{"status": "PASS", "check": "oracle checkpoint FNV"} +{"status": "PASS", "check": "oracle checkpoint geometry P"} +{"status": "PASS", "check": "oracle preserved base header"} +{"status": "PASS", "check": "oracle manifest geometry"} +{"status": "PASS", "check": "oracle manifest P"} +{"status": "PASS", "check": "oracle base SHA"} +{"status": "PASS", "check": "oracle UTF8 provenance"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle entry bits"} +{"status": "PASS", "check": "oracle entry changed finite"} +{"status": "PASS", "check": "oracle entry magnitude"} +{"status": "PASS", "check": "oracle saved moments"} +{"status": "PASS", "check": "oracle expected output SHA"} +{"status": "PASS", "check": "oracle expected f32 SHA"} +{"status": "PASS", "check": "oracle all tensors present"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "oracle tensor record geometry"} +{"status": "PASS", "check": "oracle tensor changed count"} +{"status": "PASS", "check": "oracle tensor base SHA"} +{"status": "PASS", "check": "oracle tensor output SHA"} +{"status": "PASS", "check": "manifest oracle agrees with independent request"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "show", "/tmp/wpatch-review-kvpuocsc/small/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp"], "exit": 0, "expected": 0, "elapsed_ns": 926937, "stdout": "{\"patch_sha256\":\"b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea\",\"base_sha256\":\"0f7c5cce37a019be53786dfc27fd01146f7606343ccbe7f632d19661dc6f7004\",\"output_sha256\":\"2c2a6304ba02509b12b70174ed70d586d1a0e1da4226257bc56be24e1e7eefe0\",\"f32_sha256\":\"b61cbd26710589e5e352794c1b05e08a1fe954e982d135c3bcfa88f95b077068\",\"entries_sha256\":\"a4d6249a009e496434ea6f1eed97e59b6d26560225e1727bc6213b69f0f22f77\",\"policy\":2,\"changed\":20,\"entries_first_20\":[[0,\"3f73395873a10edd\",\"3f7751ebe85d795c\",\"bf8552a73209b7de\",\"3f14fbfe29a9774b\"],[1,\"3f798242d6be64df\",\"3f798242d6be64de\",\"3f8ae1fb0b51213f\",\"3f18d79eff023b06\"],[4096,\"3f9d71eaecf958fb\",\"3f9e780fca28739b\",\"bf6fda794c7f4356\",\"3ee4874452c54ea4\"],[4224,\"3fefff43cec7fbde\",\"3ff003ba7ad8ba59\",\"3f1256c5dd67068a\",\"3e2760769ce5b9f8\"],[4240,\"3f91335e055b2e52\",\"3f923982e28a48f2\",\"3e8c82f3e951ecd7\",\"3d22dc1b3d5ebae0\"],[4496,\"3f7e376430d30470\",\"3f8127fbd2c7b778\",\"bea74810b3835236\",\"3d5affaac6d4f0e8\"],[4752,\"bf8127b4d0942b41\",\"bf7e36d62c6bec03\",\"3f2ff9fda43ff4ce\",\"3e655d362beed931\"],[5008,\"bf642a283fb3a03a\",\"bf57f202ac759678\",\"3f3502ff80b87ea6\",\"3e72e5c1e1efe469\"],[5264,\"3ff0005e70ee046f\",\"3ff004770462c0d9\",\"bf18ed43b60b63b7\",\"3e355bda46217552\"],[5280,\"3f937e8c81983fca\",\"3f9484b15ec75a6a\",\"bf48faf52cc05b78\",\"3e965b7796fddabc\"],[5792,\"bf8d0a85a19f1a66\",\"bf8afe3be740e526\",\"3f4a9cc4b0ff81ae\",\"3e99124af81315f5\"],[6304,\"3ff0005d56c1676d\",\"3ff00475ea3623d7\",\"bf183fc5d9e8349e\",\"3e34f092d477879a\"],[6320,\"3f478f6a628528cb\",\"3f5c2a0304343e62\",\"bea91b8ad8d8fa88\",\"3d711f50953c987a\"],[6576,\"3f96ddb9cf3d8cbd\",\"3f97e3deac6ca75d\",\"bea1d46f2116bc66\",\"3d46551f111a70d4\"],[6832,\"bf85cdb8b6e68c3d\",\"bf83c16efc8856fe\",\"bf4f1c7c31f855d4\",\"3ea2ab72a16c8090\"],[7088,\"3f66903abb2fa5f3\",\"3f6ec161a4a87af1\",\"bf50fdbc8214d868\",\"3ea5d7a369874dbc\"],[7344,\"3fefff43cf3b0247\",\"3ff003ba7b123d8e\",\"3f0d8004986b399c\",\"3e1e3eb1e77eda8e\"],[7360,\"bfa157e08134d98b\",\"bfa0d4ce129d4c3b\",\"3f1d076f4cc62d48\",\"3e421f608bd657e5\"],[7872,\"bf908b27ddd68b5c\",\"bf8f0a06014ee178\",\"3f549ba6f596fe71\",\"3ead9cd639986443\"],[8384,\"3fefffe8aac28f0e\",\"3ff0040ce8d603f1\",\"3f27d30ec44cacbd\",\"3e64d03ccafe7fec\"]],\"params\":\"{\\\"delta\\\":0.001,\\\"name\\\":\\\"Ω patch\\\"}\\u000a\",\"rationale\":\"Own-model fixture. Preserve exact rollback.\\u000a\"}\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch show /tmp/wpatch-review-kvpuocsc/small/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp"} +{"status": "PASS", "check": "show UTF8 provenance"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/tmp/wpatch-review-kvpuocsc/small/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck"], "exit": 0, "expected": 0, "elapsed_ns": 6093561, "stdout": "PASS\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /tmp/wpatch-review-kvpuocsc/small/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp /tmp/wpatch-review-kvpuocsc/small/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/tmp/wpatch-review-kvpuocsc/small/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/tmp/wpatch-review-kvpuocsc/small/applied-2.ck"], "exit": 0, "expected": 0, "elapsed_ns": 11159865, "stdout": "PASS\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /tmp/wpatch-review-kvpuocsc/small/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp /tmp/wpatch-review-kvpuocsc/small/base.ck /tmp/wpatch-review-kvpuocsc/small/applied-2.ck"} +{"status": "PASS", "check": "apply exact oracle bytes"} +{"oracle": "independent requested checkpoint bytes", "status": "PASS", "negative_control": false, "expected": "/tmp/wpatch-review-kvpuocsc/small/expected-2.ck", "actual": "/tmp/wpatch-review-kvpuocsc/small/applied-2.ck"} +{"status": "PASS", "check": "apply equals independent requested bytes"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "verify", "/tmp/wpatch-review-kvpuocsc/small/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp", "/tmp/wpatch-review-kvpuocsc/small/applied-2.ck"], "exit": 0, "expected": 0, "elapsed_ns": 3546865, "stdout": "PASS f32_surviving=19 changed=20\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch verify /tmp/wpatch-review-kvpuocsc/small/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp /tmp/wpatch-review-kvpuocsc/small/applied-2.ck"} +{"status": "PASS", "check": "oracle manifest magic"} +{"status": "PASS", "check": "oracle canonical manifest name"} +{"status": "PASS", "check": "oracle manifest length"} +{"status": "PASS", "check": "oracle policy"} +{"status": "PASS", "check": "oracle edit identity"} +{"status": "PASS", "check": "oracle metadata lengths"} +{"status": "PASS", "check": "oracle strict order"} +{"status": "PASS", "check": "oracle indices in bounds"} +{"status": "PASS", "check": "verify f32 survival count"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "revert", "/tmp/wpatch-review-kvpuocsc/small/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp", "/tmp/wpatch-review-kvpuocsc/small/applied-2.ck", "/tmp/wpatch-review-kvpuocsc/small/reverted-2.ck"], "exit": 0, "expected": 0, "elapsed_ns": 10672819, "stdout": "PASS\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch revert /tmp/wpatch-review-kvpuocsc/small/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp /tmp/wpatch-review-kvpuocsc/small/applied-2.ck /tmp/wpatch-review-kvpuocsc/small/reverted-2.ck"} +{"status": "PASS", "check": "revert byte-identical base"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "bind", "/tmp/wpatch-review-kvpuocsc/small/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp", "/tmp/wpatch-review-kvpuocsc/small/applied-2.ck", "/home/drakestapleton/work/wsp/wpatch-build/wpatch", "/tmp/wpatch-review-kvpuocsc/small/binding-2"], "exit": 0, "expected": 0, "elapsed_ns": 8520783, "stdout": "PASS\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch bind /tmp/wpatch-review-kvpuocsc/small/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp /tmp/wpatch-review-kvpuocsc/small/applied-2.ck /home/drakestapleton/work/wsp/wpatch-build/wpatch /tmp/wpatch-review-kvpuocsc/small/binding-2"} +{"status": "PASS", "check": "oracle binding format"} +{"status": "PASS", "check": "oracle binding CK and f32"} +{"status": "PASS", "check": "oracle binding runtime and patch"} +{"status": "PASS", "check": "oracle binding self digest"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "checkbind", "/tmp/wpatch-review-kvpuocsc/small/binding-2", "/tmp/wpatch-review-kvpuocsc/small/applied-2.ck", "/home/drakestapleton/work/wsp/wpatch-build/wpatch"], "exit": 0, "expected": 0, "elapsed_ns": 4494666, "stdout": "PASS\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch checkbind /tmp/wpatch-review-kvpuocsc/small/binding-2 /tmp/wpatch-review-kvpuocsc/small/applied-2.ck /home/drakestapleton/work/wsp/wpatch-build/wpatch"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "checkbind", "/tmp/wpatch-review-kvpuocsc/small/binding-2", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/home/drakestapleton/work/wsp/wpatch-build/wpatch"], "exit": 60, "expected": 60, "elapsed_ns": 2068132, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch checkbind /tmp/wpatch-review-kvpuocsc/small/binding-2 /tmp/wpatch-review-kvpuocsc/small/base.ck /home/drakestapleton/work/wsp/wpatch-build/wpatch"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "checkbind", "/tmp/wpatch-review-kvpuocsc/small/binding-2", "/tmp/wpatch-review-kvpuocsc/small/applied-2.ck", "/tmp/wpatch-review-kvpuocsc/small/runtime-2"], "exit": 62, "expected": 62, "elapsed_ns": 4382457, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch checkbind /tmp/wpatch-review-kvpuocsc/small/binding-2 /tmp/wpatch-review-kvpuocsc/small/applied-2.ck /tmp/wpatch-review-kvpuocsc/small/runtime-2"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "checkbind", "/tmp/wpatch-review-kvpuocsc/small/wrong-f32-binding-2", "/tmp/wpatch-review-kvpuocsc/small/applied-2.ck", "/home/drakestapleton/work/wsp/wpatch-build/wpatch"], "exit": 61, "expected": 61, "elapsed_ns": 2528760, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch checkbind /tmp/wpatch-review-kvpuocsc/small/wrong-f32-binding-2 /tmp/wpatch-review-kvpuocsc/small/applied-2.ck /home/drakestapleton/work/wsp/wpatch-build/wpatch"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "checkbind", "/tmp/wpatch-review-kvpuocsc/small/wrong-f32-binding-2", "/tmp/wpatch-review-kvpuocsc/small/applied-2.ck", "/home/drakestapleton/work/wsp/wpatch-build/wpatch"], "exit": 59, "expected": 59, "elapsed_ns": 554597, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch checkbind /tmp/wpatch-review-kvpuocsc/small/wrong-f32-binding-2 /tmp/wpatch-review-kvpuocsc/small/applied-2.ck /home/drakestapleton/work/wsp/wpatch-build/wpatch"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/tmp/wpatch-review-kvpuocsc/small/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/tmp/wpatch-review-kvpuocsc/small/applied-2.ck"], "exit": 52, "expected": 52, "elapsed_ns": 6060536, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /tmp/wpatch-review-kvpuocsc/small/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp /tmp/wpatch-review-kvpuocsc/small/base.ck /tmp/wpatch-review-kvpuocsc/small/applied-2.ck"} +{"status": "PASS", "check": "OUT exists preserved"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/tmp/wpatch-review-kvpuocsc/small/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/tmp/wpatch-review-kvpuocsc/small/base.ck"], "exit": 52, "expected": 52, "elapsed_ns": 6140762, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /tmp/wpatch-review-kvpuocsc/small/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp /tmp/wpatch-review-kvpuocsc/small/base.ck /tmp/wpatch-review-kvpuocsc/small/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "revert", "/tmp/wpatch-review-kvpuocsc/small/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp", "/tmp/wpatch-review-kvpuocsc/small/applied-2.ck", "/tmp/wpatch-review-kvpuocsc/small/base.ck"], "exit": 52, "expected": 52, "elapsed_ns": 5611636, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch revert /tmp/wpatch-review-kvpuocsc/small/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp /tmp/wpatch-review-kvpuocsc/small/applied-2.ck /tmp/wpatch-review-kvpuocsc/small/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "diff", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/tmp/wpatch-review-kvpuocsc/small/edited.ck", "2", "/tmp/wpatch-review-kvpuocsc/small/params.txt", "/tmp/wpatch-review-kvpuocsc/small/rationale.txt", "/tmp/wpatch-review-kvpuocsc/small/patches-2"], "exit": 52, "expected": 52, "elapsed_ns": 8960291, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch diff /tmp/wpatch-review-kvpuocsc/small/base.ck /tmp/wpatch-review-kvpuocsc/small/edited.ck 2 /tmp/wpatch-review-kvpuocsc/small/params.txt /tmp/wpatch-review-kvpuocsc/small/rationale.txt /tmp/wpatch-review-kvpuocsc/small/patches-2"} +{"status": "PASS", "check": "BASE never written"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "verify", "/tmp/wpatch-review-kvpuocsc/small/1ad4db1bbd875453c2d00bfdadf045af0639fe215d7f16ef23084c3001fe261a.wp", "/tmp/wpatch-review-kvpuocsc/small/oracle-mutant.ck"], "exit": 0, "expected": 0, "elapsed_ns": 3637570, "stdout": "PASS f32_surviving=19 changed=20\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch verify /tmp/wpatch-review-kvpuocsc/small/1ad4db1bbd875453c2d00bfdadf045af0639fe215d7f16ef23084c3001fe261a.wp /tmp/wpatch-review-kvpuocsc/small/oracle-mutant.ck"} +{"oracle": "independent requested checkpoint bytes", "status": "FAIL", "negative_control": true, "expected": "/tmp/wpatch-review-kvpuocsc/small/expected-2.ck", "actual": "/tmp/wpatch-review-kvpuocsc/small/oracle-mutant.ck"} +{"status": "PASS", "check": "independent oracle rejects rehashed finite-value mutant accepted by verify"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/tmp/wpatch-review-kvpuocsc/small/oversized-params.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck"], "exit": 57, "expected": 57, "elapsed_ns": 89544051, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /tmp/wpatch-review-kvpuocsc/small/oversized-params.wp /tmp/wpatch-review-kvpuocsc/small/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "show", "/tmp/wpatch-review-kvpuocsc/small/oversized-params.wp"], "exit": 57, "expected": 57, "elapsed_ns": 89266945, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch show /tmp/wpatch-review-kvpuocsc/small/oversized-params.wp"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/tmp/wpatch-review-kvpuocsc/small/oversized-params.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/tmp/wpatch-review-kvpuocsc/small/oversized-params.ck"], "exit": 57, "expected": 57, "elapsed_ns": 89531524, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /tmp/wpatch-review-kvpuocsc/small/oversized-params.wp /tmp/wpatch-review-kvpuocsc/small/base.ck /tmp/wpatch-review-kvpuocsc/small/oversized-params.ck"} +{"status": "PASS", "check": "oversized metadata creates no output"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/tmp/wpatch-review-kvpuocsc/small/oversized-rationale.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck"], "exit": 57, "expected": 57, "elapsed_ns": 89894343, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /tmp/wpatch-review-kvpuocsc/small/oversized-rationale.wp /tmp/wpatch-review-kvpuocsc/small/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "show", "/tmp/wpatch-review-kvpuocsc/small/oversized-rationale.wp"], "exit": 57, "expected": 57, "elapsed_ns": 89510499, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch show /tmp/wpatch-review-kvpuocsc/small/oversized-rationale.wp"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/tmp/wpatch-review-kvpuocsc/small/oversized-rationale.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/tmp/wpatch-review-kvpuocsc/small/oversized-rationale.ck"], "exit": 57, "expected": 57, "elapsed_ns": 90109609, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /tmp/wpatch-review-kvpuocsc/small/oversized-rationale.wp /tmp/wpatch-review-kvpuocsc/small/base.ck /tmp/wpatch-review-kvpuocsc/small/oversized-rationale.ck"} +{"status": "PASS", "check": "oversized metadata creates no output"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/tmp/wpatch-review-kvpuocsc/small/invalid-utf8.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck"], "exit": 31, "expected": 31, "elapsed_ns": 736631, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /tmp/wpatch-review-kvpuocsc/small/invalid-utf8.wp /tmp/wpatch-review-kvpuocsc/small/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/tmp/wpatch-review-kvpuocsc/small/wrong-base-sha.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck"], "exit": 50, "expected": 50, "elapsed_ns": 2157845, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /tmp/wpatch-review-kvpuocsc/small/wrong-base-sha.wp /tmp/wpatch-review-kvpuocsc/small/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/tmp/wpatch-review-kvpuocsc/small/wrong-base-sha.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/tmp/wpatch-review-kvpuocsc/small/wrong-base-sha.ck"], "exit": 50, "expected": 50, "elapsed_ns": 2164852, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /tmp/wpatch-review-kvpuocsc/small/wrong-base-sha.wp /tmp/wpatch-review-kvpuocsc/small/base.ck /tmp/wpatch-review-kvpuocsc/small/wrong-base-sha.ck"} +{"status": "PASS", "check": "wrong-base-sha: refusal creates no output"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/tmp/wpatch-review-kvpuocsc/small/geometry.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck"], "exit": 36, "expected": 36, "elapsed_ns": 1004457, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /tmp/wpatch-review-kvpuocsc/small/geometry.wp /tmp/wpatch-review-kvpuocsc/small/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/tmp/wpatch-review-kvpuocsc/small/geometry.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/tmp/wpatch-review-kvpuocsc/small/geometry.ck"], "exit": 36, "expected": 36, "elapsed_ns": 985017, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /tmp/wpatch-review-kvpuocsc/small/geometry.wp /tmp/wpatch-review-kvpuocsc/small/base.ck /tmp/wpatch-review-kvpuocsc/small/geometry.ck"} +{"status": "PASS", "check": "geometry: refusal creates no output"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/tmp/wpatch-review-kvpuocsc/small/shape.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck"], "exit": 37, "expected": 37, "elapsed_ns": 972137, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /tmp/wpatch-review-kvpuocsc/small/shape.wp /tmp/wpatch-review-kvpuocsc/small/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/tmp/wpatch-review-kvpuocsc/small/shape.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/tmp/wpatch-review-kvpuocsc/small/shape.ck"], "exit": 37, "expected": 37, "elapsed_ns": 970985, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /tmp/wpatch-review-kvpuocsc/small/shape.wp /tmp/wpatch-review-kvpuocsc/small/base.ck /tmp/wpatch-review-kvpuocsc/small/shape.ck"} +{"status": "PASS", "check": "shape: refusal creates no output"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/tmp/wpatch-review-kvpuocsc/small/oob.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck"], "exit": 38, "expected": 38, "elapsed_ns": 951944, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /tmp/wpatch-review-kvpuocsc/small/oob.wp /tmp/wpatch-review-kvpuocsc/small/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/tmp/wpatch-review-kvpuocsc/small/oob.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/tmp/wpatch-review-kvpuocsc/small/oob.ck"], "exit": 38, "expected": 38, "elapsed_ns": 967305, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /tmp/wpatch-review-kvpuocsc/small/oob.wp /tmp/wpatch-review-kvpuocsc/small/base.ck /tmp/wpatch-review-kvpuocsc/small/oob.ck"} +{"status": "PASS", "check": "oob: refusal creates no output"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/tmp/wpatch-review-kvpuocsc/small/nan.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck"], "exit": 40, "expected": 40, "elapsed_ns": 984026, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /tmp/wpatch-review-kvpuocsc/small/nan.wp /tmp/wpatch-review-kvpuocsc/small/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/tmp/wpatch-review-kvpuocsc/small/nan.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/tmp/wpatch-review-kvpuocsc/small/nan.ck"], "exit": 40, "expected": 40, "elapsed_ns": 989753, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /tmp/wpatch-review-kvpuocsc/small/nan.wp /tmp/wpatch-review-kvpuocsc/small/base.ck /tmp/wpatch-review-kvpuocsc/small/nan.ck"} +{"status": "PASS", "check": "nan: refusal creates no output"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/tmp/wpatch-review-kvpuocsc/small/inf.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck"], "exit": 41, "expected": 41, "elapsed_ns": 1039914, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /tmp/wpatch-review-kvpuocsc/small/inf.wp /tmp/wpatch-review-kvpuocsc/small/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/tmp/wpatch-review-kvpuocsc/small/inf.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/tmp/wpatch-review-kvpuocsc/small/inf.ck"], "exit": 41, "expected": 41, "elapsed_ns": 998729, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /tmp/wpatch-review-kvpuocsc/small/inf.wp /tmp/wpatch-review-kvpuocsc/small/base.ck /tmp/wpatch-review-kvpuocsc/small/inf.ck"} +{"status": "PASS", "check": "inf: refusal creates no output"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/tmp/wpatch-review-kvpuocsc/small/magnitude.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck"], "exit": 42, "expected": 42, "elapsed_ns": 973961, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /tmp/wpatch-review-kvpuocsc/small/magnitude.wp /tmp/wpatch-review-kvpuocsc/small/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/tmp/wpatch-review-kvpuocsc/small/magnitude.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/tmp/wpatch-review-kvpuocsc/small/magnitude.ck"], "exit": 42, "expected": 42, "elapsed_ns": 987929, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /tmp/wpatch-review-kvpuocsc/small/magnitude.wp /tmp/wpatch-review-kvpuocsc/small/base.ck /tmp/wpatch-review-kvpuocsc/small/magnitude.ck"} +{"status": "PASS", "check": "magnitude: refusal creates no output"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/tmp/wpatch-review-kvpuocsc/small/unsorted.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck"], "exit": 39, "expected": 39, "elapsed_ns": 988857, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /tmp/wpatch-review-kvpuocsc/small/unsorted.wp /tmp/wpatch-review-kvpuocsc/small/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/tmp/wpatch-review-kvpuocsc/small/unsorted.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/tmp/wpatch-review-kvpuocsc/small/unsorted.ck"], "exit": 39, "expected": 39, "elapsed_ns": 1004825, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /tmp/wpatch-review-kvpuocsc/small/unsorted.wp /tmp/wpatch-review-kvpuocsc/small/base.ck /tmp/wpatch-review-kvpuocsc/small/unsorted.ck"} +{"status": "PASS", "check": "unsorted: refusal creates no output"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/tmp/wpatch-review-kvpuocsc/small/duplicate.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck"], "exit": 43, "expected": 43, "elapsed_ns": 985289, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /tmp/wpatch-review-kvpuocsc/small/duplicate.wp /tmp/wpatch-review-kvpuocsc/small/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/tmp/wpatch-review-kvpuocsc/small/duplicate.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/tmp/wpatch-review-kvpuocsc/small/duplicate.ck"], "exit": 43, "expected": 43, "elapsed_ns": 963417, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /tmp/wpatch-review-kvpuocsc/small/duplicate.wp /tmp/wpatch-review-kvpuocsc/small/base.ck /tmp/wpatch-review-kvpuocsc/small/duplicate.ck"} +{"status": "PASS", "check": "duplicate: refusal creates no output"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/tmp/wpatch-review-kvpuocsc/small/old-bits.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck"], "exit": 47, "expected": 47, "elapsed_ns": 2928491, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /tmp/wpatch-review-kvpuocsc/small/old-bits.wp /tmp/wpatch-review-kvpuocsc/small/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/tmp/wpatch-review-kvpuocsc/small/old-bits.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/tmp/wpatch-review-kvpuocsc/small/old-bits.ck"], "exit": 47, "expected": 47, "elapsed_ns": 2965467, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /tmp/wpatch-review-kvpuocsc/small/old-bits.wp /tmp/wpatch-review-kvpuocsc/small/base.ck /tmp/wpatch-review-kvpuocsc/small/old-bits.ck"} +{"status": "PASS", "check": "old-bits: refusal creates no output"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/tmp/wpatch-review-kvpuocsc/small/old-moment.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck"], "exit": 48, "expected": 48, "elapsed_ns": 3050956, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /tmp/wpatch-review-kvpuocsc/small/old-moment.wp /tmp/wpatch-review-kvpuocsc/small/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/tmp/wpatch-review-kvpuocsc/small/old-moment.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/tmp/wpatch-review-kvpuocsc/small/old-moment.ck"], "exit": 48, "expected": 48, "elapsed_ns": 2935515, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /tmp/wpatch-review-kvpuocsc/small/old-moment.wp /tmp/wpatch-review-kvpuocsc/small/base.ck /tmp/wpatch-review-kvpuocsc/small/old-moment.ck"} +{"status": "PASS", "check": "old-moment: refusal creates no output"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/tmp/wpatch-review-kvpuocsc/small/entries-hash.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck"], "exit": 46, "expected": 46, "elapsed_ns": 1192427, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /tmp/wpatch-review-kvpuocsc/small/entries-hash.wp /tmp/wpatch-review-kvpuocsc/small/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/tmp/wpatch-review-kvpuocsc/small/entries-hash.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/tmp/wpatch-review-kvpuocsc/small/entries-hash.ck"], "exit": 46, "expected": 46, "elapsed_ns": 999674, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /tmp/wpatch-review-kvpuocsc/small/entries-hash.wp /tmp/wpatch-review-kvpuocsc/small/base.ck /tmp/wpatch-review-kvpuocsc/small/entries-hash.ck"} +{"status": "PASS", "check": "entries-hash: refusal creates no output"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/tmp/wpatch-review-kvpuocsc/small/tensor-count.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck"], "exit": 45, "expected": 45, "elapsed_ns": 943705, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /tmp/wpatch-review-kvpuocsc/small/tensor-count.wp /tmp/wpatch-review-kvpuocsc/small/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/tmp/wpatch-review-kvpuocsc/small/tensor-count.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/tmp/wpatch-review-kvpuocsc/small/tensor-count.ck"], "exit": 45, "expected": 45, "elapsed_ns": 962041, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /tmp/wpatch-review-kvpuocsc/small/tensor-count.wp /tmp/wpatch-review-kvpuocsc/small/base.ck /tmp/wpatch-review-kvpuocsc/small/tensor-count.ck"} +{"status": "PASS", "check": "tensor-count: refusal creates no output"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/tmp/wpatch-review-kvpuocsc/small/tensor-base-sha.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck"], "exit": 49, "expected": 49, "elapsed_ns": 2267029, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /tmp/wpatch-review-kvpuocsc/small/tensor-base-sha.wp /tmp/wpatch-review-kvpuocsc/small/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/tmp/wpatch-review-kvpuocsc/small/tensor-base-sha.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/tmp/wpatch-review-kvpuocsc/small/tensor-base-sha.ck"], "exit": 49, "expected": 49, "elapsed_ns": 2303414, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /tmp/wpatch-review-kvpuocsc/small/tensor-base-sha.wp /tmp/wpatch-review-kvpuocsc/small/base.ck /tmp/wpatch-review-kvpuocsc/small/tensor-base-sha.ck"} +{"status": "PASS", "check": "tensor-base-sha: refusal creates no output"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/tmp/wpatch-review-kvpuocsc/small/tensor-out-sha.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck"], "exit": 49, "expected": 49, "elapsed_ns": 5131279, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /tmp/wpatch-review-kvpuocsc/small/tensor-out-sha.wp /tmp/wpatch-review-kvpuocsc/small/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/tmp/wpatch-review-kvpuocsc/small/tensor-out-sha.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/tmp/wpatch-review-kvpuocsc/small/tensor-out-sha.ck"], "exit": 49, "expected": 49, "elapsed_ns": 5064735, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /tmp/wpatch-review-kvpuocsc/small/tensor-out-sha.wp /tmp/wpatch-review-kvpuocsc/small/base.ck /tmp/wpatch-review-kvpuocsc/small/tensor-out-sha.ck"} +{"status": "PASS", "check": "tensor-out-sha: refusal creates no output"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/tmp/wpatch-review-kvpuocsc/small/output-sha.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck"], "exit": 53, "expected": 53, "elapsed_ns": 4849469, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /tmp/wpatch-review-kvpuocsc/small/output-sha.wp /tmp/wpatch-review-kvpuocsc/small/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/tmp/wpatch-review-kvpuocsc/small/output-sha.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/tmp/wpatch-review-kvpuocsc/small/output-sha.ck"], "exit": 53, "expected": 53, "elapsed_ns": 4884942, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /tmp/wpatch-review-kvpuocsc/small/output-sha.wp /tmp/wpatch-review-kvpuocsc/small/base.ck /tmp/wpatch-review-kvpuocsc/small/output-sha.ck"} +{"status": "PASS", "check": "output-sha: refusal creates no output"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/tmp/wpatch-review-kvpuocsc/small/output-f32-sha.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck"], "exit": 54, "expected": 54, "elapsed_ns": 6040184, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /tmp/wpatch-review-kvpuocsc/small/output-f32-sha.wp /tmp/wpatch-review-kvpuocsc/small/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/tmp/wpatch-review-kvpuocsc/small/output-f32-sha.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/tmp/wpatch-review-kvpuocsc/small/output-f32-sha.ck"], "exit": 54, "expected": 54, "elapsed_ns": 6121529, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /tmp/wpatch-review-kvpuocsc/small/output-f32-sha.wp /tmp/wpatch-review-kvpuocsc/small/base.ck /tmp/wpatch-review-kvpuocsc/small/output-f32-sha.ck"} +{"status": "PASS", "check": "output-f32-sha: refusal creates no output"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "show", "/tmp/wpatch-review-kvpuocsc/small/flipped/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp"], "exit": 30, "expected": 30, "elapsed_ns": 530661, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch show /tmp/wpatch-review-kvpuocsc/small/flipped/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/tmp/wpatch-review-kvpuocsc/small/flipped/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck"], "exit": 30, "expected": 30, "elapsed_ns": 489604, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /tmp/wpatch-review-kvpuocsc/small/flipped/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /tmp/wpatch-review-kvpuocsc/small/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "verify", "/tmp/wpatch-review-kvpuocsc/small/flipped/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp", "/tmp/wpatch-review-kvpuocsc/small/applied-1.ck"], "exit": 30, "expected": 30, "elapsed_ns": 496756, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch verify /tmp/wpatch-review-kvpuocsc/small/flipped/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /tmp/wpatch-review-kvpuocsc/small/applied-1.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "apply", "/tmp/wpatch-review-kvpuocsc/small/flipped/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/tmp/wpatch-review-kvpuocsc/small/bad-apply.ck"], "exit": 30, "expected": 30, "elapsed_ns": 481924, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch apply /tmp/wpatch-review-kvpuocsc/small/flipped/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /tmp/wpatch-review-kvpuocsc/small/base.ck /tmp/wpatch-review-kvpuocsc/small/bad-apply.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "revert", "/tmp/wpatch-review-kvpuocsc/small/flipped/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp", "/tmp/wpatch-review-kvpuocsc/small/applied-1.ck", "/tmp/wpatch-review-kvpuocsc/small/bad-revert.ck"], "exit": 30, "expected": 30, "elapsed_ns": 520693, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch revert /tmp/wpatch-review-kvpuocsc/small/flipped/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /tmp/wpatch-review-kvpuocsc/small/applied-1.ck /tmp/wpatch-review-kvpuocsc/small/bad-revert.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "bind", "/tmp/wpatch-review-kvpuocsc/small/flipped/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp", "/tmp/wpatch-review-kvpuocsc/small/applied-1.ck", "/home/drakestapleton/work/wsp/wpatch-build/wpatch", "/tmp/wpatch-review-kvpuocsc/small/bad-bind"], "exit": 30, "expected": 30, "elapsed_ns": 510212, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch bind /tmp/wpatch-review-kvpuocsc/small/flipped/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /tmp/wpatch-review-kvpuocsc/small/applied-1.ck /home/drakestapleton/work/wsp/wpatch-build/wpatch /tmp/wpatch-review-kvpuocsc/small/bad-bind"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/tmp/wpatch-review-kvpuocsc/small/truncated.wp", "/tmp/wpatch-review-kvpuocsc/small/base.ck"], "exit": 32, "expected": 32, "elapsed_ns": 470180, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /tmp/wpatch-review-kvpuocsc/small/truncated.wp /tmp/wpatch-review-kvpuocsc/small/base.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "show", "/tmp/wpatch-review-kvpuocsc/small/truncated.wp"], "exit": 32, "expected": 32, "elapsed_ns": 416244, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch show /tmp/wpatch-review-kvpuocsc/small/truncated.wp"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "diff", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "0", "/tmp/wpatch-review-kvpuocsc/small/params.txt", "/tmp/wpatch-review-kvpuocsc/small/rationale.txt", "/tmp/wpatch-review-kvpuocsc/small"], "exit": 55, "expected": 55, "elapsed_ns": 1858194, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch diff /tmp/wpatch-review-kvpuocsc/small/base.ck /tmp/wpatch-review-kvpuocsc/small/base.ck 0 /tmp/wpatch-review-kvpuocsc/small/params.txt /tmp/wpatch-review-kvpuocsc/small/rationale.txt /tmp/wpatch-review-kvpuocsc/small"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "diff", "/tmp/wpatch-review-kvpuocsc/small/base.ck", "/tmp/wpatch-review-kvpuocsc/small/wrong-m.ck", "0", "/tmp/wpatch-review-kvpuocsc/small/params.txt", "/tmp/wpatch-review-kvpuocsc/small/rationale.txt", "/tmp/wpatch-review-kvpuocsc/small"], "exit": 56, "expected": 56, "elapsed_ns": 3577217, "stdout": "", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch diff /tmp/wpatch-review-kvpuocsc/small/base.ck /tmp/wpatch-review-kvpuocsc/small/wrong-m.ck 0 /tmp/wpatch-review-kvpuocsc/small/params.txt /tmp/wpatch-review-kvpuocsc/small/rationale.txt /tmp/wpatch-review-kvpuocsc/small"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "diff", "/tmp/wpatch-review-kvpuocsc/small/exotic.ck", "/tmp/wpatch-review-kvpuocsc/small/exotic-edited.ck", "0", "/tmp/wpatch-review-kvpuocsc/small/params.txt", "/tmp/wpatch-review-kvpuocsc/small/rationale.txt", "/tmp/wpatch-review-kvpuocsc/small/exotic-patches"], "exit": 0, "expected": 0, "elapsed_ns": 12171538, "stdout": "/tmp/wpatch-review-kvpuocsc/small/exotic-patches/a426d92627d93db4de09b0e6bed92dccf6c744bb91bf13f19b1cc0ee50b63e6b.wp\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch diff /tmp/wpatch-review-kvpuocsc/small/exotic.ck /tmp/wpatch-review-kvpuocsc/small/exotic-edited.ck 0 /tmp/wpatch-review-kvpuocsc/small/params.txt /tmp/wpatch-review-kvpuocsc/small/rationale.txt /tmp/wpatch-review-kvpuocsc/small/exotic-patches"} +{"status": "PASS", "check": "f32 cast boundary vectors"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "validate", "/tmp/wpatch-review-kvpuocsc/small/exotic-patches/a426d92627d93db4de09b0e6bed92dccf6c744bb91bf13f19b1cc0ee50b63e6b.wp", "/tmp/wpatch-review-kvpuocsc/small/exotic.ck"], "exit": 0, "expected": 0, "elapsed_ns": 6196314, "stdout": "PASS\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch validate /tmp/wpatch-review-kvpuocsc/small/exotic-patches/a426d92627d93db4de09b0e6bed92dccf6c744bb91bf13f19b1cc0ee50b63e6b.wp /tmp/wpatch-review-kvpuocsc/small/exotic.ck"} +{"command": ["/home/drakestapleton/work/wsp/wpatch-build/wpatch", "inspect", "/tmp/wpatch-review-kvpuocsc/small/exotic.ck"], "exit": 0, "expected": 0, "elapsed_ns": 2289893, "stdout": "OLLMCK02 V T D H F L B P: 256 8 16 2 32 2 2 8400\nseed step total lr G fnv: 1 2 10 4569063951553953530 1 3717650157346357865\nwte 0 256x16 dtype=f64 offset=0 sha256=898afc07405721fe16488b80d246453413e7b593856b7a09cf8021bab210d1c1 rms=2.8088955232223696e306 maxabs=1.7976931348623164e308 nonfinite=3\nwpe 0 8x16 dtype=f64 offset=4096 sha256=8466ddee307934f1d085b7fc3f2f222b33f320a47b8f72c0782cd099f53c3a56 rms=2.0597512474142969e-2 maxabs=3.4688363182317480e-2 nonfinite=0\ng1 0 1x16 dtype=f64 offset=4224 sha256=8e55ebc45ecdca0459276d85bdcc502985681ca91936c7d388f36141657e7724 rms=9.9998560202156934e-1 maxabs=1.0000898116642267e0 nonfinite=0\nwq 0 16x16 dtype=f64 offset=4240 sha256=adfe7504881e98ae49edbd9bd2a8c6259a190472f5f2a301aabf76d433a26668 rms=1.9387060051204409e-2 maxabs=3.4602970449885450e-2 nonfinite=0\nwk 0 16x16 dtype=f64 offset=4496 sha256=accdb602abdaf839de2b6e98f98e399bcb00eea03cdc1e14ffe760c6012bffa8 rms=2.0086632119378893e-2 maxabs=3.4488179470423929e-2 nonfinite=0\nwv 0 16x16 dtype=f64 offset=4752 sha256=fa6b0727cb263311c2c3b75e6fea1f7902613c5051548b6cff87fecb0556f9d0 rms=2.0442612683966512e-2 maxabs=3.4608463868511711e-2 nonfinite=0\nwo 0 16x16 dtype=f64 offset=5008 sha256=b43e998b213e289c9464b79a54a04243a629061e9351882c0af8ba717ab1f27c rms=9.3607584314112308e-3 maxabs=1.7186119006150049e-2 nonfinite=0\ng2 0 1x16 dtype=f64 offset=5264 sha256=02d1cd2862c618fa82ecbe721cef53d3f0064a85c37dc3c81b60256496a551e8 rms=1.0000317542785344e0 maxabs=1.0000900660818634e0 nonfinite=0\nw1 0 16x32 dtype=f64 offset=5280 sha256=0d43f123403113f54dc36bf858225654da6ca9b2fa6dd13d34ea03df0300162d rms=1.9707409527231671e-2 maxabs=3.4604831137893370e-2 nonfinite=0\nw2 0 32x16 dtype=f64 offset=5792 sha256=ff25c2a9843e2cb7febd7173d1310c5c38d4c3b84f80d41fe477671df90958a4 rms=9.9353752213784609e-3 maxabs=1.7383742580227750e-2 nonfinite=0\ng1 1 1x16 dtype=f64 offset=6304 sha256=d5ef48d1f1f83bea39dbec4469a83b73134a957a6f7ee5c7f55d489a085e2fc2 rms=1.0000055077295755e0 maxabs=1.0000896598909829e0 nonfinite=0\nwq 1 16x16 dtype=f64 offset=6320 sha256=cd5d9460b4f8b03c13493204e04f3499387caa9332da929e17aa53b5bf93f1b9 rms=1.9395643851273927e-2 maxabs=3.4713570183186637e-2 nonfinite=0\nwk 1 16x16 dtype=f64 offset=6576 sha256=77e6c5613a0fba859e0559bee3beb70fb9e4ac007b87134dfc1e2fe482194b44 rms=2.0451505765922823e-2 maxabs=3.4557907877036364e-2 nonfinite=0\nwv 1 16x16 dtype=f64 offset=6832 sha256=a49caf53f5f318fe312bef6bc78842f4f194d97965a34d4d1903a20c325e3af6 rms=2.0283640674707430e-2 maxabs=3.4634749954325338e-2 nonfinite=0\nwo 1 16x16 dtype=f64 offset=7088 sha256=4a99000fa39bce104d6cd39bd7e6e8f108b0a120d700c1372a14614b7d2a3cf9 rms=9.5378278603200783e-3 maxabs=1.7408843619714149e-2 nonfinite=0\ng2 1 1x16 dtype=f64 offset=7344 sha256=975a6761e290c4c1493058ce603d78cf98fe638c88792c88a13d422d00044af5 rms=1.0000051625444570e0 maxabs=1.0000900629791575e0 nonfinite=0\nw1 1 16x32 dtype=f64 offset=7360 sha256=6744256441b31f1e97fe7739e0af3edbeeabb2960c9030bde44a0940f673b254 rms=1.9646243437713831e-2 maxabs=3.4519835058524788e-2 nonfinite=0\nw2 1 32x16 dtype=f64 offset=7872 sha256=f01f41002a7e3c6afa8dbfe6c69ab753d4361cf25faae3e3ea4738e7aa1f0232 rms=9.9239498616909447e-3 maxabs=1.7320015361641458e-2 nonfinite=0\ngf 0 1x16 dtype=f64 offset=8384 sha256=65aa5211ba1921da7b4c26e7667f49bf0d2a7219f2fef32dcc828fb4cf181a9a rms=1.0000070876612532e0 maxabs=1.0000900576992735e0 nonfinite=0\n", "stderr": ""} +{"status": "PASS", "check": "exit: /home/drakestapleton/work/wsp/wpatch-build/wpatch inspect /tmp/wpatch-review-kvpuocsc/small/exotic.ck"} +{"status": "PASS", "check": "scaled RMS survives maximum finite f64, counts nonfinite separately"} +{"status": "PASS", "check": "final base identity"} +{"status": "PASS", "checks": 702, "commands": 108, "failures": 0} diff --git a/tools/omegallm/wpatch/.crumb b/tools/omegallm/wpatch/.crumb index f04032e..69b2d66 100644 --- a/tools/omegallm/wpatch/.crumb +++ b/tools/omegallm/wpatch/.crumb @@ -3,14 +3,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-11-07T06:17:25Z", + "compiled_at": "2026-11-07T06:30:08Z", "compiler": "crumb-compile/1", - "digest": "sha256:b422d64b6374255960b48112a3d7e2911b55c4868af25c5262907a58e74fe031", + "digest": "sha256:8dd1cdfc967a648f6cbe708831023bc39f351a499042a0e09d6d0a727e8c9072", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "files": 0, - "generated_at_commit": "0518c915dea370b3bffbb90d579b1daa5ba8b8f5", - "source_tree": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + "files": 4, + "generated_at_commit": "ca047de8e449dac95ae8cbfe1eaeb8c1cd93ffac", + "source_tree": "sha256:3adc18a21bd88ae6a8b1d8a5e52919de578c093e49a3c4ba8f3f39a63898bc73" } }, "layer": "tooling", diff --git a/tools/omegallm/wpatch/README.md b/tools/omegallm/wpatch/README.md index b7cd5bb..06c1fd0 100644 --- a/tools/omegallm/wpatch/README.md +++ b/tools/omegallm/wpatch/README.md @@ -66,10 +66,12 @@ SHA to match. All checkpoint-writing commands refresh the payload FNV. `bind` first verifies the applied checkpoint, then binds checkpoint SHA, f32 weight SHA, runtime executable SHA and manifest SHA in a checksummed record. -`checkbind` checks that record and the checkpoint/runtime identities. It does not -load a model or invalidate an existing runtime cache. A serving caller must run -checkbind, discard cached weights and KV state, and load the exact bound files -before claiming a repaired run. Merely creating a binding is not deployment. +`checkbind` checks that record and the checkpoint/runtime identities. It takes no +manifest argument, never rereads the manifest, and cannot detect a replaced +manifest. It also does not load a model or invalidate an existing runtime cache. +A serving caller must retain the intended manifest identity, run checkbind, +discard cached weights and KV state, and load the exact bound files before +claiming a repaired run. Merely creating a binding is not deployment. No output is overwritten, including a symlink or an output equal to BASE. Patches and bindings are created read-only. Checkpoints are mode 0600. Inputs are mapped @@ -93,14 +95,28 @@ taskset -c 0 nice -n 19 python3 tools/omegallm/wpatch/check.py \ The instrument trains an own-model small checkpoint, checks all commands and all optimizer policies, independently parses and hashes manifests/checkpoints, checks f32 cast boundaries, and exercises corruptions with exact refusal codes. -It prints JSONL including each command, exit code and elapsed nanoseconds. +It builds expected output bytes directly from BASE and the requested edits, +including optimizer resets, without taking expected values from a manifest. +A fully rehashed manifest for a different finite value passes product verify but +fails this independent byte oracle. That intentional FAIL is marked as a +negative control; the overall acceptance must PASS. JSONL records each command, +exit code and elapsed nanoseconds. For the pinned round40 fixture, add `--real PATH_TO_ROUND40/model.ck` and use a separate work directory. It changes ten layer-3 w2 entries in a copy, performs -diff/validate/apply/verify/revert, and independently checks restored SHA and f32 -output SHA. It never writes into the source model directory. For lane wsp, first -check the pool-19 lock; use its authorized flock/core-19 wrapper if free, otherwise -core 0 at nice 19. Do not run on reserved cores 3, 7 or 15. +diff/validate/apply/verify/revert, compares every output byte against the +independently built expectation, and checks restored SHA and expected f32 SHA. +It never writes into the source model directory. For the wsp review rerun, queue +behind other authorized core-19 work: + +```sh +flock -w 3600 -o "$HOME/handoffs/hive/queen/pool-19.lock" \ + taskset -c 19 nice -n 10 python3 tools/omegallm/wpatch/check.py \ + --build "$HOME/work/wsp/wpatch-build" --work "$HOME/work/wsp/ck/wpatch-real-new" \ + --real "$HOME/.local/share/omega-tool-model/round40/model.ck" +``` + +Do not run on reserved cores 3, 7 or 15. Evidence: `evidence/OMEGALLM/wsp-patch-20261107/`. Host CPU execution is not GPU qualification, a model-quality result, a merge, or a deployment. diff --git a/tools/omegallm/wpatch/check.py b/tools/omegallm/wpatch/check.py index 3a7336f..b4a6871 100755 --- a/tools/omegallm/wpatch/check.py +++ b/tools/omegallm/wpatch/check.py @@ -77,6 +77,38 @@ def reseal(b): return b +def requested_output(base, output, edits, policy): + """Build expected bytes from BASE and caller intent, never from a manifest.""" + shutil.copyfile(base, output) + with output.open('r+b') as f: + with mmap.mmap(f.fileno(), 0) as mm: + pp = u(mm, 96) + for ix, bits in edits.items(): + put(mm, 120+8*ix, bits) + if policy: + put(mm, 120+8*(pp+ix), 0) + if policy == 2: + put(mm, 120+8*(2*pp+ix), 0) + put(mm, 112, fnv(memoryview(mm)[120:])) + mm.flush() + + +def compare_requested(expected, actual, negative_control=False): + """Compare every byte, including header and unchanged optimizer words.""" + equal = True + with expected.open('rb') as ef, actual.open('rb') as af: + while True: + eb, ab = ef.read(1048576), af.read(1048576) + if eb != ab: + equal = False + if not eb and not ab: + break + record(oracle='independent requested checkpoint bytes', + status='PASS' if equal else 'FAIL', negative_control=negative_control, + expected=str(expected), actual=str(actual)) + return equal + + def f32bits(bits): x = F.unpack(U.pack(bits))[0] try: @@ -201,6 +233,7 @@ def small(build, work): reseal(edited) ep = work/'edited.ck' ep.write_bytes(edited) + requested = {ix:u(edited,120+8*ix) for ix in indices+[1]} params = '{"delta":0.001,"name":"Ω patch"}\n' reason = 'Own-model fixture. Preserve exact rollback.\n' pf, rf = work/'params.txt',work/'rationale.txt' @@ -217,12 +250,16 @@ def small(build, work): path = Path(run(wp,'diff',basep,ep,policy,pf,rf,od).strip()) patches.append(path) expected = oracle(path,base,edited,params,reason) + requested_path = work/f'expected-{policy}.ck' + requested_output(basep,requested_path,requested,policy) + need(requested_path.read_bytes() == expected, 'manifest oracle agrees with independent request') shown = json.loads(run(wp,'show',path)) need(shown['params'] == params and shown['rationale'] == reason, 'show UTF8 provenance') run(wp,'validate',path,basep) out, rev = work/f'applied-{policy}.ck',work/f'reverted-{policy}.ck' run(wp,'apply',path,basep,out) need(out.read_bytes() == expected, 'apply exact oracle bytes') + need(compare_requested(requested_path,out), 'apply equals independent requested bytes') report = run(wp,'verify',path,out) ent = manifest(path)[2] survivors = sum(f32bits(e[1]) != f32bits(e[2]) for e in ent) @@ -257,6 +294,54 @@ def small(build, work): run(wp,'revert',path,out,basep,expect=52) run(wp,'diff',basep,ep,policy,pf,rf,od,expect=52) need(basep.read_bytes() == base, 'BASE never written') + # A fully rehashed, valid manifest for a different finite value must pass + # product verify but FAIL the same independent byte oracle used by real(). + mutant_request = dict(requested) + mutant_request[0] = U.unpack(F.pack(0.25))[0] + mutant_out = work/'oracle-mutant.ck' + requested_output(basep,mutant_out,mutant_request,2) + mutant_bytes = mutant_out.read_bytes() + mutant = bytearray(patches[2].read_bytes()) + meo = 376+128*u(mutant,24) + put(mutant,meo+16,mutant_request[0]) + mutant[128:160] = sha(mutant_bytes) + mutant[160:192] = f32hash(mutant_bytes) + mutant[192:224] = sha(mutant[meo:meo+40*u(mutant,32)]) + for i,(_,_,_,_,off,nn) in enumerate(ts): + to = 376+128*i + mutant[to+96:to+128] = sha(mutant_bytes[120+8*off:120+8*(off+nn)]) + mutant_path = work/(sha(mutant).hex()+'.wp') + mutant_path.write_bytes(mutant) + run(wp,'verify',mutant_path,mutant_out) + need(not compare_requested(work/'expected-2.ck',mutant_out,negative_control=True), + 'independent oracle rejects rehashed finite-value mutant accepted by verify') + + # Admission, not just diff creation, enforces each metadata field's limit. + original = patches[2].read_bytes() + end = meo+40*u(original,32) + pn = u(original,224) + for field, offset in [('params',224),('rationale',232)]: + params_bytes = original[end:end+pn] + rationale_bytes = original[end+pn:] + if field == 'params': + params_bytes = b'a'*16777217 + else: + rationale_bytes = b'a'*16777217 + oversized = bytearray(original[:end]+params_bytes+rationale_bytes) + put(oversized,offset,16777217) + put(oversized,8,len(oversized)) + overpath = work/('oversized-'+field+'.wp') + overpath.write_bytes(oversized) + run(wp,'validate',overpath,basep,expect=57) + run(wp,'show',overpath,expect=57) + rejected_out = work/('oversized-'+field+'.ck') + run(wp,'apply',overpath,basep,rejected_out,expect=57) + need(not rejected_out.exists(), 'oversized metadata creates no output') + invalid_utf8 = bytearray(original) + invalid_utf8[-1] = 255 + invalid_path = work/'invalid-utf8.wp' + invalid_path.write_bytes(invalid_utf8) + run(wp,'validate',invalid_path,basep,expect=31) path = patches[1] mb = path.read_bytes() eo, es = 376+128*u(mb,24), 40 @@ -347,6 +432,7 @@ def real(build, work, source): need(file_sha(source).hex() == BASE_SHA, 'real base pinned SHA') edited = work/'round40-edited.ck' shutil.copyfile(source, edited) + requested = {} with edited.open('r+b') as f: with mmap.mmap(f.fileno(),0) as mm: hd = struct.unpack_from('<15Q',mm) @@ -356,8 +442,11 @@ def real(build, work, source): for i in range(10): o = 120+8*(off+i) F.pack_into(mm,o,F.unpack_from(mm,o)[0]+0.001) + requested[off+i] = u(mm,o) put(mm,112,fnv(memoryview(mm)[120:])) mm.flush() + expected = work/'round40-expected.ck' + requested_output(source,expected,requested,2) pf,rf = work/'params.txt',work/'rationale.txt' pf.write_text('{"kind":"w2","layer":3,"entries":10,"delta":0.001}\n') rf.write_text('Read-only round40 baseline. Checked patch integration fixture, not a quality claim.\n') @@ -369,15 +458,22 @@ def real(build, work, source): run(wp,'validate',patch,source) out,rev = work/'round40-applied.ck',work/'round40-reverted.ck' run(wp,'apply',patch,source,out) + need(compare_requested(expected,out), 'real apply equals independently requested bytes') run(wp,'verify',patch,out) run(wp,'revert',patch,out,rev) text = run('sha256sum',source,rev,out) need(file_sha(rev).hex() == BASE_SHA, 'real byte-identical revert SHA') need(file_sha(source).hex() == BASE_SHA, 'real base unchanged') - need(file_sha(out) == mb[128:160], 'real output SHA oracle') + expected_sha = file_sha(expected) + need(file_sha(out) == expected_sha, 'real output SHA matches independent expected bytes') + need(mb[128:160] == expected_sha, 'real manifest output SHA matches independent expected bytes') + with expected.open('rb') as f: + with mmap.mmap(f.fileno(),0,access=mmap.ACCESS_READ) as mm: + expected_f32 = f32hash(mm) with out.open('rb') as f: with mmap.mmap(f.fileno(),0,access=mmap.ACCESS_READ) as mm: - need(f32hash(mm) == mb[160:192], 'real f32 SHA oracle') + need(f32hash(mm) == expected_f32, 'real f32 SHA matches independent expected bytes') + need(mb[160:192] == expected_f32, 'real manifest f32 SHA matches independent expected bytes') record(real_patch=str(patch), real_hashes=text) diff --git a/tools/omegallm/wpatch/wpatch.om b/tools/omegallm/wpatch/wpatch.om index 5c17d3d..57bbc5c 100644 --- a/tools/omegallm/wpatch/wpatch.om +++ b/tools/omegallm/wpatch/wpatch.om @@ -637,6 +637,9 @@ end if gt wpget 0 24 131 exit 36 end +if or gt wpget 0 224 16777216 gt wpget 0 232 16777216 +exit 57 +end put wpes 0 24 if ne get wpol 0 0 put wpes 0 40 From 77e56d79c71a0ab693ed54d569375db10febd333 Mon Sep 17 00:00:00 2001 From: Drake Stapleton <213298340+drakestapleton@users.noreply.github.com> Date: Sat, 7 Nov 2026 02:11:42 -0600 Subject: [PATCH 4/4] wpatch: port build and test drivers to Omega (DRA-187) build.sh -> wpbuild.om and check.py -> wpcheck.om, both deleted. wporacle.py is a labeled ORACLE (hashlib SHA-256 and f32 casts) called by wpcheck; it never decides PASS or FAIL and is not in the build or product path. wpbuild: wpatch sha256 bf993a78...0847, byte-identical to the shell build. wpcheck small PASS checks=698 commands=117; real round40 PASS checks=31 commands=9 (pool-19 under flock); two one-line wpatch mutants are caught. Receipts: evidence/OMEGALLM/wsp-patch-20261107/pure-omega/. --- docs/omegallm/WSP-PATCH.md | 23 +- .../OMEGALLM/wsp-patch-20261107/README.md | 5 + .../wsp-patch-20261107/pure-omega/README.md | 99 + .../wsp-patch-20261107/pure-omega/build.log | 8 + .../pure-omega/neg-moment.diff | 11 + .../pure-omega/neg-moment.log | 870 +++++++ .../pure-omega/neg-survive.diff | 11 + .../pure-omega/neg-survive.log | 280 +++ .../wsp-patch-20261107/pure-omega/real.log | 68 + .../wsp-patch-20261107/pure-omega/real.time | 23 + .../wsp-patch-20261107/pure-omega/small.log | 1160 +++++++++ tools/omegallm/wpatch/README.md | 124 +- tools/omegallm/wpatch/build.sh | 43 - tools/omegallm/wpatch/check.py | 498 ---- tools/omegallm/wpatch/wpbuild.om | 731 ++++++ tools/omegallm/wpatch/wpcheck.om | 2144 +++++++++++++++++ tools/omegallm/wpatch/wporacle.py | 87 + 17 files changed, 5600 insertions(+), 585 deletions(-) create mode 100644 evidence/OMEGALLM/wsp-patch-20261107/pure-omega/README.md create mode 100644 evidence/OMEGALLM/wsp-patch-20261107/pure-omega/build.log create mode 100644 evidence/OMEGALLM/wsp-patch-20261107/pure-omega/neg-moment.diff create mode 100644 evidence/OMEGALLM/wsp-patch-20261107/pure-omega/neg-moment.log create mode 100644 evidence/OMEGALLM/wsp-patch-20261107/pure-omega/neg-survive.diff create mode 100644 evidence/OMEGALLM/wsp-patch-20261107/pure-omega/neg-survive.log create mode 100644 evidence/OMEGALLM/wsp-patch-20261107/pure-omega/real.log create mode 100644 evidence/OMEGALLM/wsp-patch-20261107/pure-omega/real.time create mode 100644 evidence/OMEGALLM/wsp-patch-20261107/pure-omega/small.log delete mode 100755 tools/omegallm/wpatch/build.sh delete mode 100755 tools/omegallm/wpatch/check.py create mode 100644 tools/omegallm/wpatch/wpbuild.om create mode 100644 tools/omegallm/wpatch/wpcheck.om create mode 100755 tools/omegallm/wpatch/wporacle.py diff --git a/docs/omegallm/WSP-PATCH.md b/docs/omegallm/WSP-PATCH.md index dc859e2..fb8c430 100644 --- a/docs/omegallm/WSP-PATCH.md +++ b/docs/omegallm/WSP-PATCH.md @@ -179,21 +179,26 @@ Exit 0 means command success. There is no automatic fallback. When an input violates multiple rules, the first check determines the code. For example, a truncated canonical-name patch can fail filename identity before a -later field check. Noncanonical corruption fixtures in check.py isolate the +later field check. Noncanonical corruption fixtures in wpcheck isolate the individual refusal paths. Omega runtime traps remain nonzero compiler/runtime errors, not successful refusals; no trap is counted as an expected test result. ## Evidence and dependency boundary `evidence/OMEGALLM/wsp-patch-20261107/` records host CPU execution, the source -composition diff, exact identities, small acceptance and round40 rollback. -All product transformations and hashing are Omega. Build orchestration currently -uses dash 0.5.12-6ubuntu5, GNU sed 4.9, git 2.43.0, GNU sha256sum 9.4, -GNU diffutils 3.10, taskset util-linux 2.39.3 and GNU nice 9.4. The shell composition -role is the existing build path; its Omega replacement would be a bounded source -composer, not a hidden host implementation of checkpoint editing. The compiler -is a pinned verification/build tool. Python 3.12.3 and hashlib/struct/mmap are -external acceptance oracles only. No new host library enters the product runtime. +composition diff, exact identities, small acceptance and round40 rollback; its +`pure-omega/` directory holds the receipts for the Omega build and test drivers. +All product transformations and hashing are Omega, and so are the build driver +`wpbuild.om` and the test driver `wpcheck.om` (see the wpatch README for how to +run them). The build driver runs these pinned host build tools: the compiler, +dash 0.5.12-6ubuntu5 as `/bin/sh` for the repository's existing ollm build script +`tests/omegallm/build.sh`, `/usr/bin/env`, git 2.43.0, GNU sha256sum 9.4, GNU +diffutils 3.10, taskset util-linux 2.39.3 and GNU nice 9.4. None of them edits +checkpoints or composes wpatch source; source composition and SHA vendoring are +done in Omega. The Omega replacement for the ollm build script belongs to the +ollm lane. Python 3.12.3 with hashlib/struct/mmap appears only as the ORACLE +`wporacle.py`, a digest calculator called by wpcheck; it never decides a result. +No new host library enters the product runtime. WolframLanguageEvaluator checks used during implementation: diff --git a/evidence/OMEGALLM/wsp-patch-20261107/README.md b/evidence/OMEGALLM/wsp-patch-20261107/README.md index eca4305..e3a7646 100644 --- a/evidence/OMEGALLM/wsp-patch-20261107/README.md +++ b/evidence/OMEGALLM/wsp-patch-20261107/README.md @@ -1,5 +1,10 @@ # wpatch host-CPU receipt, 2026-11-07 +Note added with the pure-Omega port: `tools/omegallm/wpatch/build.sh` and +`check.py`, named in the commands below and in REVIEW.md, were deleted and +replaced by the Omega drivers `wpbuild.om` and `wpcheck.om`. The records below +are kept unchanged as history. Current commands and receipts: `pure-omega/`. + Status: IMPLEMENTED and EXERCISED, PASS on the recorded host CPU paths. GPU qualification, inference-quality improvement, merge and deployment: NOT_RUN. No GPU was opened and no live service was changed. Round40 was read-only. diff --git a/evidence/OMEGALLM/wsp-patch-20261107/pure-omega/README.md b/evidence/OMEGALLM/wsp-patch-20261107/pure-omega/README.md new file mode 100644 index 0000000..3c31671 --- /dev/null +++ b/evidence/OMEGALLM/wsp-patch-20261107/pure-omega/README.md @@ -0,0 +1,99 @@ +# wpatch pure-Omega drivers, 2026-11-07 + +Status: wpbuild.om and wpcheck.om IMPLEMENTED and host-CPU EXERCISED. +GPU qualification, inference-quality improvement, merge and deployment: NOT_RUN. +No GPU was opened and no live service was changed. Round40 was read-only. + +Directive: `DIRECTIVE-20261107-pure-omega.md` (Drake, relayed by the wsp lane). +The shell build script and the Python test driver were ported to Omega and +deleted. Python remains only as the labeled ORACLE `wporacle.py`. + +| File | Status | +| --- | --- | +| `tools/omegallm/wpatch/build.sh` | ported to `wpbuild.om`, deleted | +| `tools/omegallm/wpatch/check.py` | ported to `wpcheck.om`, deleted | +| `tools/omegallm/wpatch/wporacle.py` | ORACLE (digest calculator; never decides PASS or FAIL) | +| `tools/omegallm/wpatch/wpatch.om` | unchanged product | + +Compiler: omega-mv `e5b32567a7aff3ce594e3254a622a846a6cd190b`, omc SHA-256 +`2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f`. +ORACLE interpreter: `/usr/bin/python3` (Python 3.12.3), SHA-256 +`c86f21d0da9290ece2d7d49a3f7ed52aed59cb029abdf0ea25c79634f6cbe960`. + +## Build gate: byte-identical wpatch + +```text +taskset -c 0 nice -n 19 ../omega-mv/seed/out/omc < tools/omegallm/wpatch/wpbuild.om > /tmp/wpp/wpbuild +exit 0 +taskset -c 0 nice -n 19 /tmp/wpp/wpbuild . /tmp/wpp/out2 ../omega-mv/seed/out/omc ../omega-mv 0 +exit 0; build.log, last line WPBUILD PASS +``` + +| Output | SHA-256 | Earlier shell build | +| --- | --- | --- | +| wpatch | `bf993a780c7421cc2cd23d42fef5692135e9bd339f19a90059d4ef7f17be0847` | same bytes (cmp) | +| wpatch-all.om | `7e8b3ca2cf378af25029ce42ca6c760c880fa3612691216e2f2339c369c22591` | same bytes (cmp) | +| wpcheck | `eeb9bdfb7d4979efbdd797b69f79f791445cce64ba7a27ffd07e528d6c0af959` | new | +| wpcheck-all.om | `ad050062f8d44affe7756b934f79d27e23394ee38eaa7fbb03e5c12eb92f82b3` | new | + +`cmp` against `/home/drakestapleton/work/wsp/wpatch-build` (the shell build) +also found ollm, ollm.om, sha256-source.om, sha256-layout.om, +sha256-functions.om and sha256-vendored.om identical. sha256.diff differs only +in its two header lines (file paths and timestamps). Result: PASS. + +## Small acceptance + +```text +taskset -c 0 nice -n 19 /tmp/wpp/out2/wpcheck small /tmp/wpp/out2 /tmp/wpp/w2 tools/omegallm/wpatch/wporacle.py +exit 0; small.log, last line WPCHECK PASS checks=698 commands=117 +``` + +The 117 child processes are 2 ollm, 108 wpatch and 7 ORACLE runs. The in-run +ORACLE negative control (a fully rehashed manifest for a different finite value) +is accepted by wpatch verify and rejected by wpcheck's independent byte +comparison, as required. Result: PASS. + +## Driver negative controls + +Each control compiles a mutant wpatch from a copy of `wpatch-all.om` with one +changed line (the diff is kept beside the log) and runs the same wpcheck +against it. wpcheck must exit 1 and name the failed check. + +| Control | One-line change | wpcheck result | +| --- | --- | --- | +| neg-moment | policy 2 apply writes v = 1 instead of clearing it | exit 1, `FAIL exit` (validate of the policy 2 patch exited 53, want 0), checks=589 commands=45 | +| neg-survive | f32 survival counts unchanged instead of changed entries | exit 1, `FAIL verify f32 survival count` (wpatch exited 0 but printed a count that differs from the ORACLE count), checks=178 commands=11 | + +Mutant wpatch SHA-256: neg-moment +`406bb2ef1e1c3ba0cff707d8eeb9c9266bc5777ac7aec19ab896d13e44fe5ea9`, neg-survive +`9c00dd6dae3af708858062a353907f64f1ced5f1d2e9411f832d46203031282f`. +Both controls: PASS (the wrong result was caught). + +Driver refusals, also exercised: `wpcheck bogus a b c` exits 2 with the usage +line; `wpcheck small` with an existing WORK exits 1 with +`FAIL /tmp/wpp/exists: I/O failure`; `wpbuild a b` exits 2 with the usage line. + +## Real round40 acceptance + +```text +flock -w 3600 -o /home/drakestapleton/handoffs/hive/queen/pool-19.lock \ + /usr/bin/time -v taskset -c 19 nice -n 10 /tmp/wpp/out2/wpcheck real /tmp/wpp/out2 \ + /home/drakestapleton/work/wsp/ck/wpatch-pure-real-20261107 tools/omegallm/wpatch/wporacle.py \ + /home/drakestapleton/.local/share/omega-tool-model/round40/model.ck +exit 0; real.log, last line WPCHECK PASS checks=31 commands=9 +``` + +Queued at 08:07:23Z behind the pool-19 lock, finished at 08:11:23Z. The run +itself took 37.21 s wall on core 19 (real.time, MEASURED). The 9 child processes +are 5 wpatch (diff, validate, apply, verify, revert), 3 ORACLE runs and one +sha256sum. The base matched its pinned SHA-256 +`7c7b5b5260f2d9453b6076b64e7f23e88341d96498584f2dfaa229c31ad2e346`; the +reverted copy has the same SHA-256 and the source model was unchanged. The +applied checkpoint equals the bytes wpcheck built from the request, with SHA-256 +`95c8676227161d5fd425082462333a9180fe0c870478b69446bbf92678f47eac`, the same +value as the earlier Python-driver review run. Result: PASS. + +## Labels + +Host CPU execution only. This is not GPU qualification, a model-quality result, +a merge or a deployment. diff --git a/evidence/OMEGALLM/wsp-patch-20261107/pure-omega/build.log b/evidence/OMEGALLM/wsp-patch-20261107/pure-omega/build.log new file mode 100644 index 0000000..703b18a --- /dev/null +++ b/evidence/OMEGALLM/wsp-patch-20261107/pure-omega/build.log @@ -0,0 +1,8 @@ +BUILD_OK 819664d5a2284189cd9baca67681675ed2b4685e19d1d976ce071b0f6fcaa5ea /tmp/wpp/out2/ollm source_sha256 2d13b609945a97ad95dba8626e67588d87c6aec64043affbaf4c107af246eb96 +2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f /home/drakestapleton/work/wsp/omega-mv/seed/out/omc +dbf002dd6aa36585632b9d01d98ac3f0bd2fa0f0475082940de53638847994bb /tmp/wpp/out2/sha256-source.om +7e8b3ca2cf378af25029ce42ca6c760c880fa3612691216e2f2339c369c22591 /tmp/wpp/out2/wpatch-all.om +bf993a780c7421cc2cd23d42fef5692135e9bd339f19a90059d4ef7f17be0847 /tmp/wpp/out2/wpatch +ad050062f8d44affe7756b934f79d27e23394ee38eaa7fbb03e5c12eb92f82b3 /tmp/wpp/out2/wpcheck-all.om +eeb9bdfb7d4979efbdd797b69f79f791445cce64ba7a27ffd07e528d6c0af959 /tmp/wpp/out2/wpcheck +WPBUILD PASS diff --git a/evidence/OMEGALLM/wsp-patch-20261107/pure-omega/neg-moment.diff b/evidence/OMEGALLM/wsp-patch-20261107/pure-omega/neg-moment.diff new file mode 100644 index 0000000..86027d5 --- /dev/null +++ b/evidence/OMEGALLM/wsp-patch-20261107/pure-omega/neg-moment.diff @@ -0,0 +1,11 @@ +--- ../out/wpatch-all.om 2026-11-07 01:47:23.752906111 -0600 ++++ wpatch-mutant.om 2026-11-07 01:56:40.375661324 -0600 +@@ -11293,7 +11293,7 @@ + end + wpput 2 add o mul get og 8 8 want + if eq get wpol 0 2 +-want = 0 ++want = 1 + if rev + want = wpefield e 32 + end diff --git a/evidence/OMEGALLM/wsp-patch-20261107/pure-omega/neg-moment.log b/evidence/OMEGALLM/wsp-patch-20261107/pure-omega/neg-moment.log new file mode 100644 index 0000000..23a711d --- /dev/null +++ b/evidence/OMEGALLM/wsp-patch-20261107/pure-omega/neg-moment.log @@ -0,0 +1,870 @@ +WPCHECK small wpatch_sha256=406bb2ef1e1c3ba0cff707d8eeb9c9266bc5777ac7aec19ab896d13e44fe5ea9 +RUN /tmp/wpp/neg/ollm init /tmp/wpp/wneg/base.ck 256 8 16 2 32 2 2 1 10 3000 1 +| I 8400 +EXIT got=0 want=0 elapsed_ns=5710611 +PASS exit +RUN /tmp/wpp/neg/ollm train /tmp/wpp/wneg/base.ck /tmp/wpp/wneg/train.bin 2 1 +| T 1 5541842 +| T 2 5520363 +EXIT got=0 want=0 elapsed_ns=20737560 +PASS exit +PASS oracle CK02 magic +PASS oracle checkpoint length +PASS oracle checkpoint FNV +PASS oracle checkpoint geometry P +RUN /tmp/wpp/neg/wpatch inspect /tmp/wpp/wneg/base.ck +| OLLMCK02 V T D H F L B P: 256 8 16 2 32 2 2 8400 +| seed step total lr G fnv: 1 2 10 4569063951553953530 1 12929047925843260235 +| wte 0 256x16 dtype=f64 offset=0 sha256=8cff8d99b6ae9164f7732cf6801ae974d3a2a7944f33ccc0505a481eefc64cc6 rms=2.0150972434014620e-2 maxabs=3.4694049902618817e-2 nonfinite=0 +| wpe 0 8x16 dtype=f64 offset=4096 sha256=8466ddee307934f1d085b7fc3f2f222b33f320a47b8f72c0782cd099f53c3a56 rms=2.0597512474142969e-2 maxabs=3.4688363182317480e-2 nonfinite=0 +| g1 0 1x16 dtype=f64 offset=4224 sha256=8e55ebc45ecdca0459276d85bdcc502985681ca91936c7d388f36141657e7724 rms=9.9998560202156934e-1 maxabs=1.0000898116642267e0 nonfinite=0 +| wq 0 16x16 dtype=f64 offset=4240 sha256=adfe7504881e98ae49edbd9bd2a8c6259a190472f5f2a301aabf76d433a26668 rms=1.9387060051204409e-2 maxabs=3.4602970449885450e-2 nonfinite=0 +| wk 0 16x16 dtype=f64 offset=4496 sha256=accdb602abdaf839de2b6e98f98e399bcb00eea03cdc1e14ffe760c6012bffa8 rms=2.0086632119378893e-2 maxabs=3.4488179470423929e-2 nonfinite=0 +| wv 0 16x16 dtype=f64 offset=4752 sha256=fa6b0727cb263311c2c3b75e6fea1f7902613c5051548b6cff87fecb0556f9d0 rms=2.0442612683966512e-2 maxabs=3.4608463868511711e-2 nonfinite=0 +| wo 0 16x16 dtype=f64 offset=5008 sha256=b43e998b213e289c9464b79a54a04243a629061e9351882c0af8ba717ab1f27c rms=9.3607584314112308e-3 maxabs=1.7186119006150049e-2 nonfinite=0 +| g2 0 1x16 dtype=f64 offset=5264 sha256=02d1cd2862c618fa82ecbe721cef53d3f0064a85c37dc3c81b60256496a551e8 rms=1.0000317542785344e0 maxabs=1.0000900660818634e0 nonfinite=0 +| w1 0 16x32 dtype=f64 offset=5280 sha256=0d43f123403113f54dc36bf858225654da6ca9b2fa6dd13d34ea03df0300162d rms=1.9707409527231671e-2 maxabs=3.4604831137893370e-2 nonfinite=0 +| w2 0 32x16 dtype=f64 offset=5792 sha256=ff25c2a9843e2cb7febd7173d1310c5c38d4c3b84f80d41fe477671df90958a4 rms=9.9353752213784609e-3 maxabs=1.7383742580227750e-2 nonfinite=0 +| g1 1 1x16 dtype=f64 offset=6304 sha256=d5ef48d1f1f83bea39dbec4469a83b73134a957a6f7ee5c7f55d489a085e2fc2 rms=1.0000055077295755e0 maxabs=1.0000896598909829e0 nonfinite=0 +| wq 1 16x16 dtype=f64 offset=6320 sha256=cd5d9460b4f8b03c13493204e04f3499387caa9332da929e17aa53b5bf93f1b9 rms=1.9395643851273927e-2 maxabs=3.4713570183186637e-2 nonfinite=0 +| wk 1 16x16 dtype=f64 offset=6576 sha256=77e6c5613a0fba859e0559bee3beb70fb9e4ac007b87134dfc1e2fe482194b44 rms=2.0451505765922823e-2 maxabs=3.4557907877036364e-2 nonfinite=0 +| wv 1 16x16 dtype=f64 offset=6832 sha256=a49caf53f5f318fe312bef6bc78842f4f194d97965a34d4d1903a20c325e3af6 rms=2.0283640674707430e-2 maxabs=3.4634749954325338e-2 nonfinite=0 +| wo 1 16x16 dtype=f64 offset=7088 sha256=4a99000fa39bce104d6cd39bd7e6e8f108b0a120d700c1372a14614b7d2a3cf9 rms=9.5378278603200783e-3 maxabs=1.7408843619714149e-2 nonfinite=0 +| g2 1 1x16 dtype=f64 offset=7344 sha256=975a6761e290c4c1493058ce603d78cf98fe638c88792c88a13d422d00044af5 rms=1.0000051625444570e0 maxabs=1.0000900629791575e0 nonfinite=0 +| w1 1 16x32 dtype=f64 offset=7360 sha256=6744256441b31f1e97fe7739e0af3edbeeabb2960c9030bde44a0940f673b254 rms=1.9646243437713831e-2 maxabs=3.4519835058524788e-2 nonfinite=0 +| w2 1 32x16 dtype=f64 offset=7872 sha256=f01f41002a7e3c6afa8dbfe6c69ab753d4361cf25faae3e3ea4738e7aa1f0232 rms=9.9239498616909447e-3 maxabs=1.7320015361641458e-2 nonfinite=0 +| gf 0 1x16 dtype=f64 offset=8384 sha256=65aa5211ba1921da7b4c26e7667f49bf0d2a7219f2fef32dcc828fb4cf181a9a rms=1.0000070876612532e0 maxabs=1.0000900576992735e0 nonfinite=0 +EXIT got=0 want=0 elapsed_ns=2097283 +PASS exit +RUN /tmp/wpp/neg/wpatch inspect /tmp/wpp/wneg/base.ck wte 0 0 1 0 2 +| OLLMCK02 V T D H F L B P: 256 8 16 2 32 2 2 8400 +| seed step total lr G fnv: 1 2 10 4569063951553953530 1 12929047925843260235 +| 0 0 4.6933608192067630e-3 3f73395873a10edd +| 0 1 6.2277422802250175e-3 3f798242d6be64df +EXIT got=0 want=0 elapsed_ns=780295 +PASS exit +PASS inspect exact slice bits +RUN /tmp/wpp/neg/wpatch inspect /tmp/wpp/wneg/base.ck wte 0 0 99999 0 1 +EXIT got=27 want=27 elapsed_ns=763975 +PASS exit +RUN /tmp/wpp/neg/wpatch diff /tmp/wpp/wneg/base.ck /tmp/wpp/wneg/edited.ck 0 /tmp/wpp/wneg/params.txt /tmp/wpp/wneg/rationale.txt /tmp/wpp/wneg/patches-0 +| /tmp/wpp/wneg/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp +EXIT got=0 want=0 elapsed_ns=12646880 +PASS exit +RUN /usr/bin/python3 tools/omegallm/wpatch/wporacle.py /tmp/wpp/wneg/oracle-1.req +| 6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115 +| 1f2e4172184215f85733f111b30a46cdd694b2d887c0280698f2ea7c7f2f1d04 +| 0f7c5cce37a019be53786dfc27fd01146f7606343ccbe7f632d19661dc6f7004 +| df9ba29d0123bf5852c13765b758998bd1e5a49f63b983dcf934e0b63f261eb3 +| b61cbd26710589e5e352794c1b05e08a1fe954e982d135c3bcfa88f95b077068 +| 19 +| 8cff8d99b6ae9164f7732cf6801ae974d3a2a7944f33ccc0505a481eefc64cc6 +| 8466ddee307934f1d085b7fc3f2f222b33f320a47b8f72c0782cd099f53c3a56 +| 8e55ebc45ecdca0459276d85bdcc502985681ca91936c7d388f36141657e7724 +| adfe7504881e98ae49edbd9bd2a8c6259a190472f5f2a301aabf76d433a26668 +| accdb602abdaf839de2b6e98f98e399bcb00eea03cdc1e14ffe760c6012bffa8 +| fa6b0727cb263311c2c3b75e6fea1f7902613c5051548b6cff87fecb0556f9d0 +| b43e998b213e289c9464b79a54a04243a629061e9351882c0af8ba717ab1f27c +| 02d1cd2862c618fa82ecbe721cef53d3f0064a85c37dc3c81b60256496a551e8 +| 0d43f123403113f54dc36bf858225654da6ca9b2fa6dd13d34ea03df0300162d +| ff25c2a9843e2cb7febd7173d1310c5c38d4c3b84f80d41fe477671df90958a4 +| d5ef48d1f1f83bea39dbec4469a83b73134a957a6f7ee5c7f55d489a085e2fc2 +| cd5d9460b4f8b03c13493204e04f3499387caa9332da929e17aa53b5bf93f1b9 +| 77e6c5613a0fba859e0559bee3beb70fb9e4ac007b87134dfc1e2fe482194b44 +| a49caf53f5f318fe312bef6bc78842f4f194d97965a34d4d1903a20c325e3af6 +| 4a99000fa39bce104d6cd39bd7e6e8f108b0a120d700c1372a14614b7d2a3cf9 +| 975a6761e290c4c1493058ce603d78cf98fe638c88792c88a13d422d00044af5 +| 6744256441b31f1e97fe7739e0af3edbeeabb2960c9030bde44a0940f673b254 +| f01f41002a7e3c6afa8dbfe6c69ab753d4361cf25faae3e3ea4738e7aa1f0232 +| 65aa5211ba1921da7b4c26e7667f49bf0d2a7219f2fef32dcc828fb4cf181a9a +| da6c1acbed6d1e964e53096c19d5b3315179e0c8086bed42b46610b8559a08c4 +| 87ac5499240575162ba65d8ae7797632e2f21867f92a267f7d27e51fd5ba6681 +| bde2ade244794a03dbab19eb8842c4beaf3142d29d9187cab4f591abc01fe628 +| 78f67e940451c70fdbd40addfcb72751849966d7b148ad594a3a739ed31e0d00 +| d808561f3eb09d5ab82ea88166b8e5f0167c008122404a7bd3ea872a7d7e9bf0 +| c352ab4f020ea5e19c4d02b17bedf866e744ae5d1edb61d1dbfda5df5703acd3 +| 2e8be3b6c97d9ff568dc99313ca7755b14dfe0b92ba7ad902ed2734a5c3b3143 +| f4652233a1d793d2978d9ad90e2210aee041f7f8cfc91ef472c967426b88c860 +| 870e8b55814715d2f0fc9a8d2d911aa926250e461a85a1646b28d5e70e4c92be +| 475ce7b4b11c6b1d2a5310803d72acf1d10e775de74bcaf61c5641c3e7dbaca1 +| 1ce3012f244ce93fd4661cb2007ca6e07d598234743904fd1283c71c504288d0 +| 4643b63785013e0368364f6264d4a058b8f58b0691eee2aa7e826ca2abc70188 +| f6b3f58c3b9941af1a6e757a7980063270bd0c0b5cd6ef05d2c3dda75d8dccca +| eeb65469cf27f4909bb8bd2dc92d59c3351e05ea875aae8e57a62c2587a8959f +| 7cb4f65377af2656eca78a285413c186d2d71b877c8a41c0f3ef3022c3a4e979 +| ea6bc3116d9daff1e54ce077e1f55fd4847c481c8ebddcd72722b25c499624aa +| 23a70f58de7dccd0b1d4e757113fbd6d67ea8700ee8d8b265fe8290243ab0579 +| 7b418488fe3c94afab4cee946277736fbe8511da660706daf1cd03e65cd13c3e +| 9e1c519bc1decea509ce838c7d5f66098f7dd1dc10ec4fc4e911f6dbdf69ffdd +EXIT got=0 want=0 elapsed_ns=26745853 +PASS exit +PASS oracle answered every request +PASS oracle manifest magic +PASS oracle canonical manifest name +PASS oracle manifest length +PASS oracle policy +PASS oracle edit identity +PASS oracle metadata lengths +PASS oracle UTF8 provenance +PASS oracle strict order +PASS oracle indices in bounds +PASS oracle policy +PASS oracle CK02 magic +PASS oracle checkpoint length +PASS oracle checkpoint FNV +PASS oracle checkpoint geometry P +PASS oracle preserved base header +PASS oracle manifest geometry +PASS oracle manifest P +PASS oracle base SHA +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle expected output SHA +PASS oracle expected f32 SHA +PASS oracle all tensors present +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS manifest oracle agrees with independent request +RUN /tmp/wpp/neg/wpatch show /tmp/wpp/wneg/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp +| {"patch_sha256":"6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115","base_sha256":"0f7c5cce37a019be53786dfc27fd01146f7606343ccbe7f632d19661dc6f7004","output_sha256":"df9ba29d0123bf5852c13765b758998bd1e5a49f63b983dcf934e0b63f261eb3","f32_sha256":"b61cbd26710589e5e352794c1b05e08a1fe954e982d135c3bcfa88f95b077068","entries_sha256":"1f2e4172184215f85733f111b30a46cdd694b2d887c0280698f2ea7c7f2f1d04","policy":0,"changed":20,"entries_first_20":[[0,"3f73395873a10edd","3f7751ebe85d795c"],[1,"3f798242d6be64df","3f798242d6be64de"],[4096,"3f9d71eaecf958fb","3f9e780fca28739b"],[4224,"3fefff43cec7fbde","3ff003ba7ad8ba59"],[4240,"3f91335e055b2e52","3f923982e28a48f2"],[4496,"3f7e376430d30470","3f8127fbd2c7b778"],[4752,"bf8127b4d0942b41","bf7e36d62c6bec03"],[5008,"bf642a283fb3a03a","bf57f202ac759678"],[5264,"3ff0005e70ee046f","3ff004770462c0d9"],[5280,"3f937e8c81983fca","3f9484b15ec75a6a"],[5792,"bf8d0a85a19f1a66","bf8afe3be740e526"],[6304,"3ff0005d56c1676d","3ff00475ea3623d7"],[6320,"3f478f6a628528cb","3f5c2a0304343e62"],[6576,"3f96ddb9cf3d8cbd","3f97e3deac6ca75d"],[6832,"bf85cdb8b6e68c3d","bf83c16efc8856fe"],[7088,"3f66903abb2fa5f3","3f6ec161a4a87af1"],[7344,"3fefff43cf3b0247","3ff003ba7b123d8e"],[7360,"bfa157e08134d98b","bfa0d4ce129d4c3b"],[7872,"bf908b27ddd68b5c","bf8f0a06014ee178"],[8384,"3fefffe8aac28f0e","3ff0040ce8d603f1"]],"params":"{\"delta\":0.001,\"name\":\"Ω patch\"}\u000a","rationale":"Own-model fixture. Preserve exact rollback.\u000a"} +EXIT got=0 want=0 elapsed_ns=627734 +PASS exit +PASS show UTF8 provenance +RUN /tmp/wpp/neg/wpatch validate /tmp/wpp/wneg/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp /tmp/wpp/wneg/base.ck +| PASS +EXIT got=0 want=0 elapsed_ns=5927685 +PASS exit +RUN /tmp/wpp/neg/wpatch apply /tmp/wpp/wneg/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp /tmp/wpp/wneg/base.ck /tmp/wpp/wneg/applied-0.ck +| PASS +EXIT got=0 want=0 elapsed_ns=11019458 +PASS exit +PASS apply exact oracle bytes +PASS apply equals independent requested bytes +RUN /tmp/wpp/neg/wpatch verify /tmp/wpp/wneg/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp /tmp/wpp/wneg/applied-0.ck +| PASS f32_surviving=19 changed=20 +EXIT got=0 want=0 elapsed_ns=3375838 +PASS exit +PASS verify f32 survival count +RUN /tmp/wpp/neg/wpatch revert /tmp/wpp/wneg/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp /tmp/wpp/wneg/applied-0.ck /tmp/wpp/wneg/reverted-0.ck +| PASS +EXIT got=0 want=0 elapsed_ns=10519549 +PASS exit +PASS revert byte-identical base +RUN /tmp/wpp/neg/wpatch bind /tmp/wpp/wneg/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp /tmp/wpp/wneg/applied-0.ck /tmp/wpp/neg/wpatch /tmp/wpp/wneg/binding-0 +| PASS +EXIT got=0 want=0 elapsed_ns=7961382 +PASS exit +RUN /usr/bin/python3 tools/omegallm/wpatch/wporacle.py /tmp/wpp/wneg/oracle-2.req +| df9ba29d0123bf5852c13765b758998bd1e5a49f63b983dcf934e0b63f261eb3 +| b61cbd26710589e5e352794c1b05e08a1fe954e982d135c3bcfa88f95b077068 +| 406bb2ef1e1c3ba0cff707d8eeb9c9266bc5777ac7aec19ab896d13e44fe5ea9 +| 6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115 +| 24477d19f678ccffdd6989ac5d08d9592829be762bb920681b8c7724d816b26b +EXIT got=0 want=0 elapsed_ns=25126110 +PASS exit +PASS oracle answered every request +PASS oracle binding format +PASS oracle binding CK and f32 +PASS oracle binding runtime and patch +PASS oracle binding self digest +RUN /tmp/wpp/neg/wpatch checkbind /tmp/wpp/wneg/binding-0 /tmp/wpp/wneg/applied-0.ck /tmp/wpp/neg/wpatch +| PASS +EXIT got=0 want=0 elapsed_ns=4261446 +PASS exit +RUN /tmp/wpp/neg/wpatch checkbind /tmp/wpp/wneg/binding-0 /tmp/wpp/wneg/base.ck /tmp/wpp/neg/wpatch +EXIT got=60 want=60 elapsed_ns=2008466 +PASS exit +RUN /tmp/wpp/neg/wpatch checkbind /tmp/wpp/wneg/binding-0 /tmp/wpp/wneg/applied-0.ck /tmp/wpp/wneg/runtime-0 +EXIT got=62 want=62 elapsed_ns=4273014 +PASS exit +RUN /tmp/wpp/neg/wpatch checkbind /tmp/wpp/wneg/wrong-f32-binding-0 /tmp/wpp/wneg/applied-0.ck /tmp/wpp/neg/wpatch +EXIT got=61 want=61 elapsed_ns=2373717 +PASS exit +RUN /tmp/wpp/neg/wpatch checkbind /tmp/wpp/wneg/wrong-f32-binding-0 /tmp/wpp/wneg/applied-0.ck /tmp/wpp/neg/wpatch +EXIT got=59 want=59 elapsed_ns=443860 +PASS exit +RUN /tmp/wpp/neg/wpatch apply /tmp/wpp/wneg/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp /tmp/wpp/wneg/base.ck /tmp/wpp/wneg/applied-0.ck +EXIT got=52 want=52 elapsed_ns=5921029 +PASS exit +PASS OUT exists preserved +RUN /tmp/wpp/neg/wpatch apply /tmp/wpp/wneg/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp /tmp/wpp/wneg/base.ck /tmp/wpp/wneg/base.ck +EXIT got=52 want=52 elapsed_ns=5967909 +PASS exit +RUN /tmp/wpp/neg/wpatch revert /tmp/wpp/wneg/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp /tmp/wpp/wneg/applied-0.ck /tmp/wpp/wneg/base.ck +EXIT got=52 want=52 elapsed_ns=5669330 +PASS exit +RUN /tmp/wpp/neg/wpatch diff /tmp/wpp/wneg/base.ck /tmp/wpp/wneg/edited.ck 0 /tmp/wpp/wneg/params.txt /tmp/wpp/wneg/rationale.txt /tmp/wpp/wneg/patches-0 +EXIT got=52 want=52 elapsed_ns=8781646 +PASS exit +RUN /tmp/wpp/neg/wpatch diff /tmp/wpp/wneg/base.ck /tmp/wpp/wneg/edited.ck 1 /tmp/wpp/wneg/params.txt /tmp/wpp/wneg/rationale.txt /tmp/wpp/wneg/patches-1 +| /tmp/wpp/wneg/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp +EXIT got=0 want=0 elapsed_ns=13028083 +PASS exit +RUN /usr/bin/python3 tools/omegallm/wpatch/wporacle.py /tmp/wpp/wneg/oracle-3.req +| 66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8 +| a4d6249a009e496434ea6f1eed97e59b6d26560225e1727bc6213b69f0f22f77 +| 0f7c5cce37a019be53786dfc27fd01146f7606343ccbe7f632d19661dc6f7004 +| a094ea3f1ddb087d13316f882b44e4ba3e3fe8d4d32efcfcb9f86cbae7049f28 +| b61cbd26710589e5e352794c1b05e08a1fe954e982d135c3bcfa88f95b077068 +| 19 +| 8cff8d99b6ae9164f7732cf6801ae974d3a2a7944f33ccc0505a481eefc64cc6 +| 8466ddee307934f1d085b7fc3f2f222b33f320a47b8f72c0782cd099f53c3a56 +| 8e55ebc45ecdca0459276d85bdcc502985681ca91936c7d388f36141657e7724 +| adfe7504881e98ae49edbd9bd2a8c6259a190472f5f2a301aabf76d433a26668 +| accdb602abdaf839de2b6e98f98e399bcb00eea03cdc1e14ffe760c6012bffa8 +| fa6b0727cb263311c2c3b75e6fea1f7902613c5051548b6cff87fecb0556f9d0 +| b43e998b213e289c9464b79a54a04243a629061e9351882c0af8ba717ab1f27c +| 02d1cd2862c618fa82ecbe721cef53d3f0064a85c37dc3c81b60256496a551e8 +| 0d43f123403113f54dc36bf858225654da6ca9b2fa6dd13d34ea03df0300162d +| ff25c2a9843e2cb7febd7173d1310c5c38d4c3b84f80d41fe477671df90958a4 +| d5ef48d1f1f83bea39dbec4469a83b73134a957a6f7ee5c7f55d489a085e2fc2 +| cd5d9460b4f8b03c13493204e04f3499387caa9332da929e17aa53b5bf93f1b9 +| 77e6c5613a0fba859e0559bee3beb70fb9e4ac007b87134dfc1e2fe482194b44 +| a49caf53f5f318fe312bef6bc78842f4f194d97965a34d4d1903a20c325e3af6 +| 4a99000fa39bce104d6cd39bd7e6e8f108b0a120d700c1372a14614b7d2a3cf9 +| 975a6761e290c4c1493058ce603d78cf98fe638c88792c88a13d422d00044af5 +| 6744256441b31f1e97fe7739e0af3edbeeabb2960c9030bde44a0940f673b254 +| f01f41002a7e3c6afa8dbfe6c69ab753d4361cf25faae3e3ea4738e7aa1f0232 +| 65aa5211ba1921da7b4c26e7667f49bf0d2a7219f2fef32dcc828fb4cf181a9a +| da6c1acbed6d1e964e53096c19d5b3315179e0c8086bed42b46610b8559a08c4 +| 87ac5499240575162ba65d8ae7797632e2f21867f92a267f7d27e51fd5ba6681 +| bde2ade244794a03dbab19eb8842c4beaf3142d29d9187cab4f591abc01fe628 +| 78f67e940451c70fdbd40addfcb72751849966d7b148ad594a3a739ed31e0d00 +| d808561f3eb09d5ab82ea88166b8e5f0167c008122404a7bd3ea872a7d7e9bf0 +| c352ab4f020ea5e19c4d02b17bedf866e744ae5d1edb61d1dbfda5df5703acd3 +| 2e8be3b6c97d9ff568dc99313ca7755b14dfe0b92ba7ad902ed2734a5c3b3143 +| f4652233a1d793d2978d9ad90e2210aee041f7f8cfc91ef472c967426b88c860 +| 870e8b55814715d2f0fc9a8d2d911aa926250e461a85a1646b28d5e70e4c92be +| 475ce7b4b11c6b1d2a5310803d72acf1d10e775de74bcaf61c5641c3e7dbaca1 +| 1ce3012f244ce93fd4661cb2007ca6e07d598234743904fd1283c71c504288d0 +| 4643b63785013e0368364f6264d4a058b8f58b0691eee2aa7e826ca2abc70188 +| f6b3f58c3b9941af1a6e757a7980063270bd0c0b5cd6ef05d2c3dda75d8dccca +| eeb65469cf27f4909bb8bd2dc92d59c3351e05ea875aae8e57a62c2587a8959f +| 7cb4f65377af2656eca78a285413c186d2d71b877c8a41c0f3ef3022c3a4e979 +| ea6bc3116d9daff1e54ce077e1f55fd4847c481c8ebddcd72722b25c499624aa +| 23a70f58de7dccd0b1d4e757113fbd6d67ea8700ee8d8b265fe8290243ab0579 +| 7b418488fe3c94afab4cee946277736fbe8511da660706daf1cd03e65cd13c3e +| 9e1c519bc1decea509ce838c7d5f66098f7dd1dc10ec4fc4e911f6dbdf69ffdd +EXIT got=0 want=0 elapsed_ns=26832445 +PASS exit +PASS oracle answered every request +PASS oracle manifest magic +PASS oracle canonical manifest name +PASS oracle manifest length +PASS oracle policy +PASS oracle edit identity +PASS oracle metadata lengths +PASS oracle UTF8 provenance +PASS oracle strict order +PASS oracle indices in bounds +PASS oracle policy +PASS oracle CK02 magic +PASS oracle checkpoint length +PASS oracle checkpoint FNV +PASS oracle checkpoint geometry P +PASS oracle preserved base header +PASS oracle manifest geometry +PASS oracle manifest P +PASS oracle base SHA +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle expected output SHA +PASS oracle expected f32 SHA +PASS oracle all tensors present +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS manifest oracle agrees with independent request +RUN /tmp/wpp/neg/wpatch show /tmp/wpp/wneg/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp +| {"patch_sha256":"66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8","base_sha256":"0f7c5cce37a019be53786dfc27fd01146f7606343ccbe7f632d19661dc6f7004","output_sha256":"a094ea3f1ddb087d13316f882b44e4ba3e3fe8d4d32efcfcb9f86cbae7049f28","f32_sha256":"b61cbd26710589e5e352794c1b05e08a1fe954e982d135c3bcfa88f95b077068","entries_sha256":"a4d6249a009e496434ea6f1eed97e59b6d26560225e1727bc6213b69f0f22f77","policy":1,"changed":20,"entries_first_20":[[0,"3f73395873a10edd","3f7751ebe85d795c","bf8552a73209b7de","3f14fbfe29a9774b"],[1,"3f798242d6be64df","3f798242d6be64de","3f8ae1fb0b51213f","3f18d79eff023b06"],[4096,"3f9d71eaecf958fb","3f9e780fca28739b","bf6fda794c7f4356","3ee4874452c54ea4"],[4224,"3fefff43cec7fbde","3ff003ba7ad8ba59","3f1256c5dd67068a","3e2760769ce5b9f8"],[4240,"3f91335e055b2e52","3f923982e28a48f2","3e8c82f3e951ecd7","3d22dc1b3d5ebae0"],[4496,"3f7e376430d30470","3f8127fbd2c7b778","bea74810b3835236","3d5affaac6d4f0e8"],[4752,"bf8127b4d0942b41","bf7e36d62c6bec03","3f2ff9fda43ff4ce","3e655d362beed931"],[5008,"bf642a283fb3a03a","bf57f202ac759678","3f3502ff80b87ea6","3e72e5c1e1efe469"],[5264,"3ff0005e70ee046f","3ff004770462c0d9","bf18ed43b60b63b7","3e355bda46217552"],[5280,"3f937e8c81983fca","3f9484b15ec75a6a","bf48faf52cc05b78","3e965b7796fddabc"],[5792,"bf8d0a85a19f1a66","bf8afe3be740e526","3f4a9cc4b0ff81ae","3e99124af81315f5"],[6304,"3ff0005d56c1676d","3ff00475ea3623d7","bf183fc5d9e8349e","3e34f092d477879a"],[6320,"3f478f6a628528cb","3f5c2a0304343e62","bea91b8ad8d8fa88","3d711f50953c987a"],[6576,"3f96ddb9cf3d8cbd","3f97e3deac6ca75d","bea1d46f2116bc66","3d46551f111a70d4"],[6832,"bf85cdb8b6e68c3d","bf83c16efc8856fe","bf4f1c7c31f855d4","3ea2ab72a16c8090"],[7088,"3f66903abb2fa5f3","3f6ec161a4a87af1","bf50fdbc8214d868","3ea5d7a369874dbc"],[7344,"3fefff43cf3b0247","3ff003ba7b123d8e","3f0d8004986b399c","3e1e3eb1e77eda8e"],[7360,"bfa157e08134d98b","bfa0d4ce129d4c3b","3f1d076f4cc62d48","3e421f608bd657e5"],[7872,"bf908b27ddd68b5c","bf8f0a06014ee178","3f549ba6f596fe71","3ead9cd639986443"],[8384,"3fefffe8aac28f0e","3ff0040ce8d603f1","3f27d30ec44cacbd","3e64d03ccafe7fec"]],"params":"{\"delta\":0.001,\"name\":\"Ω patch\"}\u000a","rationale":"Own-model fixture. Preserve exact rollback.\u000a"} +EXIT got=0 want=0 elapsed_ns=659734 +PASS exit +PASS show UTF8 provenance +RUN /tmp/wpp/neg/wpatch validate /tmp/wpp/wneg/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /tmp/wpp/wneg/base.ck +| PASS +EXIT got=0 want=0 elapsed_ns=5886948 +PASS exit +RUN /tmp/wpp/neg/wpatch apply /tmp/wpp/wneg/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /tmp/wpp/wneg/base.ck /tmp/wpp/wneg/applied-1.ck +| PASS +EXIT got=0 want=0 elapsed_ns=13617720 +PASS exit +PASS apply exact oracle bytes +PASS apply equals independent requested bytes +RUN /tmp/wpp/neg/wpatch verify /tmp/wpp/wneg/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /tmp/wpp/wneg/applied-1.ck +| PASS f32_surviving=19 changed=20 +EXIT got=0 want=0 elapsed_ns=3391486 +PASS exit +PASS verify f32 survival count +RUN /tmp/wpp/neg/wpatch revert /tmp/wpp/wneg/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /tmp/wpp/wneg/applied-1.ck /tmp/wpp/wneg/reverted-1.ck +| PASS +EXIT got=0 want=0 elapsed_ns=12532383 +PASS exit +PASS revert byte-identical base +RUN /tmp/wpp/neg/wpatch bind /tmp/wpp/wneg/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /tmp/wpp/wneg/applied-1.ck /tmp/wpp/neg/wpatch /tmp/wpp/wneg/binding-1 +| PASS +EXIT got=0 want=0 elapsed_ns=8635469 +PASS exit +RUN /usr/bin/python3 tools/omegallm/wpatch/wporacle.py /tmp/wpp/wneg/oracle-4.req +| a094ea3f1ddb087d13316f882b44e4ba3e3fe8d4d32efcfcb9f86cbae7049f28 +| b61cbd26710589e5e352794c1b05e08a1fe954e982d135c3bcfa88f95b077068 +| 406bb2ef1e1c3ba0cff707d8eeb9c9266bc5777ac7aec19ab896d13e44fe5ea9 +| 66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8 +| b7a6b2a51fd25f098682fc3c3e0874d9a214f1e4c89d2742fc3c6b063100702d +EXIT got=0 want=0 elapsed_ns=25529826 +PASS exit +PASS oracle answered every request +PASS oracle binding format +PASS oracle binding CK and f32 +PASS oracle binding runtime and patch +PASS oracle binding self digest +RUN /tmp/wpp/neg/wpatch checkbind /tmp/wpp/wneg/binding-1 /tmp/wpp/wneg/applied-1.ck /tmp/wpp/neg/wpatch +| PASS +EXIT got=0 want=0 elapsed_ns=4307302 +PASS exit +RUN /tmp/wpp/neg/wpatch checkbind /tmp/wpp/wneg/binding-1 /tmp/wpp/wneg/base.ck /tmp/wpp/neg/wpatch +EXIT got=60 want=60 elapsed_ns=1940817 +PASS exit +RUN /tmp/wpp/neg/wpatch checkbind /tmp/wpp/wneg/binding-1 /tmp/wpp/wneg/applied-1.ck /tmp/wpp/wneg/runtime-1 +EXIT got=62 want=62 elapsed_ns=4242229 +PASS exit +RUN /tmp/wpp/neg/wpatch checkbind /tmp/wpp/wneg/wrong-f32-binding-1 /tmp/wpp/wneg/applied-1.ck /tmp/wpp/neg/wpatch +EXIT got=61 want=61 elapsed_ns=2320357 +PASS exit +RUN /tmp/wpp/neg/wpatch checkbind /tmp/wpp/wneg/wrong-f32-binding-1 /tmp/wpp/wneg/applied-1.ck /tmp/wpp/neg/wpatch +EXIT got=59 want=59 elapsed_ns=418052 +PASS exit +RUN /tmp/wpp/neg/wpatch apply /tmp/wpp/wneg/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /tmp/wpp/wneg/base.ck /tmp/wpp/wneg/applied-1.ck +EXIT got=52 want=52 elapsed_ns=5829444 +PASS exit +PASS OUT exists preserved +RUN /tmp/wpp/neg/wpatch apply /tmp/wpp/wneg/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /tmp/wpp/wneg/base.ck /tmp/wpp/wneg/base.ck +EXIT got=52 want=52 elapsed_ns=5873524 +PASS exit +RUN /tmp/wpp/neg/wpatch revert /tmp/wpp/wneg/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /tmp/wpp/wneg/applied-1.ck /tmp/wpp/wneg/base.ck +EXIT got=52 want=52 elapsed_ns=5567953 +PASS exit +RUN /tmp/wpp/neg/wpatch diff /tmp/wpp/wneg/base.ck /tmp/wpp/wneg/edited.ck 1 /tmp/wpp/wneg/params.txt /tmp/wpp/wneg/rationale.txt /tmp/wpp/wneg/patches-1 +EXIT got=52 want=52 elapsed_ns=9017888 +PASS exit +RUN /tmp/wpp/neg/wpatch diff /tmp/wpp/wneg/base.ck /tmp/wpp/wneg/edited.ck 2 /tmp/wpp/wneg/params.txt /tmp/wpp/wneg/rationale.txt /tmp/wpp/wneg/patches-2 +| /tmp/wpp/wneg/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp +EXIT got=0 want=0 elapsed_ns=13405463 +PASS exit +RUN /usr/bin/python3 tools/omegallm/wpatch/wporacle.py /tmp/wpp/wneg/oracle-5.req +| b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea +| a4d6249a009e496434ea6f1eed97e59b6d26560225e1727bc6213b69f0f22f77 +| 0f7c5cce37a019be53786dfc27fd01146f7606343ccbe7f632d19661dc6f7004 +| 2c2a6304ba02509b12b70174ed70d586d1a0e1da4226257bc56be24e1e7eefe0 +| b61cbd26710589e5e352794c1b05e08a1fe954e982d135c3bcfa88f95b077068 +| 19 +| 8cff8d99b6ae9164f7732cf6801ae974d3a2a7944f33ccc0505a481eefc64cc6 +| 8466ddee307934f1d085b7fc3f2f222b33f320a47b8f72c0782cd099f53c3a56 +| 8e55ebc45ecdca0459276d85bdcc502985681ca91936c7d388f36141657e7724 +| adfe7504881e98ae49edbd9bd2a8c6259a190472f5f2a301aabf76d433a26668 +| accdb602abdaf839de2b6e98f98e399bcb00eea03cdc1e14ffe760c6012bffa8 +| fa6b0727cb263311c2c3b75e6fea1f7902613c5051548b6cff87fecb0556f9d0 +| b43e998b213e289c9464b79a54a04243a629061e9351882c0af8ba717ab1f27c +| 02d1cd2862c618fa82ecbe721cef53d3f0064a85c37dc3c81b60256496a551e8 +| 0d43f123403113f54dc36bf858225654da6ca9b2fa6dd13d34ea03df0300162d +| ff25c2a9843e2cb7febd7173d1310c5c38d4c3b84f80d41fe477671df90958a4 +| d5ef48d1f1f83bea39dbec4469a83b73134a957a6f7ee5c7f55d489a085e2fc2 +| cd5d9460b4f8b03c13493204e04f3499387caa9332da929e17aa53b5bf93f1b9 +| 77e6c5613a0fba859e0559bee3beb70fb9e4ac007b87134dfc1e2fe482194b44 +| a49caf53f5f318fe312bef6bc78842f4f194d97965a34d4d1903a20c325e3af6 +| 4a99000fa39bce104d6cd39bd7e6e8f108b0a120d700c1372a14614b7d2a3cf9 +| 975a6761e290c4c1493058ce603d78cf98fe638c88792c88a13d422d00044af5 +| 6744256441b31f1e97fe7739e0af3edbeeabb2960c9030bde44a0940f673b254 +| f01f41002a7e3c6afa8dbfe6c69ab753d4361cf25faae3e3ea4738e7aa1f0232 +| 65aa5211ba1921da7b4c26e7667f49bf0d2a7219f2fef32dcc828fb4cf181a9a +| da6c1acbed6d1e964e53096c19d5b3315179e0c8086bed42b46610b8559a08c4 +| 87ac5499240575162ba65d8ae7797632e2f21867f92a267f7d27e51fd5ba6681 +| bde2ade244794a03dbab19eb8842c4beaf3142d29d9187cab4f591abc01fe628 +| 78f67e940451c70fdbd40addfcb72751849966d7b148ad594a3a739ed31e0d00 +| d808561f3eb09d5ab82ea88166b8e5f0167c008122404a7bd3ea872a7d7e9bf0 +| c352ab4f020ea5e19c4d02b17bedf866e744ae5d1edb61d1dbfda5df5703acd3 +| 2e8be3b6c97d9ff568dc99313ca7755b14dfe0b92ba7ad902ed2734a5c3b3143 +| f4652233a1d793d2978d9ad90e2210aee041f7f8cfc91ef472c967426b88c860 +| 870e8b55814715d2f0fc9a8d2d911aa926250e461a85a1646b28d5e70e4c92be +| 475ce7b4b11c6b1d2a5310803d72acf1d10e775de74bcaf61c5641c3e7dbaca1 +| 1ce3012f244ce93fd4661cb2007ca6e07d598234743904fd1283c71c504288d0 +| 4643b63785013e0368364f6264d4a058b8f58b0691eee2aa7e826ca2abc70188 +| f6b3f58c3b9941af1a6e757a7980063270bd0c0b5cd6ef05d2c3dda75d8dccca +| eeb65469cf27f4909bb8bd2dc92d59c3351e05ea875aae8e57a62c2587a8959f +| 7cb4f65377af2656eca78a285413c186d2d71b877c8a41c0f3ef3022c3a4e979 +| ea6bc3116d9daff1e54ce077e1f55fd4847c481c8ebddcd72722b25c499624aa +| 23a70f58de7dccd0b1d4e757113fbd6d67ea8700ee8d8b265fe8290243ab0579 +| 7b418488fe3c94afab4cee946277736fbe8511da660706daf1cd03e65cd13c3e +| 9e1c519bc1decea509ce838c7d5f66098f7dd1dc10ec4fc4e911f6dbdf69ffdd +EXIT got=0 want=0 elapsed_ns=27184257 +PASS exit +PASS oracle answered every request +PASS oracle manifest magic +PASS oracle canonical manifest name +PASS oracle manifest length +PASS oracle policy +PASS oracle edit identity +PASS oracle metadata lengths +PASS oracle UTF8 provenance +PASS oracle strict order +PASS oracle indices in bounds +PASS oracle policy +PASS oracle CK02 magic +PASS oracle checkpoint length +PASS oracle checkpoint FNV +PASS oracle checkpoint geometry P +PASS oracle preserved base header +PASS oracle manifest geometry +PASS oracle manifest P +PASS oracle base SHA +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle expected output SHA +PASS oracle expected f32 SHA +PASS oracle all tensors present +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS manifest oracle agrees with independent request +RUN /tmp/wpp/neg/wpatch show /tmp/wpp/wneg/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp +| {"patch_sha256":"b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea","base_sha256":"0f7c5cce37a019be53786dfc27fd01146f7606343ccbe7f632d19661dc6f7004","output_sha256":"2c2a6304ba02509b12b70174ed70d586d1a0e1da4226257bc56be24e1e7eefe0","f32_sha256":"b61cbd26710589e5e352794c1b05e08a1fe954e982d135c3bcfa88f95b077068","entries_sha256":"a4d6249a009e496434ea6f1eed97e59b6d26560225e1727bc6213b69f0f22f77","policy":2,"changed":20,"entries_first_20":[[0,"3f73395873a10edd","3f7751ebe85d795c","bf8552a73209b7de","3f14fbfe29a9774b"],[1,"3f798242d6be64df","3f798242d6be64de","3f8ae1fb0b51213f","3f18d79eff023b06"],[4096,"3f9d71eaecf958fb","3f9e780fca28739b","bf6fda794c7f4356","3ee4874452c54ea4"],[4224,"3fefff43cec7fbde","3ff003ba7ad8ba59","3f1256c5dd67068a","3e2760769ce5b9f8"],[4240,"3f91335e055b2e52","3f923982e28a48f2","3e8c82f3e951ecd7","3d22dc1b3d5ebae0"],[4496,"3f7e376430d30470","3f8127fbd2c7b778","bea74810b3835236","3d5affaac6d4f0e8"],[4752,"bf8127b4d0942b41","bf7e36d62c6bec03","3f2ff9fda43ff4ce","3e655d362beed931"],[5008,"bf642a283fb3a03a","bf57f202ac759678","3f3502ff80b87ea6","3e72e5c1e1efe469"],[5264,"3ff0005e70ee046f","3ff004770462c0d9","bf18ed43b60b63b7","3e355bda46217552"],[5280,"3f937e8c81983fca","3f9484b15ec75a6a","bf48faf52cc05b78","3e965b7796fddabc"],[5792,"bf8d0a85a19f1a66","bf8afe3be740e526","3f4a9cc4b0ff81ae","3e99124af81315f5"],[6304,"3ff0005d56c1676d","3ff00475ea3623d7","bf183fc5d9e8349e","3e34f092d477879a"],[6320,"3f478f6a628528cb","3f5c2a0304343e62","bea91b8ad8d8fa88","3d711f50953c987a"],[6576,"3f96ddb9cf3d8cbd","3f97e3deac6ca75d","bea1d46f2116bc66","3d46551f111a70d4"],[6832,"bf85cdb8b6e68c3d","bf83c16efc8856fe","bf4f1c7c31f855d4","3ea2ab72a16c8090"],[7088,"3f66903abb2fa5f3","3f6ec161a4a87af1","bf50fdbc8214d868","3ea5d7a369874dbc"],[7344,"3fefff43cf3b0247","3ff003ba7b123d8e","3f0d8004986b399c","3e1e3eb1e77eda8e"],[7360,"bfa157e08134d98b","bfa0d4ce129d4c3b","3f1d076f4cc62d48","3e421f608bd657e5"],[7872,"bf908b27ddd68b5c","bf8f0a06014ee178","3f549ba6f596fe71","3ead9cd639986443"],[8384,"3fefffe8aac28f0e","3ff0040ce8d603f1","3f27d30ec44cacbd","3e64d03ccafe7fec"]],"params":"{\"delta\":0.001,\"name\":\"Ω patch\"}\u000a","rationale":"Own-model fixture. Preserve exact rollback.\u000a"} +EXIT got=0 want=0 elapsed_ns=640758 +PASS exit +PASS show UTF8 provenance +RUN /tmp/wpp/neg/wpatch validate /tmp/wpp/wneg/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp /tmp/wpp/wneg/base.ck +EXIT got=53 want=0 elapsed_ns=4762250 +FAIL exit +WPCHECK FAIL checks=589 commands=45 diff --git a/evidence/OMEGALLM/wsp-patch-20261107/pure-omega/neg-survive.diff b/evidence/OMEGALLM/wsp-patch-20261107/pure-omega/neg-survive.diff new file mode 100644 index 0000000..82c7e26 --- /dev/null +++ b/evidence/OMEGALLM/wsp-patch-20261107/pure-omega/neg-survive.diff @@ -0,0 +1,11 @@ +--- ../out/wpatch-all.om 2026-11-07 01:47:23.752906111 -0600 ++++ wpatch-mutant.om 2026-11-07 01:57:00.809840808 -0600 +@@ -11424,7 +11424,7 @@ + fn wpsurvive e ulong to bool + a = bitcast uint f32 bitcast f64 wpefield e 8 + b = bitcast uint f32 bitcast f64 wpefield e 16 +-ret ne a b ++ret eq a b + end + fn wpverify to void + if ne oargc 4 diff --git a/evidence/OMEGALLM/wsp-patch-20261107/pure-omega/neg-survive.log b/evidence/OMEGALLM/wsp-patch-20261107/pure-omega/neg-survive.log new file mode 100644 index 0000000..163f8eb --- /dev/null +++ b/evidence/OMEGALLM/wsp-patch-20261107/pure-omega/neg-survive.log @@ -0,0 +1,280 @@ +WPCHECK small wpatch_sha256=9c00dd6dae3af708858062a353907f64f1ced5f1d2e9411f832d46203031282f +RUN /tmp/wpp/neg2/ollm init /tmp/wpp/wneg2/base.ck 256 8 16 2 32 2 2 1 10 3000 1 +| I 8400 +EXIT got=0 want=0 elapsed_ns=5962965 +PASS exit +RUN /tmp/wpp/neg2/ollm train /tmp/wpp/wneg2/base.ck /tmp/wpp/wneg2/train.bin 2 1 +| T 1 5541842 +| T 2 5520363 +EXIT got=0 want=0 elapsed_ns=20985674 +PASS exit +PASS oracle CK02 magic +PASS oracle checkpoint length +PASS oracle checkpoint FNV +PASS oracle checkpoint geometry P +RUN /tmp/wpp/neg2/wpatch inspect /tmp/wpp/wneg2/base.ck +| OLLMCK02 V T D H F L B P: 256 8 16 2 32 2 2 8400 +| seed step total lr G fnv: 1 2 10 4569063951553953530 1 12929047925843260235 +| wte 0 256x16 dtype=f64 offset=0 sha256=8cff8d99b6ae9164f7732cf6801ae974d3a2a7944f33ccc0505a481eefc64cc6 rms=2.0150972434014620e-2 maxabs=3.4694049902618817e-2 nonfinite=0 +| wpe 0 8x16 dtype=f64 offset=4096 sha256=8466ddee307934f1d085b7fc3f2f222b33f320a47b8f72c0782cd099f53c3a56 rms=2.0597512474142969e-2 maxabs=3.4688363182317480e-2 nonfinite=0 +| g1 0 1x16 dtype=f64 offset=4224 sha256=8e55ebc45ecdca0459276d85bdcc502985681ca91936c7d388f36141657e7724 rms=9.9998560202156934e-1 maxabs=1.0000898116642267e0 nonfinite=0 +| wq 0 16x16 dtype=f64 offset=4240 sha256=adfe7504881e98ae49edbd9bd2a8c6259a190472f5f2a301aabf76d433a26668 rms=1.9387060051204409e-2 maxabs=3.4602970449885450e-2 nonfinite=0 +| wk 0 16x16 dtype=f64 offset=4496 sha256=accdb602abdaf839de2b6e98f98e399bcb00eea03cdc1e14ffe760c6012bffa8 rms=2.0086632119378893e-2 maxabs=3.4488179470423929e-2 nonfinite=0 +| wv 0 16x16 dtype=f64 offset=4752 sha256=fa6b0727cb263311c2c3b75e6fea1f7902613c5051548b6cff87fecb0556f9d0 rms=2.0442612683966512e-2 maxabs=3.4608463868511711e-2 nonfinite=0 +| wo 0 16x16 dtype=f64 offset=5008 sha256=b43e998b213e289c9464b79a54a04243a629061e9351882c0af8ba717ab1f27c rms=9.3607584314112308e-3 maxabs=1.7186119006150049e-2 nonfinite=0 +| g2 0 1x16 dtype=f64 offset=5264 sha256=02d1cd2862c618fa82ecbe721cef53d3f0064a85c37dc3c81b60256496a551e8 rms=1.0000317542785344e0 maxabs=1.0000900660818634e0 nonfinite=0 +| w1 0 16x32 dtype=f64 offset=5280 sha256=0d43f123403113f54dc36bf858225654da6ca9b2fa6dd13d34ea03df0300162d rms=1.9707409527231671e-2 maxabs=3.4604831137893370e-2 nonfinite=0 +| w2 0 32x16 dtype=f64 offset=5792 sha256=ff25c2a9843e2cb7febd7173d1310c5c38d4c3b84f80d41fe477671df90958a4 rms=9.9353752213784609e-3 maxabs=1.7383742580227750e-2 nonfinite=0 +| g1 1 1x16 dtype=f64 offset=6304 sha256=d5ef48d1f1f83bea39dbec4469a83b73134a957a6f7ee5c7f55d489a085e2fc2 rms=1.0000055077295755e0 maxabs=1.0000896598909829e0 nonfinite=0 +| wq 1 16x16 dtype=f64 offset=6320 sha256=cd5d9460b4f8b03c13493204e04f3499387caa9332da929e17aa53b5bf93f1b9 rms=1.9395643851273927e-2 maxabs=3.4713570183186637e-2 nonfinite=0 +| wk 1 16x16 dtype=f64 offset=6576 sha256=77e6c5613a0fba859e0559bee3beb70fb9e4ac007b87134dfc1e2fe482194b44 rms=2.0451505765922823e-2 maxabs=3.4557907877036364e-2 nonfinite=0 +| wv 1 16x16 dtype=f64 offset=6832 sha256=a49caf53f5f318fe312bef6bc78842f4f194d97965a34d4d1903a20c325e3af6 rms=2.0283640674707430e-2 maxabs=3.4634749954325338e-2 nonfinite=0 +| wo 1 16x16 dtype=f64 offset=7088 sha256=4a99000fa39bce104d6cd39bd7e6e8f108b0a120d700c1372a14614b7d2a3cf9 rms=9.5378278603200783e-3 maxabs=1.7408843619714149e-2 nonfinite=0 +| g2 1 1x16 dtype=f64 offset=7344 sha256=975a6761e290c4c1493058ce603d78cf98fe638c88792c88a13d422d00044af5 rms=1.0000051625444570e0 maxabs=1.0000900629791575e0 nonfinite=0 +| w1 1 16x32 dtype=f64 offset=7360 sha256=6744256441b31f1e97fe7739e0af3edbeeabb2960c9030bde44a0940f673b254 rms=1.9646243437713831e-2 maxabs=3.4519835058524788e-2 nonfinite=0 +| w2 1 32x16 dtype=f64 offset=7872 sha256=f01f41002a7e3c6afa8dbfe6c69ab753d4361cf25faae3e3ea4738e7aa1f0232 rms=9.9239498616909447e-3 maxabs=1.7320015361641458e-2 nonfinite=0 +| gf 0 1x16 dtype=f64 offset=8384 sha256=65aa5211ba1921da7b4c26e7667f49bf0d2a7219f2fef32dcc828fb4cf181a9a rms=1.0000070876612532e0 maxabs=1.0000900576992735e0 nonfinite=0 +EXIT got=0 want=0 elapsed_ns=2167411 +PASS exit +RUN /tmp/wpp/neg2/wpatch inspect /tmp/wpp/wneg2/base.ck wte 0 0 1 0 2 +| OLLMCK02 V T D H F L B P: 256 8 16 2 32 2 2 8400 +| seed step total lr G fnv: 1 2 10 4569063951553953530 1 12929047925843260235 +| 0 0 4.6933608192067630e-3 3f73395873a10edd +| 0 1 6.2277422802250175e-3 3f798242d6be64df +EXIT got=0 want=0 elapsed_ns=820663 +PASS exit +PASS inspect exact slice bits +RUN /tmp/wpp/neg2/wpatch inspect /tmp/wpp/wneg2/base.ck wte 0 0 99999 0 1 +EXIT got=27 want=27 elapsed_ns=819399 +PASS exit +RUN /tmp/wpp/neg2/wpatch diff /tmp/wpp/wneg2/base.ck /tmp/wpp/wneg2/edited.ck 0 /tmp/wpp/wneg2/params.txt /tmp/wpp/wneg2/rationale.txt /tmp/wpp/wneg2/patches-0 +| /tmp/wpp/wneg2/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp +EXIT got=0 want=0 elapsed_ns=11863737 +PASS exit +RUN /usr/bin/python3 tools/omegallm/wpatch/wporacle.py /tmp/wpp/wneg2/oracle-1.req +| 6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115 +| 1f2e4172184215f85733f111b30a46cdd694b2d887c0280698f2ea7c7f2f1d04 +| 0f7c5cce37a019be53786dfc27fd01146f7606343ccbe7f632d19661dc6f7004 +| df9ba29d0123bf5852c13765b758998bd1e5a49f63b983dcf934e0b63f261eb3 +| b61cbd26710589e5e352794c1b05e08a1fe954e982d135c3bcfa88f95b077068 +| 19 +| 8cff8d99b6ae9164f7732cf6801ae974d3a2a7944f33ccc0505a481eefc64cc6 +| 8466ddee307934f1d085b7fc3f2f222b33f320a47b8f72c0782cd099f53c3a56 +| 8e55ebc45ecdca0459276d85bdcc502985681ca91936c7d388f36141657e7724 +| adfe7504881e98ae49edbd9bd2a8c6259a190472f5f2a301aabf76d433a26668 +| accdb602abdaf839de2b6e98f98e399bcb00eea03cdc1e14ffe760c6012bffa8 +| fa6b0727cb263311c2c3b75e6fea1f7902613c5051548b6cff87fecb0556f9d0 +| b43e998b213e289c9464b79a54a04243a629061e9351882c0af8ba717ab1f27c +| 02d1cd2862c618fa82ecbe721cef53d3f0064a85c37dc3c81b60256496a551e8 +| 0d43f123403113f54dc36bf858225654da6ca9b2fa6dd13d34ea03df0300162d +| ff25c2a9843e2cb7febd7173d1310c5c38d4c3b84f80d41fe477671df90958a4 +| d5ef48d1f1f83bea39dbec4469a83b73134a957a6f7ee5c7f55d489a085e2fc2 +| cd5d9460b4f8b03c13493204e04f3499387caa9332da929e17aa53b5bf93f1b9 +| 77e6c5613a0fba859e0559bee3beb70fb9e4ac007b87134dfc1e2fe482194b44 +| a49caf53f5f318fe312bef6bc78842f4f194d97965a34d4d1903a20c325e3af6 +| 4a99000fa39bce104d6cd39bd7e6e8f108b0a120d700c1372a14614b7d2a3cf9 +| 975a6761e290c4c1493058ce603d78cf98fe638c88792c88a13d422d00044af5 +| 6744256441b31f1e97fe7739e0af3edbeeabb2960c9030bde44a0940f673b254 +| f01f41002a7e3c6afa8dbfe6c69ab753d4361cf25faae3e3ea4738e7aa1f0232 +| 65aa5211ba1921da7b4c26e7667f49bf0d2a7219f2fef32dcc828fb4cf181a9a +| da6c1acbed6d1e964e53096c19d5b3315179e0c8086bed42b46610b8559a08c4 +| 87ac5499240575162ba65d8ae7797632e2f21867f92a267f7d27e51fd5ba6681 +| bde2ade244794a03dbab19eb8842c4beaf3142d29d9187cab4f591abc01fe628 +| 78f67e940451c70fdbd40addfcb72751849966d7b148ad594a3a739ed31e0d00 +| d808561f3eb09d5ab82ea88166b8e5f0167c008122404a7bd3ea872a7d7e9bf0 +| c352ab4f020ea5e19c4d02b17bedf866e744ae5d1edb61d1dbfda5df5703acd3 +| 2e8be3b6c97d9ff568dc99313ca7755b14dfe0b92ba7ad902ed2734a5c3b3143 +| f4652233a1d793d2978d9ad90e2210aee041f7f8cfc91ef472c967426b88c860 +| 870e8b55814715d2f0fc9a8d2d911aa926250e461a85a1646b28d5e70e4c92be +| 475ce7b4b11c6b1d2a5310803d72acf1d10e775de74bcaf61c5641c3e7dbaca1 +| 1ce3012f244ce93fd4661cb2007ca6e07d598234743904fd1283c71c504288d0 +| 4643b63785013e0368364f6264d4a058b8f58b0691eee2aa7e826ca2abc70188 +| f6b3f58c3b9941af1a6e757a7980063270bd0c0b5cd6ef05d2c3dda75d8dccca +| eeb65469cf27f4909bb8bd2dc92d59c3351e05ea875aae8e57a62c2587a8959f +| 7cb4f65377af2656eca78a285413c186d2d71b877c8a41c0f3ef3022c3a4e979 +| ea6bc3116d9daff1e54ce077e1f55fd4847c481c8ebddcd72722b25c499624aa +| 23a70f58de7dccd0b1d4e757113fbd6d67ea8700ee8d8b265fe8290243ab0579 +| 7b418488fe3c94afab4cee946277736fbe8511da660706daf1cd03e65cd13c3e +| 9e1c519bc1decea509ce838c7d5f66098f7dd1dc10ec4fc4e911f6dbdf69ffdd +EXIT got=0 want=0 elapsed_ns=26859421 +PASS exit +PASS oracle answered every request +PASS oracle manifest magic +PASS oracle canonical manifest name +PASS oracle manifest length +PASS oracle policy +PASS oracle edit identity +PASS oracle metadata lengths +PASS oracle UTF8 provenance +PASS oracle strict order +PASS oracle indices in bounds +PASS oracle policy +PASS oracle CK02 magic +PASS oracle checkpoint length +PASS oracle checkpoint FNV +PASS oracle checkpoint geometry P +PASS oracle preserved base header +PASS oracle manifest geometry +PASS oracle manifest P +PASS oracle base SHA +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle expected output SHA +PASS oracle expected f32 SHA +PASS oracle all tensors present +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS manifest oracle agrees with independent request +RUN /tmp/wpp/neg2/wpatch show /tmp/wpp/wneg2/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp +| {"patch_sha256":"6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115","base_sha256":"0f7c5cce37a019be53786dfc27fd01146f7606343ccbe7f632d19661dc6f7004","output_sha256":"df9ba29d0123bf5852c13765b758998bd1e5a49f63b983dcf934e0b63f261eb3","f32_sha256":"b61cbd26710589e5e352794c1b05e08a1fe954e982d135c3bcfa88f95b077068","entries_sha256":"1f2e4172184215f85733f111b30a46cdd694b2d887c0280698f2ea7c7f2f1d04","policy":0,"changed":20,"entries_first_20":[[0,"3f73395873a10edd","3f7751ebe85d795c"],[1,"3f798242d6be64df","3f798242d6be64de"],[4096,"3f9d71eaecf958fb","3f9e780fca28739b"],[4224,"3fefff43cec7fbde","3ff003ba7ad8ba59"],[4240,"3f91335e055b2e52","3f923982e28a48f2"],[4496,"3f7e376430d30470","3f8127fbd2c7b778"],[4752,"bf8127b4d0942b41","bf7e36d62c6bec03"],[5008,"bf642a283fb3a03a","bf57f202ac759678"],[5264,"3ff0005e70ee046f","3ff004770462c0d9"],[5280,"3f937e8c81983fca","3f9484b15ec75a6a"],[5792,"bf8d0a85a19f1a66","bf8afe3be740e526"],[6304,"3ff0005d56c1676d","3ff00475ea3623d7"],[6320,"3f478f6a628528cb","3f5c2a0304343e62"],[6576,"3f96ddb9cf3d8cbd","3f97e3deac6ca75d"],[6832,"bf85cdb8b6e68c3d","bf83c16efc8856fe"],[7088,"3f66903abb2fa5f3","3f6ec161a4a87af1"],[7344,"3fefff43cf3b0247","3ff003ba7b123d8e"],[7360,"bfa157e08134d98b","bfa0d4ce129d4c3b"],[7872,"bf908b27ddd68b5c","bf8f0a06014ee178"],[8384,"3fefffe8aac28f0e","3ff0040ce8d603f1"]],"params":"{\"delta\":0.001,\"name\":\"Ω patch\"}\u000a","rationale":"Own-model fixture. Preserve exact rollback.\u000a"} +EXIT got=0 want=0 elapsed_ns=643429 +PASS exit +PASS show UTF8 provenance +RUN /tmp/wpp/neg2/wpatch validate /tmp/wpp/wneg2/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp /tmp/wpp/wneg2/base.ck +| PASS +EXIT got=0 want=0 elapsed_ns=5795619 +PASS exit +RUN /tmp/wpp/neg2/wpatch apply /tmp/wpp/wneg2/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp /tmp/wpp/wneg2/base.ck /tmp/wpp/wneg2/applied-0.ck +| PASS +EXIT got=0 want=0 elapsed_ns=10587246 +PASS exit +PASS apply exact oracle bytes +PASS apply equals independent requested bytes +RUN /tmp/wpp/neg2/wpatch verify /tmp/wpp/wneg2/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp /tmp/wpp/wneg2/applied-0.ck +| PASS f32_surviving=1 changed=20 +EXIT got=0 want=0 elapsed_ns=3239693 +PASS exit +FAIL verify f32 survival count +WPCHECK FAIL checks=178 commands=11 diff --git a/evidence/OMEGALLM/wsp-patch-20261107/pure-omega/real.log b/evidence/OMEGALLM/wsp-patch-20261107/pure-omega/real.log new file mode 100644 index 0000000..6db18c9 --- /dev/null +++ b/evidence/OMEGALLM/wsp-patch-20261107/pure-omega/real.log @@ -0,0 +1,68 @@ +WPCHECK real wpatch_sha256=bf993a780c7421cc2cd23d42fef5692135e9bd339f19a90059d4ef7f17be0847 +RUN /usr/bin/python3 tools/omegallm/wpatch/wporacle.py /home/drakestapleton/work/wsp/ck/wpatch-pure-real-20261107/oracle-1.req +| 7c7b5b5260f2d9453b6076b64e7f23e88341d96498584f2dfaa229c31ad2e346 +EXIT got=0 want=0 elapsed_ns=210637659 +PASS exit +PASS oracle answered every request +PASS real base pinned SHA +PASS Wolfram layer3 w2 offset +RUN /tmp/wpp/out2/wpatch diff /home/drakestapleton/.local/share/omega-tool-model/round40/model.ck /home/drakestapleton/work/wsp/ck/wpatch-pure-real-20261107/round40-edited.ck 2 /home/drakestapleton/work/wsp/ck/wpatch-pure-real-20261107/params.txt /home/drakestapleton/work/wsp/ck/wpatch-pure-real-20261107/rationale.txt /home/drakestapleton/work/wsp/ck/wpatch-pure-real-20261107/patches +| /home/drakestapleton/work/wsp/ck/wpatch-pure-real-20261107/patches/e0b262208c29d55f11a8dd53a82d8dd43ceac9cc5064b1c90e942fed34dd8658.wp +EXIT got=0 want=0 elapsed_ns=7323278341 +PASS exit +RUN /usr/bin/python3 tools/omegallm/wpatch/wporacle.py /home/drakestapleton/work/wsp/ck/wpatch-pure-real-20261107/oracle-2.req +| e0b262208c29d55f11a8dd53a82d8dd43ceac9cc5064b1c90e942fed34dd8658 +| d49cd7bcd2516e67ab7e59b853fa1e685b821969e368231a1e7f89237771d27c +EXIT got=0 want=0 elapsed_ns=12346095 +PASS exit +PASS oracle answered every request +PASS oracle manifest magic +PASS oracle canonical manifest name +PASS oracle manifest length +PASS oracle policy +PASS oracle edit identity +PASS oracle metadata lengths +PASS oracle UTF8 provenance +PASS oracle strict order +PASS oracle indices in bounds +PASS real ten entry identity +RUN /tmp/wpp/out2/wpatch validate /home/drakestapleton/work/wsp/ck/wpatch-pure-real-20261107/patches/e0b262208c29d55f11a8dd53a82d8dd43ceac9cc5064b1c90e942fed34dd8658.wp /home/drakestapleton/.local/share/omega-tool-model/round40/model.ck +| PASS +EXIT got=0 want=0 elapsed_ns=4915802469 +PASS exit +RUN /tmp/wpp/out2/wpatch apply /home/drakestapleton/work/wsp/ck/wpatch-pure-real-20261107/patches/e0b262208c29d55f11a8dd53a82d8dd43ceac9cc5064b1c90e942fed34dd8658.wp /home/drakestapleton/.local/share/omega-tool-model/round40/model.ck /home/drakestapleton/work/wsp/ck/wpatch-pure-real-20261107/round40-applied.ck +| PASS +EXIT got=0 want=0 elapsed_ns=6938263456 +PASS exit +PASS real apply equals independently requested bytes +RUN /tmp/wpp/out2/wpatch verify /home/drakestapleton/work/wsp/ck/wpatch-pure-real-20261107/patches/e0b262208c29d55f11a8dd53a82d8dd43ceac9cc5064b1c90e942fed34dd8658.wp /home/drakestapleton/work/wsp/ck/wpatch-pure-real-20261107/round40-applied.ck +| PASS f32_surviving=10 changed=10 +EXIT got=0 want=0 elapsed_ns=2495703203 +PASS exit +RUN /tmp/wpp/out2/wpatch revert /home/drakestapleton/work/wsp/ck/wpatch-pure-real-20261107/patches/e0b262208c29d55f11a8dd53a82d8dd43ceac9cc5064b1c90e942fed34dd8658.wp /home/drakestapleton/work/wsp/ck/wpatch-pure-real-20261107/round40-applied.ck /home/drakestapleton/work/wsp/ck/wpatch-pure-real-20261107/round40-reverted.ck +| PASS +EXIT got=0 want=0 elapsed_ns=6301221048 +PASS exit +RUN /usr/bin/sha256sum /home/drakestapleton/.local/share/omega-tool-model/round40/model.ck /home/drakestapleton/work/wsp/ck/wpatch-pure-real-20261107/round40-reverted.ck /home/drakestapleton/work/wsp/ck/wpatch-pure-real-20261107/round40-applied.ck +| 7c7b5b5260f2d9453b6076b64e7f23e88341d96498584f2dfaa229c31ad2e346 /home/drakestapleton/.local/share/omega-tool-model/round40/model.ck +| 7c7b5b5260f2d9453b6076b64e7f23e88341d96498584f2dfaa229c31ad2e346 /home/drakestapleton/work/wsp/ck/wpatch-pure-real-20261107/round40-reverted.ck +| 95c8676227161d5fd425082462333a9180fe0c870478b69446bbf92678f47eac /home/drakestapleton/work/wsp/ck/wpatch-pure-real-20261107/round40-applied.ck +EXIT got=0 want=0 elapsed_ns=544295835 +PASS exit +RUN /usr/bin/python3 tools/omegallm/wpatch/wporacle.py /home/drakestapleton/work/wsp/ck/wpatch-pure-real-20261107/oracle-3.req +| 7c7b5b5260f2d9453b6076b64e7f23e88341d96498584f2dfaa229c31ad2e346 +| 7c7b5b5260f2d9453b6076b64e7f23e88341d96498584f2dfaa229c31ad2e346 +| 95c8676227161d5fd425082462333a9180fe0c870478b69446bbf92678f47eac +| 95c8676227161d5fd425082462333a9180fe0c870478b69446bbf92678f47eac +| 168f305d64d3d4192ae8fb8d854fa4c9b9a28ec12e7d399d30ec62153f5e831e +| 168f305d64d3d4192ae8fb8d854fa4c9b9a28ec12e7d399d30ec62153f5e831e +EXIT got=0 want=0 elapsed_ns=6456965576 +PASS exit +PASS oracle answered every request +PASS real byte-identical revert SHA +PASS real base unchanged +PASS real output SHA matches independent expected bytes +PASS real manifest output SHA matches independent expected bytes +PASS real f32 SHA matches independent expected bytes +PASS real manifest f32 SHA matches independent expected bytes +WPCHECK PASS checks=31 commands=9 diff --git a/evidence/OMEGALLM/wsp-patch-20261107/pure-omega/real.time b/evidence/OMEGALLM/wsp-patch-20261107/pure-omega/real.time new file mode 100644 index 0000000..5efcd47 --- /dev/null +++ b/evidence/OMEGALLM/wsp-patch-20261107/pure-omega/real.time @@ -0,0 +1,23 @@ + Command being timed: "taskset -c 19 nice -n 10 /tmp/wpp/out2/wpcheck real /tmp/wpp/out2 /home/drakestapleton/work/wsp/ck/wpatch-pure-real-20261107 tools/omegallm/wpatch/wporacle.py /home/drakestapleton/.local/share/omega-tool-model/round40/model.ck" + User time (seconds): 35.72 + System time (seconds): 1.24 + Percent of CPU this job got: 99% + Elapsed (wall clock) time (h:mm:ss or m:ss): 0:37.21 + Average shared text size (kbytes): 0 + Average unshared data size (kbytes): 0 + Average stack size (kbytes): 0 + Average total size (kbytes): 0 + Maximum resident set size (kbytes): 1484688 + Average resident set size (kbytes): 0 + Major (requiring I/O) page faults: 2 + Minor (reclaiming a frame) page faults: 371834 + Voluntary context switches: 498 + Involuntary context switches: 351 + Swaps: 0 + File system inputs: 56 + File system outputs: 2968912 + Socket messages sent: 0 + Socket messages received: 0 + Signals delivered: 0 + Page size (bytes): 4096 + Exit status: 0 diff --git a/evidence/OMEGALLM/wsp-patch-20261107/pure-omega/small.log b/evidence/OMEGALLM/wsp-patch-20261107/pure-omega/small.log new file mode 100644 index 0000000..b87561e --- /dev/null +++ b/evidence/OMEGALLM/wsp-patch-20261107/pure-omega/small.log @@ -0,0 +1,1160 @@ +WPCHECK small wpatch_sha256=bf993a780c7421cc2cd23d42fef5692135e9bd339f19a90059d4ef7f17be0847 +RUN /tmp/wpp/out2/ollm init /tmp/wpp/w2/base.ck 256 8 16 2 32 2 2 1 10 3000 1 +| I 8400 +EXIT got=0 want=0 elapsed_ns=8776126 +PASS exit +RUN /tmp/wpp/out2/ollm train /tmp/wpp/w2/base.ck /tmp/wpp/w2/train.bin 2 1 +| T 1 5541842 +| T 2 5520363 +EXIT got=0 want=0 elapsed_ns=23880836 +PASS exit +PASS oracle CK02 magic +PASS oracle checkpoint length +PASS oracle checkpoint FNV +PASS oracle checkpoint geometry P +RUN /tmp/wpp/out2/wpatch inspect /tmp/wpp/w2/base.ck +| OLLMCK02 V T D H F L B P: 256 8 16 2 32 2 2 8400 +| seed step total lr G fnv: 1 2 10 4569063951553953530 1 12929047925843260235 +| wte 0 256x16 dtype=f64 offset=0 sha256=8cff8d99b6ae9164f7732cf6801ae974d3a2a7944f33ccc0505a481eefc64cc6 rms=2.0150972434014620e-2 maxabs=3.4694049902618817e-2 nonfinite=0 +| wpe 0 8x16 dtype=f64 offset=4096 sha256=8466ddee307934f1d085b7fc3f2f222b33f320a47b8f72c0782cd099f53c3a56 rms=2.0597512474142969e-2 maxabs=3.4688363182317480e-2 nonfinite=0 +| g1 0 1x16 dtype=f64 offset=4224 sha256=8e55ebc45ecdca0459276d85bdcc502985681ca91936c7d388f36141657e7724 rms=9.9998560202156934e-1 maxabs=1.0000898116642267e0 nonfinite=0 +| wq 0 16x16 dtype=f64 offset=4240 sha256=adfe7504881e98ae49edbd9bd2a8c6259a190472f5f2a301aabf76d433a26668 rms=1.9387060051204409e-2 maxabs=3.4602970449885450e-2 nonfinite=0 +| wk 0 16x16 dtype=f64 offset=4496 sha256=accdb602abdaf839de2b6e98f98e399bcb00eea03cdc1e14ffe760c6012bffa8 rms=2.0086632119378893e-2 maxabs=3.4488179470423929e-2 nonfinite=0 +| wv 0 16x16 dtype=f64 offset=4752 sha256=fa6b0727cb263311c2c3b75e6fea1f7902613c5051548b6cff87fecb0556f9d0 rms=2.0442612683966512e-2 maxabs=3.4608463868511711e-2 nonfinite=0 +| wo 0 16x16 dtype=f64 offset=5008 sha256=b43e998b213e289c9464b79a54a04243a629061e9351882c0af8ba717ab1f27c rms=9.3607584314112308e-3 maxabs=1.7186119006150049e-2 nonfinite=0 +| g2 0 1x16 dtype=f64 offset=5264 sha256=02d1cd2862c618fa82ecbe721cef53d3f0064a85c37dc3c81b60256496a551e8 rms=1.0000317542785344e0 maxabs=1.0000900660818634e0 nonfinite=0 +| w1 0 16x32 dtype=f64 offset=5280 sha256=0d43f123403113f54dc36bf858225654da6ca9b2fa6dd13d34ea03df0300162d rms=1.9707409527231671e-2 maxabs=3.4604831137893370e-2 nonfinite=0 +| w2 0 32x16 dtype=f64 offset=5792 sha256=ff25c2a9843e2cb7febd7173d1310c5c38d4c3b84f80d41fe477671df90958a4 rms=9.9353752213784609e-3 maxabs=1.7383742580227750e-2 nonfinite=0 +| g1 1 1x16 dtype=f64 offset=6304 sha256=d5ef48d1f1f83bea39dbec4469a83b73134a957a6f7ee5c7f55d489a085e2fc2 rms=1.0000055077295755e0 maxabs=1.0000896598909829e0 nonfinite=0 +| wq 1 16x16 dtype=f64 offset=6320 sha256=cd5d9460b4f8b03c13493204e04f3499387caa9332da929e17aa53b5bf93f1b9 rms=1.9395643851273927e-2 maxabs=3.4713570183186637e-2 nonfinite=0 +| wk 1 16x16 dtype=f64 offset=6576 sha256=77e6c5613a0fba859e0559bee3beb70fb9e4ac007b87134dfc1e2fe482194b44 rms=2.0451505765922823e-2 maxabs=3.4557907877036364e-2 nonfinite=0 +| wv 1 16x16 dtype=f64 offset=6832 sha256=a49caf53f5f318fe312bef6bc78842f4f194d97965a34d4d1903a20c325e3af6 rms=2.0283640674707430e-2 maxabs=3.4634749954325338e-2 nonfinite=0 +| wo 1 16x16 dtype=f64 offset=7088 sha256=4a99000fa39bce104d6cd39bd7e6e8f108b0a120d700c1372a14614b7d2a3cf9 rms=9.5378278603200783e-3 maxabs=1.7408843619714149e-2 nonfinite=0 +| g2 1 1x16 dtype=f64 offset=7344 sha256=975a6761e290c4c1493058ce603d78cf98fe638c88792c88a13d422d00044af5 rms=1.0000051625444570e0 maxabs=1.0000900629791575e0 nonfinite=0 +| w1 1 16x32 dtype=f64 offset=7360 sha256=6744256441b31f1e97fe7739e0af3edbeeabb2960c9030bde44a0940f673b254 rms=1.9646243437713831e-2 maxabs=3.4519835058524788e-2 nonfinite=0 +| w2 1 32x16 dtype=f64 offset=7872 sha256=f01f41002a7e3c6afa8dbfe6c69ab753d4361cf25faae3e3ea4738e7aa1f0232 rms=9.9239498616909447e-3 maxabs=1.7320015361641458e-2 nonfinite=0 +| gf 0 1x16 dtype=f64 offset=8384 sha256=65aa5211ba1921da7b4c26e7667f49bf0d2a7219f2fef32dcc828fb4cf181a9a rms=1.0000070876612532e0 maxabs=1.0000900576992735e0 nonfinite=0 +EXIT got=0 want=0 elapsed_ns=2231204 +PASS exit +RUN /tmp/wpp/out2/wpatch inspect /tmp/wpp/w2/base.ck wte 0 0 1 0 2 +| OLLMCK02 V T D H F L B P: 256 8 16 2 32 2 2 8400 +| seed step total lr G fnv: 1 2 10 4569063951553953530 1 12929047925843260235 +| 0 0 4.6933608192067630e-3 3f73395873a10edd +| 0 1 6.2277422802250175e-3 3f798242d6be64df +EXIT got=0 want=0 elapsed_ns=766439 +PASS exit +PASS inspect exact slice bits +RUN /tmp/wpp/out2/wpatch inspect /tmp/wpp/w2/base.ck wte 0 0 99999 0 1 +EXIT got=27 want=27 elapsed_ns=731223 +PASS exit +RUN /tmp/wpp/out2/wpatch diff /tmp/wpp/w2/base.ck /tmp/wpp/w2/edited.ck 0 /tmp/wpp/w2/params.txt /tmp/wpp/w2/rationale.txt /tmp/wpp/w2/patches-0 +| /tmp/wpp/w2/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp +EXIT got=0 want=0 elapsed_ns=12976739 +PASS exit +RUN /usr/bin/python3 tools/omegallm/wpatch/wporacle.py /tmp/wpp/w2/oracle-1.req +| 6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115 +| 1f2e4172184215f85733f111b30a46cdd694b2d887c0280698f2ea7c7f2f1d04 +| 0f7c5cce37a019be53786dfc27fd01146f7606343ccbe7f632d19661dc6f7004 +| df9ba29d0123bf5852c13765b758998bd1e5a49f63b983dcf934e0b63f261eb3 +| b61cbd26710589e5e352794c1b05e08a1fe954e982d135c3bcfa88f95b077068 +| 19 +| 8cff8d99b6ae9164f7732cf6801ae974d3a2a7944f33ccc0505a481eefc64cc6 +| 8466ddee307934f1d085b7fc3f2f222b33f320a47b8f72c0782cd099f53c3a56 +| 8e55ebc45ecdca0459276d85bdcc502985681ca91936c7d388f36141657e7724 +| adfe7504881e98ae49edbd9bd2a8c6259a190472f5f2a301aabf76d433a26668 +| accdb602abdaf839de2b6e98f98e399bcb00eea03cdc1e14ffe760c6012bffa8 +| fa6b0727cb263311c2c3b75e6fea1f7902613c5051548b6cff87fecb0556f9d0 +| b43e998b213e289c9464b79a54a04243a629061e9351882c0af8ba717ab1f27c +| 02d1cd2862c618fa82ecbe721cef53d3f0064a85c37dc3c81b60256496a551e8 +| 0d43f123403113f54dc36bf858225654da6ca9b2fa6dd13d34ea03df0300162d +| ff25c2a9843e2cb7febd7173d1310c5c38d4c3b84f80d41fe477671df90958a4 +| d5ef48d1f1f83bea39dbec4469a83b73134a957a6f7ee5c7f55d489a085e2fc2 +| cd5d9460b4f8b03c13493204e04f3499387caa9332da929e17aa53b5bf93f1b9 +| 77e6c5613a0fba859e0559bee3beb70fb9e4ac007b87134dfc1e2fe482194b44 +| a49caf53f5f318fe312bef6bc78842f4f194d97965a34d4d1903a20c325e3af6 +| 4a99000fa39bce104d6cd39bd7e6e8f108b0a120d700c1372a14614b7d2a3cf9 +| 975a6761e290c4c1493058ce603d78cf98fe638c88792c88a13d422d00044af5 +| 6744256441b31f1e97fe7739e0af3edbeeabb2960c9030bde44a0940f673b254 +| f01f41002a7e3c6afa8dbfe6c69ab753d4361cf25faae3e3ea4738e7aa1f0232 +| 65aa5211ba1921da7b4c26e7667f49bf0d2a7219f2fef32dcc828fb4cf181a9a +| da6c1acbed6d1e964e53096c19d5b3315179e0c8086bed42b46610b8559a08c4 +| 87ac5499240575162ba65d8ae7797632e2f21867f92a267f7d27e51fd5ba6681 +| bde2ade244794a03dbab19eb8842c4beaf3142d29d9187cab4f591abc01fe628 +| 78f67e940451c70fdbd40addfcb72751849966d7b148ad594a3a739ed31e0d00 +| d808561f3eb09d5ab82ea88166b8e5f0167c008122404a7bd3ea872a7d7e9bf0 +| c352ab4f020ea5e19c4d02b17bedf866e744ae5d1edb61d1dbfda5df5703acd3 +| 2e8be3b6c97d9ff568dc99313ca7755b14dfe0b92ba7ad902ed2734a5c3b3143 +| f4652233a1d793d2978d9ad90e2210aee041f7f8cfc91ef472c967426b88c860 +| 870e8b55814715d2f0fc9a8d2d911aa926250e461a85a1646b28d5e70e4c92be +| 475ce7b4b11c6b1d2a5310803d72acf1d10e775de74bcaf61c5641c3e7dbaca1 +| 1ce3012f244ce93fd4661cb2007ca6e07d598234743904fd1283c71c504288d0 +| 4643b63785013e0368364f6264d4a058b8f58b0691eee2aa7e826ca2abc70188 +| f6b3f58c3b9941af1a6e757a7980063270bd0c0b5cd6ef05d2c3dda75d8dccca +| eeb65469cf27f4909bb8bd2dc92d59c3351e05ea875aae8e57a62c2587a8959f +| 7cb4f65377af2656eca78a285413c186d2d71b877c8a41c0f3ef3022c3a4e979 +| ea6bc3116d9daff1e54ce077e1f55fd4847c481c8ebddcd72722b25c499624aa +| 23a70f58de7dccd0b1d4e757113fbd6d67ea8700ee8d8b265fe8290243ab0579 +| 7b418488fe3c94afab4cee946277736fbe8511da660706daf1cd03e65cd13c3e +| 9e1c519bc1decea509ce838c7d5f66098f7dd1dc10ec4fc4e911f6dbdf69ffdd +EXIT got=0 want=0 elapsed_ns=26598539 +PASS exit +PASS oracle answered every request +PASS oracle manifest magic +PASS oracle canonical manifest name +PASS oracle manifest length +PASS oracle policy +PASS oracle edit identity +PASS oracle metadata lengths +PASS oracle UTF8 provenance +PASS oracle strict order +PASS oracle indices in bounds +PASS oracle policy +PASS oracle CK02 magic +PASS oracle checkpoint length +PASS oracle checkpoint FNV +PASS oracle checkpoint geometry P +PASS oracle preserved base header +PASS oracle manifest geometry +PASS oracle manifest P +PASS oracle base SHA +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle expected output SHA +PASS oracle expected f32 SHA +PASS oracle all tensors present +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS manifest oracle agrees with independent request +RUN /tmp/wpp/out2/wpatch show /tmp/wpp/w2/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp +| {"patch_sha256":"6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115","base_sha256":"0f7c5cce37a019be53786dfc27fd01146f7606343ccbe7f632d19661dc6f7004","output_sha256":"df9ba29d0123bf5852c13765b758998bd1e5a49f63b983dcf934e0b63f261eb3","f32_sha256":"b61cbd26710589e5e352794c1b05e08a1fe954e982d135c3bcfa88f95b077068","entries_sha256":"1f2e4172184215f85733f111b30a46cdd694b2d887c0280698f2ea7c7f2f1d04","policy":0,"changed":20,"entries_first_20":[[0,"3f73395873a10edd","3f7751ebe85d795c"],[1,"3f798242d6be64df","3f798242d6be64de"],[4096,"3f9d71eaecf958fb","3f9e780fca28739b"],[4224,"3fefff43cec7fbde","3ff003ba7ad8ba59"],[4240,"3f91335e055b2e52","3f923982e28a48f2"],[4496,"3f7e376430d30470","3f8127fbd2c7b778"],[4752,"bf8127b4d0942b41","bf7e36d62c6bec03"],[5008,"bf642a283fb3a03a","bf57f202ac759678"],[5264,"3ff0005e70ee046f","3ff004770462c0d9"],[5280,"3f937e8c81983fca","3f9484b15ec75a6a"],[5792,"bf8d0a85a19f1a66","bf8afe3be740e526"],[6304,"3ff0005d56c1676d","3ff00475ea3623d7"],[6320,"3f478f6a628528cb","3f5c2a0304343e62"],[6576,"3f96ddb9cf3d8cbd","3f97e3deac6ca75d"],[6832,"bf85cdb8b6e68c3d","bf83c16efc8856fe"],[7088,"3f66903abb2fa5f3","3f6ec161a4a87af1"],[7344,"3fefff43cf3b0247","3ff003ba7b123d8e"],[7360,"bfa157e08134d98b","bfa0d4ce129d4c3b"],[7872,"bf908b27ddd68b5c","bf8f0a06014ee178"],[8384,"3fefffe8aac28f0e","3ff0040ce8d603f1"]],"params":"{\"delta\":0.001,\"name\":\"Ω patch\"}\u000a","rationale":"Own-model fixture. Preserve exact rollback.\u000a"} +EXIT got=0 want=0 elapsed_ns=614709 +PASS exit +PASS show UTF8 provenance +RUN /tmp/wpp/out2/wpatch validate /tmp/wpp/w2/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp /tmp/wpp/w2/base.ck +| PASS +EXIT got=0 want=0 elapsed_ns=5840612 +PASS exit +RUN /tmp/wpp/out2/wpatch apply /tmp/wpp/w2/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp /tmp/wpp/w2/base.ck /tmp/wpp/w2/applied-0.ck +| PASS +EXIT got=0 want=0 elapsed_ns=11256259 +PASS exit +PASS apply exact oracle bytes +PASS apply equals independent requested bytes +RUN /tmp/wpp/out2/wpatch verify /tmp/wpp/w2/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp /tmp/wpp/w2/applied-0.ck +| PASS f32_surviving=19 changed=20 +EXIT got=0 want=0 elapsed_ns=3375806 +PASS exit +PASS verify f32 survival count +RUN /tmp/wpp/out2/wpatch revert /tmp/wpp/w2/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp /tmp/wpp/w2/applied-0.ck /tmp/wpp/w2/reverted-0.ck +| PASS +EXIT got=0 want=0 elapsed_ns=9996360 +PASS exit +PASS revert byte-identical base +RUN /tmp/wpp/out2/wpatch bind /tmp/wpp/w2/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp /tmp/wpp/w2/applied-0.ck /tmp/wpp/out2/wpatch /tmp/wpp/w2/binding-0 +| PASS +EXIT got=0 want=0 elapsed_ns=8215224 +PASS exit +RUN /usr/bin/python3 tools/omegallm/wpatch/wporacle.py /tmp/wpp/w2/oracle-2.req +| df9ba29d0123bf5852c13765b758998bd1e5a49f63b983dcf934e0b63f261eb3 +| b61cbd26710589e5e352794c1b05e08a1fe954e982d135c3bcfa88f95b077068 +| bf993a780c7421cc2cd23d42fef5692135e9bd339f19a90059d4ef7f17be0847 +| 6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115 +| 3b796d807759deae9e4495357d229df116eccb7021bde29b034c5b05719c5016 +EXIT got=0 want=0 elapsed_ns=24526041 +PASS exit +PASS oracle answered every request +PASS oracle binding format +PASS oracle binding CK and f32 +PASS oracle binding runtime and patch +PASS oracle binding self digest +RUN /tmp/wpp/out2/wpatch checkbind /tmp/wpp/w2/binding-0 /tmp/wpp/w2/applied-0.ck /tmp/wpp/out2/wpatch +| PASS +EXIT got=0 want=0 elapsed_ns=4185253 +PASS exit +RUN /tmp/wpp/out2/wpatch checkbind /tmp/wpp/w2/binding-0 /tmp/wpp/w2/base.ck /tmp/wpp/out2/wpatch +EXIT got=60 want=60 elapsed_ns=1861345 +PASS exit +RUN /tmp/wpp/out2/wpatch checkbind /tmp/wpp/w2/binding-0 /tmp/wpp/w2/applied-0.ck /tmp/wpp/w2/runtime-0 +EXIT got=62 want=62 elapsed_ns=4186501 +PASS exit +RUN /tmp/wpp/out2/wpatch checkbind /tmp/wpp/w2/wrong-f32-binding-0 /tmp/wpp/w2/applied-0.ck /tmp/wpp/out2/wpatch +EXIT got=61 want=61 elapsed_ns=2354837 +PASS exit +RUN /tmp/wpp/out2/wpatch checkbind /tmp/wpp/w2/wrong-f32-binding-0 /tmp/wpp/w2/applied-0.ck /tmp/wpp/out2/wpatch +EXIT got=59 want=59 elapsed_ns=402836 +PASS exit +RUN /tmp/wpp/out2/wpatch apply /tmp/wpp/w2/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp /tmp/wpp/w2/base.ck /tmp/wpp/w2/applied-0.ck +EXIT got=52 want=52 elapsed_ns=5943781 +PASS exit +PASS OUT exists preserved +RUN /tmp/wpp/out2/wpatch apply /tmp/wpp/w2/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp /tmp/wpp/w2/base.ck /tmp/wpp/w2/base.ck +EXIT got=52 want=52 elapsed_ns=5935381 +PASS exit +RUN /tmp/wpp/out2/wpatch revert /tmp/wpp/w2/patches-0/6be8d19f4cc5d3e37e742eabec80d62827cd59a71fdf5024e4998f8f06c03115.wp /tmp/wpp/w2/applied-0.ck /tmp/wpp/w2/base.ck +EXIT got=52 want=52 elapsed_ns=5545057 +PASS exit +RUN /tmp/wpp/out2/wpatch diff /tmp/wpp/w2/base.ck /tmp/wpp/w2/edited.ck 0 /tmp/wpp/w2/params.txt /tmp/wpp/w2/rationale.txt /tmp/wpp/w2/patches-0 +EXIT got=52 want=52 elapsed_ns=8712317 +PASS exit +RUN /tmp/wpp/out2/wpatch diff /tmp/wpp/w2/base.ck /tmp/wpp/w2/edited.ck 1 /tmp/wpp/w2/params.txt /tmp/wpp/w2/rationale.txt /tmp/wpp/w2/patches-1 +| /tmp/wpp/w2/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp +EXIT got=0 want=0 elapsed_ns=12229788 +PASS exit +RUN /usr/bin/python3 tools/omegallm/wpatch/wporacle.py /tmp/wpp/w2/oracle-3.req +| 66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8 +| a4d6249a009e496434ea6f1eed97e59b6d26560225e1727bc6213b69f0f22f77 +| 0f7c5cce37a019be53786dfc27fd01146f7606343ccbe7f632d19661dc6f7004 +| a094ea3f1ddb087d13316f882b44e4ba3e3fe8d4d32efcfcb9f86cbae7049f28 +| b61cbd26710589e5e352794c1b05e08a1fe954e982d135c3bcfa88f95b077068 +| 19 +| 8cff8d99b6ae9164f7732cf6801ae974d3a2a7944f33ccc0505a481eefc64cc6 +| 8466ddee307934f1d085b7fc3f2f222b33f320a47b8f72c0782cd099f53c3a56 +| 8e55ebc45ecdca0459276d85bdcc502985681ca91936c7d388f36141657e7724 +| adfe7504881e98ae49edbd9bd2a8c6259a190472f5f2a301aabf76d433a26668 +| accdb602abdaf839de2b6e98f98e399bcb00eea03cdc1e14ffe760c6012bffa8 +| fa6b0727cb263311c2c3b75e6fea1f7902613c5051548b6cff87fecb0556f9d0 +| b43e998b213e289c9464b79a54a04243a629061e9351882c0af8ba717ab1f27c +| 02d1cd2862c618fa82ecbe721cef53d3f0064a85c37dc3c81b60256496a551e8 +| 0d43f123403113f54dc36bf858225654da6ca9b2fa6dd13d34ea03df0300162d +| ff25c2a9843e2cb7febd7173d1310c5c38d4c3b84f80d41fe477671df90958a4 +| d5ef48d1f1f83bea39dbec4469a83b73134a957a6f7ee5c7f55d489a085e2fc2 +| cd5d9460b4f8b03c13493204e04f3499387caa9332da929e17aa53b5bf93f1b9 +| 77e6c5613a0fba859e0559bee3beb70fb9e4ac007b87134dfc1e2fe482194b44 +| a49caf53f5f318fe312bef6bc78842f4f194d97965a34d4d1903a20c325e3af6 +| 4a99000fa39bce104d6cd39bd7e6e8f108b0a120d700c1372a14614b7d2a3cf9 +| 975a6761e290c4c1493058ce603d78cf98fe638c88792c88a13d422d00044af5 +| 6744256441b31f1e97fe7739e0af3edbeeabb2960c9030bde44a0940f673b254 +| f01f41002a7e3c6afa8dbfe6c69ab753d4361cf25faae3e3ea4738e7aa1f0232 +| 65aa5211ba1921da7b4c26e7667f49bf0d2a7219f2fef32dcc828fb4cf181a9a +| da6c1acbed6d1e964e53096c19d5b3315179e0c8086bed42b46610b8559a08c4 +| 87ac5499240575162ba65d8ae7797632e2f21867f92a267f7d27e51fd5ba6681 +| bde2ade244794a03dbab19eb8842c4beaf3142d29d9187cab4f591abc01fe628 +| 78f67e940451c70fdbd40addfcb72751849966d7b148ad594a3a739ed31e0d00 +| d808561f3eb09d5ab82ea88166b8e5f0167c008122404a7bd3ea872a7d7e9bf0 +| c352ab4f020ea5e19c4d02b17bedf866e744ae5d1edb61d1dbfda5df5703acd3 +| 2e8be3b6c97d9ff568dc99313ca7755b14dfe0b92ba7ad902ed2734a5c3b3143 +| f4652233a1d793d2978d9ad90e2210aee041f7f8cfc91ef472c967426b88c860 +| 870e8b55814715d2f0fc9a8d2d911aa926250e461a85a1646b28d5e70e4c92be +| 475ce7b4b11c6b1d2a5310803d72acf1d10e775de74bcaf61c5641c3e7dbaca1 +| 1ce3012f244ce93fd4661cb2007ca6e07d598234743904fd1283c71c504288d0 +| 4643b63785013e0368364f6264d4a058b8f58b0691eee2aa7e826ca2abc70188 +| f6b3f58c3b9941af1a6e757a7980063270bd0c0b5cd6ef05d2c3dda75d8dccca +| eeb65469cf27f4909bb8bd2dc92d59c3351e05ea875aae8e57a62c2587a8959f +| 7cb4f65377af2656eca78a285413c186d2d71b877c8a41c0f3ef3022c3a4e979 +| ea6bc3116d9daff1e54ce077e1f55fd4847c481c8ebddcd72722b25c499624aa +| 23a70f58de7dccd0b1d4e757113fbd6d67ea8700ee8d8b265fe8290243ab0579 +| 7b418488fe3c94afab4cee946277736fbe8511da660706daf1cd03e65cd13c3e +| 9e1c519bc1decea509ce838c7d5f66098f7dd1dc10ec4fc4e911f6dbdf69ffdd +EXIT got=0 want=0 elapsed_ns=26546475 +PASS exit +PASS oracle answered every request +PASS oracle manifest magic +PASS oracle canonical manifest name +PASS oracle manifest length +PASS oracle policy +PASS oracle edit identity +PASS oracle metadata lengths +PASS oracle UTF8 provenance +PASS oracle strict order +PASS oracle indices in bounds +PASS oracle policy +PASS oracle CK02 magic +PASS oracle checkpoint length +PASS oracle checkpoint FNV +PASS oracle checkpoint geometry P +PASS oracle preserved base header +PASS oracle manifest geometry +PASS oracle manifest P +PASS oracle base SHA +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle expected output SHA +PASS oracle expected f32 SHA +PASS oracle all tensors present +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS manifest oracle agrees with independent request +RUN /tmp/wpp/out2/wpatch show /tmp/wpp/w2/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp +| {"patch_sha256":"66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8","base_sha256":"0f7c5cce37a019be53786dfc27fd01146f7606343ccbe7f632d19661dc6f7004","output_sha256":"a094ea3f1ddb087d13316f882b44e4ba3e3fe8d4d32efcfcb9f86cbae7049f28","f32_sha256":"b61cbd26710589e5e352794c1b05e08a1fe954e982d135c3bcfa88f95b077068","entries_sha256":"a4d6249a009e496434ea6f1eed97e59b6d26560225e1727bc6213b69f0f22f77","policy":1,"changed":20,"entries_first_20":[[0,"3f73395873a10edd","3f7751ebe85d795c","bf8552a73209b7de","3f14fbfe29a9774b"],[1,"3f798242d6be64df","3f798242d6be64de","3f8ae1fb0b51213f","3f18d79eff023b06"],[4096,"3f9d71eaecf958fb","3f9e780fca28739b","bf6fda794c7f4356","3ee4874452c54ea4"],[4224,"3fefff43cec7fbde","3ff003ba7ad8ba59","3f1256c5dd67068a","3e2760769ce5b9f8"],[4240,"3f91335e055b2e52","3f923982e28a48f2","3e8c82f3e951ecd7","3d22dc1b3d5ebae0"],[4496,"3f7e376430d30470","3f8127fbd2c7b778","bea74810b3835236","3d5affaac6d4f0e8"],[4752,"bf8127b4d0942b41","bf7e36d62c6bec03","3f2ff9fda43ff4ce","3e655d362beed931"],[5008,"bf642a283fb3a03a","bf57f202ac759678","3f3502ff80b87ea6","3e72e5c1e1efe469"],[5264,"3ff0005e70ee046f","3ff004770462c0d9","bf18ed43b60b63b7","3e355bda46217552"],[5280,"3f937e8c81983fca","3f9484b15ec75a6a","bf48faf52cc05b78","3e965b7796fddabc"],[5792,"bf8d0a85a19f1a66","bf8afe3be740e526","3f4a9cc4b0ff81ae","3e99124af81315f5"],[6304,"3ff0005d56c1676d","3ff00475ea3623d7","bf183fc5d9e8349e","3e34f092d477879a"],[6320,"3f478f6a628528cb","3f5c2a0304343e62","bea91b8ad8d8fa88","3d711f50953c987a"],[6576,"3f96ddb9cf3d8cbd","3f97e3deac6ca75d","bea1d46f2116bc66","3d46551f111a70d4"],[6832,"bf85cdb8b6e68c3d","bf83c16efc8856fe","bf4f1c7c31f855d4","3ea2ab72a16c8090"],[7088,"3f66903abb2fa5f3","3f6ec161a4a87af1","bf50fdbc8214d868","3ea5d7a369874dbc"],[7344,"3fefff43cf3b0247","3ff003ba7b123d8e","3f0d8004986b399c","3e1e3eb1e77eda8e"],[7360,"bfa157e08134d98b","bfa0d4ce129d4c3b","3f1d076f4cc62d48","3e421f608bd657e5"],[7872,"bf908b27ddd68b5c","bf8f0a06014ee178","3f549ba6f596fe71","3ead9cd639986443"],[8384,"3fefffe8aac28f0e","3ff0040ce8d603f1","3f27d30ec44cacbd","3e64d03ccafe7fec"]],"params":"{\"delta\":0.001,\"name\":\"Ω patch\"}\u000a","rationale":"Own-model fixture. Preserve exact rollback.\u000a"} +EXIT got=0 want=0 elapsed_ns=636438 +PASS exit +PASS show UTF8 provenance +RUN /tmp/wpp/out2/wpatch validate /tmp/wpp/w2/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /tmp/wpp/w2/base.ck +| PASS +EXIT got=0 want=0 elapsed_ns=6007221 +PASS exit +RUN /tmp/wpp/out2/wpatch apply /tmp/wpp/w2/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /tmp/wpp/w2/base.ck /tmp/wpp/w2/applied-1.ck +| PASS +EXIT got=0 want=0 elapsed_ns=11044562 +PASS exit +PASS apply exact oracle bytes +PASS apply equals independent requested bytes +RUN /tmp/wpp/out2/wpatch verify /tmp/wpp/w2/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /tmp/wpp/w2/applied-1.ck +| PASS f32_surviving=19 changed=20 +EXIT got=0 want=0 elapsed_ns=3378702 +PASS exit +PASS verify f32 survival count +RUN /tmp/wpp/out2/wpatch revert /tmp/wpp/w2/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /tmp/wpp/w2/applied-1.ck /tmp/wpp/w2/reverted-1.ck +| PASS +EXIT got=0 want=0 elapsed_ns=12424622 +PASS exit +PASS revert byte-identical base +RUN /tmp/wpp/out2/wpatch bind /tmp/wpp/w2/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /tmp/wpp/w2/applied-1.ck /tmp/wpp/out2/wpatch /tmp/wpp/w2/binding-1 +| PASS +EXIT got=0 want=0 elapsed_ns=10614686 +PASS exit +RUN /usr/bin/python3 tools/omegallm/wpatch/wporacle.py /tmp/wpp/w2/oracle-4.req +| a094ea3f1ddb087d13316f882b44e4ba3e3fe8d4d32efcfcb9f86cbae7049f28 +| b61cbd26710589e5e352794c1b05e08a1fe954e982d135c3bcfa88f95b077068 +| bf993a780c7421cc2cd23d42fef5692135e9bd339f19a90059d4ef7f17be0847 +| 66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8 +| 790fce381881d14f9d34d49604c7dab3ab0bd73798b9878b5d0bf2bf3aaa7ad9 +EXIT got=0 want=0 elapsed_ns=25316624 +PASS exit +PASS oracle answered every request +PASS oracle binding format +PASS oracle binding CK and f32 +PASS oracle binding runtime and patch +PASS oracle binding self digest +RUN /tmp/wpp/out2/wpatch checkbind /tmp/wpp/w2/binding-1 /tmp/wpp/w2/applied-1.ck /tmp/wpp/out2/wpatch +| PASS +EXIT got=0 want=0 elapsed_ns=4162884 +PASS exit +RUN /tmp/wpp/out2/wpatch checkbind /tmp/wpp/w2/binding-1 /tmp/wpp/w2/base.ck /tmp/wpp/out2/wpatch +EXIT got=60 want=60 elapsed_ns=1866896 +PASS exit +RUN /tmp/wpp/out2/wpatch checkbind /tmp/wpp/w2/binding-1 /tmp/wpp/w2/applied-1.ck /tmp/wpp/w2/runtime-1 +EXIT got=62 want=62 elapsed_ns=4119268 +PASS exit +RUN /tmp/wpp/out2/wpatch checkbind /tmp/wpp/w2/wrong-f32-binding-1 /tmp/wpp/w2/applied-1.ck /tmp/wpp/out2/wpatch +EXIT got=61 want=61 elapsed_ns=2301700 +PASS exit +RUN /tmp/wpp/out2/wpatch checkbind /tmp/wpp/w2/wrong-f32-binding-1 /tmp/wpp/w2/applied-1.ck /tmp/wpp/out2/wpatch +EXIT got=59 want=59 elapsed_ns=370596 +PASS exit +RUN /tmp/wpp/out2/wpatch apply /tmp/wpp/w2/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /tmp/wpp/w2/base.ck /tmp/wpp/w2/applied-1.ck +EXIT got=52 want=52 elapsed_ns=5793603 +PASS exit +PASS OUT exists preserved +RUN /tmp/wpp/out2/wpatch apply /tmp/wpp/w2/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /tmp/wpp/w2/base.ck /tmp/wpp/w2/base.ck +EXIT got=52 want=52 elapsed_ns=5806003 +PASS exit +RUN /tmp/wpp/out2/wpatch revert /tmp/wpp/w2/patches-1/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /tmp/wpp/w2/applied-1.ck /tmp/wpp/w2/base.ck +EXIT got=52 want=52 elapsed_ns=5490257 +PASS exit +RUN /tmp/wpp/out2/wpatch diff /tmp/wpp/w2/base.ck /tmp/wpp/w2/edited.ck 1 /tmp/wpp/w2/params.txt /tmp/wpp/w2/rationale.txt /tmp/wpp/w2/patches-1 +EXIT got=52 want=52 elapsed_ns=8807406 +PASS exit +RUN /tmp/wpp/out2/wpatch diff /tmp/wpp/w2/base.ck /tmp/wpp/w2/edited.ck 2 /tmp/wpp/w2/params.txt /tmp/wpp/w2/rationale.txt /tmp/wpp/w2/patches-2 +| /tmp/wpp/w2/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp +EXIT got=0 want=0 elapsed_ns=14447488 +PASS exit +RUN /usr/bin/python3 tools/omegallm/wpatch/wporacle.py /tmp/wpp/w2/oracle-5.req +| b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea +| a4d6249a009e496434ea6f1eed97e59b6d26560225e1727bc6213b69f0f22f77 +| 0f7c5cce37a019be53786dfc27fd01146f7606343ccbe7f632d19661dc6f7004 +| 2c2a6304ba02509b12b70174ed70d586d1a0e1da4226257bc56be24e1e7eefe0 +| b61cbd26710589e5e352794c1b05e08a1fe954e982d135c3bcfa88f95b077068 +| 19 +| 8cff8d99b6ae9164f7732cf6801ae974d3a2a7944f33ccc0505a481eefc64cc6 +| 8466ddee307934f1d085b7fc3f2f222b33f320a47b8f72c0782cd099f53c3a56 +| 8e55ebc45ecdca0459276d85bdcc502985681ca91936c7d388f36141657e7724 +| adfe7504881e98ae49edbd9bd2a8c6259a190472f5f2a301aabf76d433a26668 +| accdb602abdaf839de2b6e98f98e399bcb00eea03cdc1e14ffe760c6012bffa8 +| fa6b0727cb263311c2c3b75e6fea1f7902613c5051548b6cff87fecb0556f9d0 +| b43e998b213e289c9464b79a54a04243a629061e9351882c0af8ba717ab1f27c +| 02d1cd2862c618fa82ecbe721cef53d3f0064a85c37dc3c81b60256496a551e8 +| 0d43f123403113f54dc36bf858225654da6ca9b2fa6dd13d34ea03df0300162d +| ff25c2a9843e2cb7febd7173d1310c5c38d4c3b84f80d41fe477671df90958a4 +| d5ef48d1f1f83bea39dbec4469a83b73134a957a6f7ee5c7f55d489a085e2fc2 +| cd5d9460b4f8b03c13493204e04f3499387caa9332da929e17aa53b5bf93f1b9 +| 77e6c5613a0fba859e0559bee3beb70fb9e4ac007b87134dfc1e2fe482194b44 +| a49caf53f5f318fe312bef6bc78842f4f194d97965a34d4d1903a20c325e3af6 +| 4a99000fa39bce104d6cd39bd7e6e8f108b0a120d700c1372a14614b7d2a3cf9 +| 975a6761e290c4c1493058ce603d78cf98fe638c88792c88a13d422d00044af5 +| 6744256441b31f1e97fe7739e0af3edbeeabb2960c9030bde44a0940f673b254 +| f01f41002a7e3c6afa8dbfe6c69ab753d4361cf25faae3e3ea4738e7aa1f0232 +| 65aa5211ba1921da7b4c26e7667f49bf0d2a7219f2fef32dcc828fb4cf181a9a +| da6c1acbed6d1e964e53096c19d5b3315179e0c8086bed42b46610b8559a08c4 +| 87ac5499240575162ba65d8ae7797632e2f21867f92a267f7d27e51fd5ba6681 +| bde2ade244794a03dbab19eb8842c4beaf3142d29d9187cab4f591abc01fe628 +| 78f67e940451c70fdbd40addfcb72751849966d7b148ad594a3a739ed31e0d00 +| d808561f3eb09d5ab82ea88166b8e5f0167c008122404a7bd3ea872a7d7e9bf0 +| c352ab4f020ea5e19c4d02b17bedf866e744ae5d1edb61d1dbfda5df5703acd3 +| 2e8be3b6c97d9ff568dc99313ca7755b14dfe0b92ba7ad902ed2734a5c3b3143 +| f4652233a1d793d2978d9ad90e2210aee041f7f8cfc91ef472c967426b88c860 +| 870e8b55814715d2f0fc9a8d2d911aa926250e461a85a1646b28d5e70e4c92be +| 475ce7b4b11c6b1d2a5310803d72acf1d10e775de74bcaf61c5641c3e7dbaca1 +| 1ce3012f244ce93fd4661cb2007ca6e07d598234743904fd1283c71c504288d0 +| 4643b63785013e0368364f6264d4a058b8f58b0691eee2aa7e826ca2abc70188 +| f6b3f58c3b9941af1a6e757a7980063270bd0c0b5cd6ef05d2c3dda75d8dccca +| eeb65469cf27f4909bb8bd2dc92d59c3351e05ea875aae8e57a62c2587a8959f +| 7cb4f65377af2656eca78a285413c186d2d71b877c8a41c0f3ef3022c3a4e979 +| ea6bc3116d9daff1e54ce077e1f55fd4847c481c8ebddcd72722b25c499624aa +| 23a70f58de7dccd0b1d4e757113fbd6d67ea8700ee8d8b265fe8290243ab0579 +| 7b418488fe3c94afab4cee946277736fbe8511da660706daf1cd03e65cd13c3e +| 9e1c519bc1decea509ce838c7d5f66098f7dd1dc10ec4fc4e911f6dbdf69ffdd +EXIT got=0 want=0 elapsed_ns=25293664 +PASS exit +PASS oracle answered every request +PASS oracle manifest magic +PASS oracle canonical manifest name +PASS oracle manifest length +PASS oracle policy +PASS oracle edit identity +PASS oracle metadata lengths +PASS oracle UTF8 provenance +PASS oracle strict order +PASS oracle indices in bounds +PASS oracle policy +PASS oracle CK02 magic +PASS oracle checkpoint length +PASS oracle checkpoint FNV +PASS oracle checkpoint geometry P +PASS oracle preserved base header +PASS oracle manifest geometry +PASS oracle manifest P +PASS oracle base SHA +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle entry bits +PASS oracle entry changed finite +PASS oracle entry magnitude +PASS oracle saved moments +PASS oracle expected output SHA +PASS oracle expected f32 SHA +PASS oracle all tensors present +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS oracle tensor record geometry +PASS oracle tensor changed count +PASS oracle tensor base SHA +PASS oracle tensor output SHA +PASS manifest oracle agrees with independent request +RUN /tmp/wpp/out2/wpatch show /tmp/wpp/w2/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp +| {"patch_sha256":"b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea","base_sha256":"0f7c5cce37a019be53786dfc27fd01146f7606343ccbe7f632d19661dc6f7004","output_sha256":"2c2a6304ba02509b12b70174ed70d586d1a0e1da4226257bc56be24e1e7eefe0","f32_sha256":"b61cbd26710589e5e352794c1b05e08a1fe954e982d135c3bcfa88f95b077068","entries_sha256":"a4d6249a009e496434ea6f1eed97e59b6d26560225e1727bc6213b69f0f22f77","policy":2,"changed":20,"entries_first_20":[[0,"3f73395873a10edd","3f7751ebe85d795c","bf8552a73209b7de","3f14fbfe29a9774b"],[1,"3f798242d6be64df","3f798242d6be64de","3f8ae1fb0b51213f","3f18d79eff023b06"],[4096,"3f9d71eaecf958fb","3f9e780fca28739b","bf6fda794c7f4356","3ee4874452c54ea4"],[4224,"3fefff43cec7fbde","3ff003ba7ad8ba59","3f1256c5dd67068a","3e2760769ce5b9f8"],[4240,"3f91335e055b2e52","3f923982e28a48f2","3e8c82f3e951ecd7","3d22dc1b3d5ebae0"],[4496,"3f7e376430d30470","3f8127fbd2c7b778","bea74810b3835236","3d5affaac6d4f0e8"],[4752,"bf8127b4d0942b41","bf7e36d62c6bec03","3f2ff9fda43ff4ce","3e655d362beed931"],[5008,"bf642a283fb3a03a","bf57f202ac759678","3f3502ff80b87ea6","3e72e5c1e1efe469"],[5264,"3ff0005e70ee046f","3ff004770462c0d9","bf18ed43b60b63b7","3e355bda46217552"],[5280,"3f937e8c81983fca","3f9484b15ec75a6a","bf48faf52cc05b78","3e965b7796fddabc"],[5792,"bf8d0a85a19f1a66","bf8afe3be740e526","3f4a9cc4b0ff81ae","3e99124af81315f5"],[6304,"3ff0005d56c1676d","3ff00475ea3623d7","bf183fc5d9e8349e","3e34f092d477879a"],[6320,"3f478f6a628528cb","3f5c2a0304343e62","bea91b8ad8d8fa88","3d711f50953c987a"],[6576,"3f96ddb9cf3d8cbd","3f97e3deac6ca75d","bea1d46f2116bc66","3d46551f111a70d4"],[6832,"bf85cdb8b6e68c3d","bf83c16efc8856fe","bf4f1c7c31f855d4","3ea2ab72a16c8090"],[7088,"3f66903abb2fa5f3","3f6ec161a4a87af1","bf50fdbc8214d868","3ea5d7a369874dbc"],[7344,"3fefff43cf3b0247","3ff003ba7b123d8e","3f0d8004986b399c","3e1e3eb1e77eda8e"],[7360,"bfa157e08134d98b","bfa0d4ce129d4c3b","3f1d076f4cc62d48","3e421f608bd657e5"],[7872,"bf908b27ddd68b5c","bf8f0a06014ee178","3f549ba6f596fe71","3ead9cd639986443"],[8384,"3fefffe8aac28f0e","3ff0040ce8d603f1","3f27d30ec44cacbd","3e64d03ccafe7fec"]],"params":"{\"delta\":0.001,\"name\":\"Ω patch\"}\u000a","rationale":"Own-model fixture. Preserve exact rollback.\u000a"} +EXIT got=0 want=0 elapsed_ns=616470 +PASS exit +PASS show UTF8 provenance +RUN /tmp/wpp/out2/wpatch validate /tmp/wpp/w2/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp /tmp/wpp/w2/base.ck +| PASS +EXIT got=0 want=0 elapsed_ns=5849892 +PASS exit +RUN /tmp/wpp/out2/wpatch apply /tmp/wpp/w2/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp /tmp/wpp/w2/base.ck /tmp/wpp/w2/applied-2.ck +| PASS +EXIT got=0 want=0 elapsed_ns=10842464 +PASS exit +PASS apply exact oracle bytes +PASS apply equals independent requested bytes +RUN /tmp/wpp/out2/wpatch verify /tmp/wpp/w2/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp /tmp/wpp/w2/applied-2.ck +| PASS f32_surviving=19 changed=20 +EXIT got=0 want=0 elapsed_ns=3308365 +PASS exit +PASS verify f32 survival count +RUN /tmp/wpp/out2/wpatch revert /tmp/wpp/w2/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp /tmp/wpp/w2/applied-2.ck /tmp/wpp/w2/reverted-2.ck +| PASS +EXIT got=0 want=0 elapsed_ns=10387340 +PASS exit +PASS revert byte-identical base +RUN /tmp/wpp/out2/wpatch bind /tmp/wpp/w2/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp /tmp/wpp/w2/applied-2.ck /tmp/wpp/out2/wpatch /tmp/wpp/w2/binding-2 +| PASS +EXIT got=0 want=0 elapsed_ns=8620716 +PASS exit +RUN /usr/bin/python3 tools/omegallm/wpatch/wporacle.py /tmp/wpp/w2/oracle-6.req +| 2c2a6304ba02509b12b70174ed70d586d1a0e1da4226257bc56be24e1e7eefe0 +| b61cbd26710589e5e352794c1b05e08a1fe954e982d135c3bcfa88f95b077068 +| bf993a780c7421cc2cd23d42fef5692135e9bd339f19a90059d4ef7f17be0847 +| b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea +| 5396b2aaa6433a36d857a119ac012c65c35cae5a8be8ae8bbe28432240146117 +EXIT got=0 want=0 elapsed_ns=24745227 +PASS exit +PASS oracle answered every request +PASS oracle binding format +PASS oracle binding CK and f32 +PASS oracle binding runtime and patch +PASS oracle binding self digest +RUN /tmp/wpp/out2/wpatch checkbind /tmp/wpp/w2/binding-2 /tmp/wpp/w2/applied-2.ck /tmp/wpp/out2/wpatch +| PASS +EXIT got=0 want=0 elapsed_ns=4316951 +PASS exit +RUN /tmp/wpp/out2/wpatch checkbind /tmp/wpp/w2/binding-2 /tmp/wpp/w2/base.ck /tmp/wpp/out2/wpatch +EXIT got=60 want=60 elapsed_ns=1849424 +PASS exit +RUN /tmp/wpp/out2/wpatch checkbind /tmp/wpp/w2/binding-2 /tmp/wpp/w2/applied-2.ck /tmp/wpp/w2/runtime-2 +EXIT got=62 want=62 elapsed_ns=4162517 +PASS exit +RUN /tmp/wpp/out2/wpatch checkbind /tmp/wpp/w2/wrong-f32-binding-2 /tmp/wpp/w2/applied-2.ck /tmp/wpp/out2/wpatch +EXIT got=61 want=61 elapsed_ns=2355845 +PASS exit +RUN /tmp/wpp/out2/wpatch checkbind /tmp/wpp/w2/wrong-f32-binding-2 /tmp/wpp/w2/applied-2.ck /tmp/wpp/out2/wpatch +EXIT got=59 want=59 elapsed_ns=351843 +PASS exit +RUN /tmp/wpp/out2/wpatch apply /tmp/wpp/w2/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp /tmp/wpp/w2/base.ck /tmp/wpp/w2/applied-2.ck +EXIT got=52 want=52 elapsed_ns=5877541 +PASS exit +PASS OUT exists preserved +RUN /tmp/wpp/out2/wpatch apply /tmp/wpp/w2/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp /tmp/wpp/w2/base.ck /tmp/wpp/w2/base.ck +EXIT got=52 want=52 elapsed_ns=5814259 +PASS exit +RUN /tmp/wpp/out2/wpatch revert /tmp/wpp/w2/patches-2/b892bfe7a5fe096ae56c4edb58169bbdc98c4091ca03e703dee46398a85e4dea.wp /tmp/wpp/w2/applied-2.ck /tmp/wpp/w2/base.ck +EXIT got=52 want=52 elapsed_ns=5586881 +PASS exit +RUN /tmp/wpp/out2/wpatch diff /tmp/wpp/w2/base.ck /tmp/wpp/w2/edited.ck 2 /tmp/wpp/w2/params.txt /tmp/wpp/w2/rationale.txt /tmp/wpp/w2/patches-2 +EXIT got=52 want=52 elapsed_ns=8993632 +PASS exit +PASS BASE never written +RUN /tmp/wpp/out2/wpatch diff /tmp/wpp/w2/base.ck /tmp/wpp/w2/oracle-mutant-edited.ck 2 /tmp/wpp/w2/params.txt /tmp/wpp/w2/rationale.txt /tmp/wpp/w2/oracle-mutant-patches +| /tmp/wpp/w2/oracle-mutant-patches/1ad4db1bbd875453c2d00bfdadf045af0639fe215d7f16ef23084c3001fe261a.wp +EXIT got=0 want=0 elapsed_ns=14591570 +PASS exit +RUN /tmp/wpp/out2/wpatch apply /tmp/wpp/w2/oracle-mutant-patches/1ad4db1bbd875453c2d00bfdadf045af0639fe215d7f16ef23084c3001fe261a.wp /tmp/wpp/w2/base.ck /tmp/wpp/w2/oracle-mutant.ck +| PASS +EXIT got=0 want=0 elapsed_ns=13763018 +PASS exit +RUN /tmp/wpp/out2/wpatch verify /tmp/wpp/w2/oracle-mutant-patches/1ad4db1bbd875453c2d00bfdadf045af0639fe215d7f16ef23084c3001fe261a.wp /tmp/wpp/w2/oracle-mutant.ck +| PASS f32_surviving=19 changed=20 +EXIT got=0 want=0 elapsed_ns=3392142 +PASS exit +PASS mutant apply equals its own independent request +PASS independent oracle rejects rehashed finite-value mutant accepted by verify +RUN /tmp/wpp/out2/wpatch validate /tmp/wpp/w2/oversized-params.wp /tmp/wpp/w2/base.ck +EXIT got=57 want=57 elapsed_ns=89691274 +PASS exit +RUN /tmp/wpp/out2/wpatch show /tmp/wpp/w2/oversized-params.wp +EXIT got=57 want=57 elapsed_ns=89989981 +PASS exit +RUN /tmp/wpp/out2/wpatch apply /tmp/wpp/w2/oversized-params.wp /tmp/wpp/w2/base.ck /tmp/wpp/w2/oversized-params.ck +EXIT got=57 want=57 elapsed_ns=89696443 +PASS exit +PASS oversized metadata creates no output +RUN /tmp/wpp/out2/wpatch validate /tmp/wpp/w2/oversized-rationale.wp /tmp/wpp/w2/base.ck +EXIT got=57 want=57 elapsed_ns=89299287 +PASS exit +RUN /tmp/wpp/out2/wpatch show /tmp/wpp/w2/oversized-rationale.wp +EXIT got=57 want=57 elapsed_ns=89289719 +PASS exit +RUN /tmp/wpp/out2/wpatch apply /tmp/wpp/w2/oversized-rationale.wp /tmp/wpp/w2/base.ck /tmp/wpp/w2/oversized-rationale.ck +EXIT got=57 want=57 elapsed_ns=89461576 +PASS exit +PASS oversized metadata creates no output +RUN /tmp/wpp/out2/wpatch validate /tmp/wpp/w2/invalid-utf8.wp /tmp/wpp/w2/base.ck +EXIT got=31 want=31 elapsed_ns=513652 +PASS exit +RUN /tmp/wpp/out2/wpatch validate /tmp/wpp/w2/wrong-base-sha.wp /tmp/wpp/w2/base.ck +EXIT got=50 want=50 elapsed_ns=2024322 +PASS exit +RUN /tmp/wpp/out2/wpatch apply /tmp/wpp/w2/wrong-base-sha.wp /tmp/wpp/w2/base.ck /tmp/wpp/w2/wrong-base-sha.ck +EXIT got=50 want=50 elapsed_ns=2060995 +PASS exit +PASS wrong-base-sha: refusal creates no output +RUN /tmp/wpp/out2/wpatch validate /tmp/wpp/w2/geometry.wp /tmp/wpp/w2/base.ck +EXIT got=36 want=36 elapsed_ns=958424 +PASS exit +RUN /tmp/wpp/out2/wpatch apply /tmp/wpp/w2/geometry.wp /tmp/wpp/w2/base.ck /tmp/wpp/w2/geometry.ck +EXIT got=36 want=36 elapsed_ns=881272 +PASS exit +PASS geometry: refusal creates no output +RUN /tmp/wpp/out2/wpatch validate /tmp/wpp/w2/shape.wp /tmp/wpp/w2/base.ck +EXIT got=37 want=37 elapsed_ns=867768 +PASS exit +RUN /tmp/wpp/out2/wpatch apply /tmp/wpp/w2/shape.wp /tmp/wpp/w2/base.ck /tmp/wpp/w2/shape.ck +EXIT got=37 want=37 elapsed_ns=822151 +PASS exit +PASS shape: refusal creates no output +RUN /tmp/wpp/out2/wpatch validate /tmp/wpp/w2/oob.wp /tmp/wpp/w2/base.ck +EXIT got=38 want=38 elapsed_ns=824935 +PASS exit +RUN /tmp/wpp/out2/wpatch apply /tmp/wpp/w2/oob.wp /tmp/wpp/w2/base.ck /tmp/wpp/w2/oob.ck +EXIT got=38 want=38 elapsed_ns=852328 +PASS exit +PASS oob: refusal creates no output +RUN /tmp/wpp/out2/wpatch validate /tmp/wpp/w2/nan.wp /tmp/wpp/w2/base.ck +EXIT got=40 want=40 elapsed_ns=816247 +PASS exit +RUN /tmp/wpp/out2/wpatch apply /tmp/wpp/w2/nan.wp /tmp/wpp/w2/base.ck /tmp/wpp/w2/nan.ck +EXIT got=40 want=40 elapsed_ns=829991 +PASS exit +PASS nan: refusal creates no output +RUN /tmp/wpp/out2/wpatch validate /tmp/wpp/w2/inf.wp /tmp/wpp/w2/base.ck +EXIT got=41 want=41 elapsed_ns=791543 +PASS exit +RUN /tmp/wpp/out2/wpatch apply /tmp/wpp/w2/inf.wp /tmp/wpp/w2/base.ck /tmp/wpp/w2/inf.ck +EXIT got=41 want=41 elapsed_ns=790887 +PASS exit +PASS inf: refusal creates no output +RUN /tmp/wpp/out2/wpatch validate /tmp/wpp/w2/magnitude.wp /tmp/wpp/w2/base.ck +EXIT got=42 want=42 elapsed_ns=829591 +PASS exit +RUN /tmp/wpp/out2/wpatch apply /tmp/wpp/w2/magnitude.wp /tmp/wpp/w2/base.ck /tmp/wpp/w2/magnitude.ck +EXIT got=42 want=42 elapsed_ns=787751 +PASS exit +PASS magnitude: refusal creates no output +RUN /tmp/wpp/out2/wpatch validate /tmp/wpp/w2/unsorted.wp /tmp/wpp/w2/base.ck +EXIT got=39 want=39 elapsed_ns=811271 +PASS exit +RUN /tmp/wpp/out2/wpatch apply /tmp/wpp/w2/unsorted.wp /tmp/wpp/w2/base.ck /tmp/wpp/w2/unsorted.ck +EXIT got=39 want=39 elapsed_ns=802231 +PASS exit +PASS unsorted: refusal creates no output +RUN /tmp/wpp/out2/wpatch validate /tmp/wpp/w2/duplicate.wp /tmp/wpp/w2/base.ck +EXIT got=43 want=43 elapsed_ns=812455 +PASS exit +RUN /tmp/wpp/out2/wpatch apply /tmp/wpp/w2/duplicate.wp /tmp/wpp/w2/base.ck /tmp/wpp/w2/duplicate.ck +EXIT got=43 want=43 elapsed_ns=814024 +PASS exit +PASS duplicate: refusal creates no output +RUN /tmp/wpp/out2/wpatch validate /tmp/wpp/w2/old-bits.wp /tmp/wpp/w2/base.ck +EXIT got=47 want=47 elapsed_ns=2901210 +PASS exit +RUN /tmp/wpp/out2/wpatch apply /tmp/wpp/w2/old-bits.wp /tmp/wpp/w2/base.ck /tmp/wpp/w2/old-bits.ck +EXIT got=47 want=47 elapsed_ns=2901018 +PASS exit +PASS old-bits: refusal creates no output +RUN /tmp/wpp/out2/wpatch validate /tmp/wpp/w2/old-moment.wp /tmp/wpp/w2/base.ck +EXIT got=48 want=48 elapsed_ns=3132219 +PASS exit +RUN /tmp/wpp/out2/wpatch apply /tmp/wpp/w2/old-moment.wp /tmp/wpp/w2/base.ck /tmp/wpp/w2/old-moment.ck +EXIT got=48 want=48 elapsed_ns=2865657 +PASS exit +PASS old-moment: refusal creates no output +RUN /tmp/wpp/out2/wpatch validate /tmp/wpp/w2/entries-hash.wp /tmp/wpp/w2/base.ck +EXIT got=46 want=46 elapsed_ns=1092761 +PASS exit +RUN /tmp/wpp/out2/wpatch apply /tmp/wpp/w2/entries-hash.wp /tmp/wpp/w2/base.ck /tmp/wpp/w2/entries-hash.ck +EXIT got=46 want=46 elapsed_ns=907289 +PASS exit +PASS entries-hash: refusal creates no output +RUN /tmp/wpp/out2/wpatch validate /tmp/wpp/w2/tensor-count.wp /tmp/wpp/w2/base.ck +EXIT got=45 want=45 elapsed_ns=868200 +PASS exit +RUN /tmp/wpp/out2/wpatch apply /tmp/wpp/w2/tensor-count.wp /tmp/wpp/w2/base.ck /tmp/wpp/w2/tensor-count.ck +EXIT got=45 want=45 elapsed_ns=868184 +PASS exit +PASS tensor-count: refusal creates no output +RUN /tmp/wpp/out2/wpatch validate /tmp/wpp/w2/tensor-base-sha.wp /tmp/wpp/w2/base.ck +EXIT got=49 want=49 elapsed_ns=2294164 +PASS exit +RUN /tmp/wpp/out2/wpatch apply /tmp/wpp/w2/tensor-base-sha.wp /tmp/wpp/w2/base.ck /tmp/wpp/w2/tensor-base-sha.ck +EXIT got=49 want=49 elapsed_ns=2307765 +PASS exit +PASS tensor-base-sha: refusal creates no output +RUN /tmp/wpp/out2/wpatch validate /tmp/wpp/w2/tensor-out-sha.wp /tmp/wpp/w2/base.ck +EXIT got=49 want=49 elapsed_ns=4902908 +PASS exit +RUN /tmp/wpp/out2/wpatch apply /tmp/wpp/w2/tensor-out-sha.wp /tmp/wpp/w2/base.ck /tmp/wpp/w2/tensor-out-sha.ck +EXIT got=49 want=49 elapsed_ns=4890700 +PASS exit +PASS tensor-out-sha: refusal creates no output +RUN /tmp/wpp/out2/wpatch validate /tmp/wpp/w2/output-sha.wp /tmp/wpp/w2/base.ck +EXIT got=53 want=53 elapsed_ns=4771002 +PASS exit +RUN /tmp/wpp/out2/wpatch apply /tmp/wpp/w2/output-sha.wp /tmp/wpp/w2/base.ck /tmp/wpp/w2/output-sha.ck +EXIT got=53 want=53 elapsed_ns=4764106 +PASS exit +PASS output-sha: refusal creates no output +RUN /tmp/wpp/out2/wpatch validate /tmp/wpp/w2/output-f32-sha.wp /tmp/wpp/w2/base.ck +EXIT got=54 want=54 elapsed_ns=5975860 +PASS exit +RUN /tmp/wpp/out2/wpatch apply /tmp/wpp/w2/output-f32-sha.wp /tmp/wpp/w2/base.ck /tmp/wpp/w2/output-f32-sha.ck +EXIT got=54 want=54 elapsed_ns=6019397 +PASS exit +PASS output-f32-sha: refusal creates no output +RUN /tmp/wpp/out2/wpatch show /tmp/wpp/w2/flipped/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp +EXIT got=30 want=30 elapsed_ns=489588 +PASS exit +RUN /tmp/wpp/out2/wpatch validate /tmp/wpp/w2/flipped/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /tmp/wpp/w2/base.ck +EXIT got=30 want=30 elapsed_ns=413235 +PASS exit +RUN /tmp/wpp/out2/wpatch verify /tmp/wpp/w2/flipped/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /tmp/wpp/w2/applied-1.ck +EXIT got=30 want=30 elapsed_ns=429716 +PASS exit +RUN /tmp/wpp/out2/wpatch apply /tmp/wpp/w2/flipped/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /tmp/wpp/w2/base.ck /tmp/wpp/w2/bad-apply.ck +EXIT got=30 want=30 elapsed_ns=386659 +PASS exit +RUN /tmp/wpp/out2/wpatch revert /tmp/wpp/w2/flipped/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /tmp/wpp/w2/applied-1.ck /tmp/wpp/w2/bad-revert.ck +EXIT got=30 want=30 elapsed_ns=413156 +PASS exit +RUN /tmp/wpp/out2/wpatch bind /tmp/wpp/w2/flipped/66814db53a261b61e9fad68ad91c0fae6e5d5ffd73d589557f898a17d08793f8.wp /tmp/wpp/w2/applied-1.ck /tmp/wpp/out2/wpatch /tmp/wpp/w2/bad-bind +EXIT got=30 want=30 elapsed_ns=397059 +PASS exit +RUN /tmp/wpp/out2/wpatch validate /tmp/wpp/w2/truncated.wp /tmp/wpp/w2/base.ck +EXIT got=32 want=32 elapsed_ns=440883 +PASS exit +RUN /tmp/wpp/out2/wpatch show /tmp/wpp/w2/truncated.wp +EXIT got=32 want=32 elapsed_ns=339523 +PASS exit +RUN /tmp/wpp/out2/wpatch diff /tmp/wpp/w2/base.ck /tmp/wpp/w2/base.ck 0 /tmp/wpp/w2/params.txt /tmp/wpp/w2/rationale.txt /tmp/wpp/w2 +EXIT got=55 want=55 elapsed_ns=1808464 +PASS exit +RUN /tmp/wpp/out2/wpatch diff /tmp/wpp/w2/base.ck /tmp/wpp/w2/wrong-m.ck 0 /tmp/wpp/w2/params.txt /tmp/wpp/w2/rationale.txt /tmp/wpp/w2 +EXIT got=56 want=56 elapsed_ns=3222349 +PASS exit +RUN /tmp/wpp/out2/wpatch diff /tmp/wpp/w2/exotic.ck /tmp/wpp/w2/exotic-edited.ck 0 /tmp/wpp/w2/params.txt /tmp/wpp/w2/rationale.txt /tmp/wpp/w2/exotic-patches +| /tmp/wpp/w2/exotic-patches/a426d92627d93db4de09b0e6bed92dccf6c744bb91bf13f19b1cc0ee50b63e6b.wp +EXIT got=0 want=0 elapsed_ns=12563263 +PASS exit +RUN /usr/bin/python3 tools/omegallm/wpatch/wporacle.py /tmp/wpp/w2/oracle-7.req +| bef7419bfa8c1d60479ecb125fe0b452dd373c751b2e1bd38817862f508edb26 +EXIT got=0 want=0 elapsed_ns=25678628 +PASS exit +PASS oracle answered every request +PASS f32 cast boundary vectors +RUN /tmp/wpp/out2/wpatch validate /tmp/wpp/w2/exotic-patches/a426d92627d93db4de09b0e6bed92dccf6c744bb91bf13f19b1cc0ee50b63e6b.wp /tmp/wpp/w2/exotic.ck +| PASS +EXIT got=0 want=0 elapsed_ns=6023365 +PASS exit +RUN /tmp/wpp/out2/wpatch inspect /tmp/wpp/w2/exotic.ck +| OLLMCK02 V T D H F L B P: 256 8 16 2 32 2 2 8400 +| seed step total lr G fnv: 1 2 10 4569063951553953530 1 3717650157346357865 +| wte 0 256x16 dtype=f64 offset=0 sha256=898afc07405721fe16488b80d246453413e7b593856b7a09cf8021bab210d1c1 rms=2.8088955232223696e306 maxabs=1.7976931348623164e308 nonfinite=3 +| wpe 0 8x16 dtype=f64 offset=4096 sha256=8466ddee307934f1d085b7fc3f2f222b33f320a47b8f72c0782cd099f53c3a56 rms=2.0597512474142969e-2 maxabs=3.4688363182317480e-2 nonfinite=0 +| g1 0 1x16 dtype=f64 offset=4224 sha256=8e55ebc45ecdca0459276d85bdcc502985681ca91936c7d388f36141657e7724 rms=9.9998560202156934e-1 maxabs=1.0000898116642267e0 nonfinite=0 +| wq 0 16x16 dtype=f64 offset=4240 sha256=adfe7504881e98ae49edbd9bd2a8c6259a190472f5f2a301aabf76d433a26668 rms=1.9387060051204409e-2 maxabs=3.4602970449885450e-2 nonfinite=0 +| wk 0 16x16 dtype=f64 offset=4496 sha256=accdb602abdaf839de2b6e98f98e399bcb00eea03cdc1e14ffe760c6012bffa8 rms=2.0086632119378893e-2 maxabs=3.4488179470423929e-2 nonfinite=0 +| wv 0 16x16 dtype=f64 offset=4752 sha256=fa6b0727cb263311c2c3b75e6fea1f7902613c5051548b6cff87fecb0556f9d0 rms=2.0442612683966512e-2 maxabs=3.4608463868511711e-2 nonfinite=0 +| wo 0 16x16 dtype=f64 offset=5008 sha256=b43e998b213e289c9464b79a54a04243a629061e9351882c0af8ba717ab1f27c rms=9.3607584314112308e-3 maxabs=1.7186119006150049e-2 nonfinite=0 +| g2 0 1x16 dtype=f64 offset=5264 sha256=02d1cd2862c618fa82ecbe721cef53d3f0064a85c37dc3c81b60256496a551e8 rms=1.0000317542785344e0 maxabs=1.0000900660818634e0 nonfinite=0 +| w1 0 16x32 dtype=f64 offset=5280 sha256=0d43f123403113f54dc36bf858225654da6ca9b2fa6dd13d34ea03df0300162d rms=1.9707409527231671e-2 maxabs=3.4604831137893370e-2 nonfinite=0 +| w2 0 32x16 dtype=f64 offset=5792 sha256=ff25c2a9843e2cb7febd7173d1310c5c38d4c3b84f80d41fe477671df90958a4 rms=9.9353752213784609e-3 maxabs=1.7383742580227750e-2 nonfinite=0 +| g1 1 1x16 dtype=f64 offset=6304 sha256=d5ef48d1f1f83bea39dbec4469a83b73134a957a6f7ee5c7f55d489a085e2fc2 rms=1.0000055077295755e0 maxabs=1.0000896598909829e0 nonfinite=0 +| wq 1 16x16 dtype=f64 offset=6320 sha256=cd5d9460b4f8b03c13493204e04f3499387caa9332da929e17aa53b5bf93f1b9 rms=1.9395643851273927e-2 maxabs=3.4713570183186637e-2 nonfinite=0 +| wk 1 16x16 dtype=f64 offset=6576 sha256=77e6c5613a0fba859e0559bee3beb70fb9e4ac007b87134dfc1e2fe482194b44 rms=2.0451505765922823e-2 maxabs=3.4557907877036364e-2 nonfinite=0 +| wv 1 16x16 dtype=f64 offset=6832 sha256=a49caf53f5f318fe312bef6bc78842f4f194d97965a34d4d1903a20c325e3af6 rms=2.0283640674707430e-2 maxabs=3.4634749954325338e-2 nonfinite=0 +| wo 1 16x16 dtype=f64 offset=7088 sha256=4a99000fa39bce104d6cd39bd7e6e8f108b0a120d700c1372a14614b7d2a3cf9 rms=9.5378278603200783e-3 maxabs=1.7408843619714149e-2 nonfinite=0 +| g2 1 1x16 dtype=f64 offset=7344 sha256=975a6761e290c4c1493058ce603d78cf98fe638c88792c88a13d422d00044af5 rms=1.0000051625444570e0 maxabs=1.0000900629791575e0 nonfinite=0 +| w1 1 16x32 dtype=f64 offset=7360 sha256=6744256441b31f1e97fe7739e0af3edbeeabb2960c9030bde44a0940f673b254 rms=1.9646243437713831e-2 maxabs=3.4519835058524788e-2 nonfinite=0 +| w2 1 32x16 dtype=f64 offset=7872 sha256=f01f41002a7e3c6afa8dbfe6c69ab753d4361cf25faae3e3ea4738e7aa1f0232 rms=9.9239498616909447e-3 maxabs=1.7320015361641458e-2 nonfinite=0 +| gf 0 1x16 dtype=f64 offset=8384 sha256=65aa5211ba1921da7b4c26e7667f49bf0d2a7219f2fef32dcc828fb4cf181a9a rms=1.0000070876612532e0 maxabs=1.0000900576992735e0 nonfinite=0 +EXIT got=0 want=0 elapsed_ns=2126723 +PASS exit +PASS scaled RMS survives maximum finite f64, counts nonfinite separately +PASS final base identity +WPCHECK PASS checks=698 commands=117 diff --git a/tools/omegallm/wpatch/README.md b/tools/omegallm/wpatch/README.md index 06c1fd0..67571f2 100644 --- a/tools/omegallm/wpatch/README.md +++ b/tools/omegallm/wpatch/README.md @@ -1,27 +1,62 @@ # wpatch -CPU-only checked patches for Drake's OLLMCK02 checkpoints. The product is Omega. -It does not import model weights, run inference, open a GPU, or claim a quality -improvement. Python is an independent acceptance instrument, not a product path. +CPU-only checked patches for Drake's OLLMCK02 checkpoints. The product, its build +driver and its test driver are Omega. It does not import model weights, run +inference, open a GPU, or claim a quality improvement. One small Python file is a +labeled ORACLE (a digest calculator); it is not part of the product or the build. + +## Files + +| File | Role | +| --- | --- | +| `wpatch.om` | The product: inspect, diff, show, validate, apply, verify, revert, bind, checkbind. | +| `wpbuild.om` | Omega build driver. Builds `wpatch` and `wpcheck`. | +| `wpcheck.om` | Omega test driver. Runs every case, owns all exit codes, files, refusals and PASS/FAIL. | +| `wporacle.py` | ORACLE only. Answers digest requests from wpcheck; never decides PASS or FAIL. | ## Build -From the repository root, with the pinned omega-mv checkout beside it: +From the repository root, with the pinned omega-mv checkout beside it, compile +the build driver once with the pinned compiler and run it: ```sh -OUT="$HOME/work/wsp/wpatch-build" CORE=0 sh tools/omegallm/wpatch/build.sh +OMC=../omega-mv/seed/out/omc +taskset -c 0 nice -n 19 "$OMC" < tools/omegallm/wpatch/wpbuild.om > /tmp/wpbuild && chmod +x /tmp/wpbuild +taskset -c 0 nice -n 19 /tmp/wpbuild . "$HOME/work/wsp/wpatch-build" "$OMC" ../omega-mv 0 ``` -`OMC` and `OMEGA_MV` can select the compiler binary and source checkout. The build -checks the compiler and SHA source identities. It composes the existing CPU ollm -sources without changing `native/omegallm`. The SHA layout comes before every -function. The ollm entry point becomes `wpollm`; SHA private symbols receive a -`ws` prefix. The exact source transformation is in `OUT/sha256.diff`. +Arguments are `REPO OUT OMC OMEGA_MV CORE`; all five are required. OUT is created +when absent. The driver: + +1. builds ollm with the repository's `tests/omegallm/build.sh` (TARGET=aarch64), + which checks the compiler pin and writes `OUT/ollm.om` and `OUT/ollm`; +2. extracts `om/sha256/sha256-om2.om` at the omega-mv pin with git and requires + its SHA-256 to equal the pin below; +3. vendors it in Omega: the SHA layout goes before every function, `export fn` + becomes `fn`, and SHA private symbols receive a `ws` prefix. The exact source + transformation is written to `OUT/sha256.diff` as a review record; +4. composes `OUT/wpatch-all.om` (SHA layout, ollm with its entry point renamed + `wpollm`, SHA functions, `wpatch.om`) and `OUT/wpcheck-all.om` (SHA layout, SHA + functions, `wpcheck.om`); +5. compiles both on CORE, then prints the SHA-256 of the compiler, the SHA source, + both compositions and both binaries, and ends with `WPBUILD PASS`. + +Exit codes: 0 PASS, 2 usage, 3 SHA source digest differs from the pin, 4 the +ollm source does not hold exactly one `fn main to int`, 5 I/O or capacity, 6 a +host tool failed (its status is printed), otherwise the compiler's own status. +`native/omegallm` is never changed. The `wpatch` binary and `wpatch-all.om` are +byte-identical to the earlier shell build (SHA-256 below). Compiler: omega-mv `e5b32567a7aff3ce594e3254a622a846a6cd190b`, omc SHA-256 `2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f`. SHA source: `om/sha256/sha256-om2.om` at that revision, SHA-256 `dbf002dd6aa36585632b9d01d98ac3f0bd2fa0f0475082940de53638847994bb`. +wpatch: SHA-256 `bf993a780c7421cc2cd23d42fef5692135e9bd339f19a90059d4ef7f17be0847`, +from `wpatch-all.om` SHA-256 `7e8b3ca2cf378af25029ce42ca6c760c880fa3612691216e2f2339c369c22591`. + +Host tools the build driver runs (pinned build tools, not product code): the +compiler, `/bin/sh` for `tests/omegallm/build.sh`, `/usr/bin/env`, git, +sha256sum, diff, taskset and nice. ## Commands @@ -83,40 +118,59 @@ can leave a partial newly created output; do not use it without verification. The full binary format, limits and refusal codes are in [`docs/omegallm/WSP-PATCH.md`](../../../docs/omegallm/WSP-PATCH.md). -## Independent acceptance +## Acceptance: wpcheck -Use a new work directory each time: +`wpcheck` is built by wpbuild into the same OUT directory. WORK must not exist; +wpcheck creates it. ORACLE is the path of `wporacle.py`. ```sh -taskset -c 0 nice -n 19 python3 tools/omegallm/wpatch/check.py \ - --build "$HOME/work/wsp/wpatch-build" --work "$HOME/work/wsp/ck/wpatch-small-new" +B="$HOME/work/wsp/wpatch-build" +taskset -c 0 nice -n 19 "$B/wpcheck" small "$B" "$HOME/work/wsp/ck/wpatch-small-new" \ + tools/omegallm/wpatch/wporacle.py ``` -The instrument trains an own-model small checkpoint, checks all commands and all -optimizer policies, independently parses and hashes manifests/checkpoints, -checks f32 cast boundaries, and exercises corruptions with exact refusal codes. -It builds expected output bytes directly from BASE and the requested edits, -including optimizer resets, without taking expected values from a manifest. -A fully rehashed manifest for a different finite value passes product verify but -fails this independent byte oracle. That intentional FAIL is marked as a -negative control; the overall acceptance must PASS. JSONL records each command, -exit code and elapsed nanoseconds. - -For the pinned round40 fixture, add `--real PATH_TO_ROUND40/model.ck` and use a -separate work directory. It changes ten layer-3 w2 entries in a copy, performs -diff/validate/apply/verify/revert, compares every output byte against the -independently built expectation, and checks restored SHA and expected f32 SHA. -It never writes into the source model directory. For the wsp review rerun, queue -behind other authorized core-19 work: +Exit codes: 0 PASS, 1 FAIL (the first failed check is printed and the run stops), +2 usage. Output is plain text: a header with the Omega SHA-256 of the wpatch under +test; for each child process its argument list, its stdout as `| ` lines, and +`EXIT got=X want=Y elapsed_ns=T`; one `PASS label` line per check; and a last line +`WPCHECK PASS checks=N commands=M` or `WPCHECK FAIL ...`. Children run through +fork, execprog and waitpid with an empty environment and stdout captured through +a pipe. + +The small mode trains an own-model small checkpoint, runs every command and all +three optimizer policies, parses every manifest, tensor record, entry and binding +field, checks f32 cast boundaries, and exercises each corruption with its exact +refusal code and no output left behind. It builds the expected output bytes +directly from BASE and the requested edits, including optimizer resets, without +taking expected values from a manifest. A fully rehashed manifest for a different +finite value passes product verify but is rejected by this independent byte +comparison; that in-run negative control must be rejected for the run to PASS. + +The real mode takes the pinned round40 checkpoint as a fifth argument. It +requires the pinned base SHA-256, changes ten layer-3 w2 entries in a copy, +performs diff/validate/apply/verify/revert, compares every output byte against the +independently built expectation, and checks the restored SHA and expected f32 SHA. +It never writes into the source model directory. Queue behind other authorized +core-19 work: ```sh flock -w 3600 -o "$HOME/handoffs/hive/queen/pool-19.lock" \ - taskset -c 19 nice -n 10 python3 tools/omegallm/wpatch/check.py \ - --build "$HOME/work/wsp/wpatch-build" --work "$HOME/work/wsp/ck/wpatch-real-new" \ - --real "$HOME/.local/share/omega-tool-model/round40/model.ck" + taskset -c 19 nice -n 10 "$B/wpcheck" real "$B" "$HOME/work/wsp/ck/wpatch-real-new" \ + tools/omegallm/wpatch/wporacle.py "$HOME/.local/share/omega-tool-model/round40/model.ck" ``` Do not run on reserved cores 3, 7 or 15. -Evidence: `evidence/OMEGALLM/wsp-patch-20261107/`. Host CPU execution is not GPU -qualification, a model-quality result, a merge, or a deployment. +## ORACLE + +`wporacle.py` (Python 3.12.3 standard library: hashlib, struct, mmap) is the only +Python. It is an ORACLE: wpcheck writes a request file, runs +`/usr/bin/python3 wporacle.py REQUEST`, and compares each answer line itself. It +answers three requests: SHA-256 of a byte range, SHA-256 of the IEEE f32 casts of +the checkpoint weights, and a count of entries whose old and new values differ +after the f32 cast. It shares no code with wpatch or wpcheck, and nothing in the +product or the build calls it. Any malformed request makes it exit nonzero, which +wpcheck reports as FAIL. + +Evidence: `evidence/OMEGALLM/wsp-patch-20261107/pure-omega/`. Host CPU execution is +not GPU qualification, a model-quality result, a merge, or a deployment. diff --git a/tools/omegallm/wpatch/build.sh b/tools/omegallm/wpatch/build.sh deleted file mode 100755 index 2bdf71a..0000000 --- a/tools/omegallm/wpatch/build.sh +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/sh -# CPU only. Product implementation is Omega; sh/sed/git are build composition tools. -# Composition: om2, SHA layout, ollm (main -> wpollm), SHA functions, wpatch. -# Layouts must precede the first fn (error 29 otherwise). SHA functions still append -# after ollm. SHA export fn becomes fn; om2 is emitted once. Rename only non-note -# tokens: kinit->wskinit, iv->wsiv, sched->wssched, rounds->wsround, -# compress->wscomp, run->wsrun, blocks->wsblks, finish->wsfin, -# tobuf->wstobuf, absorb->wsabsb. Full mechanical diff is saved in OUT/sha256.diff. -set -eu -here=$(CDPATH= cd -- "$(dirname "$0")/../../.." && pwd) -: "${OUT:?set OUT to a private build directory}" -OMC=${OMC:-$here/../omega-mv/seed/out/omc} -OMEGA_MV=${OMEGA_MV:-$here/../omega-mv} -CORE=${CORE:-0} -export OUT OMC CORE -pin=e5b32567a7aff3ce594e3254a622a846a6cd190b -sha=dbf002dd6aa36585632b9d01d98ac3f0bd2fa0f0475082940de53638847994bb -TARGET=aarch64 sh "$here/tests/omegallm/build.sh" -git -C "$OMEGA_MV" show "$pin:om/sha256/sha256-om2.om" > "$OUT/sha256-source.om" -test "$(sha256sum "$OUT/sha256-source.om" | cut -d' ' -f1)" = "$sha" -test "$(grep -c '^fn main to int$' "$OUT/ollm.om")" = 1 -sed -n '/^layout shactx 104$/,/^end$/p' "$OUT/sha256-source.om" > "$OUT/sha256-layout.om" -sed -e '/^om2$/d' -e '/^layout shactx 104$/,/^end$/d' \ - -e 's/^export fn /fn /' \ - -e '/^note/!{s/\bkinit\b/wskinit/g;s/\biv\b/wsiv/g;s/\bsched\b/wssched/g;s/\brounds\b/wsround/g;s/\bcompress\b/wscomp/g;s/\brun\b/wsrun/g;s/\bblocks\b/wsblks/g;s/\bfinish\b/wsfin/g;s/\btobuf\b/wstobuf/g;s/\babsorb\b/wsabsb/g;}' \ - "$OUT/sha256-source.om" > "$OUT/sha256-functions.om" -{ printf 'om2\n'; cat "$OUT/sha256-layout.om" "$OUT/sha256-functions.om"; } > "$OUT/sha256-vendored.om" -diff -u "$OUT/sha256-source.om" "$OUT/sha256-vendored.om" > "$OUT/sha256.diff" || test "$?" = 1 -{ - printf 'om2\n' - cat "$OUT/sha256-layout.om" - sed -e '/^om2$/d' -e 's/^fn main to int$/fn wpollm to int/' "$OUT/ollm.om" - cat "$OUT/sha256-functions.om" "$here/tools/omegallm/wpatch/wpatch.om" -} > "$OUT/wpatch-all.om" -if taskset -c "$CORE" nice -n 19 "$OMC" < "$OUT/wpatch-all.om" > "$OUT/wpatch.new"; then - chmod +x "$OUT/wpatch.new" - mv "$OUT/wpatch.new" "$OUT/wpatch" -else - rc=$? - rm -f "$OUT/wpatch.new" - exit "$rc" -fi -sha256sum "$OMC" "$OUT/sha256-source.om" "$OUT/wpatch-all.om" "$OUT/wpatch" diff --git a/tools/omegallm/wpatch/check.py b/tools/omegallm/wpatch/check.py deleted file mode 100755 index b4a6871..0000000 --- a/tools/omegallm/wpatch/check.py +++ /dev/null @@ -1,498 +0,0 @@ -#!/usr/bin/env python3 -"""Independent external instrument, never imported or invoked by wpatch. - -Usage: check.py --build DIR --work DIR [--real ROUND40_CK] -Every command, return code, stdout and elapsed time is printed as JSONL. -Run in a private, previously absent --work directory. Heavy work needs the lane's -CPU lock and taskset wrapper. All fixtures are derived from own-model checkpoints. -""" -import argparse -import hashlib -import json -import math -import mmap -from pathlib import Path -import shutil -import struct -import subprocess -import time - -U = struct.Struct(' 0 and 'nonfinite=3' in wte, - 'scaled RMS survives maximum finite f64, counts nonfinite separately') - need(basep.read_bytes() == base, 'final base identity') - - -def real(build, work, source): - wp = build/'wpatch' - need(file_sha(source).hex() == BASE_SHA, 'real base pinned SHA') - edited = work/'round40-edited.ck' - shutil.copyfile(source, edited) - requested = {} - with edited.open('r+b') as f: - with mmap.mmap(f.fileno(),0) as mm: - hd = struct.unpack_from('<15Q',mm) - ts = tensors(hd) - off = next(t[4] for t in ts if t[:2] == (9,3)) - need(off == 8162304, 'Wolfram layer3 w2 offset') - for i in range(10): - o = 120+8*(off+i) - F.pack_into(mm,o,F.unpack_from(mm,o)[0]+0.001) - requested[off+i] = u(mm,o) - put(mm,112,fnv(memoryview(mm)[120:])) - mm.flush() - expected = work/'round40-expected.ck' - requested_output(source,expected,requested,2) - pf,rf = work/'params.txt',work/'rationale.txt' - pf.write_text('{"kind":"w2","layer":3,"entries":10,"delta":0.001}\n') - rf.write_text('Read-only round40 baseline. Checked patch integration fixture, not a quality claim.\n') - od = work/'patches' - od.mkdir() - patch = Path(run(wp,'diff',source,edited,2,pf,rf,od).strip()) - mb, rows, entries, *_ = manifest(patch) - need(len(entries) == 10 and all(e[0] == off+i for i,e in enumerate(entries)), 'real ten entry identity') - run(wp,'validate',patch,source) - out,rev = work/'round40-applied.ck',work/'round40-reverted.ck' - run(wp,'apply',patch,source,out) - need(compare_requested(expected,out), 'real apply equals independently requested bytes') - run(wp,'verify',patch,out) - run(wp,'revert',patch,out,rev) - text = run('sha256sum',source,rev,out) - need(file_sha(rev).hex() == BASE_SHA, 'real byte-identical revert SHA') - need(file_sha(source).hex() == BASE_SHA, 'real base unchanged') - expected_sha = file_sha(expected) - need(file_sha(out) == expected_sha, 'real output SHA matches independent expected bytes') - need(mb[128:160] == expected_sha, 'real manifest output SHA matches independent expected bytes') - with expected.open('rb') as f: - with mmap.mmap(f.fileno(),0,access=mmap.ACCESS_READ) as mm: - expected_f32 = f32hash(mm) - with out.open('rb') as f: - with mmap.mmap(f.fileno(),0,access=mmap.ACCESS_READ) as mm: - need(f32hash(mm) == expected_f32, 'real f32 SHA matches independent expected bytes') - need(mb[160:192] == expected_f32, 'real manifest f32 SHA matches independent expected bytes') - record(real_patch=str(patch), real_hashes=text) - - -def main(): - p = argparse.ArgumentParser(description=__doc__) - p.add_argument('--build',type=Path,required=True) - p.add_argument('--work',type=Path,required=True) - p.add_argument('--real',type=Path) - a = p.parse_args() - a.build = a.build.resolve() - a.work = a.work.resolve() - a.work.mkdir(parents=True,exist_ok=False) - record(instrument='external Python stdlib only', wpatch_sha256=file_sha(a.build/'wpatch').hex()) - if a.real: - real(a.build,a.work,a.real.resolve()) - else: - small(a.build,a.work) - record(status='PASS', checks=passed, commands=commands, failures=0) - - -if __name__ == '__main__': - main() diff --git a/tools/omegallm/wpatch/wpbuild.om b/tools/omegallm/wpatch/wpbuild.om new file mode 100644 index 0000000..0b0088f --- /dev/null +++ b/tools/omegallm/wpatch/wpbuild.om @@ -0,0 +1,731 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note wpbuild: the Omega build driver for wpatch and its test driver wpcheck. CPU only. +note Usage: wpbuild REPO OUT OMC OMEGA_MV CORE (all five required; CORE is a taskset core number). +note Steps, in order (any failure prints one WPBUILD FAIL line and exits nonzero): +note 1. ollm: runs the repository's tests/omegallm/build.sh (TARGET=aarch64) through /usr/bin/env, which +note checks the omc pin and writes OUT/ollm.om and OUT/ollm. execprog passes an empty environment, so +note PATH, TARGET, OUT, OMC and CORE are given to env explicitly. +note 2. SHA-256: git show of om/sha256/sha256-om2.om at omega-mv pin e5b32567 into OUT/sha256-source.om; +note its sha256 (read from sha256sum) must equal SHASRC. +note 3. Vendoring, done here in Omega: the layout block (from the line `layout shactx 104` through the +note next line `end`) goes to OUT/sha256-layout.om. Every other line except `om2` goes to +note OUT/sha256-functions.om, with a leading `export fn ` made `fn `, and on lines that do not start +note with `note` each whole word ([A-Za-z0-9_] run) in OLDW renamed to the word at the same position +note in NEWW. OUT/sha256-vendored.om is `om2`, layout, functions; OUT/sha256.diff is diff -u of the +note source against it (a review record, not an input). +note 4. Composition: OUT/wpatch-all.om is `om2`, layout, OUT/ollm.om without its `om2` line and with +note `fn main to int` (exactly one such line) renamed `fn wpollm to int`, functions, wpatch.om. +note OUT/wpcheck-all.om is `om2`, layout, functions, wpcheck.om. +note 5. Each is compiled with taskset -c CORE nice -n 19 OMC into a .new file, made executable and +note renamed over OUT/wpatch and OUT/wpcheck. A compile error removes the .new file and exits with +note omc's status. Finally sha256sum prints OMC, the SHA source, both compositions and both binaries. +note This file replaces build.sh; its output bytes are the same (README, byte-identical gate). +note Exit codes: 2 usage, 3 SHA source digest mismatch, 4 main count, 5 I/O or capacity, 6 a tool +note failed (its status is printed), otherwise omc's own status. +om2 + +global sb uchar 65536 +global sl ulong 128 +global pb uchar 4096 +global pn ulong 1 +global av uchar 4096 +global ap ulong 2 +global stb uchar 4 +global inb uchar 8388608 +global bn ulong 1 +global ob uchar 8388608 +global obn ulong 1 +global lay uchar 4096 +global lan ulong 1 +global fns uchar 65536 +global fnn ulong 1 +global cap uchar 4096 +global capn ulong 1 +global dig uchar 32 +text PIN "e5b32567a7aff3ce594e3254a622a846a6cd190b:om/sha256/sha256-om2.om" +text SHASRC "dbf002dd6aa36585632b9d01d98ac3f0bd2fa0f0475082940de53638847994bb" +text OLDW "kinit iv sched rounds compress run blocks finish tobuf absorb " +text NEWW "wskinit wsiv wssched wsround wscomp wsrun wsblks wsfin wstobuf wsabsb " +text ENV "/usr/bin/env" +text EPATH "PATH=/usr/bin:/bin" +text ETGT "TARGET=aarch64" +text EOUT "OUT=" +text EOMC "OMC=" +text ECORE "CORE=" +text SH "/bin/sh" +text OBUILD "/tests/omegallm/build.sh" +text GIT "/usr/bin/git" +text GC "-C" +text GSHOW "show" +text SUM "/usr/bin/sha256sum" +text DIFF "/usr/bin/diff" +text DU "-u" +text TSET "/usr/bin/taskset" +text TC "-c" +text NICE "/usr/bin/nice" +text NN "-n" +text N19 "19" +text OM2 "om2" +text LSTART "layout shactx 104" +text LEND "end" +text EXPFN "export fn " +text NOTE "note" +text MAINL "fn main to int" +text WPOLLM "fn wpollm to int\n" +text OM2NL "om2\n" +text FSRC "/sha256-source.om" +text FLAY "/sha256-layout.om" +text FFNS "/sha256-functions.om" +text FVEN "/sha256-vendored.om" +text FDIF "/sha256.diff" +text FOLLM "/ollm.om" +text FWPS "/tools/omegallm/wpatch/wpatch.om" +text FCKS "/tools/omegallm/wpatch/wpcheck.om" +text FWALL "/wpatch-all.om" +text FCALL "/wpcheck-all.om" +text FWNEW "/wpatch.new" +text FCNEW "/wpcheck.new" +text FWP "/wpatch" +text FCK "/wpcheck" +text MUSAGE "WPBUILD FAIL usage: wpbuild REPO OUT OMC OMEGA_MV CORE\n" +text MIO "WPBUILD FAIL I/O or capacity: " +text MTOOL "WPBUILD FAIL tool exit " +text MSHA "WPBUILD FAIL SHA-256 source digest differs from the pin\n" +text MMAIN "WPBUILD FAIL ollm.om must hold exactly one line `fn main to int`, found " +text MOMC "WPBUILD FAIL omc exit " +text MOK "WPBUILD PASS\n" +text NL "\n" + +note ---- output, slots and argument packets -------------------------------------------------- +fn say s view uchar * to void +r = write 1 s 0 len s +end +fn saynum v ulong to void +x = v +n = ulong 0 +while ge x 10 +put dig n uchar add 48 rem x 10 +x = div x 10 +n = add n 1 +end +put dig n uchar add 48 x +for i ulong add n 1 +r = write 1 dig sub n i 1 +end +end +fn saypb to void +r = write 1 pb 0 get pn 0 +end +fn die c ulong m view uchar * to void +say m +exit int c +end +fn dieio to void +say MIO +saypb +say NL +exit 5 +end +fn pclear to void +put pn 0 0 +end +fn pbyte b uchar to void +n = get pn 0 +if ge n 4095 +dieio +end +put pb n b +put pn 0 add n 1 +end +fn ptext s view uchar * to void +for i ulong len s +pbyte get s i +end +end +note Slot k is 512 bytes of sb at k * 512, its length in sl. +fn pslot k ulong to void +o = mul k 512 +for i ulong get sl k +pbyte get sb add o i +end +end +fn keepat k ulong to void +n = get pn 0 +if gt n 512 +dieio +end +o = mul k 512 +for i ulong n +put sb add o i get pb i +end +put sl k n +end +fn argslot i ulong k ulong to void +r = argread i pb 0 512 +if le r 0 +die 2 MUSAGE +end +put pn 0 ulong r +keepat k +end +note slot k = slot base followed by text s +fn under k ulong base ulong s view uchar * to void +pclear +pslot base +ptext s +keepat k +end +fn aclear to void +put ap 0 2 +put ap 1 0 +end +fn apb to void +p = get ap 0 +n = get pn 0 +if or gt add add p n 2 len av ge get ap 1 64 +dieio +end +put av p uchar and n 255 +put av add p 1 uchar shr n 8 +for i ulong n +put av add add p 2 i get pb i +end +put ap 0 add add p 2 n +put ap 1 add get ap 1 1 +end +fn atext s view uchar * to void +pclear +ptext s +apb +end +fn aslot k ulong to void +pclear +pslot k +apb +end +note text s followed by slot k, one argument +fn atslot s view uchar * k ulong to void +pclear +ptext s +pslot k +apb +end +fn popen k ulong fl int to int +pclear +pslot k +r = fopen pb 0 get pn 0 fl 420 +if lt r 0 +dieio +end +ret int r +end +fn redir s int d int to void +if ne s d +if ne dupfd s d 0 long d +exit 127 +end +end +end +note Run the packet in av with stdin fi and stdout fo (-1 inherits); return the exit status, or +note 256 + the signal number when the child was killed. +fn spawn fi int fo int to ulong +put av 0 uchar and get ap 1 255 +put av 1 uchar shr get ap 1 8 +pid = fork +if lt pid 0 +dieio +end +if eq pid 0 +if ge fi 0 +redir fi 0 +end +if ge fo 0 +redir fo 1 +end +r = execprog av 0 get ap 0 +exit 127 +end +if ge fi 0 +r = fclose fi +end +if ge fo 0 +r = fclose fo +end +w = waitpid int pid stb 0 4 0 +if ne w long pid +dieio +end +if ne get stb 0 0 +ret add 256 ulong and get stb 0 127 +end +ret ulong get stb 1 +end +fn tool fi int fo int to void +x = spawn fi fo +if ne x 0 +say MTOOL +saynum x +say NL +exit 6 +end +end +fn waitok pid long to void +w = waitpid int pid stb 0 4 0 +bad = or ne get stb 0 0 ne get stb 1 0 +if or ne w pid bad +say MTOOL +saynum ulong get stb 1 +say NL +exit 6 +end +end +note Run the packet with stdout read back through a pipe into cap (at most 4096 bytes). +fn capture to void +put av 0 uchar and get ap 1 255 +put av 1 uchar shr get ap 1 8 +pf = new uchar 8 0 +if ne pipefds pf 0 8 0 0 +dieio +end +rd = int or ulong get pf 0 shl ulong get pf 1 8 +wr = int or ulong get pf 4 shl ulong get pf 5 8 +pid = fork +if lt pid 0 +dieio +end +if eq pid 0 +r = fclose rd +redir wr 1 +r = execprog av 0 get ap 0 +exit 127 +end +r = fclose wr +n = ulong 0 +k = long 1 +while gt k 0 +k = read rd cap n sub len cap n +if gt k 0 +n = add n ulong k +end +end +r = fclose rd +put capn 0 n +waitok pid +end + +note ---- whole files --------------------------------------------------------------------------- +fn slurp k ulong to void +fd = popen k 0 +n = ulong 0 +k2 = long 1 +while gt k2 0 +if eq n len inb +dieio +end +k2 = read fd inb n sub len inb n +if lt k2 0 +dieio +end +n = add n ulong k2 +end +r = fclose fd +put bn 0 n +end +fn obyte b uchar to void +n = get obn 0 +if ge n len ob +dieio +end +put ob n b +put obn 0 add n 1 +end +fn otext s view uchar * to void +for i ulong len s +obyte get s i +end +end +fn obig o ulong n ulong to void +for i ulong n +obyte get inb add o i +end +end +fn olay to void +for i ulong get lan 0 +obyte get lay i +end +end +fn ofns to void +for i ulong get fnn 0 +obyte get fns i +end +end +note Write ob to slot k, created or truncated. +fn spill k ulong to void +fd = popen k 577 +n = get obn 0 +p = ulong 0 +while lt p n +r = write fd ob p sub n p +if le r 0 +dieio +end +p = add p ulong r +end +if ne fclose fd 0 +dieio +end +put obn 0 0 +end + +note ---- line tests on inb ----------------------------------------------------------------------- +note end of the line starting at o (index of its LF, or bn) +fn eol o ulong to ulong +n = get bn 0 +e = o +while lt e n +if eq get inb e 10 +ret e +end +e = add e 1 +end +ret n +end +fn lineis o ulong e ulong s view uchar * to bool +if ne sub e o len s +ret false +end +for i ulong len s +if ne get inb add o i get s i +ret false +end +end +ret true +end +fn starts o ulong e ulong s view uchar * to bool +if lt sub e o len s +ret false +end +for i ulong len s +if ne get inb add o i get s i +ret false +end +end +ret true +end +fn wordch c ulong to bool +a = and ge c 48 le c 57 +b = and ge c 65 le c 90 +d = and ge c 97 le c 122 +ret or or a b or d eq c 95 +end +note position (0..9) of inb[o..e) among the words of OLDW, or 10 +fn oldword o ulong e ulong to ulong +w = ulong 0 +s = ulong 0 +for i ulong len OLDW +if eq get OLDW i 32 +if eq sub i s sub e o +same = true +for j ulong sub i s +if ne get OLDW add s j get inb add o j +same = false +end +end +if same +ret w +end +end +w = add w 1 +s = add i 1 +end +end +ret 10 +end +fn fbyte b uchar to void +n = get fnn 0 +if ge n len fns +dieio +end +put fns n b +put fnn 0 add n 1 +end +fn newword w ulong to void +k = ulong 0 +for i ulong len NEWW +c = get NEWW i +if eq c 32 +k = add k 1 +else +if eq k w +fbyte c +end +end +end +end +note one functions line inb[o..e) plus its LF (when e < bn) +fn fnline o ulong e ulong to void +p = o +if starts o e EXPFN +p = add o 7 +end +if starts o e NOTE +for i ulong sub e p +fbyte get inb add p i +end +else +while lt p e +if wordch ulong get inb p +q = p +while and lt q e wordch ulong get inb q +q = add q 1 +end +w = oldword p q +if lt w 10 +newword w +else +for i ulong sub q p +fbyte get inb add p i +end +end +p = q +else +fbyte get inb p +p = add p 1 +end +end +end +if lt e get bn 0 +fbyte 10 +end +end +fn lbyte b uchar to void +n = get lan 0 +if ge n len lay +dieio +end +put lay n b +put lan 0 add n 1 +end +note Split the SHA source in inb into lay and fns (step 3). +fn split to void +n = get bn 0 +put lan 0 0 +put fnn 0 0 +o = ulong 0 +inl = false +while lt o n +e = eol o +if inl +for i ulong sub e o +lbyte get inb add o i +end +lbyte 10 +if lineis o e LEND +inl = false +end +else +if lineis o e LSTART +inl = true +for i ulong sub e o +lbyte get inb add o i +end +lbyte 10 +else +if not lineis o e OM2 +fnline o e +end +end +end +o = add e 1 +end +end +note Append ollm.om (in inb) to ob without `om2` and with main renamed; return the main count. +fn oollm to ulong +n = get bn 0 +c = ulong 0 +o = ulong 0 +while lt o n +e = eol o +if lineis o e MAINL +otext WPOLLM +c = add c 1 +else +if not lineis o e OM2 +obig o sub e o +if lt e n +obyte 10 +end +end +end +o = add e 1 +end +ret c +end + +note ---- steps ----------------------------------------------------------------------------------- +note slots: 0 REPO, 1 OUT, 2 OMC, 3 OMEGA_MV, 4 CORE, 5 scratch, 6 source, 7 vendored, 8 all, 9 new +fn stepollm to void +aclear +atext ENV +atext EPATH +atext ETGT +atslot EOUT 1 +atslot EOMC 2 +atslot ECORE 4 +atext SH +under 5 0 OBUILD +aslot 5 +tool -1 -1 +end +fn stepsrc to void +under 6 1 FSRC +aclear +atext GIT +atext GC +aslot 3 +atext GSHOW +atext PIN +tool -1 popen 6 577 +aclear +atext SUM +aslot 6 +capture +if lt get capn 0 64 +die 3 MSHA +end +for i ulong 64 +if ne get cap i get SHASRC i +die 3 MSHA +end +end +end +fn stepvend to void +slurp 6 +split +under 5 1 FLAY +olay +spill 5 +under 5 1 FFNS +ofns +spill 5 +under 7 1 FVEN +otext OM2NL +olay +ofns +spill 7 +under 5 1 FDIF +aclear +atext DIFF +atext DU +aslot 6 +aslot 7 +x = spawn -1 popen 5 577 +if ne x 1 +say MTOOL +saynum x +say NL +exit 6 +end +end +fn compose to void +under 5 1 FOLLM +slurp 5 +otext OM2NL +olay +c = oollm +if ne c 1 +say MMAIN +saynum c +say NL +exit 4 +end +ofns +under 5 0 FWPS +slurp 5 +obig 0 get bn 0 +under 8 1 FWALL +spill 8 +end +fn composeck to void +otext OM2NL +olay +ofns +under 5 0 FCKS +slurp 5 +obig 0 get bn 0 +under 8 1 FCALL +spill 8 +end +note Compile slot 8 into slot 9 (the .new file), then rename it to dst (a text under OUT). +fn compile dst view uchar * to void +aclear +atext TSET +atext TC +aslot 4 +atext NICE +atext NN +atext N19 +aslot 2 +x = spawn popen 8 0 popen 9 577 +if ne x 0 +pclear +pslot 9 +r = unlink pb 0 get pn 0 +say MOMC +saynum x +say NL +exit int x +end +pclear +pslot 9 +if ne chmod pb 0 get pn 0 493 0 +dieio +end +under 5 1 dst +aclear +aslot 9 +aslot 5 +put av 0 2 +put av 1 0 +if ne renames av 0 get ap 0 0 0 +dieio +end +end +fn main to int +if ne argcnt 6 +die 2 MUSAGE +end +for i ulong 5 +argslot add i 1 i +end +pclear +pslot 1 +r = makedir pb 0 get pn 0 493 +if and lt r 0 ne r -17 +dieio +end +stepollm +stepsrc +stepvend +compose +under 9 1 FWNEW +compile FWP +composeck +under 9 1 FCNEW +compile FCK +aclear +atext SUM +aslot 2 +aslot 6 +under 5 1 FWALL +aslot 5 +under 5 1 FWP +aslot 5 +under 5 1 FCALL +aslot 5 +under 5 1 FCK +aslot 5 +tool -1 -1 +say MOK +ret 0 +end diff --git a/tools/omegallm/wpatch/wpcheck.om b/tools/omegallm/wpatch/wpcheck.om new file mode 100644 index 0000000..41312c1 --- /dev/null +++ b/tools/omegallm/wpatch/wpcheck.om @@ -0,0 +1,2144 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note wpcheck: the Omega test driver for wpatch (replaces check.py). CPU only. Built by wpbuild as +note wpcheck-all.om = om2, the vendored SHA-256 layout and functions, this file. +note Usage: wpcheck small BUILD WORK ORACLE own-model fixtures made here with BUILD/ollm +note wpcheck real BUILD WORK ORACLE CK the read-only round40 checkpoint CK +note BUILD holds wpatch and ollm. WORK must not exist; it is created 0700 and holds every fixture. +note ORACLE is wporacle.py, run as /usr/bin/python3 ORACLE REQUEST. It only computes hashlib +note SHA-256 and IEEE f32 cast digests of files named in REQUEST; every comparison, exit code, fixture, +note refusal and the PASS/FAIL verdict is decided here. Fixture rehashes (FNV, manifest and binding +note digests) use the vendored Omega SHA-256, not the oracle. +note Output is plain text: RUN argv, the child's stdout as `| ` lines (its stderr passes through), +note EXIT got want elapsed_ns, then PASS or FAIL lines. The last line is +note `WPCHECK PASS checks=N commands=M` (exit 0) or `WPCHECK FAIL ...` (exit 1); 2 is usage. + +global sb uchar 131072 +global sl ulong 256 +global pb uchar 4096 +global pn ulong 1 +global av uchar 8192 +global ap ulong 2 +global stb uchar 4 +global ob uchar 4194304 +global obn ulong 1 +global oo uchar 65536 +global ol ulong 1024 +global oln ulong 1 +global rq uchar 65536 +global rqn ulong 2 +global dig uchar 32 +global dg uchar 32 +global cnt ulong 4 +global tt ulong 1536 +global tn ulong 2 +global rix ulong 64 +global rbt ulong 64 +global rcn ulong 1 +global hh ulong 8 +global mf ulong 16 +global ca uchar 65536 +global cb uchar 65536 +const SWP ulong 0 +const SOLLM ulong 1 +const SWORK ulong 2 +const SORC ulong 3 +const SBASE ulong 4 +const SEDIT ulong 5 +const SPF ulong 6 +const SRF ulong 7 +const STRAIN ulong 8 +const SP0 ulong 9 +const SREQ ulong 12 +const SMEX ulong 13 +const SOUT ulong 14 +const SREV ulong 15 +const SBIND ulong 16 +const SRT ulong 17 +const SBADB ulong 18 +const SOD ulong 19 +const SX0 ulong 20 +const SX1 ulong 21 +const SX2 ulong 22 +const SX3 ulong 23 +const SX4 ulong 24 +const SX5 ulong 25 +const SSNAP ulong 30 +const SBUILD ulong 31 +const SRQ ulong 32 +const SMODE ulong 33 +const ALL ulong 18446744073709551615 +const DLT f64 0.001 +const QTR f64 0.25 +const BIGM f64 1000001.0 +const OVER ulong 16777217 +const BASEOFF ulong 8162304 +text PY "/usr/bin/python3" +text SUMT "/usr/bin/sha256sum" +text BSHA "7c7b5b5260f2d9453b6076b64e7f23e88341d96498584f2dfaa229c31ad2e346" +text HEXD "0123456789abcdef" +text CK02 "OLLMCK02" +text WP01 "OLLMWP01" +text WB01 "OLLMWB01" +text PARS "{\"delta\":0.001,\"name\":\"Ω patch\"}\n" +text RATS "Own-model fixture. Preserve exact rollback.\n" +text PARR "{\"kind\":\"w2\",\"layer\":3,\"entries\":10,\"delta\":0.001}\n" +text RATR "Read-only round40 baseline. Checked patch integration fixture, not a quality claim.\n" +text SHOWA "{\"patch_sha256\":\"" +text SHOWZ "\"params\":\"{\\\"delta\\\":0.001,\\\"name\\\":\\\"Ω patch\\\"}\\u000a\",\"rationale\":\"Own-model fixture. Preserve exact rollback.\\u000a\"}\n" +text TRAINW "abc abcd abcde" +text INITA "256 8 16 2 32 2 2 1 10 3000 1" +text MUTN "wrong-base-sha geometry shape oob nan inf magnitude unsorted duplicate old-bits old-moment entries-hash tensor-count tensor-base-sha tensor-out-sha output-sha output-f32-sha " +text CINSP "inspect" +text CDIFF "diff" +text CSHOW "show" +text CVAL "validate" +text CAPP "apply" +text CVER "verify" +text CREV "revert" +text CBIND "bind" +text CCB "checkbind" +text CINIT "init" +text CTRAIN "train" +text WTE "wte" +text SLICEA "0 0 1 0 2" +text OOBA "0 0 99999 0 1" +text MSMALL "small" +text MREAL "real" +text FTRAIN "train.bin" +text FBASE "base.ck" +text FSNAP "base-snapshot.ck" +text FEDIT "edited.ck" +text FPF "params.txt" +text FRF "rationale.txt" +text FPAT "patches-" +text FPATS "patches" +text FEXP "expected-" +text FMEX "manifest-expected-" +text FAPP "applied-" +text FREV "reverted-" +text FBND "binding-" +text FRT "runtime-" +text FBADB "wrong-f32-binding-" +text FCK ".ck" +text FWP ".wp" +text FREQ ".req" +text FORQ "oracle-" +text FMUTE "oracle-mutant-edited.ck" +text FMUTD "oracle-mutant-patches" +text FMUTO "oracle-mutant.ck" +text FMUTR "oracle-mutant-requested.ck" +text FOVP "oversized-params" +text FOVR "oversized-rationale" +text FUTF "invalid-utf8.wp" +text FFLIP "flipped" +text FBAPP "bad-apply.ck" +text FBREV "bad-revert.ck" +text FBBND "bad-bind" +text FTRUNC "truncated.wp" +text FWRM "wrong-m.ck" +text FEXO "exotic.ck" +text FEXE "exotic-edited.ck" +text FEXD "exotic-patches" +text FR40E "round40-edited.ck" +text FR40X "round40-expected.ck" +text FR40A "round40-applied.ck" +text FR40R "round40-reverted.ck" +text SLWP "/wpatch" +text SLOLLM "/ollm" +text QSHA "sha " +text QF32 "f32 " +text QNE "f32ne " +text SURV "f32_surviving=" +text CHGD " changed=" +text RMSK "rms=" +text NONF3 "nonfinite=3" +text WTEL "wte " +text PASST "PASS " +text FAILT "FAIL " +text RUNT "RUN" +text BART "| " +text EXITT "EXIT got=" +text WANTT " want=" +text ELAPT " elapsed_ns=" +text HEADT "WPCHECK " +text WPSHT " wpatch_sha256=" +text WPPT "WPCHECK PASS checks=" +text WPFT "WPCHECK FAIL checks=" +text CMDT " commands=" +text USAGE "usage: wpcheck small BUILD WORK ORACLE | wpcheck real BUILD WORK ORACLE CK\n" +text SP " " +text NL "\n" +text LIO ": I/O failure" +text LCAP "driver capacity" +text LCHILD "could not start a child process" +text LEXIT "exit" +text LORL "oracle answered every request" +text LMAG "oracle CK02 magic" +text LCKL "oracle checkpoint length" +text LFNV "oracle checkpoint FNV" +text LGEOP "oracle checkpoint geometry P" +text LWMAG "oracle manifest magic" +text LNAME "oracle canonical manifest name" +text LMLEN "oracle manifest length" +text LPOL "oracle policy" +text LEID "oracle edit identity" +text LMETA "oracle metadata lengths" +text LPROV "oracle UTF8 provenance" +text LORD "oracle strict order" +text LBND "oracle indices in bounds" +text LHDR "oracle preserved base header" +text LMGEO "oracle manifest geometry" +text LMP "oracle manifest P" +text LBSHA "oracle base SHA" +text LEBIT "oracle entry bits" +text LEFIN "oracle entry changed finite" +text LEMAG "oracle entry magnitude" +text LEMOM "oracle saved moments" +text LOSHA "oracle expected output SHA" +text LOF32 "oracle expected f32 SHA" +text LTALL "oracle all tensors present" +text LTGEO "oracle tensor record geometry" +text LTCNT "oracle tensor changed count" +text LTBS "oracle tensor base SHA" +text LTOS "oracle tensor output SHA" +text LAGREE "manifest oracle agrees with independent request" +text LSHOW "show UTF8 provenance" +text LAPPX "apply exact oracle bytes" +text LAPPR "apply equals independent requested bytes" +text LSURV "verify f32 survival count" +text LREVB "revert byte-identical base" +text LBFMT "oracle binding format" +text LBCK "oracle binding CK and f32" +text LBRT "oracle binding runtime and patch" +text LBSELF "oracle binding self digest" +text LOUTP "OUT exists preserved" +text LSLICE "inspect exact slice bits" +text LBASEW "BASE never written" +text LMUTP "mutant patch policy" +text LMUTS "mutant apply equals its own independent request" +text LMUTR "independent oracle rejects rehashed finite-value mutant accepted by verify" +text LOVER "oversized metadata creates no output" +text LREF ": refusal creates no output" +text LEXO "f32 cast boundary vectors" +text LRMS "scaled RMS survives maximum finite f64, counts nonfinite separately" +text LFBASE "final base identity" +text LRPIN "real base pinned SHA" +text LROFF "Wolfram layer3 w2 offset" +text LRTEN "real ten entry identity" +text LRAPP "real apply equals independently requested bytes" +text LRREV "real byte-identical revert SHA" +text LRBASE "real base unchanged" +text LROUT "real output SHA matches independent expected bytes" +text LRMOUT "real manifest output SHA matches independent expected bytes" +text LRF32 "real f32 SHA matches independent expected bytes" +text LRMF32 "real manifest f32 SHA matches independent expected bytes" + +note ---- output and verdicts ---------------------------------------------------------------------- +fn say s view uchar * to void +r = write 1 s 0 len s +end +fn saynum v ulong to void +x = v +n = ulong 0 +while ge x 10 +put dig n uchar add 48 rem x 10 +x = div x 10 +n = add n 1 +end +put dig n uchar add 48 x +for i ulong add n 1 +r = write 1 dig sub n i 1 +end +end +fn saypb to void +r = write 1 pb 0 get pn 0 +end +fn tally to void +saynum get cnt 0 +say CMDT +saynum get cnt 1 +say NL +end +note FAIL with label pb + m (pb may be empty), then the summary; exit 1. +fn failpm m view uchar * to void +say FAILT +saypb +say m +say NL +say WPFT +tally +exit 1 +end +fn pclear to void +put pn 0 0 +end +fn fail m view uchar * to void +pclear +failpm m +end +fn need c bool m view uchar * to void +if not c +fail m +end +put cnt 0 add get cnt 0 1 +say PASST +say m +say NL +end +note need with label pb + m +fn needpm c bool m view uchar * to void +if not c +failpm m +end +put cnt 0 add get cnt 0 1 +say PASST +saypb +say m +say NL +end + +note ---- path builder, slots, argument packets --------------------------------------------------- +fn pbyte b uchar to void +n = get pn 0 +if ge n 4095 +fail LCAP +end +put pb n b +put pn 0 add n 1 +end +fn ptext s view uchar * to void +for i ulong len s +pbyte get s i +end +end +fn pnum v ulong to void +x = v +n = ulong 0 +while ge x 10 +put dig n uchar add 48 rem x 10 +x = div x 10 +n = add n 1 +end +put dig n uchar add 48 x +for i ulong add n 1 +pbyte get dig sub n i +end +end +fn phex v ulong to void +for i ulong 16 +pbyte get HEXD and shr v mul sub 15 i 4 15 +end +end +note append word k (0-based, space separated) of s +fn pword s view uchar * k ulong to void +w = ulong 0 +for i ulong len s +c = get s i +if eq c 32 +w = add w 1 +else +if eq w k +pbyte c +end +end +end +end +note Slot k is 512 bytes of sb at k * 512, its length in sl. +fn pslot k ulong to void +o = mul k 512 +for i ulong get sl k +pbyte get sb add o i +end +end +fn keepat k ulong to void +n = get pn 0 +if gt n 512 +fail LCAP +end +o = mul k 512 +for i ulong n +put sb add o i get pb i +end +put sl k n +end +fn under k ulong base ulong s view uchar * to void +pclear +pslot base +ptext s +keepat k +end +note slot k = WORK/s +fn wname k ulong s view uchar * to void +pclear +pslot SWORK +pbyte 47 +ptext s +keepat k +end +note slot k = WORK/a N +fn wnamep k ulong a view uchar * v ulong to void +pclear +pslot SWORK +pbyte 47 +ptext a +pnum v +keepat k +end +note slot k = WORK/a N b +fn wnamen k ulong a view uchar * v ulong b view uchar * to void +pclear +pslot SWORK +pbyte 47 +ptext a +pnum v +ptext b +keepat k +end +fn slotis k ulong s view uchar * to bool +if ne get sl k len s +ret false +end +o = mul k 512 +for i ulong len s +if ne get sb add o i get s i +ret false +end +end +ret true +end +fn argslot i ulong k ulong to void +r = argread i pb 0 512 +if le r 0 +say USAGE +exit 2 +end +put pn 0 ulong r +keepat k +end +fn aclear to void +put ap 0 2 +put ap 1 0 +end +fn apb to void +p = get ap 0 +n = get pn 0 +if or gt add add p n 2 len av ge get ap 1 64 +fail LCAP +end +put av p uchar and n 255 +put av add p 1 uchar shr n 8 +for i ulong n +put av add add p 2 i get pb i +end +put ap 0 add add p 2 n +put ap 1 add get ap 1 1 +end +fn atext s view uchar * to void +pclear +ptext s +apb +end +fn aslot k ulong to void +pclear +pslot k +apb +end +fn anum v ulong to void +pclear +pnum v +apb +end +note one argument per space-separated word of s +fn awords s view uchar * to void +pclear +for i ulong len s +if eq get s i 32 +apb +pclear +else +pbyte get s i +end +end +apb +end +note packet: wpatch CMD +fn acmd s view uchar * to void +aclear +aslot SWP +atext s +end + +note ---- child processes --------------------------------------------------------------------------- +fn showcmd to void +say RUNT +p = ulong 2 +for i ulong get ap 1 +n = or ulong get av p shl ulong get av add p 1 8 +say SP +r = write 1 av add p 2 n +p = add add p 2 n +end +say NL +end +fn redir s int d int to void +if ne s d +if ne dupfd s d 0 long d +exit 127 +end +end +end +fn drain rd int to void +n = ulong 0 +k = long 1 +while gt k 0 bound 999999 +if eq n len ob +fail LCAP +end +k = read rd ob n sub len ob n +if gt k 0 +n = add n ulong k +end +end +r = fclose rd +put obn 0 n +end +fn reap pid long to ulong +w = waitpid int pid stb 0 4 0 +if ne w pid +fail LCHILD +end +if ne get stb 0 0 +ret add 256 ulong and get stb 0 127 +end +ret ulong get stb 1 +end +fn echoob to void +n = get obn 0 +s = ulong 0 +for i ulong n +if eq get ob i 10 +say BART +r = write 1 ob s add sub i s 1 +s = add i 1 +end +end +if lt s n +say BART +r = write 1 ob s sub n s +say NL +end +end +note Run the packet in av: stdout is captured into ob, stderr passes through. Checks the exit. +fn go want ulong to void +put av 0 uchar and get ap 1 255 +put av 1 uchar shr get ap 1 8 +showcmd +pf = new uchar 8 0 +if ne pipefds pf 0 8 0 0 +fail LCHILD +end +rd = int or ulong get pf 0 shl ulong get pf 1 8 +wr = int or ulong get pf 4 shl ulong get pf 5 8 +t0 = monons +pid = fork +if lt pid 0 +fail LCHILD +end +if eq pid 0 +r = fclose rd +redir wr 1 +r = execprog av 0 get ap 0 +exit 127 +end +r = fclose wr +drain rd +x = reap pid +t = sub monons t0 +put cnt 1 add get cnt 1 1 +echoob +say EXITT +saynum x +say WANTT +saynum want +say ELAPT +saynum ulong t +say NL +need eq x want LEXIT +end +note Slot k = child stdout without trailing white space. +fn keepout k ulong to void +n = get obn 0 +going = true +while going +if eq n 0 +going = false +else +if le get ob sub n 1 32 +n = sub n 1 +else +going = false +end +end +end +pclear +for i ulong n +pbyte get ob i +end +keepat k +end +note true when the bytes now in pb occur in ob +fn obhaspb to bool +n = get obn 0 +m = get pn 0 +if gt m n +ret false +end +for i ulong add sub n m 1 +hit = true +for j ulong m +if ne get ob add i j get pb j +hit = false +end +end +if hit +ret true +end +end +ret false +end + +note ---- files and maps ----------------------------------------------------------------------------- +fn failio k ulong to void +pclear +pslot k +failpm LIO +end +fn fsize k ulong to ulong +pclear +pslot k +fd = int fopen pb 0 get pn 0 0 0 +if lt fd 0 +failio k +end +sz = fseek fd 0 2 +r = fclose fd +if lt sz 0 +failio k +end +ret ulong sz +end +fn mopen k ulong to long +pclear +pslot k +fd = int fopen pb 0 get pn 0 0 0 +if lt fd 0 +failio k +end +sz = fseek fd 0 2 +h = mapnew fd 0 ulong sz 1 2 +r = fclose fd +if lt h 0 +failio k +end +ret h +end +note Create slot k (must not exist) with n zero bytes; return a shared read/write map. +fn mcreate k ulong n ulong to long +pclear +pslot k +fd = int fopen pb 0 get pn 0 194 420 +if lt fd 0 +failio k +end +if ne ftrunc fd long n 0 +failio k +end +h = mapnew fd 0 n 3 1 +r = fclose fd +if lt h 0 +failio k +end +ret h +end +fn mdrop h long to void +r = mapdrop h +end +fn cpy src long so ulong dst long doff ulong n ulong to void +b = new uchar 65536 0 +p = ulong 0 +while lt p n bound 999999 +k = sub n p +if gt k 65536 +k = 65536 +end +r = mapread src add so p b 0 k +r = mapwrite dst add doff p b 0 k +p = add p k +end +end +fn mcopy src long n ulong k ulong to long +h = mcreate k n +cpy src 0 h 0 n +ret h +end +fn exists k ulong to bool +pclear +pslot k +ret eq faccess pb 0 get pn 0 0 0 +end +fn mkd k ulong to void +pclear +pslot k +if ne makedir pb 0 get pn 0 493 0 +failio k +end +end +fn wtext k ulong s view uchar * to void +pclear +pslot k +fd = int fopen pb 0 get pn 0 193 420 +if lt fd 0 +failio k +end +r = write fd s 0 len s +c = fclose fd +if or ne r long len s ne c 0 +failio k +end +end +fn g8 h long o ulong to ulong +ret mapget h o 8 +end +fn s8 h long o ulong v ulong to void +r = mapset h o 8 v +end +fn gb h long o ulong to ulong +b = new uchar 1 0 +r = mapread h o b 0 1 +ret ulong get b 0 +end +fn sbt h long o ulong v ulong to void +b = new uchar 1 0 +put b 0 uchar v +r = mapwrite h o b 0 1 +end +fn flip h long o ulong to void +sbt h o xor gb h o 1 +end +fn fnvh h long n ulong to ulong +b = new uchar 65536 0 +v = ulong 14695981039346656037 +p = ulong 120 +while lt p n bound 999999 +k = sub n p +if gt k 65536 +k = 65536 +end +r = mapread h p b 0 k +for i ulong k +v = mul xor v ulong get b i 1099511628211 +end +p = add p k +end +ret v +end +fn reseal h long n ulong to void +s8 h 112 fnvh h n +end +fn mreq h1 long o1 ulong h2 long n ulong to bool +p = ulong 0 +while lt p n bound 999999 +k = sub n p +if gt k 65536 +k = 65536 +end +r = mapread h1 add o1 p ca 0 k +r = mapread h2 p cb 0 k +for i ulong k +if ne get ca i get cb i +ret false +end +end +p = add p k +end +ret true +end +fn fsame k1 ulong k2 ulong to bool +n = fsize k1 +if ne n fsize k2 +ret false +end +if eq n 0 +ret true +end +h1 = mopen k1 +h2 = mopen k2 +same = mreq h1 0 h2 n +mdrop h1 +mdrop h2 +ret same +end +fn mtext h long o ulong s view uchar * to bool +b = new uchar 4096 0 +if gt len s 4096 +fail LCAP +end +r = mapread h o b 0 len s +if ne r long len s +ret false +end +for i ulong len s +if ne get b i get s i +ret false +end +end +ret true +end +note Omega SHA-256 of n bytes at o into dg. +fn shah h long o ulong n ulong to void +b = new uchar 65536 0 +c = new uchar 104 0 +d = new uchar 32 0 +sha256_init c +p = ulong 0 +while lt p n bound 999999 +k = sub n p +if gt k 65536 +k = 65536 +end +r = mapread h add o p b 0 k +sha256_update c part b 0 k +p = add p k +end +sha256_final c d +for i ulong 32 +put dg i get d i +end +end +fn hb to long +ret long get hh 0 +end +fn he to long +ret long get hh 1 +end +fn hm to long +ret long get hh 2 +end +fn mfg i ulong to ulong +ret get mf i +end + +note ---- oracle requests -------------------------------------------------------------------------- +fn rqb b uchar to void +n = get rqn 0 +if ge n len rq +fail LCAP +end +put rq n b +put rqn 0 add n 1 +end +fn rqt s view uchar * to void +for i ulong len s +rqb get s i +end +end +fn rqnum v ulong to void +pclear +pnum v +for i ulong get pn 0 +rqb get pb i +end +end +fn rqslot k ulong to void +o = mul k 512 +for i ulong get sl k +rqb get sb add o i +end +end +fn rqnl to void +rqb 10 +put rqn 1 add get rqn 1 1 +end +fn qsha k ulong o ulong n ulong to void +rqt QSHA +rqnum o +rqb 32 +if eq n ALL +rqb 45 +else +rqnum n +end +rqb 32 +rqslot k +rqnl +end +fn qf32 k ulong to void +rqt QF32 +rqslot k +rqnl +end +fn qne a ulong b ulong s ulong c ulong k ulong to void +rqt QNE +rqnum a +rqb 32 +rqnum b +rqb 32 +rqnum s +rqb 32 +rqnum c +rqb 32 +rqslot k +rqnl +end +note Run the oracle on the pending request; its answer lines go to oo, starts in ol. +fn orun to void +put cnt 2 add get cnt 2 1 +wnamen SRQ FORQ get cnt 2 FREQ +pclear +pslot SRQ +fd = int fopen pb 0 get pn 0 193 420 +if lt fd 0 +failio SRQ +end +r = write fd rq 0 get rqn 0 +c = fclose fd +if or ne r long get rqn 0 ne c 0 +failio SRQ +end +aclear +atext PY +aslot SORC +aslot SRQ +go 0 +n = get obn 0 +if gt n len oo +fail LCAP +end +k = ulong 0 +put ol 0 0 +for i ulong n +put oo i get ob i +if eq get ob i 10 +k = add k 1 +if ge k len ol +fail LCAP +end +put ol k add i 1 +end +end +put oln 0 k +need and eq k get rqn 1 eq get ol k n LORL +put rqn 0 0 +put rqn 1 0 +end +note line i holds exactly 64 lower-case hex digits equal to the 32 bytes b +fn hexis i ulong b view uchar 32 to bool +s = get ol i +if ne sub get ol add i 1 s 65 +ret false +end +for j ulong 32 +x = get b j +o = add s mul j 2 +if ne get oo o get HEXD shr x 4 +ret false +end +if ne get oo add o 1 get HEXD and x 15 +ret false +end +end +ret true +end +fn ohexm i ulong h long o ulong to bool +b = new uchar 32 0 +r = mapread h o b 0 32 +ret hexis i b +end +fn ohexd i ulong to bool +b = new uchar 32 0 +for j ulong 32 +put b j get dg j +end +ret hexis i b +end +fn ohext i ulong s view uchar * to bool +o = get ol i +if ne sub get ol add i 1 o add len s 1 +ret false +end +for j ulong len s +if ne get oo add o j get s j +ret false +end +end +ret true +end +fn oeq i ulong j ulong to bool +a = get ol i +b = get ol j +n = sub get ol add i 1 a +if ne n sub get ol add j 1 b +ret false +end +for k ulong n +if ne get oo add a k get oo add b k +ret false +end +end +ret true +end +fn onum i ulong to ulong +v = ulong 0 +s = get ol i +n = sub sub get ol add i 1 s 1 +for k ulong n +d = sub ulong get oo add s k 48 +v = add mul v 10 d +end +ret v +end +note slot k ends in / + the 64 hex digits of line i + .wp +fn namechk k ulong i ulong to bool +n = get sl k +if lt n 68 +ret false +end +o = add mul k 512 sub n 68 +if ne get sb o 47 +ret false +end +s = get ol i +for j ulong 64 +if ne get sb add add o 1 j get oo add s j +ret false +end +end +a = eq get sb add o 65 46 +b = eq get sb add o 66 119 +c = eq get sb add o 67 112 +ret and and a b c +end + +note ---- checkpoint geometry ----------------------------------------------------------------------- +fn tadd kd ulong ly ulong r ulong c ulong to void +n = get tn 0 +if ge n 256 +fail LCAP +end +o = mul n 6 +put tt o kd +put tt add o 1 ly +put tt add o 2 r +put tt add o 3 c +put tt add o 4 get tn 1 +put tt add o 5 mul r c +put tn 0 add n 1 +put tn 1 add get tn 1 mul r c +end +fn tlayer y ulong d ulong f ulong to void +tadd 2 y 1 d +tadd 3 y d d +tadd 4 y d d +tadd 5 y d d +tadd 6 y d d +tadd 7 y 1 d +tadd 8 y d f +tadd 9 y f d +end +fn tensors h long to void +put tn 0 0 +put tn 1 0 +d = g8 h 24 +f = g8 h 40 +tadd 0 0 g8 h 8 d +tadd 1 0 g8 h 16 d +for y ulong g8 h 48 +tlayer y d f +end +tadd 10 0 1 d +end +fn tget i ulong j ulong to ulong +ret get tt add mul i 6 j +end +fn ckcheck h long n ulong to void +need mtext h 0 CK02 LMAG +pp = g8 h 96 +need eq n add 120 mul 24 pp LCKL +need eq fnvh h n g8 h 112 LFNV +tensors h +k = sub get tn 0 1 +need eq add tget k 4 tget k 5 pp LGEOP +end + +note ---- manifest --------------------------------------------------------------------------------- +note mf: 0 size, 1 policy, 2 tensors, 3 entries, 4 P, 5 entry offset, 6 entry size, 7 end of +note entries, 8 params length, 9 rationale length. The map handle is hh 2. +fn manfields k ulong to void +h = mopen k +put hh 2 ulong h +put mf 0 fsize k +put mf 1 g8 h 16 +put mf 2 g8 h 24 +put mf 3 g8 h 32 +put mf 4 g8 h 40 +es = ulong 40 +if eq g8 h 16 0 +es = 24 +end +eo = add 376 mul 128 g8 h 24 +put mf 5 eo +put mf 6 es +put mf 7 add eo mul es g8 h 32 +put mf 8 g8 h 224 +put mf 9 g8 h 232 +end +fn entix i ulong to ulong +ret g8 hm add mfg 5 mul mfg 6 i +end +fn provok to bool +h = hm +e = mfg 7 +if eq get cnt 3 0 +a = and eq mfg 8 len PARS mtext h e PARS +b = and eq mfg 9 len RATS mtext h add e mfg 8 RATS +ret and a b +end +a = and eq mfg 8 len PARR mtext h e PARR +b = and eq mfg 9 len RATR mtext h add e mfg 8 RATR +ret and a b +end +fn ordered to bool +m = mfg 3 +if eq m 0 +ret true +end +for i ulong sub m 1 +if ge entix i entix add i 1 +ret false +end +end +ret true +end +fn inbounds to bool +for i ulong mfg 3 +if ge entix i mfg 4 +ret false +end +end +ret true +end +note Manifest structure. Oracle lines 0 and 1 are the manifest SHA and the entry-range SHA. +fn mancheck k ulong to void +h = hm +need mtext h 0 WP01 LWMAG +need namechk k 0 LNAME +need eq g8 h 8 mfg 0 LMLEN +need le mfg 1 2 LPOL +need ohexm 1 h 192 LEID +need eq add add mfg 7 mfg 8 mfg 9 mfg 0 LMETA +need provok LPROV +need ordered LORD +need inbounds LBND +end +note Queue the manifest SHA and entry-range SHA requests (lines 0 and 1). +fn qman k ulong to void +qsha k 0 ALL +qsha k mfg 5 mul mfg 6 mfg 3 +end +fn entchk i ulong to void +h = hm +o = add mfg 5 mul mfg 6 i +old = g8 h add o 8 +nw = g8 h add o 16 +wo = add 120 mul 8 g8 h o +need and eq g8 hb wo old eq g8 he wo nw LEBIT +need and ne old nw ne and shr nw 52 2047 2047 LEFIN +need le bitcast f64 and nw 0x7fffffffffffffff 1000000.0 LEMAG +if gt mfg 1 0 +pp = mfg 4 +a = eq g8 h add o 24 g8 hb add wo mul 8 pp +b = eq g8 h add o 32 g8 hb add wo mul 16 pp +need and a b LEMOM +end +end +note Expected output derived from the manifest: edited, saved moments zeroed, resealed. +fn mexpect k ulong to void +n = fsize SEDIT +x = mcopy he n k +pp = mfg 4 +for i ulong mfg 3 +wo = add 120 mul 8 entix i +if ge mfg 1 1 +s8 x add wo mul 8 pp 0 +end +if eq mfg 1 2 +s8 x add wo mul 16 pp 0 +end +end +reseal x n +mdrop x +end +fn tchanged i ulong to ulong +lo = tget i 4 +hi = add lo tget i 5 +c = ulong 0 +for j ulong mfg 3 +x = entix j +if and ge x lo lt x hi +c = add c 1 +end +end +ret c +end +fn trec i ulong to bool +h = hm +r = add 376 mul 128 i +a = and eq g8 h r tget i 0 eq g8 h add r 8 tget i 1 +b = and eq g8 h add r 16 tget i 2 eq g8 h add r 24 tget i 3 +c = and eq g8 h add r 32 64 eq g8 h add r 40 tget i 4 +ret and and a b c +end +note Per-tensor checks; oracle lines from first: nt base-range SHAs, then nt output-range SHAs. +fn tchk first ulong to void +nt = mfg 2 +need eq nt get tn 0 LTALL +for i ulong nt +r = add 376 mul 128 i +need trec i LTGEO +need eq g8 hm add r 48 tchanged i LTCNT +need ohexm add first i hm add r 64 LTBS +need ohexm add add first nt i hm add r 96 LTOS +end +end +note Zero the saved moments of word offset wo as policy p clears them. +fn zmom x long wo ulong p ulong to void +pp = g8 x 96 +if ge p 1 +s8 x add wo mul 8 pp 0 +end +if eq p 2 +s8 x add wo mul 16 pp 0 +end +end +fn rqword x long i ulong p ulong to void +wo = add 120 mul 8 get rix i +s8 x wo get rbt i +zmom x wo p +end +note Requested output from intent: copy of slot src with rix/rbt bits, moments zeroed per policy. +fn reqout src ulong k ulong p ulong to void +hs = mopen src +n = fsize src +x = mcopy hs n k +mdrop hs +for i ulong get rcn 0 +rqword x i p +end +reseal x n +mdrop x +end + +note ---- small: one policy -------------------------------------------------------------------------- +fn pdiff p ulong to void +wnamep SOD FPAT p +mkd SOD +acmd CDIFF +aslot SBASE +aslot SEDIT +anum p +aslot SPF +aslot SRF +aslot SOD +go 0 +keepout add SP0 p +end +fn porc p ulong to void +k = add SP0 p +manfields k +wnamen SMEX FMEX p FCK +mexpect SMEX +nt = mfg 2 +qman k +qsha SBASE 0 ALL +qsha SMEX 0 ALL +qf32 SMEX +qne add mfg 5 8 add mfg 5 16 mfg 6 mfg 3 k +for i ulong nt +qsha SBASE add 120 mul 8 tget i 4 mul 8 tget i 5 +end +for i ulong nt +qsha SMEX add 120 mul 8 tget i 4 mul 8 tget i 5 +end +orun +mancheck k +need eq mfg 1 p LPOL +ckcheck hb fsize SBASE +need mreq hm 256 hb 120 LHDR +geo = true +for i ulong 6 +if ne g8 hm add 48 mul 8 i g8 hb add 8 mul 8 i +geo = false +end +end +need geo LMGEO +need eq mfg 4 g8 hb 96 LMP +need ohexm 2 hm 96 LBSHA +for i ulong mfg 3 +entchk i +end +need ohexm 3 hm 128 LOSHA +need ohexm 4 hm 160 LOF32 +tchk 6 +end +fn pshow p ulong to void +acmd CSHOW +aslot add SP0 p +go 0 +n = get obn 0 +a = len SHOWA +z = len SHOWZ +ok = gt n add add a z 64 +if ok +for i ulong a +if ne get ob i get SHOWA i +ok = false +end +end +s = get ol 0 +for j ulong 64 +if ne get ob add a j get oo add s j +ok = false +end +end +for i ulong z +if ne get ob add sub n z i get SHOWZ i +ok = false +end +end +end +need ok LSHOW +end +fn papply p ulong to void +acmd CVAL +aslot add SP0 p +aslot SBASE +go 0 +wnamen SOUT FAPP p FCK +wnamen SREV FREV p FCK +acmd CAPP +aslot add SP0 p +aslot SBASE +aslot SOUT +go 0 +need fsame SOUT SMEX LAPPX +need fsame SREQ SOUT LAPPR +acmd CVER +aslot add SP0 p +aslot SOUT +go 0 +pclear +ptext SURV +pnum onum 5 +ptext CHGD +pnum mfg 3 +need obhaspb LSURV +acmd CREV +aslot add SP0 p +aslot SOUT +aslot SREV +go 0 +need fsame SREV SSNAP LREVB +end +fn pbind p ulong to void +k = add SP0 p +wnamep SBIND FBND p +acmd CBIND +aslot k +aslot SOUT +aslot SWP +aslot SBIND +go 0 +qsha SMEX 0 ALL +qf32 SMEX +qsha SWP 0 ALL +qsha k 0 ALL +qsha SBIND 0 136 +orun +h = mopen SBIND +need and eq fsize SBIND 168 mtext h 0 WB01 LBFMT +need and ohexm 0 h 8 ohexm 1 h 40 LBCK +need and ohexm 2 h 72 ohexm 3 h 104 LBRT +need ohexm 4 h 136 LBSELF +mdrop h +end +fn pcheckb p ulong to void +acmd CCB +aslot SBIND +aslot SOUT +aslot SWP +go 0 +acmd CCB +aslot SBIND +aslot SBASE +aslot SWP +go 60 +wnamep SRT FRT p +n = fsize SWP +h = mopen SWP +x = mcreate SRT add n 1 +cpy h 0 x 0 n +mdrop x +mdrop h +acmd CCB +aslot SBIND +aslot SOUT +aslot SRT +go 62 +wnamep SBADB FBADB p +h = mopen SBIND +x = mcopy h 168 SBADB +mdrop h +flip x 40 +shah x 0 136 +r = mapwrite x 136 dg 0 32 +acmd CCB +aslot SBADB +aslot SOUT +aslot SWP +go 61 +flip x 104 +acmd CCB +aslot SBADB +aslot SOUT +aslot SWP +go 59 +mdrop x +end +fn prefuse p ulong to void +acmd CAPP +aslot add SP0 p +aslot SBASE +aslot SOUT +go 52 +need fsame SOUT SMEX LOUTP +acmd CAPP +aslot add SP0 p +aslot SBASE +aslot SBASE +go 52 +acmd CREV +aslot add SP0 p +aslot SOUT +aslot SBASE +go 52 +acmd CDIFF +aslot SBASE +aslot SEDIT +anum p +aslot SPF +aslot SRF +aslot SOD +go 52 +end +fn policy p ulong to void +pdiff p +porc p +wnamen SREQ FEXP p FCK +reqout SBASE SREQ p +need fsame SREQ SMEX LAGREE +pshow p +papply p +pbind p +pcheckb p +prefuse p +mdrop hm +end + +note ---- small: fixtures and adversarial manifests -------------------------------------------------- +fn train to void +wname STRAIN FTRAIN +h = mcreate STRAIN 3000 +b = new uchar 15 0 +for i ulong len TRAINW +put b i get TRAINW i +end +for i ulong 200 +r = mapwrite h mul i 15 b 0 15 +end +mdrop h +wname SBASE FBASE +aclear +aslot SOLLM +atext CINIT +aslot SBASE +awords INITA +go 0 +aclear +aslot SOLLM +atext CTRAIN +aslot SBASE +aslot STRAIN +anum 2 +anum 1 +go 0 +end +note edited = base + 0.001 at every tensor start, index 1 low bit flipped; requested = those bits. +fn mkedit to void +n = fsize SBASE +h = mopen SBASE +put hh 0 ulong h +ckcheck h n +wname SSNAP FSNAP +x = mcopy h n SSNAP +mdrop x +wname SEDIT FEDIT +x = mcopy h n SEDIT +put hh 1 ulong x +k = get tn 0 +for i ulong k +wo = add 120 mul 8 tget i 4 +s8 x wo bitcast ulong add bitcast f64 g8 x wo DLT +put rix i tget i 4 +put rbt i g8 x wo +end +s8 x 128 xor g8 x 128 1 +put rix k 1 +put rbt k g8 x 128 +put rcn 0 add k 1 +reseal x n +wname SPF FPF +wtext SPF PARS +wname SRF FRF +wtext SRF RATS +end +fn inspect to void +acmd CINSP +aslot SBASE +go 0 +acmd CINSP +aslot SBASE +atext WTE +awords SLICEA +go 0 +pclear +phex g8 hb 120 +a = obhaspb +pclear +phex g8 hb 128 +need and a obhaspb LSLICE +acmd CINSP +aslot SBASE +atext WTE +awords OOBA +go 27 +end +note Policy-2 patch for an edit whose index-0 value is 0.25: verify accepts it, yet its applied +note bytes must differ from expected-2.ck (the in-run negative control of the byte oracle). +fn mutant to void +n = fsize SEDIT +wname SX0 FMUTE +x = mcopy he n SX0 +s8 x 120 bitcast ulong QTR +reseal x n +mdrop x +wname SX1 FMUTD +mkd SX1 +acmd CDIFF +aslot SBASE +aslot SX0 +anum 2 +aslot SPF +aslot SRF +aslot SX1 +go 0 +keepout SX2 +wname SX3 FMUTO +acmd CAPP +aslot SX2 +aslot SBASE +aslot SX3 +go 0 +acmd CVER +aslot SX2 +aslot SX3 +go 0 +old = get rbt 0 +put rbt 0 bitcast ulong QTR +wname SX4 FMUTR +reqout SBASE SX4 2 +put rbt 0 old +need fsame SX4 SX3 LMUTS +wnamen SREQ FEXP 2 FCK +need not fsame SREQ SX3 LMUTR +end +fn fill h long o ulong n ulong to void +b = new uchar 65536 97 +p = ulong 0 +while lt p n bound 999999 +k = sub n p +if gt k 65536 +k = 65536 +end +r = mapwrite h add o p b 0 k +p = add p k +end +end +note Oversized params (f 0) or rationale (f 1): 16777217 bytes of a, length fields updated. +fn oversize f ulong to void +manfields add SP0 2 +n0 = mfg 0 +e = add mfg 7 mfg 8 +if eq f 0 +e = mfg 7 +end +dropn = mfg 9 +if eq f 0 +dropn = mfg 8 +end +nn = sub add n0 OVER dropn +if eq f 0 +pclear +pslot SWORK +pbyte 47 +ptext FOVP +else +pclear +pslot SWORK +pbyte 47 +ptext FOVR +end +ptext FWP +keepat SX0 +pn0 = get pn 0 +put pn 0 sub pn0 3 +ptext FCK +keepat SX1 +x = mcreate SX0 nn +cpy hm 0 x 0 e +fill x e OVER +if eq f 0 +cpy hm add e mfg 8 x add e OVER mfg 9 +s8 x 224 OVER +else +s8 x 232 OVER +end +s8 x 8 nn +mdrop x +mdrop hm +acmd CVAL +aslot SX0 +aslot SBASE +go 57 +acmd CSHOW +aslot SX0 +go 57 +acmd CAPP +aslot SX0 +aslot SBASE +aslot SX1 +go 57 +need not exists SX1 LOVER +end +fn badutf to void +manfields add SP0 2 +n = mfg 0 +wname SX0 FUTF +x = mcopy hm n SX0 +sbt x sub n 1 255 +mdrop x +mdrop hm +acmd CVAL +aslot SX0 +aslot SBASE +go 31 +end +note Apply mutation c (0..16, named by word c of MUTN) to x; return the expected refusal code. +fn mutate x long c ulong to ulong +eo = mfg 5 +if eq c 0 +flip x 96 +ret 50 +end +if eq c 1 +s8 x 48 add g8 x 48 1 +ret 36 +end +if eq c 2 +s8 x 392 add g8 x 392 1 +ret 37 +end +if eq c 3 +s8 x eo mfg 4 +ret 38 +end +if eq c 4 +s8 x add eo 16 0x7ff8000000000000 +ret 40 +end +if eq c 5 +s8 x add eo 16 0x7ff0000000000000 +ret 41 +end +if eq c 6 +s8 x add eo 16 bitcast ulong BIGM +ret 42 +end +if eq c 7 +for j ulong 5 +a = g8 x add eo mul 8 j +s8 x add eo mul 8 j g8 x add add eo 40 mul 8 j +s8 x add add eo 40 mul 8 j a +end +ret 39 +end +if eq c 8 +s8 x add eo 40 g8 x eo +ret 43 +end +ret mutate2 x c +end +fn mutate2 x long c ulong to ulong +eo = mfg 5 +if eq c 9 +s8 x add eo 8 xor g8 x add eo 8 1 +ret 47 +end +if eq c 10 +s8 x add eo 24 xor g8 x add eo 24 1 +ret 48 +end +if eq c 11 +flip x 192 +ret 46 +end +if eq c 12 +s8 x 424 add g8 x 424 1 +ret 45 +end +if eq c 13 +flip x 440 +ret 49 +end +if eq c 14 +flip x 472 +ret 49 +end +if eq c 15 +flip x 128 +ret 53 +end +flip x 160 +ret 54 +end +fn mutcase c ulong to void +n = mfg 0 +pclear +pslot SWORK +pbyte 47 +pword MUTN c +ptext FWP +keepat SX0 +put pn 0 sub get pn 0 3 +ptext FCK +keepat SX1 +x = mcopy hm n SX0 +code = mutate x c +if ne c 11 +shah x mfg 5 mul mfg 6 mfg 3 +r = mapwrite x 192 dg 0 32 +end +mdrop x +acmd CVAL +aslot SX0 +aslot SBASE +go code +acmd CAPP +aslot SX0 +aslot SBASE +aslot SX1 +go code +gone = not exists SX1 +pclear +pword MUTN c +needpm gone LREF +end +fn flipped to void +n = mfg 0 +wname SX0 FFLIP +mkd SX0 +k = add SP0 1 +pclear +pslot SX0 +o = add mul k 512 sub get sl k 68 +for i ulong 68 +pbyte get sb add o i +end +keepat SX0 +x = mcopy hm n SX0 +flip x sub n 1 +mdrop x +wnamen SX1 FAPP 1 FCK +acmd CSHOW +aslot SX0 +go 30 +acmd CVAL +aslot SX0 +aslot SBASE +go 30 +acmd CVER +aslot SX0 +aslot SX1 +go 30 +wname SX2 FBAPP +acmd CAPP +aslot SX0 +aslot SBASE +aslot SX2 +go 30 +wname SX2 FBREV +acmd CREV +aslot SX0 +aslot SX1 +aslot SX2 +go 30 +wname SX2 FBBND +acmd CBIND +aslot SX0 +aslot SX1 +aslot SWP +aslot SX2 +go 30 +end +fn truncs to void +n = mfg 0 +wname SX0 FTRUNC +x = mcopy hm sub n 1 SX0 +mdrop x +acmd CVAL +aslot SX0 +aslot SBASE +go 32 +pclear +pslot SX0 +r = unlink pb 0 get pn 0 +x = mcopy hm 100 SX0 +mdrop x +acmd CSHOW +aslot SX0 +go 32 +end +fn diffbad to void +acmd CDIFF +aslot SBASE +aslot SBASE +anum 0 +aslot SPF +aslot SRF +aslot SWORK +go 55 +n = fsize SEDIT +wname SX0 FWRM +x = mcopy he n SX0 +o = add 120 mul 8 g8 x 96 +s8 x o xor g8 x o 1 +reseal x n +mdrop x +acmd CDIFF +aslot SBASE +aslot SX0 +anum 0 +aslot SPF +aslot SRF +aslot SWORK +go 56 +end +fn exval i ulong to ulong +if eq i 0 +ret 0 +end +if eq i 1 +ret 0x8000000000000000 +end +if eq i 2 +ret 1 +end +if eq i 3 +ret 0x3690000000000000 +end +if eq i 4 +ret 0x3ff0000010000000 +end +if eq i 5 +ret 0x3ff0000030000000 +end +if eq i 6 +ret 0x47f0000000000000 +end +if eq i 7 +ret 0x7ff0000000000000 +end +if eq i 8 +ret 0xfff0000000000000 +end +if eq i 9 +ret 0x7ff8000000000000 +end +ret 0x7fefffffffffffff +end +note true when the bytes of s occur in ob at o, before e +fn obat o ulong e ulong s view uchar * to bool +if gt add o len s e +ret false +end +for j ulong len s +if ne get ob add o j get s j +ret false +end +end +ret true +end +note true when the inspect line starting `wte ` has rms= with a leading digit 1-9 and nonfinite=3 +fn rmsok to bool +n = get obn 0 +s = ulong 0 +for i ulong n +if eq get ob i 10 +if obat s i WTEL +ret lineok s i +end +s = add i 1 +end +end +ret false +end +fn lineok s ulong e ulong to bool +r = false +f = false +for i ulong sub e s +o = add s i +if obat o e RMSK +if lt add o 4 e +c = get ob add o 4 +r = and ge c 49 le c 57 +end +end +if obat o e NONF3 +f = true +end +end +ret and r f +end +fn exotic to void +n = fsize SBASE +wname SX0 FEXO +x = mcopy hb n SX0 +for i ulong 11 +s8 x add 120 mul 8 i exval i +end +reseal x n +wname SX1 FEXE +y = mcopy x n SX1 +mdrop x +s8 y 216 bitcast ulong QTR +reseal y n +mdrop y +wname SX2 FEXD +mkd SX2 +acmd CDIFF +aslot SX0 +aslot SX1 +anum 0 +aslot SPF +aslot SRF +aslot SX2 +go 0 +keepout SX3 +qf32 SX1 +orun +h = mopen SX3 +need ohexm 0 h 160 LEXO +mdrop h +acmd CVAL +aslot SX3 +aslot SX0 +go 0 +acmd CINSP +aslot SX0 +go 0 +need rmsok LRMS +end +fn small to void +train +mkedit +inspect +for p ulong 3 +policy p +end +need fsame SBASE SSNAP LBASEW +mutant +oversize 0 +oversize 1 +badutf +manfields add SP0 1 +for c ulong 17 +mutcase c +end +flipped +truncs +mdrop hm +diffbad +exotic +need fsame SBASE SSNAP LFBASE +end + +note ---- real --------------------------------------------------------------------------------------- +fn redit to void +n = fsize SBASE +h = mopen SBASE +put hh 0 ulong h +wname SEDIT FR40E +x = mcopy h n SEDIT +put hh 1 ulong x +tensors x +off = ulong 0 +for i ulong get tn 0 +if and eq tget i 0 9 eq tget i 1 3 +off = tget i 4 +end +end +need eq off BASEOFF LROFF +for i ulong 10 +wo = add 120 mul 8 add off i +s8 x wo bitcast ulong add bitcast f64 g8 x wo DLT +put rix i add off i +put rbt i g8 x wo +end +put rcn 0 10 +reseal x n +end +fn rten to bool +if ne mfg 3 10 +ret false +end +for i ulong 10 +if ne entix i add get rix 0 i +ret false +end +end +ret true +end +fn real to void +qsha SBASE 0 ALL +orun +need ohext 0 BSHA LRPIN +redit +wname SREQ FR40X +reqout SBASE SREQ 2 +wname SPF FPF +wtext SPF PARR +wname SRF FRF +wtext SRF RATR +wname SOD FPATS +mkd SOD +acmd CDIFF +aslot SBASE +aslot SEDIT +anum 2 +aslot SPF +aslot SRF +aslot SOD +go 0 +keepout SP0 +manfields SP0 +qman SP0 +orun +mancheck SP0 +need rten LRTEN +acmd CVAL +aslot SP0 +aslot SBASE +go 0 +wname SOUT FR40A +wname SREV FR40R +acmd CAPP +aslot SP0 +aslot SBASE +aslot SOUT +go 0 +need fsame SREQ SOUT LRAPP +acmd CVER +aslot SP0 +aslot SOUT +go 0 +acmd CREV +aslot SP0 +aslot SOUT +aslot SREV +go 0 +aclear +atext SUMT +aslot SBASE +aslot SREV +aslot SOUT +go 0 +qsha SREV 0 ALL +qsha SBASE 0 ALL +qsha SOUT 0 ALL +qsha SREQ 0 ALL +qf32 SREQ +qf32 SOUT +orun +need ohext 0 BSHA LRREV +need ohext 1 BSHA LRBASE +need oeq 2 3 LROUT +need ohexm 3 hm 128 LRMOUT +need oeq 5 4 LRF32 +need ohexm 4 hm 160 LRMF32 +end + +fn main to int +c = argcnt +if and ne c 5 ne c 6 +say USAGE +ret 2 +end +argslot 1 SMODE +ok = or and eq c 5 slotis SMODE MSMALL and eq c 6 slotis SMODE MREAL +if not ok +say USAGE +ret 2 +end +argslot 2 SBUILD +argslot 3 SWORK +argslot 4 SORC +if eq c 6 +argslot 5 SBASE +put cnt 3 1 +end +under SWP SBUILD SLWP +under SOLLM SBUILD SLOLLM +mkd SWORK +h = mopen SWP +shah h 0 fsize SWP +mdrop h +say HEADT +pclear +pslot SMODE +saypb +say WPSHT +pclear +for i ulong 32 +pbyte get HEXD shr get dg i 4 +pbyte get HEXD and get dg i 15 +end +saypb +say NL +if eq c 5 +small +else +real +end +say WPPT +tally +ret 0 +end diff --git a/tools/omegallm/wpatch/wporacle.py b/tools/omegallm/wpatch/wporacle.py new file mode 100755 index 0000000..f794a8f --- /dev/null +++ b/tools/omegallm/wpatch/wporacle.py @@ -0,0 +1,87 @@ +#!/usr/bin/env python3 +"""ORACLE for wpcheck. A digest calculator only; it never decides PASS or FAIL. + +wpcheck (Omega) writes a request file and runs `/usr/bin/python3 wporacle.py REQUEST`. +Each request line produces exactly one output line, in order. The path is always the +last field and may contain spaces. + + sha OFF LEN PATH hex SHA-256 (hashlib) of LEN bytes at OFF; LEN `-` means to end. + f32 PATH hex SHA-256 of the little-endian IEEE f32 casts of the CK02 + parameter words (count P = u64 at 96, words from byte 120); + a finite value too large for f32 casts to a same-signed infinity. + f32ne A B STRIDE COUNT PATH decimal count of k < COUNT where the f32 casts of the u64 at + A + k*STRIDE and at B + k*STRIDE differ. + +It is independent of the product: it shares no code with wpatch or wpcheck, and nothing in +the build or in wpatch calls it. Any malformed request raises and exits nonzero. +""" +import hashlib +import math +import mmap +import struct +import sys + +U = struct.Struct(' end or end > len(m): + raise ValueError('range outside file: ' + path) + h = hashlib.sha256() + for o in range(int(off), end, 1 << 20): + h.update(m[o:min(o + (1 << 20), end)]) + return h.hexdigest() + + +def f32(path): + with mapped(path) as m: + p = U.unpack_from(m, 96)[0] + h = hashlib.sha256() + for o in range(120, 120 + 8 * p, 8 * 8192): + end = min(o + 8 * 8192, 120 + 8 * p) + h.update(b''.join(f32bits(U.unpack_from(m, j)[0]) for j in range(o, end, 8))) + return h.hexdigest() + + +def f32ne(a, b, stride, count, path): + with mapped(path) as m: + a, b, stride, count = int(a), int(b), int(stride), int(count) + return str(sum(f32bits(U.unpack_from(m, a + k * stride)[0]) + != f32bits(U.unpack_from(m, b + k * stride)[0]) + for k in range(count))) + + +def main(): + with open(sys.argv[1], encoding='utf-8') as req: + for line in req.read().splitlines(): + op = line.split(' ', 1)[0] + if op == 'sha': + _, off, n, path = line.split(' ', 3) + print(sha(off, n, path)) + elif op == 'f32': + print(f32(line.split(' ', 1)[1])) + elif op == 'f32ne': + _, a, b, stride, count, path = line.split(' ', 5) + print(f32ne(a, b, stride, count, path)) + else: + raise ValueError('unknown request: ' + line) + + +if __name__ == '__main__': + main()