Commit Graph

36 Commits

Author SHA1 Message Date
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
Dandaedre 013ff0de9f
feat(M3.1): add the server state reducer
Separate command origins, desired intent, pending operations, observed audio state, adapter effects, and confirmed views behind a deterministic single-owner reducer. Require observation after write acceptance and retain truthful observed state on failure.

Tests: cargo fmt --all -- --check; cargo test -p fader-core --all-targets --locked; cargo clippy -p fader-core --all-targets --locked -- -D warnings (all pass)
2026-10-14 15:37:26 +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 7d24fbda62
fix(M2.2): honor read-only persistence directories
Rust CI fader_master passed CI.
MadGobblins/fader_master/pipeline/head This commit looks good Details
Reject atomic replacement when the owned parent directory lacks its owner-write bit, even when a privileged worker could bypass normal DAC checks. Assert the explicit permission error and preservation of the previous document.

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:07:57 +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 df8ed342cc test(M1): verify ID separation at compile time
Centralize the property-test dependency version and document the pure domain boundary with a compile-fail example. Validation: cargo test -p fader-core --doc --locked (1 compile-fail test passed); locked Cargo metadata and diff checks passed.
2026-10-05 08:19:20 +02:00
Dandaedre 51c4dd9e97 feat(M1.5): resolve mute toggles against pending intent
Plan explicit per-stream mute commands while preserving observed mixed/offline state and independent gain. Tests: cargo test -p fader-core --test mute --locked first failed for missing API; cargo test -p fader-core --all-targets --locked passed (30 tests). cargo clippy -p fader-core --all-targets --locked -- -D warnings and formatting passed.
2026-10-05 08:18:35 +02:00
Dandaedre 3aae565c24 feat(M1.4): plan balanced absolute and relative group gain
Tests: cargo test -p fader-core --test group_volume --locked initially failed for missing API, then passed (4 tests). Covers silent/offline groups, balance, finite extremes, clipping, partial observation updates and late membership. Strict core Clippy and formatting passed.
2026-10-05 08:17:46 +02:00
Dandaedre 6a3198d0e9 feat(M1.3): scope MIDI bindings to stable surfaces
Validate channel and data ranges, reject duplicate physical keys, preserve independent device controls, and allow shared logical targets. Tests: cargo test -p fader-core --test bindings --locked initially failed for missing types; cargo test -p fader-core --all-targets --locked now passes (22 tests). Strict core Clippy and formatting passed.
2026-10-05 08:16:48 +02:00
Dandaedre e0a309b565 feat(M1.3): resolve logical faders to unique streams
Rust CI fader_master passed CI.
MadGobblins/fader_master/pipeline/head This commit looks good Details
Tests: cargo test -p fader-core --test routing --locked first failed for missing Routing/Target; cargo test -p fader-core --all-targets --locked then passed (19 tests). cargo clippy -p fader-core --all-targets --locked -- -D warnings passed. Surface binding remains pending.
2026-10-05 08:15:35 +02:00
Dandaedre 0beaee783c fix(build): reference the existing custom license
Preserve LICENSE by inheriting license-file instead of incorrectly claiming the project uses standard MIT. Validation: cargo metadata --offline --no-deps --format-version 1 --locked and git diff --cached --check passed.
2026-10-05 08:14:53 +02:00
Dandaedre 1eaeaf81e2 feat(M1.2): match applications to live streams
Add explicit normalized metadata selectors with case-sensitive exact and bounded Rust regex modes, OR application matching, raw metadata preservation, and epoch/incarnation-safe live membership.

Tests: cargo test -p fader-core --all-targets --locked (17 passed)

Tests: cargo clippy -p fader-core --all-targets --locked -- -D warnings; cargo test -p fader-core --doc --locked; cargo fmt --all -- --check; git diff --check (passed)
2026-10-05 08:04:32 +02:00
Dandaedre 616ae07217 feat(M1.1): add typed domain values
Introduce validated stable IDs, finite non-negative gain and channel vectors, explicit aggregate/mute/availability states, and non-wrapping revision and backend epoch types. Preserve observed above-unity gain while requiring an explicit write ceiling.

Tests: cargo test -p fader-core --all-targets --locked (10 passed, including proptest invariants)

Tests: cargo clippy -p fader-core --all-targets --locked -- -D warnings; cargo test -p fader-core --doc --locked; cargo fmt --all -- --check; git diff --check (passed)
2026-10-05 08:00:03 +02:00
Dandaedre 123a67732f refactor(M0.3): establish domain crate boundary
Add dependency-free fader-core and inward-only fader-config crates, wire existing adapters and clients toward the domain layer, and remove scaffold arithmetic tests.

