Skip to content

WIRE B2: atomic native ChannelId graph transactions and stable EdgeId - #382

Closed
masarray wants to merge 14 commits into
milestone/m5-universal-channelid-vst3-lease-migration-20261101from
work/wire-b2-native-atomic-transactions-20261104
Closed

masarray wants to merge 14 commits into
milestone/m5-universal-channelid-vst3-lease-migration-20261101from
work/wire-b2-native-atomic-transactions-20261104

Conversation

@masarray

@masarray masarray commented Nov 4, 2026 •

Copy link
Copy Markdown
Owner

Packet B2 native WIRE — existing ENGINE #266 ownership

Real code: stable edgeId on canonical DynamicChannelRoster links, atomic CONNECT/REMOVE/RETARGET/ROUTE_ONLY candidate transactions, whole-graph DAG/physical/budget checks via existing DynamicPreparedMixerBlock, and publish/rollback via existing RealtimeRoutePublisher and DynamicNativeSessionPublisher (no second PCM engine).

Installed engine hook: LiveDryRoutingLab::applyNativeWireTransaction reuses the actually installed ChannelId native PCM publisher and the same VST3 lease bank. LiveAudioEngine exposes the control-only entry point with physical device/clock guards, while existing M4 input/AUX paths are explicitly fail-closed until safe migration. Routine pure WIRE edits can publish while output is armed only when verified same-epoch physical patch remains unchanged; other structural operations remain disarm-only.

Accepted truth: DynamicConsoleRoutingView::edges and LiveDryRoutingLab::nativeBusStatus().edges expose exact decimal-string edgeId/source/target/tap/gain based on the accepted PCM graph, not JavaScript simulation.

Native regressions: same-sample direct / two-hop impulse, precise MAIN edge removal, stable retarget/route-only, duplicate/cyclic/stale rollback, armed wire mutation with changed hardware patch rejected. Windows CI at exact head required before promotion.

Not done / blocked: generic v8 APPLY_WIRE_TRANSACTION intent/ACK and GUI #271 consumer still gated; original M4 CH1–10/occupied vendor+Show routing migration incomplete; universal supportedOps remains fail-closed, no production parity/FAT #15 hardware pass. Do not merge to main or call READY FOR USER TEST independently. Reconcile into single ENGINE owner #266 after exact-head CI.

Refs #192 #266 #271 #270 #15. No CSS/GUI visual changes.

masarray added a commit that referenced this pull request Nov 4, 2026
Reconciles #379/#380 and safe #382 armed-WIRE changes. Windows exact-head CI 41803989638 PASS. Stable EdgeId, one prepared PCM publisher, native ACK scope, rollbacks, same-device armed internal wire edits; no GUI visual changes. Native GUI universal schema and physical FAT remain gated.

masarray commented Nov 4, 2026

Copy link
Copy Markdown
Owner Author

Consolidated valid B2 work into canonical ENGINE #266 through merged #379 (e6a92d1744744d47bea0beecaffce17ad76ef270). Transplanted the safe pure-internal WIRE while-output-armed publication (identical verified device/physical patch only), native LiveDryRoutingLab → DynamicNativeSessionPublisher hook, accepted edge inventory, and regression coverage. Kept #379's more complete roster edge identity/Guardian, default MAIN wiring, native v8-scoped intent/ACK transport and live_channel_fx_graph_test instead of introducing incompatible second WireChange API. #382's blanket legacy-M4 source rejection was not copied: canonical producer already switches to installed ChannelId PCM with existing CH1 vendor lease; qualification still pending. Canonical exact-head CI PASS https://github.com/masarray/arsonmix/actions/runs/41803989638. Closing redundant alternate B2 PR; universal v8 UI and hardware FAT remain pending.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant