Repository navigation
DRIFT Free v0.11.0
Release v0.11.0 of DRIFT — specification-driven release gate binding runtime test evidence to owner-approved 0.3 behaviour contracts.
Highlights & CLI
- Package
drift-map-uiinmake install, release archives, install scripts, and public export; sync the0.11.0public docs. - Add Free
drift run [--events DIR] [--gate] [--state-dir DIR] -- <cmd>wrapper with atomic view export, zero-clobber events, and optional--gate. - Redesign
drift-map-uicanvas: layered routed links (arrows, labels, legend filters), pan/zoom, search, history, link inspector, on-map Walk; self-test checks served-page CSP hygiene. - Add
drift map(cases/flow/state,--as mermaid,--what-if),drift map focus,drift map walk, and isolated offlinedrift-map-uiexplorer. - Emit contract/config/event findings (
DR-E601,DR-E701) under not-green contracts indrift gate --as mdand clarify reruns/retries and(JS/TS)scope in the superseded explain note. - Restrict JVM projected observations to exact needed pointers (skipping unused ancestors and UI payloads) and enforce the 1024-char cap in Unicode code points while rejecting lone surrogates.
- Unescape RFC 8259 JSON object keys (with post-unescape duplicate detection) in
inventory,openapi,upstream,formal, andbuild_graphparsers, and allow UTF-8 trailing bytes in test IDs. - Preserve
obs_redprovenance indrift gate --explain, renderboundreasons in--as mdwith--explainsupport, and omit redundant--explainadvice when already set. - Explain
bounddowngrades from missingdrift.observation/1orself_stubbedin single-contract and directorydrift gate --explain, keeping exit codes and--jsonunchanged. - Add Free
drift init --observedpreset (proof = "verified"+require_observations = true, default unchanged) and non-blockingverified-without-observations advisory. - Resolve selected
.drift/config.tomlfirst in memory during multi-targetdrift approvebatches, preserving preflight rollback, area isolation, and--reviewedbinding. - Fix drift_cpp.hpp NaN/Inf guards, maxDelta==0, multi-run emitProofBatch with outcome/level/0.3 capabilities, JSON escaping, 0.3 monotonic, replayCounterexamples, _frame guard, and emitSimReceipt.
- Add native pure-V OpenAPI 3.x YAML 1.2 Core decoder (
sweep,export boundary,new --openapi) with fail-closed duplicate/anchor/alias/merge/tab/budget guards. - Parallelize
release-build.ymlverify into 3 cached pre-gate jobs, parallelize cross-compile toolchains, and isolate parallel 4-target Free builds inrelease_packaging.py.
Polyglot Bridges & CI Ecosystem
- Align CLI
--helpsynopses forgate --as junit|summary|md(Free:summary|md) andinit <owner> [dir] [--observed] [--taplo]. - Enforce exact numeric
eq(no implicit1e-9slack withouttol, plusBigInt/unsafe-int guards) on schema0.3in Rust, JS, and Python bridges. - Harden drift-junit strictWhen (dynamic cases, DynamicTest, OR env/prop, META-INF Extension, end/finally cleanup), standalone caller IDs, and snapshot-mismatch stderr diagnostics.
- Harden Python bridge: lexical precheck & then-wrapper, strict plan keys, exact int eq, generator guard, sync snapshot check, .plans manifest/autoload, safe sidecar merge/lock, and sibling loader.
- Add cross-process lock + atomic rename on JS/Python single-file
.meta.json, validateDRIFT_SNAPSHOTsynchronously in JS, and mirror.plans/+ unifyattachBridgePlanon cold auto-resolve. - Restrict JS/Python projected observations to peer/invariant-referenced pointers (skipping unreferenced ancestors) and align Unicode caps on code points and UTF-8 bytes.
- Harden
drift_cpp.hppwithin the11200budget: validate 40/64-hex snapshots, reject stray]and blankinputs, allow(...)/[...]spaces, and addObsScalar::floating/null. - Harden
drift_rustdiscovery & shards: subtract--ignored, align homonym IDs, projectthenpointers in observations, and merge foreign classes + check snapshots on single-file.jsonl. - Harden
drift_rustruntime: emit failed events on panics, isolate mutant files, format large floats, reject non-int casts, validateDRIFT_SNAPSHOT, and catch./self-stubs. - Add C++20 canonical sidecar inventory and typed
ObsScalar/emitObservedProofBatchdrift.observation/1emission (cppceiling10150 -> 11200). - Add JUnit 5
@DriftCase(strictWhen)/DRIFT_STRICT_WHEN(AfterTestExecutionCallback),unreadWhen, and standaloneDrift.runCasefor MUnit suites. - Emit bounded
drift.observation/1payloads from actual pointer reads in JScheckProjectionand Pythoncheck_projection(including__planfast-path). - Add opt-in
strict_when/DRIFT_STRICT_WHENandDriftContext.unread_whenparity to Python bridge. - Document Gradle + JUnit 5 usage in
docs/bridges.md(env vars vs allowlistedsystemProperty,--rerun, directory-modemaxParallelForks, clean dirs, dynamic@DriftCase). - Harden
drift-junit:DRIFT_SNAPSHOT/DRIFT_SELECTenv,@Disabledcontainer drop, fail-fast config & atomic flush, single-file snapshot lock, empty-cases@DriftCase, ClassSource IDs. - Document Scala 3 / MUnit operational contract in
docs/bridges.md(cleanDRIFT_EVENTS, forked sbt env vars,afterAllflush, standalone verify boundary, Scala 2.12 caveat). - Harden
drift-junit: standalone ThreadLocal reset, Scala 3 case-class/Map.emptyverify, self-stub &inputsUnchangedguards, idempotent flush,(IDs, env fallbacks, and projected 0.3 obs. - Harden Python bridge: pytest/0-event runner guard, fork/switch shard isolation, mutants rc/setup-error handling, async rejection, pytest env.runner, module.Class IDs, and strict CLI parsing.
- Fix Python bridge mtime-guarded inventory merge, gate/prove runner rc propagation, self-stub obs suppression, '(' canonical test IDs, and fail-closed cold 0-file test runs.
- Fix JS bridge Mocha titlePath, test/ cold discovery and fail-closed empty test runs, runner env detection, UTF-8 4 KiB observation cap, project-scoped DERIVED keys, and retry supersession.
- Fix JS bridge canonical test IDs on '(', gate/prove runner exit-code propagation, and mtime-guarded prior inventory merge to prevent deleted/skipped test resurrection.
- Align
docs/bridges.md(removecheckLogSink/plan-loader overclaims on C++/C#/GDScript) and clarifyGUARANTEES.mdexit-2 inventory rejection. - Default
show --out&.drift/under--state-dir, add Free frame/floor advisories, and adddrift.stateDirtodrift-maven-plugin. - Exclude doc/line comments from
bridge_budget_test.vnon-ws counting and accept unary!mutations inscripts/selection_check.py.
Open Verifier, Proofs & Supply Chain
- Fail closed with
obs.frame_missing(inconclusive) whenscope.writes \ permitted != emptyandframe/frame.writesis omitted, across V kernel, offline verifier, and fuzzer. - Reject non-canonical
(,),[,]in.meta.jsonclasses,tests, andinputskeys fail-closed (DR-E701) in both V kernel and offline verifier. - Add declarative cross-bridge behavioral conformance matrix (
oracle.jsonl, Rust--edition=2021) checking local, wire, kernel, and verifier parity across JVM, JS, Python, Rust, and C++20. - Treat TOML literal maps containing
"$t"(inthenandwhenpeer clauses) as plain application maps rather than tagged wire nodes in both the kernel oracle and offline verifier. - Reject non-object
frame/presence, falsy non-listframe.writes, and malformedtouched_symbols/init_only_symbolsindrift.observation/1across both CLI (DR-E701) and offline verifier. - Fix offline verifier canonical_test_id '(' truncation, multi-shard inventory membership parity, and 0.3 missing-profile ValueError/DR-E401 handling.
- Fix offline verifier f32/f64 bits decoding, IEEE-754 f32 rounding, and false-positive unevaluated ["touched"] on .meta.json shards without touched.
- Add
drift.observation/1, single-file.jsonlDRIFT_EVENTS,strict_when, Edition 2021 (1.80) todrift_rust, and align verifier floatpeer.sum/balance. - Add opaque
[policy]/supersededadvisories, JSdrift.d.mts,project/DRIFT_TEST_PREFIX,strictWhen/DRIFT_STRICT_WHEN, anddrift_verify.py --compare-gate. - Auto-emit schema-valid
drift.observation/1(outcome = "returned", measuredframe.writes) in JVM/JS/Python, align JVM 0.3eq, and fix verifier$$/U+2028 parity.
Quick Install & Zero-Binary CI
# GitHub Action (defaults to zero-binary MIT Python verifier mode)
# uses: rad-ox/drift@v0.11.0
# Install native CLI + bridges + agent skill (Linux / macOS)
curl -fsSLO https://github.com/rad-ox/drift/releases/download/v0.11.0/SHA256SUMS
curl -fsSLO https://github.com/rad-ox/drift/releases/download/v0.11.0/drift-0.11.0-linux-x64.tar.gz
sha256sum --ignore-missing -c SHA256SUMSCryptographic 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.11.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.11.0-linux-x64.tar.gz