Commit Graph

94 Commits

Author SHA1 Message Date
Dandaedre 8e1c504478
feat(M9.3): apply and atomically save editor drafts
Test: cargo fmt --all -- --check

Test: cargo check --workspace --all-targets --all-features

Test: cargo test --workspace --all-targets --all-features

Test: cargo test --workspace --doc --all-features

Test: cargo clippy --workspace --all-targets --all-features -- -D warnings

Test: cargo build --workspace --release --all-features

Test: default, no-default, Pulse-only, and MIDI-only feature matrix
2026-10-15 04:22:05 +02:00
Dandaedre fa45944b79
feat(M9.2): learn MIDI controls into server drafts
Rust CI fader_master failed CI.
MadGobblins/fader_master/pipeline/head There was a failure building this commit Details
Test: cargo test -p fader-config --all-targets --all-features

Test: cargo test -p tui --all-targets --all-features

Test: cargo test -p fader_master --all-targets --all-features

Test: cargo clippy -p fader-config -p tui -p fader_master --all-targets --all-features -- -D warnings
2026-10-15 04:18:12 +02:00
Dandaedre 9941a79231
feat(M9.2): validate learned binding drafts
Test: cargo test -p fader-config --test editor

Test: cargo clippy -p fader-config --all-targets --all-features -- -D warnings
2026-10-15 04:15:16 +02:00
Dandaedre 5daa06100b
feat(M9.1): edit server drafts from the TUI
Test: cargo test -p tui --all-targets --all-features

Test: cargo test -p fader_master --all-targets --all-features

Test: cargo clippy -p tui -p fader_master --all-targets --all-features -- -D warnings
2026-10-15 04:14:41 +02:00
Dandaedre 102f233980
feat(M9.1): own revisioned drafts in the server
Test: cargo test -p fader_master --all-targets --all-features

Test: cargo test -p tui --all-targets --all-features

Test: cargo clippy -p fader_master -p tui --all-targets --all-features -- -D warnings
2026-10-15 04:11:38 +02:00
Dandaedre b5d7ac9c5f
feat(M9.1): complete transactional profile mutations
Test: cargo test -p fader-config --all-targets --all-features

Test: cargo clippy -p fader-config --all-targets --all-features -- -D warnings
2026-10-15 04:09:20 +02:00
Dandaedre 3452fee880
feat(M9.1): add server-backed configuration tab
Test: cargo test -p tui --all-targets --all-features

Test: cargo test -p fader_master --all-targets --all-features

Test: cargo clippy -p tui -p fader_master --all-targets --all-features -- -D warnings
2026-10-15 04:07:56 +02:00
Dandaedre 9493183365
feat(M9.1): add transactional profile drafts
Test: cargo test -p fader-config --all-targets --all-features

Test: cargo clippy -p fader-config --all-targets --all-features -- -D warnings
2026-10-15 04:05:39 +02:00
Dandaedre 44582036c5
docs: condense the Arch hardware checklist
Replace accumulated milestone-by-milestone repetition with a confirmed baseline and one focused set of pickup, routing, buffering, polling, recovery, and optional hardware checks. Preserve the established environment and control mappings.

Validation: git diff --cached --check; local profile link and shell commands inspected.
2026-10-15 04:02:43 +02:00
Dandaedre e7a0254b38
test(M8.3): guarantee terminal restoration on failure
Wrap fallible TUI initialization and execution in an injectable restoration guard. Prove an injected client failure restores the terminal while existing buffered-client tests retain nonblocking refresh coverage.

Tests: cargo fmt --all; cargo test -p tui; cargo clippy --workspace --all-targets --all-features -- -D warnings.
2026-10-15 04:00:42 +02:00
Dandaedre a286e4258e
feat(M8.2): show actionable MIDI device status
Preserve server-published device mappings in the buffered TUI snapshot and summarize connected IDs, missing/ambiguous recovery actions, connection progress, and transport errors without expanding the mixer layout.

Tests: cargo fmt --all -- --check; cargo test -p tui; cargo test -p fader_master --all-targets --all-features; cargo clippy --workspace --all-targets --all-features -- -D warnings.
2026-10-15 04:00:04 +02:00
Dandaedre 69a49cdbfd
feat(M8.1): expose physical pickup state in the TUI
Instantiate pickup controls from validated bindings before discovery, aggregate their unavailable/waiting/tracking/mixed state into mixer snapshots, and render it in live rows. Reorder first observations so startup can arm configured controls.

