LZ4 blocks

cdk-rsx-compression-lz4::block exposes compress_into, decompress_into and get_maximum_output_size. Callers supply both buffers and retain their allocator policy. Decoding remains checked, including malformed lengths and offsets.

UPSTREAM.json records the exact initial 0.14.0 source hashes; the vendored source retains its MIT license. Selected integration changes are listed in PATCHES.md. The local compression oracle compares the checkout codec with the registry implementation. The published wrapper resolves the checked LZ4 0.14.0 package. The bundled SDK workspace uses the vendored encoder below. Interoperability tests The selected Wasm64+SIMD128 encoder compares long match prefixes in bounded 16-byte vectors after an inline scalar comparison. Every vector load stays within both initialized borrowed slices; scalar tails retain exact mismatch positions. Hashing, search, final-literal restrictions and standard block bytes remain unchanged. Other targets use the scalar helper.

The safe-encode public/core boundary retains forbid(unsafe_code) and checked caller-buffer access. Its private match helper uses reviewed Wasm intrinsics; safe-encode therefore does not mean the complete selected implementation is free of unsafe. Checked decoding, literal copies and overlap expansion remain the upstream safe implementation.

The selected encoder passed independent upstream block interoperability, installed-Wasm adversarial checks and a separate match-probe helper gate. The dated round report records staged and complete RRT measurements, artifact identities and actual recovery qualification. Correctness probe images remain separate from featureless performance artifacts.