Commit Graph

78 Commits

Author SHA1 Message Date
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
Dandaedre a5e98c8182
feat(M5.1): decode and route MIDI controls
Rust CI fader_master failed CI.
MadGobblins/fader_master/pipeline/head There was a failure building this commit Details
Add the feature-gated midir input transport, strict MIDI byte decoding, surface-scoped binding routing, and a read-only monitor for controller acceptance. Document ALSA prerequisites and the user checklist.\n\nTests: cargo fmt --all -- --check\nTests: cargo check --workspace --all-targets --all-features --locked\nTests: cargo test --workspace --all-targets --all-features --locked\nTests: cargo test --workspace --doc --all-features --locked\nTests: cargo clippy --workspace --all-targets --all-features --locked -- -D warnings\nTests: cargo build --workspace --release --all-features --locked\nTests: cargo check --workspace --all-targets --no-default-features --locked\nTests: cargo test --workspace --all-targets --no-default-features --locked\nTests: cargo +1.88.0 test -p midi --all-targets --all-features --locked\nManual: cargo run --locked -p midi --example midi_monitor -- list (port 14:0 enumerated)
2026-10-14 22:27:27 +02:00
Dandaedre 8b1bf03744
docs(M4.4): document real-daemon acceptance
Rust CI fader_master failed CI.
MadGobblins/fader_master/pipeline/head There was a failure building this commit Details
Document the isolated silent-stream fixture, standalone PulseAudio targeting, and the separately acknowledged disruptive PipeWire restart test. Record the passing non-disruptive PipeWire run while leaving M4.4 open for restart verification.

Validation: full locked workspace formatting, all-target/all-feature check/test, doctest, strict Clippy, release, and no-default-feature check/test gates passed; git diff --check passed.
2026-10-14 22:19:12 +02:00
Dandaedre ef4b63d4f8
test(M4.4): exercise a real Pulse daemon
Add opt-in fixtures that isolate control to a uniquely named silent paplay stream, verify worker and independent-client convergence plus stream churn, and explicitly gate disruptive PipeWire restart/resnapshot coverage. Detect failed or terminated Pulse contexts while polling.

Tests: cargo test -p volume_lib --all-targets --all-features; cargo clippy -p volume_lib --all-targets --all-features -- -D warnings; cargo check -p volume_lib --all-targets --no-default-features; cargo test --locked -p volume_lib --test pulse_daemon --all-features real_stream_commands_external_edits_and_churn_converge -- --ignored --nocapture (PipeWire 1.6.9)
2026-10-14 22:18:22 +02:00
Dandaedre ce31b6b0fb
docs(M4.3): close adapter selection milestone
Rust CI fader_master failed CI.
MadGobblins/fader_master/pipeline/head There was a failure building this commit Details
Record the completed selection-policy behavior and verification, and add read-only auto/manual probe checks to the user acceptance checklist.

Validation: full locked workspace formatting, all-target/all-feature check/test, doctest, strict Clippy, release, and no-default-feature check/test gates passed.
2026-10-14 21:52:32 +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 ff23a1aa7b
feat(M4.3): select one capable audio authority
Add typed manual/auto backend selection, capability diagnostics, compiled-feature probes, Pulse server identity reporting, and bounded same-authority reconnect scheduling. Prevent hardware-only adapters from satisfying application-stream requirements.

Tests: cargo test -p volume_lib --all-targets --all-features; cargo check -p volume_lib --all-targets --no-default-features; cargo fmt --all -- --check
2026-10-14 21:50:32 +02:00
Dandaedre 35a50e06e4
feat(M4.2): own Pulse sessions in a worker
Rust CI fader_master failed CI.
MadGobblins/fader_master/pipeline/head There was a failure building this commit Details
Keep libpulse handles on a dedicated owner thread, bound command and event lanes, frame subscribe-before-enumerate snapshots, copy metadata and observations, and protect reused sink-input IDs with per-epoch incarnations. Add hardware-free contract coverage and a real-session worker-watch checklist.

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; cargo run --locked -p volume_lib --example pulse_fixture -- worker-watch 1 (PipeWire 1.6.9)
2026-10-14 21:46:39 +02:00
Dandaedre efc1981c03
docs(M4.1): record PipeWire acceptance run
Record the user-verified Arch PipeWire 1.6.9 discovery, control, subscription, external-edit, and stream-churn results while retaining the standalone PulseAudio fixture as the remaining M4.1 gate.