Tests: full workspace fmt/check/test/doc/clippy/release gates; default/no-default backend matrix; focused pickup transition and TUI rendering regressions.
2026-10-15 03:58:12 +02:00
Dandaedre c812af52ee
feat(M7.4): make runtime polling configurable
Add validated profile runtime.poll_interval_ms settings with a 10 ms default and 1..=100 ms range. Apply the interval to both the server state-owner wait and Pulse notification/command loop, expose it in startup output, and document it in shipped profiles.

Tests: full workspace fmt/check/test/doc/clippy/release gates; default/no-default backend matrix; profile validation and Pulse owner-loop interval regression tests.
2026-10-15 03:54:10 +02:00
Dandaedre 3a75e24003
fix(M7.4): keep fader pickup tracking through Pulse echoes
Correlate subscription notifications that match confirmed Pulse writes with their originating operation. This prevents server-generated echoes from being treated as external edits and re-arming pickup during continuous physical motion, while differing observations still re-arm it.

Tests: full workspace fmt/check/test/doc/clippy/release gates; default/no-default backend matrix; isolated real Pulse/PipeWire stream fixture.
2026-10-15 03:48:30 +02:00
Dandaedre 9b3cc9c9a2
docs(M7.3): add lifecycle recovery checks
Add hands-on checks for TUI startup without a socket, offline MIDI targets, server loss, and automatic client resynchronization.

Validation: git diff --cached --check.
2026-10-15 03:38:32 +02:00
Dandaedre 7d58204ab1
fix(M7.3): tolerate disconnected clients and targets
Rust CI fader_master failed CI.
MadGobblins/fader_master/pipeline/head There was a failure building this commit Details
Treat MIDI input for offline or read-only mixer objects as a nonfatal no-op. Start the buffered TUI with a local disconnected snapshot, retain confirmed state across transport failures, and reconnect in the background.