Tests: cargo test -p fader-core -p fader-config --all-targets --locked (passed without device/runtime dependencies)

Tests: cargo check --workspace --all-targets --all-features --locked; cargo tree --workspace --locked --edges normal; git diff --check (passed)
2026-10-05 07:52:33 +02:00
Dandaedre bccc948ebd ci(M0.2): enforce workspace feature matrix
Run locked default, no-default-features, and all-features checks and tests in Jenkins, and build both the default workspace and all-feature release. Keep M0.2 open pending a real provisioned-worker run.

Tests: local Jenkins-equivalent check/test/build matrix with --locked (passed)

Tests: scripts/test-ci.sh; git diff --check (passed)
2026-10-05 07:49:53 +02:00
Dandaedre 9711e6024c build(M0.1): pin reproducible Rust foundation
Select Rust 1.88.0 as the pinned toolchain and MSRV, centralize workspace package metadata and dependency versions, make Jenkins honor the same toolchain, and document Linux build prerequisites and locked commands.

Tests: cargo +1.88.0 fmt --all -- --check (passed)

Tests: cargo +1.88.0 check/test/clippy/doc/build workspace gates, release build, and no-default-features check with --locked (passed)

Tests: scripts/test-ci.sh; git diff --check (passed)
2026-10-05 07:47:49 +02:00
Dandaedre 567aa13262 ci: make badge checks portable to FreeBSD
Rust CI fader_master passed CI.
MadGobblins/fader_master/pipeline/head This commit looks good Details
Support both GNU and FreeBSD stat output and replace find -maxdepth with POSIX shell SVG counting so the rust_nodocker Jenkins worker can run the CI fixture and badge finalizer.

Tests: sh -n scripts/*.sh (passed)

Tests: scripts/test-ci.sh (passed)
2026-10-05 07:38:48 +02:00
Dandaedre bfbd42f9bd docs: require atomic commits per task
Define backlog tasks and independently testable acceptance criteria as commit boundaries, authorize local task commits by default, and keep shared-worktree staging under the coordinating agent.

Validation: git diff --cached --check (passed)
2026-10-05 07:36:25 +02:00
Dandaedre 66d102a944 ci: establish implementation fallback baseline
Rust CI fader_master failed CI.
MadGobblins/fader_master/pipeline/head There was a failure building this commit Details
Mark the start of implementation with locked coverage measurement, tested badge rendering and finalization, and safe default-branch publication configuration. This commit is intended as a known-good fallback point.

Tests: scripts/test-ci.sh (passed)

Tests: cargo fmt --all -- --check; cargo check/test/clippy/doc/build workspace gates and no-default-features check (passed)

Coverage: scripts/ci-run-coverage.sh 20 ... (23.4375%, passed)
2026-10-05 07:28:08 +02:00
Dandaedre ec63326e4b ci: strengthen Rust Jenkins pipeline
Rust CI fader_master passed CI.
MadGobblins/fader_master/pipeline/head This commit looks good Details
Adapt the tiny-wb pipeline structure for fader_master with controlled checkout, concurrency and timeout options, isolated Cargo output, doctest and warning-strict documentation checks, strict Clippy, release artifact verification, workspace cleanup, and Gitea status reporting.

Project-specific audit, deny, coverage, badge, and MSRV stages remain deferred until their configuration and scripts exist.

Validation: cargo fmt --all -- --check; cargo check --workspace --all-targets --all-features; cargo test --workspace --all-targets --all-features; cargo test --workspace --doc --all-features; RUSTDOCFLAGS='-D warnings' cargo doc --workspace --no-deps --all-features; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo build --workspace --release --all-features; release binary executable check; git diff --check.
2026-10-05 02:41:22 +02:00
Dandaedre 68b23e0ff9 refactor(tui): satisfy strict Clippy lint
Replace the single-pattern key-event match with if let while preserving quit behavior and the planned navigation notes.

Validation: cargo test --workspace --all-targets --all-features; cargo clippy --workspace --all-targets --all-features -- -D warnings.
2026-10-05 02:41:08 +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
Dandaedre 42c8e40d9b Add Jenkinsfile
fader_master CI fader_master passed CI.
MadGobblins/fader_master/pipeline/head This commit looks good Details
2026-09-14 16:03:22 +02:00
Dandaedre 7edc640adc Adds workspaces and basic example 2025-03-24 23:48:09 +01:00
Dandaedre 763e201a87 Cargo init + license 2025-03-24 15:31:04 +01:00
Dandaedre ed8ad4c097 Initial commit 2025-03-24 15:28:53 +01:00