Commit Graph

17 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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 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 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 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 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 eff5fece91
feat(M4.3): wire profile and session audio choices
Expose validated profile audio policy, translate it at the executable boundary, preserve session override precedence without persistence, and add a diagnostic backend probe command with server identity output.

Tests: cargo test -p fader_master --test audio_policy --all-features; cargo test -p volume_lib --all-targets --all-features; cargo check --workspace --all-targets --no-default-features; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo run --locked -p volume_lib --example pulse_fixture -- probe auto (PipeWire 1.6.9)
2026-10-14 21:51:46 +02:00
Dandaedre 4f3eb4f279
feat(M3.4): complete the fake server lifecycle
Rust CI fader_master passed CI.
MadGobblins/fader_master/pipeline/head This commit looks good Details
Add adopt and ordered restore startup behavior, confirmed fake readback, unavailable and reconnect transitions, bounded exponential retry, disconnect invalidation, joined worker cancellation, and drain-before-checkpoint shutdown. Record the verified M3 hardware-free milestone.

Tests: cargo fmt --all -- --check; cargo check --workspace --all-targets --all-features --locked; cargo test --workspace --all-targets --all-features --locked; cargo test --workspace --doc --all-features --locked; cargo clippy --workspace --all-targets --all-features --locked -- -D warnings; cargo build --workspace --release --all-features --locked; cargo check --workspace --all-targets --no-default-features --locked; cargo test --workspace --all-targets --no-default-features --locked (all pass)
2026-10-14 15:42:50 +02:00