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.
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.
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:
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. wpbuild.om writes it again as
OUT/sha256.diff on every build; only the two header lines (paths and times) change. The pinned SHA source digest is
dbf002dd6aa36585632b9d01d98ac3f0bd2fa0f0475082940de53638847994bb.
The compiler digest is
2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f.
The tool-directory .crumb this lane first generated is not part of the change: crumbs were retired
(Drake, 2026-11-08), and the tool's purpose is in tools/omegallm/wpatch/README.md. review-crumb.log
records that earlier crumb operation as history only. No language extension or existing harness
pin/guide behavior changed; tool-specific format and usage documentation is included in this change.