A Swift desktop application SDK for macOS & Windows, in development: one SwiftUI codebase, actual SwiftUI/AppKit on Mac & a SwiftRight-owned SwiftUI-semantics runtime on Windows, drawn by a Rust renderer on GPUI 0.2.2 with AccessKit.
Status: Work is paused since 11 October 2026. SR0 remains open: the Windows renderer, bridge, runtime & SliceApp build and run, and tuple 11 is built and receipted (fixture matrix 320/320; Mac-oracle cross-compare 16/16, with 0 unallowed differences and 69 fault controls rejected). BridgeSmoke recorded 40/40 smoke, 41/41 timeout and 10/10 pixel assertions. The slice contract is not frozen, the Windows MSIX fails interrupted-update check W08, and pending decisions remain; this is not a released SDK or a claim of complete SwiftUI compatibility (PENDING; SR0 status; tuple 11 snapshot; cross-compare evidence).
- On macOS, SwiftRight types will be SwiftUI's own types, with a direct AppKit escape hatch.
- On Windows, a SwiftRight-owned runtime will own identity, state lifetime, dependency tracking, bindings, environment, layout proposals, transactions and lifecycle, and will render through a versioned C ABI to the Rust renderer. GPUI is the first renderer; Slint remains an unqualified alternative. UI Automation accessibility is a prerequisite, not an assumption.
- Existing Rust engines will keep working: on Windows they load in-process as separate versioned DLLs behind their own C ABI, so a UI-only change does not rebuild the rendering stack.
- Parity will be a tested contract, never a promise. Every API in the published inventory will have a compile fixture, a behavioural trace recorded on macOS and a Windows replay; unsupported APIs will fail at Windows compile time.
- No compiler fork, no transpiler, no emulator for macOS binaries, no native WinUI controls, no second-language shell, and no AI service or network connection to render UI.
Source for each point: architecture, section 1 (product definition and hard requirements) and section 3 (architecture decisions AD2 to AD8).
Read SwiftRight architecture v0.5, dated 8 October 2026, & review history with v0.5 dispositions. The Windows renderer is a Rust cdylib on GPUI 0.2.2, AccessKit 0.25.1 & accesskit_windows 0.35.1, exposed to Swift through a versioned C ABI (0.6) consumed by SwiftRightBridge. The packaged example records its renderer pin in renderer-pin.json. GPUI is the first renderer; Slint remains an unqualified alternative. UIA, IME & Narrator paths are exercised by the SR0 native-interaction probes, and known limitations are listed in SR0 status.
The plan covers package boundaries, native backends, state and binding semantics, platform services, existing Rust-engine reuse, tooling, packaging, migration, conformance tests, performance measurements, and long-term maintenance.
Qualified targets are macOS 14 or later on Apple Silicon & Windows 11 x64 (SR0 status, scope revision 1). Windows arm64 & Intel Macs are unsupported. The recorded hosts use Swift 6.4 on both platforms (SR0 snapshot).
| Gate | Required outcome | State |
|---|---|---|
| SR0 | Qualify dependencies/hosts; freeze slice & budgets; establish repeatable Mac oracle; prove layout/bridge; compare seeds; qualify signed packages & local automation. Failures route to their owning layer; Slint must qualify before fallback use. | Open: receipts on tuple 11; freeze, W08 & listed decisions pending (docs/sr0-status.md) |
| SR1 | Inventory contract: compile fixtures, macOS traces, Windows replays; unsupported APIs fail at Windows compile. | Factory draft specifications & spikes in factory/; nothing promoted |
| SR2 | Deliver a complete desktop utility with persistence, native services, and installable packages. | Not started |
| SR3 | Migrate one real feature against an existing engine, retaining a rollback path. | Not started |
| SR4 | Pass measured performance, reliability, clean-install, and update requirements. | Not started |
| SR5 | Support a second independent application and publish contributor and compatibility guidance. | Not started |
The full plan defines acceptance criteria and platform boundaries for each gate. Preserve native platform extensions and working Rust engines; do not require a compiler fork, transpiler, browser-based controls, second-language shell, or runtime AI access. SwiftRight remains independent of RustRight.
| Path | Contents |
|---|---|
| docs/ | Architecture, SR0 status, findings, snapshot, retry ledger & the SR1 plan |
| examples/SliceApp/Windows/renderer-pin.json | Renderer pin for the packaged Windows example |
| packages/SwiftRightBridge/ | Swift bridge to the renderer ABI |
| packages/SwiftRightServices/ | Swift client for Rust engines on the RightKit framed-sidecar wire |
| examples/ | SliceApp (packaged example), BridgeSmoke, BridgeGeoModal |
| probes/ | SR0 probe projects & results |
| factory/ | SR1 factory specifications, tools & spikes (draft) |
| docs/qualification.md | Qualification runner, receipts & outputs |
| conformance/ | SR0 slice contract (draft) with accepted & candidate recordings |
SwiftRight owns UI semantics & Swift adapters; RightKit supplies existing shared capabilities, managed Rust builds & release machinery. This repository qualifies on local native hosts, without GitHub Actions.
SwiftRight is licensed under the Apache License 2.0. Third-party components keep their own licences; see NOTICE.