Skip to content

Xazz v0.4.0

Choose a tag to compare

@github-actions github-actions released this 23 Oct 04:00
· 57 commits to main since this release

Xazz v0.4.0

A governance-first release: the multi-tenant server, privacy budget, policy
guardrails, and deep-learning runtime all matured, and the public-release
gates (install, benchmark provenance, container image) were prepared.

Highlights

  • Multi-tenant governance end to end — per-tenant policy packs, DP budgets,
    audit history, and admin delegation (X-Xazz-Actor, XAZZ_ADMIN_TOKEN
    rotation, XAZZ_ADMIN_ACTORS token→actor binding) on xazz-server.
  • Per-query privacy cap — opt-in XAZZ_DP_MAX_EPSILON fail-closed rejects a
    withDp ε above the cap before noise is added; enforced in the engine and at
    POST /execute (issue #118).
  • DP composition modes — XAZZ_DP_COMPOSITION=basic|rdp|zcdp tracks the
    privacy budget with Rényi / zCDP composition instead of the basic bound, with
    atomic rollback (issue #161).
  • Descriptive statistics operators — skew, kurtosis, quantile, corr,
    histogram, and outlierIqr across every layer (AST → parser → checker → IR →
    Polars runtime → policy/catalog → emit), with tests, docs, and an example
    (issue #164).
  • DL runtime — hyperparameter sweeps (metric/sort/top/tiebreak),
    checkpoint versioning, Conv1d/Embedding (incl. per-column vocab), and
    burn-cuda (native CubeCL) replacing the LibTorch path (issue #62).
    Real-hardware acceptance recorded: burn-cuda on Windows 11 / RTX 4070
    (windows-gnu) and ONNX Runtime CPU + CUDA execution providers on
    windows-msvc (issues #62, #236; docs/windows-onnx-acceptance-2026-10-06.md).
  • CLI surfaces — xazz dp budget|window|reset|reset-history,
    xazz policy-status, xazz policy-ttl, xazz registry undeploy, and
    xazz run --json now expose DP spend/remaining, resource telemetry, and
    training/prediction diagnostics.
  • Visual IDE — run history, audit-chain viewer, policy-pack management,
    DP budget live view, column lineage, resource telemetry, and cursor-paged
    policy/DP histories.

Added

  • DP: XAZZ_DP_MAX_EPSILON per-query cap; DP spend/remaining in xazz run --json
    (#117, #118); multi-column DP charging regression test (#119); Rényi/zCDP
    composition modes XAZZ_DP_COMPOSITION=basic|rdp|zcdp with gaussian_rho /
    zcdp_to_dp / rdp_to_dp and atomic budget rollback (#161).
  • Language: statistical operators skew, kurtosis, quantile, corr,
    histogram, outlierIqr across all layers (#164).
  • Server: GET /runs/:id/resources resource telemetry (#128); per-tenant policy
    history, TTL, DP-window audit trails with cursor pagination; admin token
    rotation and token↔actor binding.
  • CLI: DP budget/window/reset history, policy status/TTL, registry undeploy.
  • DL: hyperparameter sweep sort/filter/tiebreak, MAE/R² metrics, checkpoint
    manifests, per-column Embedding vocab, ONNX export + Runtime inference (#63,
    #64). GET /runs/:id/prediction persists embedding-predict diagnostics (#D3).
  • Ecosystem: xazz-stdlib, xazz-lsp (diagnostics/hover/goto-def/rename),
    VS Code extension, GitHub Action, policy-pack registry, Python adapter.
  • Benchmarks: 200M-row out-of-core CPU measurement with an independent
    cross-checker, measurement provenance, and a synthetic CI regression gate
    (#147, #166; docs/benchmark-scale-166-*.md).
  • Docs: docs/SERVER.md env reference, docs/GPU_BACKENDS.md,
    docs/CONNECTORS.md, and the mdBook documentation site. Windows/macOS smoke
    records: docs/windows-smoke-2026-10-02.md, docs/macos-smoke-2026-10-04.md.

Changed

  • CUDA backend — burn-tch (LibTorch) → burn-cuda (native CubeCL). Pure
    Rust; no LibTorch/system SDK/MSVC requirement (#62). Breaking for
    --features cuda.
  • Dedicated retention caps for policy TTL history and DP window history.
  • ONNX export scheduled to migrate to Burn 0.22 burn-onnx; ort inference
    retained. emit rust is now documented as a reference emitter (runtime is
    the source of truth).

Fixed

  • Security: /execute now completes run accounting, audit, and DP settlement
    even if the client disconnects (GHSA-wxqx-r7f6-qq3p).
  • Same-tenant concurrent DP precheck/accrue is serialized (no envelope overrun).
  • Sweep options without a grid (metric:/sort:/top:) now warn instead of
    silently doing nothing; emit rust VarDecl train blocks are emitted.
  • Windows smoke findings (#167): CSV import avoids reserved DSL variable names;
    audit-log readers take a shared lock (no Windows lock errors / partial reads);
    release archives reject leftover Git LFS pointers.
  • CLI/server no longer report success when a pipeline fails mid-run — the first
    error stops execution and propagates the failing exit code/signal.
  • Benchmark runs no longer treat a missing scale or a zero latency as success;
    the comparator validates the full input and exits non-zero on bad data.

Security

  • GHSA-wxqx-r7f6-qq3p — disconnected /execute no longer skips run record,
    audit chain, or DP settlement. Fix is included in this release; the advisory
    patched range should be updated to >= 0.4.0 after publication.

Upgrade notes

  • --features cuda now builds against burn-cuda; remove any LibTorch/tch
    setup. Runtime needs an NVIDIA driver (and, for JIT, NVRTC + CUDA headers).
  • New server environment variables are documented in docs/SERVER.md.
  • latest will not move for prerelease tags.

Known limitations

  • GPU/ONNX partially verified — burn-wgpu passed on Windows 11 / RTX 4070 +
    Intel Arc; burn-cuda parity and ONNX Runtime CPU + CUDA execution providers
    passed on Windows (windows-gnu / windows-msvc) with a recorded, fail-closed
    acceptance (docs/windows-onnx-acceptance-2026-10-06.md). macOS CoreML and
    XAZZ_DEVICE=cuda:* end-to-end CLI runs are still unverified; CPU remains the
    default path.

  • PyO3 native extension deferred — import xazz is a CLI subprocess adapter
    (same diagnostics, boundary cost); NumPy/Pandas→Arrow handoff deferred.

  • Emitter parity incomplete — xazz emit rust is a reference emitter.

  • Container image / clean-host smoke not recorded at publication — the
    multi-arch GHCR image is published and was smoke-tested on 2026-10-30
    (docs/install-smoke-2026-10-30.md); arm64 and macOS execution remain
    unverified (issue #176).

  • Benchmarks from a single host — the 200M numbers were measured on one
    Windows desktop and are not compared across platforms. The committed README
    numbers were re-measured on 2026-10-13 with provenance recorded by
    run_readme_benchmark.py (Intel Core Ultra 9 185H, Windows 11; issue #295),
    replacing the earlier unrecorded-host figures; they are still one host, not a
    cross-platform comparison.

  • Archives are unsigned — releases are not code-signed or notarized. On macOS, Gatekeeper needs xattr -dr com.apple.quarantine xazz/; on Windows, SmartScreen may ask for More info → Run anyway.

Docker

docker pull ghcr.io/x1zzdev/xazz:0.4.0
docker run --rm -p 8005:8005 -v xazz-data:/data ghcr.io/x1zzdev/xazz:0.4.0

Full changelog: v0.3.1...v0.4.0


Included Binaries

Binary Role
xazz CLI entry point
xazz-runner IPC bridge
xazz-exec Polars-powered runtime engine
xazz-server API + bundled Visual IDE server

Visual IDE (bundled)

A prebuilt Visual IDE ships in web/. Start the server and open
http://127.0.0.1:8005 in your browser:

./xazz-server

Container image (GHCR)

Multi-arch (linux/amd64, linux/arm64) images are published from this release:

docker pull ghcr.io/x1zzdev/xazz:0.4.0
docker run --rm -p 8005:8005 -v xazz-data:/data ghcr.io/x1zzdev/xazz:0.4.0

The named volume keeps the seeded sample and the run/audit state. If you
already have a ./data directory, see the upgrade steps in docs/DOCKER.md.

Ports, volumes and uid permissions: docs/DOCKER.md.

Installation

  1. Download the archive for your platform
  2. Extract — all binaries and the IDE land in xazz/
  3. Add xazz/ to your PATH
  4. Run xazz --help

⚠️ All three binaries must remain in the same directory.