Validation: git diff --cached --check; cargo fmt --all -- --check
2026-10-14 21:40:59 +02:00
Dandaedre e9fdd8c124
checklist done
Rust CI fader_master failed CI.
MadGobblins/fader_master/pipeline/head There was a failure building this commit Details
2026-10-14 21:40:05 +02:00
Dandaedre 5411550cf7
docs(M4): tailor audio checks for Arch PipeWire
Document Arch's libpulse package and the pipewire-pulse runtime path in the build guide and hands-on acceptance checklist.

Validation: git diff --cached --check; cargo fmt --all -- --check
2026-10-14 20:16:25 +02:00
Dandaedre bb12fb14b1
docs(M4): add the real-audio acceptance checklist
Document the hands-on discovery, confirmed volume/mute, external-change, churn, and daemon lifecycle checks for the functional Pulse fixture. Restrict the fixture to unity-or-lower writes and link the checklist from the README.

Validation: full locked workspace formatting, all-target/all-feature checks and tests, doctests, strict Clippy, release build, and no-default-feature checks/tests pass; real user-session audio remains checklist verification.
2026-10-14 19:42:06 +02:00
Dandaedre e7067e277f
feat(M4.1): subscribe to Pulse stream changes
Subscribe before enumeration, retain sink-input notifications across the snapshot window, and expose copied upsert/removal events. Add an opt-in Rust fixture for list, watch, volume, and mute verification without production shell parsing.

Tests: cargo fmt --all -- --check; cargo test -p volume_lib --all-targets --all-features --locked; cargo check -p volume_lib --all-targets --no-default-features --locked; cargo clippy -p volume_lib --all-targets --all-features --locked -- -D warnings (all pass)
2026-10-14 19:40:52 +02:00
Dandaedre 90ba84a802
feat(M4.1): establish the Pulse protocol boundary
Pin feature-gated libpulse bindings, document native prerequisites and MSRV/license checks, and add a no-autospawn client for sink-input enumeration, normalized metadata, linear multichannel conversion, volume/mute writes, and confirmed readback. Leave M4.1 open pending isolated-daemon subscription verification.

Tests: cargo fmt --all -- --check; cargo test -p volume_lib --all-targets --all-features --locked; cargo check -p volume_lib --all-targets --no-default-features --locked; cargo clippy -p volume_lib --all-targets --all-features --locked -- -D warnings (all pass)
2026-10-14 19:39:36 +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
Dandaedre 58e08f3741
feat(M3.3): bound and order adapter dispatch
Add a fixed-capacity dispatch lane that coalesces only unsent volume writes, preserves mute edges in arrival order, and exposes overflow as an explicit resynchronization fault.

Tests: cargo fmt --all -- --check; cargo test -p volume_lib --all-targets --locked; cargo clippy -p volume_lib --all-targets --locked -- -D warnings (all pass)
2026-10-14 15:39:40 +02:00
Dandaedre 4e115b8562
feat(M3.2): add the fake audio worker contract
Add adapter capabilities, snapshot barriers with buffered race reconciliation, deterministic volume/mute writes and readback, and normal removal failures. Reject stale epochs and backend-ID incarnations while preserving newer pending reducer intent.

Tests: cargo fmt --all -- --check; cargo test -p fader-core -p volume_lib --all-targets --locked; cargo clippy -p fader-core -p volume_lib --all-targets --locked -- -D warnings (all pass)
2026-10-14 15:38:42 +02:00