From 2346da5823a40e20878f92ef8c0c196e01084022 Mon Sep 17 00:00:00 2001 From: Rodolphe Date: Sat, 29 Aug 2026 10:57:19 -0400 Subject: [PATCH] docs: record ecosystem status, and withdraw the Swift fixture MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Swift fixture is withdrawn rather than shipped. It claimed swift-argument-parser 0.4.4 → 1.0.3 removed the top-level `ArrayParsingStrategy` enum; diffing `public enum` declarations across the two tags appeared to confirm it. The oracle disproved it — the upgraded tree still built. The type was not removed, it changed from an `enum` to a `public struct` of the same name with the same `.upToNextOption` member, so consumer code is unaffected. The diff method was wrong, not the library. This is the second time the oracle has caught an incorrect claim of mine before it reached anyone, which is what it is for. docs/ecosystem-status.md records, per ecosystem, what ships and what does not and why: the Swift finding above, CocoaPods needing Xcode that Codespaces cannot provide, and conan/vcpkg/arduino/opam as not yet built with the specific obstacle each carries. Refs #6. Co-Authored-By: Claude Sonnet 5 --- docs/ecosystem-status.md | 84 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 docs/ecosystem-status.md diff --git a/docs/ecosystem-status.md b/docs/ecosystem-status.md new file mode 100644 index 0000000..ee7cfc5 --- /dev/null +++ b/docs/ecosystem-status.md @@ -0,0 +1,84 @@ +# Ecosystem status + +Which of Drift's sixteen ecosystems have a demo, and why the rest do not yet. +`.drift-demo/demos.json` is the machine-readable version of this; this file +records the *reasons*, which a status enum cannot carry. + +A demo only ships when three things hold: + +1. **The break is real.** `scripts/verify-oracle.mjs` compiles or runs the + fixture with the ecosystem's own toolchain: the committed baseline must + succeed and the upgraded tree must fail, for the stated reason. +2. **The fixture is honest.** Committed at the old version, source valid + against it, and the patch touches only dependency metadata. +3. **Drift has something to say.** Either a localized finding (`interactive`) + or cited evidence and a recommendation (`evidence-only`). + +An ecosystem that satisfies 1 and 2 but not 3 stays `not-yet-validated`. That +is a real outcome, not a gap to paper over — see §39 of the project brief. + +## Shipped + +| Ecosystem | Dependency | Old → New | Drift result | Status | +| --- | --- | --- | --- | --- | +| `npm` | `axios` | 0.21.4 → 1.7.7 | `removed-export` `AxiosTransformer`, localized (2 sites) | interactive-grade | +| `pypi` | `Werkzeug` | 2.0.3 → 2.1.0 | `removed-export` `safe_str_cmp`, localized (2 sites) | interactive-grade | +| `go` | `golang.org/x/exp` | 2023-05 → 2023-10 | `signature-change` `slices.SortFunc`, localized | interactive-grade | +| `cargo` | `clap` | 2.34.0 → 4.5.4 | `removed-export` `clap::App`, **not** localized | interactive-grade, no call site | +| `maven` | `com.google.guava:guava` | 20.0 → 21.0 | `removed-export` `Objects.firstNonNull`, localized | interactive-grade | +| `nuget` | `AutoMapper` | 8.1.1 → 9.0.0 | `removed-export` `Mapper.Initialize`, localized | interactive-grade | +| `hex` | `plug` | 1.13.6 → 1.15.0 | `removed-export` `Plug.Adapters.Cowboy2`, localized | interactive-grade | +| `pub` | `dio` | 4.0.6 → 5.0.0 | `removed-export` `Dio.lock`/`unlock`, localized (2 sites) | interactive-grade | +| `rubygems` | `rack` | 3.0.0 → 3.1.0 | no surface diff; 10 changelog sections cited, `do-not-upgrade-yet` | **evidence-only** | +| `packagist` | `monolog/monolog` | 2.9.3 → 3.5.0 | 5 findings, 11 notes — none naming the deleted class; `safe-to-upgrade` | not-yet-validated | + +Every demo above is left `not-yet-validated` in `demos.json` until the VS Code +extension is published and a real Codespace run confirms it end to end. The +"interactive-grade" label above describes the analysis Drift produces today, not +a validated browser demo. + +## Not yet built, and why + +### `swift` + +A fixture was built and **withdrawn**, which is worth recording. + +`swift-argument-parser` 0.4.4 → 1.0.3 looked like a clean removal: diffing +`public enum` declarations showed `ArrayParsingStrategy` present in 0.4.4 and +absent in 1.0.3. The oracle disproved it — the upgraded tree still built. The +type was not removed; it changed from an `enum` to a `public struct` with the +same name and the same `.upToNextOption` member, so consumer code is unaffected. +The diff method was wrong, not the library. + +`swift-argument-parser` 1.0.3 → 1.5.0 has no public symbol removals at all. + +Separately, Drift returns nothing for either Swift pair — no findings, no +changelog sections, `safe-to-upgrade`. SwiftPM identifies packages by git URL +with no central registry, so Drift declares `surface: none` and only partial +evidence here. Both halves need solving before a Swift demo is worth shipping. + +### `cocoapods` + +Codespaces is Linux. CocoaPods' meaningful verification — building a pod against +an app target — needs Xcode, so an oracle cannot run there, and §40 is explicit +that faking macOS is not an option. Drift's registry already declares +`verify: none` and `surface: none` for CocoaPods. A demo would have to rest on +podspec metadata alone. + +### `opam` + +Drift declares `surface: none` and `convention`-based localization for OCaml, +and reads releases from the opam-repository index rather than an API. Needs the +same evidence-quality check `rubygems` got before it is worth building. + +### `conan`, `vcpkg` + +Both have a genuine C/C++ header surface diff in Drift, which makes them the +most promising of the remainder. Not yet built. `vcpkg` additionally has the +baseline problem Drift's own registry names: one commit of the ports tree +decides every version at once, so expressing "one dependency moved" in the +fixture model needs care. + +### `arduino` + +Shares the C/C++ surface diff. Not yet built.