Commit Graph

16 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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