Repository navigation
refactor(mvvm): shipped native Device Setup VM, Apply ACK and readback lifecycle - #765
Conversation
…versible Pages bundle
…y and output-arm regressions
…ded SHA and script order
Deploying arsonmix with
|
| Latest commit: |
5d6ec4a
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://4c783b39.arsonmix.pages.dev |
| Branch Preview URL: | https://refactor-native-device-endpo.arsonmix.pages.dev |
|
/arsonmix-ci ui 64d3a53 |
CHECKPOINT MV-1 — 18 November 2026 — user-facing task reportHASIL: Implementasi pertama modular MVVM untuk GUI native STATUS: AMAN DIPAKAI? Belum ada installer dari PR ini; belum termasuk dukungan Multi-Device I/O atau audio driver baru. Windows MSVC, vendor physical ASIO, acoustic FAT: NOT RUN / NOT APPLICABLE untuk perubahan presentasi ini. TINDAKAN ANDA: TIDAK PERLU MELAKUKAN APA-APA. Jangan mengganti konfigurasi audio interface atau mengunduh installer lama untuk menguji fitur multi-device yang belum tersedia. LANGKAH THREAD BERIKUTNYA (tanpa ownership lock): 1) Audit status FULL UI run #44182513657, required exact-head CI, HEAD PR #765 dan latest main. 2) Bila lengkap PASS, pertimbangkan ready/merge PR dengan expected-head SHA setelah diff/nonregression review; jika FAIL perbaiki akar penyebab pada PR ini. 3) Lanjutkan native Device Setup Apply/pending/ACK/reject/stale readback lifecycle sebagai MVVM tahap berikutnya, memakai existing Handoff source: docs/architecture/ADR_MODULAR_MVVM_FEASIBILITY_20261118.md + docs/ARD_ARSONMIX_MULTI_DEVICE_IO_V2_20261118.md; no file/domain locks, tests only actual product safety. |
…ith correlated Device Setup VM
… and rollback contracts
|
/arsonmix-ci ui b9b428a |
|
/arsonmix-ci ui b40281e |
…dio I/O apply in Chromium
…ing advanced routing epochs
|
/arsonmix-ci ui 1e3ecf4 |
…d PCM in native GUI
|
/arsonmix-ci ui c0a56a5 |
Device Setup MVVM continuation — 2026-11-18HASIL: Continued this same implementation PR (#765), on the real bundled native IMPLEMENTATION PATH: STATUS: KODE DIUJI, PR remains DRAFT/OPEN; NOT MERGED, no new installer, no real audio-interface test. AMAN DIPAKAI? Code-level contracts PASS; BELUM qualified as a new installed build/hardware result. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Independent source audit — 18 November 2026, exact PR HEAD
|
… changing Device Setup
|
/arsonmix-ci ui 5d6ec4a |
MILESTONE MV-1 — FINAL / MERGED (18 November 2026)HASIL
BUKTI MAINTAINABILITY
STATUS MERGED — PR #765; AMAN DIPAKAI Aman untuk integrasi source/CI. Belum diklaim lolos physical ASIO/WASAPI FAT atau installer baru. Tidak ada perubahan DSP. TINDAKAN SAYA Tidak perlu merge/cherry-pick/manual ruleset. Pengujian perangkat fisik Audio I/O + BUKTI PR/SHA/CI
BERIKUTNYA Evaluasi MV-2 berdasarkan satu perubahan fitur Device Setup nyata, metrik jumlah file touch dan tes isolasi; integrasi Multi-Device tetap milik thread I/O, tanpa dispatcher/per-device graph kedua. |
Real native /preview/ Device I/O MVVM — endpoint projection + Apply/readback lifecycle
This one implementation PR extends the first MV-1 ViewModel pilot to the actual JUCE/WebView2 assembled
/preview/GUI, not the oldweb/mixer-io.js. It retains one native hardware/device/session/PCM authority.What changed
web/approved-device-view-model.jsis pure browser/Node presentation code. It projects only verified native input pins/output pairs and now owns the Device Setup lifecycle:IDLE,APPLYING,VERIFYING,ACCEPTED,REJECTED,STALE,TIMEOUT,RECOVERY_REQUIRED. Pending requests correlate by requestId. Successful ACK is not installed playback proof: later schema-v6 snapshot must match hardware endpoint, generation/epoch, masks, sample rate and buffer. Device-ready is differentiated from mixer-route-ready, and only an admitted native graph/output can be LIVE.web/approved-native-bridge.jsremoves the old separatedeviceBusyboolean, DOMdataset.pendingRequest, direct ACK-success acceptance and duplicated remap/pending result logic. The single existingarMixAction / audioDeviceApplytransport and nativeNativeDeviceApplyCoordinatorstill execute the original request, identity validation, driver open, rollback and authorization. No duplicate dispatch.scripts/build_approved_native_gui.pyincludes the one VM script before the bridge in the native ONLY bundle, preserving public assembled/preview/and exact asset parity.tests/approved_native_m2_contract.test.cjscovers positive accepted ACK+snapshot, physical identity/pin/rate, stale ACK/epoch/generation, negative ACK, driver refusal, timeout, device loss, restart, rollback, unadmitted device vs installed mixer, offline.smixstate and single dispatcher.tests/approved_native_cold_start_smoke.pycovers the real assembled Chromium UI across ACK-only pending, later v6 readback, two-pin MAIN assignment and remap/recovery.tests/approved_native_gui_bundle_test.pyvalidates native-only injection and byte parity.tests/live_fader_held_drag.test.cjswas already part of the original MV-1 PR.Preserved architecture
Read
AGENTS.md, merged #763'sdocs/architecture/ADR_MODULAR_MVVM_FEASIBILITY_20261118.mdand multi-device PRD/ARD. Nativesrc/Main.cpp::applyCustomAudioDevice→ existingsrc/NativeDeviceApplyCoordinator.his the only physical primary device transaction and verified rollback; nativeschemaVersion=6, decimal ChannelId/EdgeId, generation/revision,.smix, primary direct ASIO and one PCM/VST3 graph remain intact. No C++/DSP, SonKu/ImmerSIB, FX Rack, GUI CSS/PNG or installer edits, no new FIFO/ASRC/driver, no thread locks or coordination barriers. Multi-device capture-only / output-only I/O is not implemented or hardware-qualified by this PR.Verification (refresh exact HEAD before merge)
Latest audited head:
c0a56a508e0279b5dabb07340bbad93f215260a7; base main3c8dfd2ffeb31568bd34c5085c8972df9c16c8bd.Operator report
HASIL: Native Device Setup pending/negative/stale/timeout and readback acceptance are now pure testable presentation state, with legacy responsibility removed from bridge.
STATUS: KODE DIUJI; PR DRAFT/OPEN, NOT MERGED, no installer. AMAN DIPAKAI? Source regression fast PASS; BELUM hardware-qualified for an installed build.
TINDAKAN ANDA: TIDAK PERLU MELAKUKAN APA-APA.
BUKTI: exact HEAD and CI links above.
LANGKAH BERIKUTNYA: Wait for exact-SHA Chromium result, fix any real test defects, reconcile actual concurrent Git changes then mark ready for review/merge only after required gates. Later Multi-Device I/O remains distinct physical FAT.