ShrinkIt is the zig-shrinkit package now, and writes back compressed
The NuFX reader and writer that lived in src/shrinkit.zig -- an uncompressed-only reimplementation, about a thousand lines -- are gone, replaced by the user's own zig-shrinkit package. It reads what the in-tree one did and more: both LZW compressors, in both directions. The consumers move to the package's shape. diskfile.zig reads through shrinkit.nufx (looksLike, diskAlloc, the magic and enums); writeback.zig keeps a thin reArchive over shrinkit.nufx and shrinkit.writer; system_tests.zig builds its .SDK with shrinkit.writer.diskAlloc and reads it back with shrinkit.nufx.open; root.zig re-exports the package. The gain is at write-back: a disk put back into a .SHK or .SDK is now squeezed with LZW/2, the way ShrinkIt itself does, rather than stored, so the file that goes home is about the size of the one that came in. The single-record guard stays -- a multi-file archive is refused rather than rebuilt lossily -- with two colocated tests in writeback.zig for the round trip and the refusal, and the IIgs FastCopy system test now exercises compression through the whole machine. build.zig imports the shrinkit module at both optimize modes; build.zig.zon and build.zig.zon.nix pin it; the README's ShrinkIt section and file inventory follow. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01969H4dxMhArn3Co6Dr6k6w