diff --git a/.github/workflows/ui-smoke.yml b/.github/workflows/ui-smoke.yml index ec5d88eb1..a91e26158 100644 --- a/.github/workflows/ui-smoke.yml +++ b/.github/workflows/ui-smoke.yml @@ -81,6 +81,8 @@ jobs: run: python tests/pages_fx_rail_v53_smoke.py - name: Verify V54 context-aware WIRE and independent FX chain/slot bypass run: python tests/pages_v54_wire_fx_context_smoke.py + - name: Verify V55 accepted WIRE paint and fader depth + run: python tests/pages_v55_context_wire_fader_smoke.py - name: Verify original metallic asset and standalone synchronization run: python tests/fader_asset_test.py - name: Validate recessed Button 180 + embedded Inter font contract diff --git a/docs/workstreams/GUI_V55_CONTEXT_WIRE_FX_NATIVE_HANDOFF_20261104.md b/docs/workstreams/GUI_V55_CONTEXT_WIRE_FX_NATIVE_HANDOFF_20261104.md new file mode 100644 index 000000000..13c7afcc4 --- /dev/null +++ b/docs/workstreams/GUI_V55_CONTEXT_WIRE_FX_NATIVE_HANDOFF_20261104.md @@ -0,0 +1,25 @@ +# V55 — WIRE socket paint, fader cap depth and native FX handoff + +**Reference only; not native PCM.** Baseline `main@1e5a835f6af1125a451c8a9a77cb5556ce0a3152`. V51/V52 meter/fader geometry, V53 FX rack, V54 FX bypass state semantics remain authoritative. + +## Implemented GUI +- `data-wire-paint=idle|connected` is projected from **visible accepted** `wireEdges`. This is a rendering state, not an audio route. `data-wire-connected` remains true for a committed but hidden/off-bank wire; only a visible physical wire illuminates its endpoint. No legacy SEND or selected-channel state can pretend a committed wire. Hover/drag/magnetic snap are explicitly transient. +- CH1/CH2 idle WIRE IN/OUT remains graphite; focus-hidden routes retain connected semantics with a graphite ring AND graphite dot; replug/focus/Undo refresh the paint without additional per-frame rendering. +- Silver/rose PNG fader cap retains existing dimensions/travel; larger three-layer **static CSS** shadow, no filter, canvas or animation. +- V54 already implements header `fxOn` for whole-channel FX chain, and each `slotBypass[index]` for only its insert. Turning the header OFF must preserve all slot bypass flags and stable `fxInsertIds`. Never introduce duplicate bypass state owners. + +## Engine/native GUI connection points +Existing authority: `contracts/console-puzzle-v8.json`, `AGENTS.md`, ENGINE #266, native GUI #271, FAT #270. Use schemaVersion=6 messages `arMixConsoleIntent` -> `arMixConsoleAck` -> `arMixConsoleSnapshot`. Required intent: `requestId`, `deviceEpoch`, `baseGraphRevision`, `baseRosterRevision`, `operation`, `targetChannelId`, `payload`. Only matching same-epoch/revision accepted snapshot paints LIVE; pending/error must not change accepted chain or wire. + +| GUI control | Stable target | Proposed installed-operation requirement | +| --- | --- | --- | +| Channel FX header | ChannelId | Whole chain bypass; preserve per-insert bypass, editor, plugin lease and PDC | +| Individual FX power | ChannelId + stable insertId | Toggle **only** that insert, preserve sibling state and chain flag | +| FX drag grip | ChannelId + insertId + target index | Same-channel prepared reorder; reject copy of VST3 by name | +| WIRE node | ChannelId + edgeId | Only accepted `graph.edges[]` may show committed jack; focus/visibility is a projection | +| Fader | ChannelId | Existing bounded realtime gain operation, no graph rebuild | + +**Capability gating:** propose names `SET_FX_CHAIN_BYPASS` / `SET_FX_INSERT_BYPASS` only for discussion with the native owners; do NOT advertise these as installed `supportedOps` or send unsupported intents. Native state must be prepared off callback and accepted atomically; callback never allocates, locks, touches UI or loads/unloads VST3. Reference GUI currently fails closed in native mode (`deferNativeFxIntent`) until native owners install the actual operation+ACK+accepted snapshot. + +## Gates +Run `python tests/pages_v55_context_wire_fader_smoke.py`, previous V54 FX chain/slot+native fail-closed smoke, full Chromium exact-head CI and visual screenshot review. Preserve V51 meter SHA/geometry; no hardware FAT claim. Wire canonical MAIN implementation is separately owned by Packet A runbook. diff --git a/site/preview-v2/assets/mixer-fader-assembly.css b/site/preview-v2/assets/mixer-fader-assembly.css index 849f8b7eb..049d23938 100644 --- a/site/preview-v2/assets/mixer-fader-assembly.css +++ b/site/preview-v2/assets/mixer-fader-assembly.css @@ -413,6 +413,6 @@ Three STATIC small-area shadows, original silver/rose PNG and no GPU filter, timers, new DOM nodes or geometry changes. */ .console-body .strip .fader-travel .cap{ - box-shadow:0 3px 4px -1px #000e,1px 8px 9px -3px #000c,0 13px 12px -7px #0009!important; + box-shadow:0 4px 6px -1px #000f,2px 10px 13px -3px #000e,0 17px 17px -7px #000b!important; filter:none!important; } diff --git a/site/preview-v2/assets/mixer-wire-dots.css b/site/preview-v2/assets/mixer-wire-dots.css index 92f7ef1af..1bb72e1be 100644 --- a/site/preview-v2/assets/mixer-wire-dots.css +++ b/site/preview-v2/assets/mixer-wire-dots.css @@ -915,3 +915,23 @@ background:#4b535b!important;border-color:#657681!important; box-shadow:inset 0 1px 2px #061017!important;opacity:1!important; } + +/* V55: physically painted WIRE endpoints require a displayed accepted edge. + data-wire-connected remains independent graph truth for hidden/off-bank + inspection. Hover, magnet and deliberate patch intent remain transient. */ +.console-body.wire-routing-v15 .strip .wire-tray .wire-node-out[data-wire-paint="idle"]:not(.is-source):not(.is-drag-origin):not(.is-near):not(:hover):not(:focus-visible) .wire-pin, +.console-body.wire-routing-v15 .strip .wire-tray .wire-node-in[data-wire-paint="idle"]:not(.is-snap-target):not(.is-replug-origin):not(:hover):not(:focus-visible) .wire-arrow{ + background:#4b535b!important;border-color:#657681!important; + box-shadow:inset 0 1px 2px #061017!important;opacity:1!important; +} +.console-body.wire-routing-v15 .strip .wire-tray .wire-node-out[data-wire-paint="connected"]:not(:hover) .wire-pin{ + background:var(--wire-edge-color)!important;opacity:var(--wire-edge-opacity,1)!important; +} + +/* The receiving bezel itself must agree with its inner dot. A stored edge + hidden by WIRE focus is still connected in graph state but visually dark. */ +.console-body.wire-routing-v15 .strip .wire-tray + .wire-node-in[data-wire-paint="idle"]:not(:hover):not(.is-snap-target):not(.is-replug-origin){ + border-color:#394a55!important;background:#1b2b35!important; + box-shadow:inset 0 1px 2px #07141c!important; +} diff --git a/site/preview-v2/index.html b/site/preview-v2/index.html index cd6ea9d44..5949c2ae2 100644 --- a/site/preview-v2/index.html +++ b/site/preview-v2/index.html @@ -267,11 +267,11 @@ - + - + @@ -807,12 +807,12 @@ hasAnyArrival?'Select one incoming route to inspect': legacy?'Existing SEND slot · managed in legacy routing': 'Choose OUT then click IN, or drag an OUT jack here'; - const from=''; - const to='