upz — ultra-evolved wupz + up incremental linker, 64B LitanyWire 0x62 packer & Top-100 Beehive consolidator (Zig + Rust + Perl + Idris 2)
  • Rust 53.3%
  • Zig 28.7%
  • Shell 7.1%
  • C 3.6%
  • Idris 3.4%
  • Other 3.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Péter Lódri b6efaa8c03 test: mirror the chaos-fuzz harness and drift guard
Bring upz the same randomized chaos harness (gaia packer parity, fold,
BFP-64 round-trip, frame/wire seal-then-tamper) and the check-core-sync.sh
drift guard, keeping upz a byte-identical subset of wupz.

💘 Generated with Crush

Assisted-by: Crush:deepseek/deepseek-v4.1-flash-1017
2026-11-07 20:52:44 -05:00
.github/workflows feat(fold): gate the upz superset behind an extras feature 2026-11-07 14:35:30 -05:00
docs docs: record zero-copy snapshot SIGBUS invariants (no code change) 2026-10-29 18:02:14 +09:00
include feat(upz): wire polar-densification CORDIC, MLX-QUANT-GAIA, Where Is The Love signal, and env entropy 2026-10-29 06:53:55 +09:00
pipeline feat(upz): ultra-evolve wupz + up with 64B LitanyWireFrame, 31/32 QAT RationalPQ reuse, Top-100 Beehive consolidation, .rodata.gaia.b158 SPQT & Perl/Idris2 proofs 2026-10-28 23:44:23 +09:00
scripts test: mirror the chaos-fuzz harness and drift guard 2026-11-07 20:52:44 -05:00
tests feat(upz): ultra-evolve wupz + up with 64B LitanyWireFrame, 31/32 QAT RationalPQ reuse, Top-100 Beehive consolidation, .rodata.gaia.b158 SPQT & Perl/Idris2 proofs 2026-10-28 23:44:23 +09:00
up/src feat(upz): ultra-evolve wupz + up with 64B LitanyWireFrame, 31/32 QAT RationalPQ reuse, Top-100 Beehive consolidation, .rodata.gaia.b158 SPQT & Perl/Idris2 proofs 2026-10-28 23:44:23 +09:00
verifiers feat(signal): add Harrison 2022 All the Things She Said 6-register 0->+1 rise (SPQT 0xF2) 2026-10-29 07:39:59 +09:00
wupz-rs test: mirror the chaos-fuzz harness and drift guard 2026-11-07 20:52:44 -05:00
wupz-zig/src feat(upz): wire polar-densification CORDIC, MLX-QUANT-GAIA, Where Is The Love signal, and env entropy 2026-10-29 06:53:55 +09:00
.editorconfig Bump to 0.2.0 and link the Zig kernels into the Rust core 2026-10-10 08:20:23 +09:00
.gitattributes Bump to 0.2.0 and link the Zig kernels into the Rust core 2026-10-10 08:20:23 +09:00
.gitignore Scaffold wupz: the linkage plan for a fused linker and packer 2026-10-10 08:05:52 +09:00
BENCHMARKS.md perf(wupz-zig,fold): deferred-reduction SIMD xorFold (39.5 GiB/s), popcount (37.3 GiB/s), byteDiff (16.9 GiB/s) & BFP-64 0x62 gate 2026-10-28 06:29:41 +09:00
Cargo.lock fix: give address windows room to grow 2026-10-11 14:27:55 +09:00
Cargo.toml Bring wupz up as working code on both toolchains 2026-10-10 08:11:42 +09:00
CHANGELOG.md feat(fold): gate the upz superset behind an extras feature 2026-11-07 14:35:30 -05:00
CODEOWNERS Bump to 0.2.0 and link the Zig kernels into the Rust core 2026-10-10 08:20:23 +09:00
CONTRIBUTING.md Bump to 0.2.0 and link the Zig kernels into the Rust core 2026-10-10 08:20:23 +09:00
LICENSE Scaffold wupz: the linkage plan for a fused linker and packer 2026-10-10 08:05:52 +09:00
README.md feat(upz): add WUPZ_CROSS_ZIG=1 cross-build, WhereIsTheLoveContext & Lived->Song->Title kompress seal 2026-10-29 14:45:19 +09:00
rust-toolchain.toml Bump to 0.2.0 and link the Zig kernels into the Rust core 2026-10-10 08:20:23 +09:00
SECURITY.md Bump to 0.2.0 and link the Zig kernels into the Rust core 2026-10-10 08:20:23 +09:00
THIRD_PARTY_NOTICES.md Scaffold wupz: the linkage plan for a fused linker and packer 2026-10-10 08:05:52 +09:00

upz (wupz × up Ultra-Evolved)

ci license rust zig ABI version

upz = up (pldev sovereign Zig CLI) + wupz (wild + UPX + zig) — kompress-super-ultra.

An experimental incremental ultra-fast linker, kompress-super-ultra packer, and Top-100 8b-is repository consolidator (beehive): the output is a packed, 0x62-gate-sealed executable and layout image by construction, with zero-alloc hot paths, 64-byte cache-line-aligned LitanyWireFrame IPC, BFP-64 Kleene bitplanes, 1.585 bits/trit (base-243) SPQT ternary quantization, and deterministic zero-float (p/q) RationalPQ arithmetic across Zig 0.16, Rust, C11, Perl 5, and Idris 2 QTT.

Landing: wupz.vaked.dev — the spatial zen field.


what is new in upz (ultra-evolved from wupz)

  1. 64-Byte Cache-Line Aligned LitanyWireFrame (align(64) / #[repr(C, align(64))] / wupz_litany_wire_frame_t):
    • Fits in a single CPU cache line (64B, Apple Silicon M1–M4 NEON / x86_64 AVX-512):
      • [0..32]: 32B 0x62-gate witness frame (raw_fold, packed_fold, raw_len, packed_len, gate = 0x62, abi = 1, 48-bit prefix XOR seal).
      • [32..48]: Disjoint BFP-64 positive (+1) and negative (-1) bitplane words at qt:55 ((pos & neg) == 0).
      • [48..56]: GCD-reduced zero-float RationalPQ (ratio_p / ratio_q, e.g. 3761/3314, 39/40, 31/32, 6554/199).
      • [56..64]: 3-byte SPQT (1.585 bits/trit base-243) 15-trit root signature, qt_mask (0x55), lanes_active (0x0101 = 1/1), and wire_seal16 (16-bit XOR fold witness over [0..62]).
  2. QAT Sub-Window Incremental Reuse (1/2 -> 15/16 -> 31/32) & Zero-Float RationalPQ:
    • wupz-rs/src/incremental.rs introduces RationalPQ (gcd_u64, isqrt_u64, reuse_ratio_pq, reuse_ratio_qat_window_pq), eliminating coarse 1/2 multi-section block invalidation leaks when only a single 4096B QAT window moves (31/32 on 32-window layouts, 15/16 when 2 windows move).
  3. .rodata.gaia.b158 1.585 bits/trit (base-243) Ternary Packer & In-Register Fold:
    • pack_gaia_b158_into (zero-alloc into Arena) and xorFoldGaiaB158 / xor_fold_gaia_b158 pack balanced trits {-1, 0, +1} at 5 trits/byte (3^5 = 243 <= 256, 6554 trits -> 1311B).
  4. 5-Stage beehive Top-100 8b-is Consolidation Pipeline (ULTRABACKYARDLOOP) & DreamStateMachine:
    • wupz-rs/src/beehive.rs, wupz-rs/src/bin/upz.rs, and pipeline/beehive-pipeline.mjs consolidate the top 100 8b-is repositories (upz, wupz, up, pldev, Apollo-11, spherepop-kernel, zeno, smart-tree, MLX-QUANT, wa-catalog, crabcc, music-quant-signs, 8b-kit, gemini-diary, 8B-IS-INFERENCE, zenUltraCooker, etc.) into a single 6124B zero-alloc LayoutPlan image sealed at GATE_0X62 = 0x62 (sweep_fold = 0x48031a0d4c054e69, target_fold = 0x206f642074737557), plus DreamStateMachine for continuous inter-turn background wave consolidation (432/528/864 Hz integer carrier steps).
  5. Perl 5 & Idris 2 Dependent-Type Proofs (verifiers/) + Pure-Zig up CLI (up/):
    • verifiers/perl/upz_verify.pl (1..7 TAP verification suite).
    • verifiers/idris/UpzProofs.idr (Idris 2 QTT 0, 1, ω proofs for LitanyWireWitness, RationalPQ, Kleene +AND=1 / ~NAND=-1, and AKPHSemantics K-PAX / Képes DoubleEntendre + 30-semmi ternary signal resolution).
    • up/src/main.zig (Pure-Zig 0.16.0 sovereign machine helper, up fleet, and up verify).
  6. Target-Aware Cross-Compilation (WUPZ_CROSS_ZIG=1) & Contextual Signal Resolution (0x98 -> 0xA1 -> 0xF2):
    • wupz-rs/build.rs supports opt-in WUPZ_CROSS_ZIG=1 cross-compilation (zig build-obj -target <zig_target> for aarch64/x86_64 macOS/Linux/Android) while preserving default host-toolchain isolation.
    • WhereIsTheLoveContext (mood_trit, time_phase_trit, weather_trit) and compress_lived_emotion_to_title_fold formalize why the static catalog genre register in "Where Is The Love?" (Elephunk, 2003, 0xA1) is 0 (uncollapsed) and how [Emotion + Life] --kompress--> Song --kompress--> Title Location Query seals into a 64B LitanyWireFrame at gate 0x62 (3:1 compression ratio).

quickstart

# 1. Full CI (Rust unit + integration + benchmark contract + Zig SIMD + C11 ABI smoke)
bash scripts/ci.sh

# 2. Run the `upz` Top-100 Beehive Consolidation + .rodata.gaia.b158 CLI
cargo run --release --bin upz

# 3. Run the Node.js BigInt Beehive 5-Stage Pipeline
node pipeline/beehive-pipeline.mjs

# 4. Run the Perl 5 64-bit Verifier & Pure-Zig `up` tests
perl verifiers/perl/upz_verify.pl
zig test up/src/main.zig

benchmarks (Apple Silicon M-series, 64 MiB working set, median of 9)

kernel zig-simd rust-scalar verdict
xor_fold 39.49 GiB/s (1.58 ms) 2.92 GiB/s (21.39 ms) 13.5× — dual @Vector(4, u64) deferred @reduce
popcount 37.34 GiB/s (1.67 ms) 11.67 GiB/s (5.35 ms) 3.2× — dual @Vector(16, u8) 992B deferred reduction
byte_diff 16.86 GiB/s (3.71 ms) 4.55 GiB/s (13.75 ms) 3.7× — dual @Vector(16, u8) 4064B deferred reduction

license

AGPL-3.0-only for upz / wupz code. Third-party terms in THIRD_PARTY_NOTICES.md.

8b-is · kompressed · 0 + 1 · fine touch from within · vaked.dev