Tests: cargo fmt --all -- --check; cargo check --workspace --all-targets --all-features; cargo test --workspace --all-targets --all-features; cargo test --workspace --doc --all-features; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo build --workspace --release --all-features; default/no-default MIDI and volume_lib feature matrix.
2026-10-15 03:38:00 +02:00
Dandaedre f029304cf4
fix(M7.4): preserve Pulse snapshot capacity
Separate the one-slot worker command lane from the 256-event snapshot lane so command backpressure cannot overflow startup metadata. Report event overflow distinctly and cover one-slot command startup with a regression test.\n\nLive verification: PipeWire-Pulse server reached status=ready with Browser, Media, Master, and APC MINI snapshots.\n\nTests: cargo fmt --all -- --check; cargo check --workspace --all-targets --all-features; cargo test --workspace --all-targets --all-features; cargo test --workspace --doc --all-features; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo build --workspace --release --all-features; volume_lib no-default and pulse feature checks (all pass).
2026-10-15 03:28:39 +02:00
Dandaedre f673b313a7
docs(M8.5): add TUI theme checks
Add hands-on contrast, cycling, default-selection, and control-isolation checks for the built-in terminal palettes.\n\nValidation: git diff --check (pass).
2026-10-15 03:21:53 +02:00
Dandaedre b1a1f0769b
feat(M8.5): add built-in TUI themes
Centralize semantic terminal colors and add Default, Dracula, Nord, Gruvbox Dark, Catppuccin Mocha, and Solarized Dark palettes. Support launch-time --theme selection and live cycling with t while keeping theme state session-local.\n\nTests: cargo fmt --all -- --check; cargo check --workspace --all-targets --all-features; cargo test --workspace --all-targets --all-features; cargo test --workspace --doc --all-features; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo build --workspace --release --all-features; default/no-default/individual-backend matrix (all pass).
2026-10-15 03:21:32 +02:00
Dandaedre 1fae9bef73
feat(M1.4): reserve stateful relative groups
Keep absolute/sync as the only runtime-selectable group mode while defining and testing the future relative model. Relative members retain their last independent or external channel vector as a maximum and scale reversibly from zero to that maximum. Reject relative profiles until origin-aware runtime lifecycle support is implemented.\n\nTests: cargo fmt --all -- --check; cargo check --workspace --all-targets --all-features; cargo test --workspace --all-targets --all-features; cargo test --workspace --doc --all-features; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo build --workspace --release --all-features; default/no-default/individual-backend matrix (all pass).
2026-10-15 03:14:36 +02:00
Dandaedre ce88a5ee6a
docs(M7.4): add buffered interaction checks
Document hands-on Arch/PipeWire checks for optimistic TUI updates, redraw responsiveness, coalesced fader bursts, ordered mute edges, external synchronization, and final-value convergence.\n\nValidation: git diff --check (pass).
2026-10-15 03:10:50 +02:00
Dandaedre 977f7452b1
feat(M7.4): buffer interactive volume updates
Move blocking TUI IPC onto a joined worker, coalesce pending volume writes, preserve mute edges, and publish optimistic local snapshots until server confirmation. Add bounded server-side dispatch ahead of the Pulse worker and batch ready events so slow native round trips cannot stall MIDI handling.\n\nTests: cargo fmt --all -- --check; cargo check --workspace --all-targets --all-features; cargo test --workspace --all-targets --all-features; cargo test --workspace --doc --all-features; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo build --workspace --release --all-features; default/no-default/backend feature matrix (all pass).
2026-10-15 03:10:20 +02:00
Dandaedre 95282c6222
docs(M4.5): add output master smoke checks
Rust CI fader_master failed CI.
MadGobblins/fader_master/pipeline/head There was a failure building this commit Details
Preserve the completed APC preparation checks and revise the hands-on routing checklist for Media on CC 50 / Note 66 and the real default-output master on CC 56 / Note 98.\n\nValidation: git diff --cached --check
2026-10-15 03:02:16 +02:00
Dandaedre fda38f6f17
feat(M4.5): control the default output master
Add a first-class default-output target across the profile, Pulse worker, live mixer, IPC, and TUI. Route APC CC 56 / Note 98 to Master and move Media to CC 50 / Note 66.\n\nTests: cargo test --workspace --all-targets --all-features\nTests: cargo test --workspace --doc --all-features\nTests: cargo clippy --workspace --all-targets --all-features -- -D warnings\nTests: cargo build --workspace --release --all-features\nTests: default, no-default-feature, and individual backend matrix passed
2026-10-15 03:01:45 +02:00
Dandaedre 9648fdf5db
docs(M5.5): add APC routing smoke checklist
Record the completed discovery checks and add the physical pickup, target isolation, mute, and hotplug acceptance steps for the selected APC controls.\n\nValidation: git diff --cached --check
2026-10-15 02:52:31 +02:00
Dandaedre 8b5df92d3e
feat(M5.4): route pickup-safe APC controls
Route the configured APC MINI faders and buttons through the live mixer, with pickup rearming after external changes and controller reconnects.\n\nTests: cargo test --locked -p fader_master --test live_mixer --all-features\nTests: cargo test --locked -p fader_master midi_runtime::tests --all-features\nTests: cargo clippy --locked -p fader-config -p fader_master --all-targets --all-features -- -D warnings
2026-10-15 02:51:21 +02:00
Dandaedre 5721a713a0
docs(M5.3): hand off APC MINI lifecycle checks
Rust CI fader_master failed CI.
MadGobblins/fader_master/pipeline/head There was a failure building this commit Details
Validation: git diff --cached --check
Gates: full workspace all-feature, doctest, strict Clippy, release, and no-default-feature suites pass
Smoke: APC MINI connected as backend 36:0 with PipeWire mixer ready
2026-10-15 02:38:30 +02:00
Dandaedre 51d1e5bd25
feat(M5.3): own live MIDI surface connections
Tests: cargo test --locked -p fader_master --all-targets --all-features
Tests: cargo test --locked -p midi --all-targets --all-features
Lint: cargo clippy --locked -p fader_master -p midi --all-targets --all-features -- -D warnings
Smoke: APC MINI connected as backend 36:0 while PipeWire mixer remained ready
2026-10-15 02:37:30 +02:00
Dandaedre ff2e39e135
feat(M5.3): validate MIDI surface identity hints
Tests: cargo test --locked -p fader-config --test schema
Lint: cargo clippy --locked -p fader-config --all-targets -- -D warnings
2026-10-15 02:35:49 +02:00
Dandaedre 6004d8cf8d
fix(M5.2): ignore volatile ALSA port suffixes
Tests: cargo test --locked -p midi --test identity --all-features
Tests: cargo test --locked -p midi --test lifecycle --all-features
Lint: cargo clippy --locked -p midi --all-targets --all-features -- -D warnings
2026-10-15 02:35:02 +02:00
Dandaedre be4f592295
feat(M5.3): reconcile MIDI surface hotplug state
Tests: cargo test --locked -p midi --all-targets --all-features
Tests: cargo test --locked -p midi --all-targets --no-default-features
Lint: cargo clippy --locked -p midi --all-targets --all-features -- -D warnings
2026-10-15 02:34:37 +02:00
Dandaedre e8e810d1ff
feat(M5.4): enforce absolute-control pickup
Tests: cargo test --locked -p fader-core --all-targets
Lint: cargo clippy --locked -p fader-core --all-targets -- -D warnings
2026-10-15 02:33:09 +02:00
Dandaedre ad71ef4161
docs(M8.1): record profile mixer acceptance
Validation: git diff --cached --check
2026-10-15 02:32:15 +02:00
Dandaedre 8aef74f271
fix(M8.1): match Waterfox browser streams
Tests: cargo test --locked -p fader-config --test schema
Lint: cargo clippy --locked -p fader-config --all-targets -- -D warnings
Smoke: PipeWire snapshot matched Waterfox into Browser and the two-stream Media group
2026-10-15 01:37:49 +02:00
Dandaedre 25e61c2138
docs(M8.1): hand off the profile-aware TUI
Validation: git diff --cached --check
Gates: full workspace all-feature, default, no-default-feature, and isolated Pulse/midir matrices pass
Smoke: live PipeWire snapshot matched Qobuz into Music and Media group without writes
2026-10-15 01:17:51 +02:00
Dandaedre e57c8812bf
docs(M8.1): add an Arch PipeWire mixer profile
Tests: cargo test --locked -p fader-config --test schema
Tests: cargo test --locked -p fader_master --all-targets --all-features
Lint: cargo clippy --locked -p fader-config -p fader_master --all-targets --all-features -- -D warnings
2026-10-15 01:16:02 +02:00
Dandaedre b5a24160ae
test(M7.3): verify lagging client resync
Tests: cargo test --locked -p fader_master --test live_mixer --all-features
Lint: cargo clippy --locked -p fader_master --all-targets --all-features -- -D warnings
2026-10-15 01:15:28 +02:00
Dandaedre a7e75da771
feat(M7.2): authenticate and bound local clients
Tests: cargo test --locked -p fader_master --lib --all-features
Tests: cargo test --locked -p fader_master --test local_socket --all-features
Lint: cargo clippy --locked -p fader_master --all-targets --all-features -- -D warnings
2026-10-15 01:14:50 +02:00
Dandaedre 0a0be30651
feat(M8.1): mix configured applications and groups
Tests: cargo test --locked -p fader_master --test live_mixer --all-features
Tests: cargo test --locked -p fader_master --test ipc_frames --all-features
Tests: cargo test --locked -p fader_master --test local_socket --all-features
Tests: cargo test --locked -p tui --all-targets --all-features
Lint: cargo clippy --locked -p fader_master -p tui --all-targets --all-features -- -D warnings
2026-10-15 01:13:54 +02:00
Dandaedre d21a57f4d5
feat(M8.1): expose validated mixer profile views
Rust CI fader_master failed CI.
MadGobblins/fader_master/pipeline/head There was a failure building this commit Details
Tests: cargo test --locked -p fader-config --test schema
Lint: cargo clippy --locked -p fader-config --all-targets -- -D warnings
2026-10-15 01:10:24 +02:00
Dandaedre 86b6c0ee41
docs: record Arch hardware acceptance
Validation: git diff --cached --check
2026-10-15 01:09:34 +02:00
Dandaedre 6ae361c595
docs(M8.1): hand off the first live TUI slice
Close the typed CLI acceptance boundary, record remaining IPC and mixer gaps without overclaiming them, and provide the Arch/PipeWire checklist for live stream navigation, control, external updates, churn, restart, and restoration.

