Skip to content

DRIFT Free v0.12.0

Choose a tag to compare

@rad-ox rad-ox released this 30 Nov 23:42
· 7 commits to main since this release

Release v0.12.0 of DRIFT — specification-driven release gate binding runtime test evidence to owner-approved 0.3 behaviour contracts.

Highlights & CLI

  • Add Pro pure-read drift plan --verify-slice (drift.slice-verification/1) checking base Git contract/profile closure, frozen paths, NUL-safe diffs, and symbol transitions.
  • Add explain-only gate --explain receipt disposition trails and union-checked scope witnesses, exact sweep empty-meet domain causes, and advisory then.naked_not_in signals.
  • Unify static eval_constraint_03 onto hoisted eval_compiled_obs_constraint, retire schema03_eval_ops.v/TwoSum, and align 161 to exact-int and sequential-float parity.
  • Retire 0.2 observation/authoring fallbacks, unify proof-event classification and JSON-to-TOML policies, and fix selection 0.3 obs rejudging.
  • Prune dead 0.2 rules/upgrader; fix init --pact 0.3 (176/177), snapshot dup-key bypass, obs/event/profile parity, sweep/review edge cases, and installer/hook checks.
  • Preserve area-relative paths and multiset counts in sweep --base --delta issue signatures so nested same-basename files and repeated findings cannot escape.
  • Classify non-empty non-subset killed-mutant overlaps as partial (reserving disjoint for empty intersections) in stats/sweep proof.overlapping_tests.
  • Add exact bounded Branch-and-Bound certified orientation solver (drift/impact/dag_bnb.v, proves $C_5$ optimality with schedule_bound cert).
  • Use modular-inverse band tightening, linear KMP affix overlap, common-witness triple pruning, and independent oracle/parity checks (rel_peer_mod, schema03_sat, rel_domain).
  • Guard effort_h against NaN/Inf and f64->i64 overflow (saturate weight_w at 2^40), use 128-bit Smith cross-multiply, and preserve >i64 floats in area cache.
  • Sum distinct real-time tick#*/frame#* producer budgets across all read resources per consumer in sweep --flow without double-counting shared producers.
  • Add exact bipartite 2-coloring and bounded verified non-chordal clique dual floors to select_orientation (2 waves on bipartite trees, fewer evals, golden parity).
  • Accumulate tolerance-free integer sum_fields residuals, subspace, 3-cycle, and partial-sum contractions in exact WideInt (avoiding f64 cancellation near 2^53 - 1).
  • Optimize compile-edges, match_segment, compact overlap >1024 parity & cluster causes, single-pass area cache, lazy pack recall, review/map, pact/stats/prove; enable VL027..VL030.
  • Speed up sweep write-duplicates (O(N+E) links, compact meta), mutant prealloc, parallel header-only area cache, typed ops scanner, and vlint cleanups (18/18 ab-03).
  • Add Enterprise review --base --explain-conflicts to show area conflicts and available relief witnesses in JSON and Markdown without changing review verdicts.
  • Report minimal higher-arity sweep conflict cores with checked relief witnesses, preserved on resource-cache replay.
  • Detect shared-resource joint conflicts and array-length triples in drift sweep; preserve issue kind on cache replay. Directed cycles still require --flow.

Polyglot Bridges & CI Ecosystem

  • Add Free drift bridge certify (drift.bridge-certification/1) black-box adapter harness with embedded corpus, direct-argv isolation, kernel shard rejudgment, and L0/L1/L2 tiers.
  • Align external receipt and drift.bridge-plan/2 JSON Schemas with kernel allowlists, resolve local/release-pinned --taplo schemas, and emit RFC 6901 pointer/explain on check --json.
  • Precompile mutant rel deltas, route mutations/callbacks/JUnit4/stub-ties onto drift.bridge-plan/2, and retire bridge residual/desugar solvers.
  • Derive CLI synopses from canonical_operations, verify numeric 50-contract bridge-plan p95, unify model.dsu_union, and clear VL023/VL026/VL029/VL030 vlint debt.
  • Ship drift.bridge-plan/2 fail-closed across all 10 bridges (route callbacks, when_obs, UI caps, and JUnit4 onto /2 plans; drop /1 !rel fallbacks).
  • Add additive rel/when_pointers/then_pointers to drift.bridge-plan/1 across polyglot bridges, harden JS/Py/V/JUnit5 plan checks, and enforce exact LenInterval + hoisted obs_eval.
  • Match literal arrays by exact value in shared-read projection conflicts, without counting arrays as scalar write duplicates.

