Commit Graph

12 Commits

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