| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
All checks were successful
joule-moq-remote host agent / joule-moq-remote · does this change touch it (pull_request) Successful in 8s
standards workspaces build + test / which workspaces this change touches (pull_request) Successful in 7s
joule-moq-room room service / joule-moq-room · does this change touch it (pull_request) Successful in 8s
wai-app and Create / wai-app · does this change touch it (pull_request) Successful in 9s
joule-moq-web browser client / joule-moq-web · does this change touch it (pull_request) Successful in 9s
wai-web reach builds / wai-web reach · does this change touch it (pull_request) Successful in 9s
wai-audit collector and player integration / does this change touch it (pull_request) Successful in 7s
WAI breaking changes and the conformance runner / WAI breaking · does this change touch WAI (pull_request) Successful in 15s
WAI operation catalogue / does this change touch it (pull_request) Successful in 9s
WAI conformance / does this change touch it (pull_request) Successful in 9s
wai-app and Create / wai-app · tests, clippy, the line language's verifier (linux) (pull_request) Successful in 43s
joule-moq-remote host agent / joule-moq-remote, every target (macos) (pull_request) Successful in 51s
wai-audit collector and player integration / collector · linux (pull_request) Successful in 1m11s
WAI energy receipts / does this change touch it (pull_request) Successful in 39s
WAI examples / WAI examples · does this change touch them (pull_request) Successful in 17s
WAI breaking changes and the conformance runner / WAI breaking · wire, record and API against main · linux (pull_request) Successful in 1m35s
wai-fleet service / does this change touch it (pull_request) Successful in 25s
WAI JPEG-AI whole decode (pinned inputs, required) / does this change touch it (pull_request) Successful in 24s
wai-audit collector and player integration / collector, player integration and the browser end to end · macos (pull_request) Successful in 2m9s
wai-ledger service / does this change touch it (pull_request) Successful in 17s
wai-key-proxy / does this change touch it (pull_request) Successful in 19s
wai-web reach builds / wai-web reach builds · the package of record, every output as recorded (pull_request) Successful in 2m29s
WAI neural sink gates / does this change touch it (pull_request) Successful in 10s
wai-ops-gpu integer operators on GPUs / does this change touch it (pull_request) Successful in 9s
wai-pack / wai-pack · does this change touch it (pull_request) Successful in 8s
wai-quantum docs, course and locales / does this change touch it (pull_request) Successful in 8s
WAI conformance / cross-arch byte-equality · macos (pull_request) Successful in 35s
wai-quantum for JavaScript / does this change touch it (pull_request) Successful in 6s
wai-quantum studio and desktop / does this change touch it (pull_request) Successful in 7s
wai-quantum WebGPU member / does this change touch it (pull_request) Successful in 8s
WAI breaking changes and the conformance runner / WAI breaking and conform · their tests, and the independent verifiers through wai conform · linux (pull_request) Successful in 2m38s
wai-sink-android native sink library / does this change touch it (pull_request) Successful in 9s
wai-sink-swift native sink package / does this change touch it (pull_request) Successful in 11s
WAI mbt2018_mean integer decode (regenerated vectors) / does this change touch it (pull_request) Successful in 9s
WAI Studio / does this change touch it (pull_request) Successful in 7s
wai-web wasm32 / does this change touch it (pull_request) Successful in 8s
repository checks / lockfiles, advisories, tests in CI, workflow hygiene, spec and section references, public text (pull_request) Successful in 3m42s
WAI conformance / cross-arch byte-equality · linux (pull_request) Successful in 36s
WAI conformance / fast integer kernels, every x86_64 kernel set (AVX-512 silicon) (pull_request) Successful in 3m7s
WAI conformance / codec wrappers · fuzz smoke, text decode limits, C entry points, provenance, the semantic path (pull_request) Successful in 1m17s
WAI conformance / faces from keypoints under wasm32-wasip2 (wasmtime) (pull_request) Successful in 1m45s
wai-web reach builds / wai-web reach builds · this tree's wai-web, every rung on its engine line (pull_request) Successful in 4m53s
joule-moq-remote host agent / joule-moq-remote, every target (linux-arm64) (pull_request) Successful in 1m32s
WAI operation catalogue / the catalogue and every door · linux (pull_request) Successful in 4m33s
WAI conformance / quantum core and corpus under wasm32-wasip2 (wasmtime) (pull_request) Successful in 3m32s
standards workspaces build + test / macOS energy backends (pull_request) Successful in 5m59s
wai-fleet service / service · linux (pull_request) Successful in 2m5s
wai-ledger service / service · linux (pull_request) Successful in 1m33s
joule-moq-room room service / joule-moq-room, every target (pull_request) Successful in 4m16s
wai-key-proxy / proxy · linux (pull_request) Successful in 1m7s
WAI conformance / v2 vocabulary · manifests validate as stated (pull_request) Successful in 1m1s
WAI neural sink gates / model-free refusals of the neural sink (pull_request) Successful in 1m50s
wai-pack / wai-pack · linux (pull_request) Successful in 2m8s
WAI conformance / cargo-class corpora · macos (pull_request) Successful in 11m16s
wai-quantum WebGPU member / member · integrated GPU, Vulkan (framework-128gb) (pull_request) Successful in 8m17s
wai-ops-gpu integer operators on GPUs / builds · no adapter is not a pass (linux) (pull_request) Successful in 4m2s
wai-app and Create / wai-app · Create, browser end-to-end (macos) (pull_request) Successful in 12m13s
standards workspaces build + test / joule-code-rs (joule-code/joule-code-rs, joule-code-rs, linux-arm64, true) (pull_request) Successful in 9m1s
wai-fleet service / service · macos (pull_request) Successful in 36s
wai-quantum WebGPU member / member · DX12 and Vulkan (cbio-windows) (pull_request) Successful in 13m6s
wai-ledger service / service · macos (pull_request) Successful in 1m8s
WAI examples / WAI examples · portable · linux (pull_request) Successful in 10m13s
wai-quantum docs, course and locales / the course and the command line's languages · linux (pull_request) Successful in 2m18s
wai-quantum docs, course and locales / the Studio's words in every locale · linux (pull_request) Successful in 8s
WAI energy receipts / energy receipts · macos (pull_request) Successful in 10m40s
WAI examples / WAI examples · the archive, the readiness check, the browser and Apple · macos (pull_request) Successful in 9m42s
WAI JPEG-AI whole decode (pinned inputs, required) / fetch pinned JPEG-AI inputs → whole decode + pixel hash, required (pull_request) Successful in 11m39s
wai-quantum for JavaScript / javascript · linux (pull_request) Successful in 3m5s
WAI energy receipts / energy receipts · linux (pull_request) Successful in 14m0s
wai-quantum WebGPU member / member · Metal (macos) (pull_request) Successful in 2m8s
wai-pack / wai-pack · macos (pull_request) Successful in 4m37s
WAI conformance / cargo-class corpora · linux (pull_request) Successful in 16m44s
wai-quantum studio and desktop / studio · browser (pull_request) Successful in 3m45s
WAI Studio / the catalogue's actions, the unit tests and the core · linux (pull_request) Successful in 57s
wai-quantum WebGPU member / member · browser WebGPU (macos) (pull_request) Successful in 1m33s
wai-ops-gpu integer operators on GPUs / Metal GPU and browser WebGPU (macos) (pull_request) Successful in 7m46s
wai-quantum WebGPU member / member · software Vulkan (linux) (pull_request) Successful in 2m46s
wai-quantum studio and desktop / desktop app · macos (pull_request) Successful in 6m50s
wai-quantum WebGPU member / shader checks · browser build · wasip2 inertness · MSRV (pull_request) Successful in 4m10s
joule-moq-web browser client / joule-moq-web · browser end-to-end (macos) (pull_request) Successful in 22m30s
WAI mbt2018_mean integer decode (regenerated vectors) / regenerate mbt2018_mean integer vectors → Rust decode, required (pull_request) Successful in 5m40s
wai-quantum studio and desktop / desktop app · linux (pull_request) Successful in 6m24s
wai-quantum studio and desktop / desktop app · windows (pull_request) Successful in 10m59s
wai-web wasm32 / wai-web wasm32 build · corpus, menu and writers (pull_request) Successful in 5m57s
wai-sink-android native sink library / every ABI, the AAR, and the instrumented tests in a headless emulator · macos (pull_request) Successful in 9m10s
wai-quantum docs, course and locales / every command and snippet in the docs · linux (pull_request) Successful in 16m9s
wai-quantum WebGPU member / member · GPU, Vulkan (jetson-hub) (pull_request) Successful in 25m5s
WAI Studio / Studio in Chromium and Firefox · macos (pull_request) Successful in 7m37s
wai-quantum WebGPU member / member · GPU, Vulkan (thor) (pull_request) Successful in 25m12s
WAI conformance / cargo-class corpora · linux-arm64 (pull_request) Successful in 23m18s
WAI conformance / delivery telemetry · CMCD and CMSD against an independent library (pull_request) Successful in 12s
WAI conformance / each feature of the independent verifiers' steps compiles alone (pull_request) Successful in 15m57s
WAI conformance / cross-arch byte-equality · linux-arm64 (pull_request) Successful in 35s
WAI Studio / Studio in WebKit · linux (pull_request) Successful in 10m44s
WAI conformance / C2PA manifest emission · signed, read back, validated (pull_request) Successful in 2m3s
wai-sink-swift native sink package / libwai slices, desktop tests, simulator tests · macos (pull_request) Successful in 11m36s
WAI examples / WAI examples · android-app · linux-arm64 (pull_request) Successful in 7m25s
wai-pack / wai-pack · linux-arm64 (pull_request) Successful in 3m3s
WAI energy receipts / energy receipts · linux-arm64 (pull_request) Successful in 16m37s
wai-pack / wai-pack · the floor through a media prober (pull_request) Successful in 36s
wai-pack / wai-pack · dependency licences (pull_request) Successful in 1m43s
wai-pack / wai-pack · independent verifier (Python) (pull_request) Successful in 9m21s
wai-sink-android native sink library / the JNI layer and the platform-free half on the host JVM · linux-arm64 (pull_request) Successful in 3m24s
WAI conformance / independent verifiers · claims, JWP, key discovery and integer payloads (Python) (pull_request) Successful in 1h22m6s
`ZipArchive::extract` sizes a symlink target's buffer from the size the
archive declares, so a 112-byte archive aborts the process. Fixed in zip 9.
The audit went red on every open PR when the advisory was published.
Two lockfiles move:
wai-quantum-desktop: tauri-plugin-updater 2.14.0 -> 2.14.1. Its source is
unchanged; it asks for zip 9. This was the only copy that runs `extract`
in a shipped program, on Windows, on an update package whose signature
has already been checked.
wai-rs: c2pa 0.90 -> 0.91, behind `c2pa_emit`. This also takes
elliptic-curve 0.14, so the workspace holds no crypto-bigint 0.5.
Four copies stay, each read at its call site and allowed at its exact
version: open_board_format and candle-core never call `extract`, and
webrtc-sys-build calls it in a build script, on its own download. The build
crate's next releases change which libwebrtc it downloads, so it moves with
livekit.
The comment over the older zip entries said nothing in this tree extracts an
archive. It was wrong: the updater did, and the build script does. It now
says what is true.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
||
| .. | ||
| capabilities | ||
| icons | ||
| release | ||
| src | ||
| .gitignore | ||
| build.rs | ||
| Cargo.lock | ||
| Cargo.toml | ||
| README.md | ||
| tauri.conf.json | ||
Quantum Studio for the desktop
Quantum Studio as an app. The interface is the browser's. The engine underneath is the quantum job service's engine (wai_quantum::engine), built natively: it uses every core, holds as much memory as the machine has, and works offline.
- Each job runs in a process of its own, this binary run as
worker, so a large job cannot take the app's memory with it, and Cancel ends it. - The worker plans and runs; the app seals. It signs the answer with this user's key, the command line's (
~/.config/wai/quantum-key), which never leaves the app. - Step through and editing by the drawing run natively here: the debugger steps a program and lists its branches off the window's thread, and a drawing's edits, its SVG and LaTeX, and its description in words answer at once.
- Saved jobs, programs and drawings go to
~/Documents/Quantum Studio/.wai-quantum verifychecks a saved job. - The job service is one switch away, as in the browser.
- Your own hardware: the providers you listed with
wai-quantum providers addare under Your hardware. A run asks the provider for its estimate first and shows a dialog before one that is not free; the app reads the credential from the keychain and seals the counts with your key, and the page never sees the credential. - Memory: a job may take
$WAI_QUANTUM_MEMORY_GB(16 by default). The plan says when a job needs more. - Updates: a copy installed by its own installer looks for a newer version as it opens and offers it above the Studio. Nothing installs until you say so, and an update installs only when its signature verifies with the key the app carries, for the version announced; the app then restarts into it. Installers and updates says which copies update themselves.
What is stable
The app is an application. What it promises is the engine's, through what it saves: a job is the engine's job JSON, which follows its schemas, and its receipt verifies with wai-quantum verify in every later version. What each WAI Quantum version promises, and how a change is announced: the policy; what is deprecated: the deprecations.
Building
The app embeds the Studio's build, so build the Studio first:
(cd ../quantum-studio && npm ci && node build.mjs)
cargo build --locked --release # add --features metal for the GPU state vector on macOS
./target/release/wai-quantum-desktop # the app
./target/release/wai-quantum-desktop check # a job through the worker, sealed and verified, with no window
It draws with the operating system's own web view, so the app carries no browser of its own.
Installers and updates
A tag wai-quantum-desktop-v<version> (the version Cargo.toml and tauri.conf.json both state) runs the release workflow, which builds the installers on each platform and attaches them to the forge release of that tag, each with its SHA-256:
| Platform | Assets (wai-quantum-desktop-<version>-<target>…) |
Updates itself |
|---|---|---|
| macOS, Apple silicon and Intel (with the GPU state vector) | .dmg |
yes, from Applications |
| Linux, x86_64 and arm64 | .AppImage, .deb, .rpm |
yes (the packages through the system's password prompt) |
| Windows, x86_64 | -setup.exe |
yes |
| Windows, x86_64 | .zip, a portable copy, for package managers |
no: the package manager updates it |
The same run writes a Homebrew cask, a Scoop manifest and the update manifest (latest.json) from the assets it attached (release/manifests.py, from the templates beside it), and attaches them to the release. The tap and the bucket take the cask and the manifest from there:
brew tap transaction-science/tap https://git.transaction.science/Transaction-Science/homebrew-tap
brew install --cask wai-quantum-desktop
scoop bucket add transaction-science https://git.transaction.science/Transaction-Science/scoop-bucket
scoop install wai-quantum-desktop
Each build runs what it made before it is attached: the bundled app's check, and its update-status, which names the installer a copy came from (none, for a copy cargo built or the portable archive's), the macOS app's code signature and the disk image's checksums, the AppImage, and the Debian package unpacked. The bundler is pinned (cargo install --locked tauri-cli --version 2.12.3), and the builds are, with UPDATER_CONFIG {} unless the release signs updates:
cargo tauri build --ci --target "$t" --bundles app,dmg --features metal --config "$UPDATER_CONFIG" -- --locked # macOS
cargo tauri build --ci --target "$t" --bundles appimage,deb,rpm --config "$UPDATER_CONFIG" -- --locked # Linux
cargo tauri build --ci --target $t --bundles nsis --config $updaterConfig '--' --locked # Windows (PowerShell)
Which copies update themselves. A copy looks for updates only when it was built with the release's public key and came from its own installer: the macOS app (moved out of its disk image), the AppImage, the Debian or RPM package, or the Windows installer. A copy built from source, or unpacked from the portable archive by a package manager, says nothing of updates and is updated the way it came. The app asks one address, https://wai.transaction.science/quantum-studio-desktop/latest.json, which the website serves. Each signed release attaches its own latest.json, and the website takes it from that release when it is next deployed (scripts/sync-desktop-update.sh <version> in the website's repository, which refuses a manifest for an older version than the one it serves, or one whose updates are not on that version's release). The check is a plain download of that file, and sends nothing else. An update is refused unless its signature verifies with the key in tauri.conf.json (plugins.updater.pubkey) and names the version the manifest announces (requireSignedVersion), so a manifest cannot pair a newer number with an older build. Before attaching anything, the release runs the built app's verify-update FILE SIG VERSION on every update it signed, which makes the same check with the same key.
What the owner sets up. Until then a release is unsigned and installers are all it makes: the macOS app is signed ad hoc and not notarised (the cask says how to open it the first time), and no copy updates itself.
-
The update key, made once on a machine you trust (it asks for a password; the private key goes to the file and is never printed), then the public key into the app:
cargo tauri signer generate -w ~/.tauri/wai-quantum-desktop.keyPut the one line of
~/.tauri/wai-quantum-desktop.key.pubintauri.conf.jsonasplugins.updater.pubkey, and commit that. The private key never goes in the repository. -
The forge secrets (the repository's Settings, then Actions, then Secrets). The release reads each one only when it is set, and the log says which steps it skipped:
Secret What it holds Without it WAI_QUANTUM_DESKTOP_UPDATER_KEYthe text of ~/.tauri/wai-quantum-desktop.keyno update is signed, and no latest.jsonis writtenWAI_QUANTUM_DESKTOP_UPDATER_KEY_PASSWORDits password (needed if the key has one) APPLE_SIGNING_IDENTITYthe Developer ID Application identity, e.g. Developer ID Application: NAME (TEAMID)the app is signed ad hoc APPLE_CERTIFICATE,APPLE_CERTIFICATE_PASSWORDthat certificate as a .p12file in base64, and its password (not needed when the macOS runner's keychain already holds the identity)APPLE_API_ISSUER,APPLE_API_KEY,APPLE_API_KEY_P8an App Store Connect API key for notarisation: its issuer, its key ID and the .p8file's textnot notarised APPLE_ID,APPLE_PASSWORD,APPLE_TEAM_IDinstead of the API key: an Apple ID, an app-specific password and the team A key in the secret with no public key in
tauri.conf.jsonstops the release, since no copy could check what it is offered.