Open Verifier, Proofs & Supply Chain

  • Sync 0.12.0 public docs (README.md, GUIDE*.md, GUARANTEES.md, incremental-and-waves.md) for bridge certify, plan --verify-slice, --certificates, and --explain-conflicts.
  • Close collapsed-presence (null_collapsed/absent_collapsed) not_in on observed null and align Python offline verifier keys evaluation order to the V kernel.
  • Enforce injective cross-family receipt identity keys, strict opaque_external snapshot matching, per-receipt dirty source tracking, canonical tie-breaking, and 6-permutation V/verifier parity.
  • Enforce 0-semicolon non-ws per-file budget in the MIT offline verifier, deduplicate receipt/pact helpers, and split selftest ceiling.
  • Deduplicate verifier simulation receipts & strict peer.sum parity, unify drift/relpeer with IEEE-754 hex replay bounds, and optimize 50k gate event materialization.
  • Replace Free CLI text-splicing with _d_drift_free_only splits, harden install-cli OpenSSH/64-hex checks, and verify 16 SPEC vocabularies across 58 mirrors via spec_registry.py.
  • Unify zero-alloc NUL-safe glob matching (globstar inclusion, NUL reject) across all consumers and consolidate V/MIT verifier receipt priority folding.
  • Fix replay UTF-8, grant trust-root and verify_time handling, bridge forbid_keys and 4096B cap, and stats rejudging; align verifier and harness behavior.
  • Harden proof-certificate, octagon, floor-sum, join-tree (RIP+witness), SMT real-sort, and Lean 4 Rédei clique soundness while reclaiming trusted-core headroom.
  • Add sorry-free Lean 4 semantics/certificate proofs (formal/lean/DriftSemantics.lean) and deterministic SMT-LIB2 refinement oracle (scripts/smt_oracle.py).
  • Add exact correlated tuple Yannakakis join-tree, cyclic Boolean-triangle, and fixed-point relay verifier (drift/sweep/boundary_join_tree.v).
  • Lift P<=4096 modular cap via WideInt floor-sum ($O(\log^2 P)$) and add exact Integer Octagon DBM tight closure with drift.certificate/1 proofs.
  • Add drift.certificate/1 proof bundles (diff_cycle, farkas_*, conflict_core, schedule_bound), --certificates on sweep/plan, and MIT replay.
  • Accumulate tolerance-free i64/u64 observation peer.balance/peer.sum in exact 128-bit WideInt, fixing V↔MIT verifier parity on cancelling sums.
  • Canonicalize .model.json proof receipt order and model_verifier selection by content across prove and gate --explain, and remove redundant blank-check loop.
  • Align MIT LICENSE/docs with exported public surface (ui/, map-ui/, release/, skills/), pin CI Actions to SHAs, fail-closed clone trust checks, and enforce prerelease doc/export guards.

Quick Install & Zero-Binary CI

# GitHub Action (defaults to zero-binary MIT Python verifier mode)
# uses: rad-ox/drift@v0.12.0

# Install native CLI + bridges + agent skill (Linux / macOS)
curl -fsSLO https://github.com/rad-ox/drift/releases/download/v0.12.0/SHA256SUMS
curl -fsSLO https://github.com/rad-ox/drift/releases/download/v0.12.0/drift-0.12.0-linux-x64.tar.gz
sha256sum --ignore-missing -c SHA256SUMS

Cryptographic Supply-Chain Verification

Every release archive is accompanied by SHA256SUMS, detached OpenSSH signatures (SHA256SUMS.sig against release/RELEASE_SIGNERS), SLSA v1.0 provenance (*.slsa.intoto.jsonl), Sigstore Cosign keyless bundles (*.sigstore.json), and TUF update metadata:

cosign verify-blob \
  --bundle drift-0.12.0-linux-x64.tar.gz.sigstore.json \
  --certificate-identity-regexp 'https://github.com/rad-ox/.*' \
  --certificate-oidc-issuer 'https://token.actions.githubusercontent.com' \
  drift-0.12.0-linux-x64.tar.gz