Tests: full locked workspace format, check, test, doctest, Clippy, release, no-default-features, and Rust 1.88 all-feature gates passed.

Tests: invalid serve profile exits before creating its runtime socket.
2026-10-15 00:18:59 +02:00
Dandaedre 472625301e
feat(M8.1): connect the mixer TUI to IPC
Translate revisioned server snapshots into the event-driven TUI and send selected stream volume and mute actions through correlated IPC requests.

Tests: cargo test -p fader_master --all-targets --all-features --locked

Tests: cargo clippy -p fader_master --all-targets --all-features --locked -- -D warnings

Manual: live PTY rendered the ready Pulse snapshot and restored the terminal on quit.
2026-10-15 00:17:36 +02:00
Dandaedre ed46d3ae37
feat(M8.1): render an event-driven mixer
Replace the single demo gauge with a client-backed stream list, selection, volume and mute actions, pending/read-only/error indicators, periodic refresh, viewport handling, and terminal restoration on return.

Tests: cargo test -p tui --all-targets --all-features

Tests: cargo clippy -p tui --all-targets --all-features --locked -- -D warnings
2026-10-15 00:16:35 +02:00
Dandaedre 3c164221b0
feat(M7.1): activate server and diagnostic commands
Validate profiles before side effects, honor session-only adapter overrides, launch the Pulse-backed local server, query revisioned status, and enumerate MIDI identities.

