Commit Graph

29 Commits

Author SHA1 Message Date
Dandaedre ef60da3953
docs: define mixer-first editor workflow
Specify ordered fader and separator layout, hide/show semantics, guided capture and MIDI binding controls, and the single-screen migration backlog.\n\nValidation: git diff --cached --check
2026-10-15 17:40:17 +02:00
Dandaedre 184cec90c7
feat(M10.2): restore saved intents on explicit switch
Test: cargo test -p fader-config --all-targets --all-features

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

Test: cargo clippy -p fader-config -p fader_master --all-targets --all-features -- -D warnings
2026-10-15 04:31:39 +02:00
Dandaedre d028cf26f0
feat(M10.3): persist active profile selection
Test: cargo test -p fader_master --all-targets --all-features

Test: cargo clippy -p fader_master --all-targets --all-features -- -D warnings
2026-10-15 04:28:35 +02:00
Dandaedre cbaf2a9694
feat(M10.1): activate prepared sibling profiles
Test: cargo test -p fader_master --all-targets --all-features

Test: cargo clippy -p fader_master --all-targets --all-features -- -D warnings
2026-10-15 04:26:15 +02:00
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 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 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 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 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 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 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 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 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 6c0c8be2d0
feat(tui): launch an interactive mixer shell
Replace the hidden placeholder example with a visible mixer screen launched by the main executable. Add working volume and quit controls, explicit demo-state labeling, render/input coverage, and documented launch instructions.

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 fader_master in a PTY with clean quit (all pass)
2026-10-14 15:14:03 +02:00
Dandaedre 81241452fb
feat(M2.3): checkpoint durable profile state
Rust CI fader_master failed CI.
MadGobblins/fader_master/pipeline/head There was a failure building this commit Details
Add a pure monotonic checkpoint coordinator with quiet-period debounce, bounded dirty latency, atomic state sinks, and shutdown flushing. Keep observations stale across restart, persist desired intent separately from assignments and UI preferences, and require explicit bounded restore before application-join writes.

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 01:43:54 +02:00
Dandaedre 7bb15ec039
feat(M2.2): persist TOML files atomically
Resolve private XDG paths, enforce owner and symlink checks, stream mode-0600 same-directory replacements with file and directory fsync, and recover malformed state without rewriting it. Preserve comments during validated profile edits and back up strictly forward migrations.

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 01:40:17 +02:00
Dandaedre 5a14b46a39
feat(M2.1): validate versioned TOML schemas
Add strict profile, device capability, and persisted-state documents with semantic validation for IDs, references, selectors, MIDI ranges, bindings, and output capabilities. Keep the architecture example synchronized with a tested distributable profile.

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 01:37:07 +02:00
Dandaedre 11b588f606 docs(M1): record verified domain milestone and M2 boundary
Rust CI fader_master passed CI.
MadGobblins/fader_master/pipeline/head This commit looks good Details
Document implemented contracts, selected dependency metadata, observed-state planning limits, and the requested stop before M2. Mark M1.4/M1.5 complete after workspace gates passed; retain the real-Jenkins M0.2 checkpoint.

Validation: document review against public contracts and task dependencies; git diff --cached --check passed. Runtime evidence: 30 unit/integration/property tests plus 1 compile-fail doctest; locked workspace fmt/check/test/doc/Clippy/release/default/no-default gates and scripts/test-ci.sh passed. Coverage command scripts/ci-run-coverage.sh 20 coverage/llvm-cov-summary.json coverage/.coverage-ready-local coverage/coverage-status.txt passed at 83.2487309645%.
2026-10-05 08:20:15 +02:00
Dandaedre 9e4f363b0a docs: define project steward and tested implementation plan
Specify MIDI/audio state flow, virtual targets, backend choices, TOML profiles, TUI editing, and researched Rust libraries. Map all 15 requirements to acceptance-test increments.

Validation: Python TOML syntax/reference/range checks, local Markdown links, code fences and requirement coverage passed; git diff --cached --check and cargo fmt --all -- --check passed. Steward review clarified durable desired versus observed state.

Baseline cargo test --workspace --all-targets --offline blocked: compact_str v0.8.2 was not cached. No runtime implementation changed.
2026-10-05 02:30:10 +02:00