AUDIO
Source snapshot · 11 November 2026

Explicit trusted VST3 catalogues

Graph-bank child editors and edit gestures

Two additions let a Graph-bank child keep processing on its AUDIO worker while its editor is open on MAIN, and deliver the editor's parameter edits to the processor and the host (decision 0276). Both are macOS-only prototypes with local arm64 evidence.

Edit gestures

The caller-linked native archive exports ravet_vst3_edit_gesture_provider_v1, an additive 40-byte table whose origin is the exact instance ABI-v2 table. edits::Provider::from_raw checks its size, version, entries and origin. Vst3GraphBankBuilder::edit_gestures(child, provider, EditOptions) checks pointer identity with the bank's Library, an event-queue capacity of 1..=4096 and a value capacity of 1..=256. Existing tables, layouts and result domains are unchanged. A child that does not opt in keeps the original component handler: beginEdit, performEdit and endEdit return kNotImplemented, and restartComponent coalesces flags as before.

build enables capture after the child is prepared and before any child starts or any lease begins. Enabling snapshots the writable parameter ids (not read-only, not hidden) of the catalogue refreshed at build. An enable refusal is BankError::Edit and unwinds like any build failure. From then on:

Graph-bank child editors

With vst3-editor and vst3-hosted-audio, control.open_editor(child, editor::Provider, Platform::NsView) returns a Vst3GraphEditor. It uses the same native editor companion as scoped editors. Those entries take the module busy flag but not the live-core CONTROL admission, so the bank's AUDIO leases stay live. The guard borrows neither the control nor an Instance, and is neither Send nor Sync. It offers the scoped editor's operations: unsafe attach, detach, size, resize, set_content_scale, take_resize_request, state and close.

Thread safety is the plug-in's responsibility. With an open editor, MAIN calls into the controller and view (createView, attached, onSize, edit callbacks) while AUDIO calls process() on the same child. VST3 permits this and requires the plug-in to make it safe. This matters most for a single-component plug-in, whose controller and processor are one object. RAVET's ordering rules prevent lifecycle races (no retirement while the view lives), but they cannot make a plug-in's own state thread-safe. Only RAVET's Gain, a split component/controller plug-in, has been exercised. No single-component or third-party plug-in has been tested.

Ordering is enforced by state, not by a borrow:

attach keeps the scoped editor's unsafe obligation: the caller's NSView must stay alive until a successful detach or until the guard is closed or dropped. No callback enters Rust, and no view, frame or controller pointer escapes.

Validation

Not covered: single-component or third-party plug-ins, a visible focused editor, WebKit JavaScript or input-event edits, multi-bank load, and Rust-side race detection (no sanitizer or model checker for the Rust rings).

Limits

macOS NSView only, local arm64 evidence. The only real editor exercised is RAVET's own Gain editor, in a hidden window that is never ordered front. Its edits are injected in-process into its script-message handler, not produced by WebKit JavaScript evaluation, mouse or keyboard input. There is no DAW, third-party editor, visual-rendering, accessibility or real-time deadline claim. Allocation evidence covers the Rust heap only. Edit values are applied at block granularity (offset 0). The bank does not restart or re-prepare a running child for latency, I/O or routing changes. A forgotten editor guard keeps its bank retained.