The supplied-adapter runtime connects saved model-specific action tables, the shared action/microphone services and independent render/I/O owners. It is an opt-in development path. Normal V1 startup and the saved-only workspace remain unchanged; this checkpoint does not activate production multi-device controls.
Each verified attachment is wrapped in one bounded I/O owner. The coordinator polls mailboxes, validates input with the existing model-aware manager, resolves the current page's cached settings and submits a context-tagged effect to one shared action service. Named audio and explicitly selected media settings compile through the existing bridge. Injected backends must validate the fence at every external write boundary. Unsupported providers/aliases report an error; they do not become system-volume actions.
The runtime publishes a bounded current-context view for workers. It includes the random startup identity, foreground revision, descriptor/control capability, connection/binding/lock generations and the I/O owner's live epoch. Page/config/ lock/foreground/disconnect changes revoke affected contexts before mutation. An I/O failure immediately invalidates its lease; queued effects and late feedback are discarded. A started target reservation remains owned until its backend ends, so cancellation cannot allow overlapping writers on the same target.
Device-local navigation and brightness retain their own destination. Ordinary audio/media commands share the target-serialized service. Push-to-talk holds use one microphone coordinator with typed device/control tokens; release bypasses the ordinary action queue. A hold is renewed only while its own I/O worker has recently completed a real input probe. A stalled worker cannot keep its microphone live through supervisor heartbeats, and another Deck cannot renew that hold.
Each saved device has one sleeping render owner, and each attached/retiring connection has one sole I/O owner. There is no backend pool or meter set copied per device. Caps remain eight render owners and eight I/O owners, including retiring writers, plus the shared action pool (at most four) and optional single microphone coordinator. With two devices and two action workers, this path has seven workers including the microphone coordinator. No CPU/memory threshold is claimed from these structural bounds; physical resource qualification is pending.
Render requests retain one latest pending snapshot and one reply per unit. A compiled renderer/document cache is reused until its immutable layout changes; input dispatch neither parses JSON nor decodes artwork. Model-specific pixels reuse the accepted renderer, including Plus touch-strip composition and MK.2 72-pixel key output. Meter-only observations render just the touch strip instead of regenerating keys. An initial full frame is allowed to finish before bursts of meter observations schedule their newest strip state.
The I/O owner retains bounded latest desired/sent slots for the actual surfaces: nine on Plus, fifteen on MK.2. Each turn polls input and issues at most one output operation. Identical pixels are suppressed; newer desired pixels replace pending ones. A complete frame is validated and published to its mailbox atomically. JPEG encoding and transport calls run here, away from the coordinator and other Decks. The existing Plus changed-region transport optimization stays in its adapter.
Desired/queued/render-pending state is distinct from successfully written output. Readiness requires the current desired surfaces to finish. New key/dial-push downs cannot arm on a partially drawn page; an already held control may still release during a same-binding redraw. Page changes independently clear armed controls. An empty mailbox does not establish an input drain: only an actual empty adapter probe acknowledges the new epoch. Received input timestamps are retained, never manufactured for virtual fixtures. The input mailbox is capped at 128; overflow fails that owner rather than silently dropping an edge.
A fence suppresses selected/stale output and invalidates sent caches. An already issued USB call cannot be revoked; its completion is not credited to a later generation, which requires a fresh redraw. Slow/retiring writers retain their owner slot and physical claim. They cannot be replaced by another writer for the same identity. Stop signals all owners first, then joins them and reports actual blanking results. Every owned surface is attempted after the last in-flight write. Rust cannot forcibly end an arbitrary hung adapter thread; bounded native I/O and outer recovery/timeout qualification remain required before activation.
Build with all features, then run on a fresh private test destination:
DECKSMITH_ISOLATED_TEST=1 target/debug/decksmithd \
--execution-lab /tmp/decksmith-connected-check-new --seconds 45The supplied duration is a maximum scenario deadline (10–120 seconds), not a
minimum soak duration. This command refuses existing destinations and requires
explicit isolation. It uses only fake transports, audio and microphone adapters;
it never discovers/opens HID, starts a production bus or sends native effects.
It writes execution-result.json to the private test store.
The connected scenario exercises both models, shared target effects, overlapping microphone holds, release during redraw, strip-only metering, a blocked MK.2 write while Plus actions/display remain available, superseded pages, owned profile apply, lock/foreground fences, reconnect and completed all-surface blanking. Separate regressions cover cancellation after an action backend wait, explicit unsupported provider errors, stalled-I/O microphone expiry, hidden new presses, actual drain acknowledgement and the maximum retiring-owner budget.
The permanent profile catalog publishes an optional live-audio snapshot from the existing shared audio observer. It is built from the effective saved control map and active page each time the coordinator publishes session status. It exposes percentage and mute state by key or dial slot and omits controls with no audio observation. A queried target that disappears shows as unavailable. The editor checks the snapshot against the current device, page, runtime, profile revision, connection and binding before displaying it. It clears the readout while a draft differs from the applied layout.
Connect the existing Linux provider observations and canonical app/System sounds/ default-player resolution, guarded native media/application/system/plugin effects, input-mute policy and shared feedback. The existing named-audio adapter can be supplied explicitly; the isolated diagnostic command does not select it. Add live roster extension to the shared services rather than rebuilding healthy owners; the current execution runtime deliberately requires an unchanged set of private associations when applying a saved profile. Link the device-addressed API/editor and real lock/suspend/reconnect supervisor, preserve exact saved layout/preferences during migration, then repeat physical paired lifecycle/response/resource acceptance. Do not switch an installed V1 service to this path yet.
The October 13 qualification checkpoint records the final immutable source and observed limits.
The opt-in --connected-physical-lab command now supplies actual Plus/MK.2 HID
adapters to this runtime, with memory-only shared level/mute effects. Timed tests
verified device-tagged shared replies, independent pages/brightness, partner
progress through disconnection in both directions, reconnect, and joined blanking.
An external timeout/restore guard returned the original V1 service/configuration
after each window. These tests do not qualify native action providers or real
lock/suspend startup. See the physical checkpoint.
The separate opt-in --connected-native-lab now supplies one named output
volume/mute adapter, one pinned MPRIS player session, and shared output/meter
observations. Both physical Decks passed real volume/mute and Brave pause/resume
checks. The timed guard verified exact native state and normal V1 restoration.
The installed daily runtime remains unchanged. This slice does not yet provide
application/System sounds/default-player resolution, input mute/PTT, the
device-addressed editor/API or native paired lifecycle/resource qualification.
See the native qualification and limits.
The opt-in native runtime now reads effective assignments from saved device documents, shares bounded audio observation, and supports guarded application/ System sounds writes plus pinned family/automatic media selections. It preserves legacy master-volume semantics and deliberate labels/artwork. A changed provider set requires a separately prepared refresh; live API/editor activation and the expanded physical/lifecycle/resource gates remain. See the saved-provider boundary and checks.
The separate connected workspace endpoint now reuses the integrated editor for live, device-addressed saves. One disk/preview/provider worker prepares the change; the coordinator fences and applies only the edited device using precompiled data. Observer subscriptions change through epochs without restarting healthy owners, and another Deck's media pins remain unchanged. Isolated GTK/VirtualDeck checks exercise provider changes and partner progress during delayed saves. Production activation and the expanded physical/lifecycle/resource checks remain. See the live editor boundary and recovery limits.
The connected runtime now derives one shared peak subscription from connected touch-capable devices' current saved pages, including dial overrides. It deduplicates targets, expires stale epochs and filters levels back to each device before marking only the touch strip dirty. MK.2 keys and inactive/offline pages request no peaks. Target-union changes restart the helper off the coordinator and may briefly leave retained meters unavailable. The prior stream bound is retained; empty subscriptions sleep. This replaces the trial's single fixed output meter, without changing the installed V1 service. See the meter checkpoint and physical gates.
The opt-in saved native path connects named input mute and PTT to the same bounded owner. Explicit Mute consumes all current holds; the last release always mutes. Ordinary unmute is a separate scoped transaction that persists only after a host commit. Private retained source/server pins survive helper retries, with no default or replacement fallback. A joined microphone shutdown precedes caller restoration. An isolated native PipeWire fixture qualifies the actual helper and Rust owner. A guarded paired physical trial also passed hold overlap, Mute override, ordinary unmute, held-page cancellation and input meters, with exact native-state and V1 restoration. A subsequent physical System sounds meter trial passed ordinary versus event-role isolation with exact state restoration. A later guarded paired held-device USB check passed cancellation, fresh-press recovery and surviving partner hold isolation. Paired lock/suspend/startup, migration and resource qualification remain before production activation. See the mic checkpoint and limits.