Tests: cargo test -p fader_master --all-targets --all-features --locked

Tests: cargo clippy -p fader_master --all-targets --all-features --locked -- -D warnings

Manual: serve/status reported one ready live PipeWire-Pulse stream through the private socket.
2026-10-15 00:15:21 +02:00
Dandaedre 3b318256bf
feat(M7.2): own the local server socket
Add a same-user 0600 Unix listener with stale-socket recovery, one-instance detection, bounded client timeouts, correlated responses, and a Pulse-backed server loop.

Tests: cargo test -p fader_master --all-targets --all-features --locked

Tests: cargo clippy -p fader_master --all-targets --all-features --locked -- -D warnings
2026-10-15 00:13:30 +02:00
Dandaedre a01e451643
feat(M7.3): publish revisioned live mixer state
Translate copied worker metadata and observations into labeled snapshots, preserve pending writes until correlated readback, and reject stale client revisions.

Tests: cargo test -p fader_master --test live_mixer --all-features

Tests: cargo clippy -p fader_master --all-targets --all-features --locked -- -D warnings
2026-10-15 00:12:08 +02:00
Dandaedre b4870a67b9
feat(M7.2): frame the local IPC protocol
Define versioned requests, revisioned mixer snapshots, request IDs, stream keys, and bounded length-prefixed TOML framing with explicit malformed and truncated errors.

Tests: cargo test -p fader_master --test ipc_frames --all-features

Tests: cargo clippy -p fader_master --all-targets --all-features --locked -- -D warnings
2026-10-15 00:11:02 +02:00
Dandaedre e1fe9b2733
feat(M7.1): define the typed command line
Add planned server, TUI, validation, device, status, and profile commands with typed session-only audio overrides. Keep inactive commands explicit until their server increments land.

Tests: cargo test -p fader_master --all-targets --all-features

Tests: cargo clippy -p fader_master --all-targets --all-features --locked -- -D warnings
2026-10-15 00:10:19 +02:00
Dandaedre d5229e5eca
feat(M5.2): probe durable MIDI identity
Bridge ALSA sequencer client addresses to udev USB metadata and establish serial, physical-path, unique-model, and explicit-manual resolution policy.

Keep M5.2 open until physical controller observations and identical-device checks are completed from the documented checklist.

Tests: full locked workspace format, check, test, doctest, Clippy, release, and no-default-features gates passed.

Tests: cargo +1.88.0 test -p midi --all-targets --all-features --locked

Manual: enriched host probe correctly reported virtual port 14:0 with no USB metadata.
2026-10-14 23:02:57 +02:00