Commit Graph

45 Commits

Author SHA1 Message Date
Dandaedre e11e537e12
docs: document M13 media controls and add a validated QBZ profile
Verify: cargo test -p fader-config --quiet: 60 tests passed, including round-trip validation of all 14 example controls; git diff --check passed; documented UI keys and limits reviewed against implementation. Hardware checklist explicitly remains opt-in and unverified.
2026-10-18 23:06:58 +02:00
Dandaedre a31929ec08
fix: bound M13 playlist snapshots within expanded IPC frames
Verify: 256-playlist IPC regression failed at the former 64 KiB limit, then passed with the bounded 1 MiB limit. cargo test -p fader_master --test ipc_frames --quiet: 4 passed; config tests passed, including oversized media rejection; workspace clippy -D warnings and formatting passed.
2026-10-18 23:04:35 +02:00
Dandaedre fb937ef6ae
feat: define M13 media entries and confirmed-state contracts
Add hardware-free selector/action/feedback types and validated profile editing with MIDI collision checks. Retain media entries when a surface is removed. Includes seeking, shuffle, repeat and playlist actions.

Tests: new selector/feedback and schema regressions failed before implementation; cargo test -p media -p fader-config --quiet and targeted clippy passed. Formatting and staged diff checks passed.
2026-10-18 22:44:40 +02:00
Dandaedre 618c3d7b07
feat: add M13.3a global and per-fader feedback gates
Persist default-enabled feedback switches and expose them in Config and Edit fader. Both explicit and implicit output mappings are suppressed; reactivation recreates feedback state.

Tests: feedback_switches failed before implementation and now passes; cargo test -p tui --quiet (50 passed); cargo test -p fader_master disabled_feedback --quiet passed; workspace clippy all-targets/all-features, formatting and diff checks passed.
2026-10-18 22:41:03 +02:00
Dandaedre 0e224c664b
feat: add bounded M13.2 process metadata selectors
Enrich local Pulse streams outside native callbacks with executable, working directory and allowlisted Steam IDs. Preserve unavailable data, check start-time consistency and never infer Steam launch from paths. Add capture fields and document best-effort limitations; diagnostics qualification remains pending.

Verification passed: enriched_process schema regression (initially failed on unknown field); process_metadata tests; cargo fmt --all -- --check; cargo check --workspace --all-targets --all-features; cargo test --workspace --all-targets --all-features --quiet; cargo test --workspace --doc --all-features; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo build --workspace --release --all-features; default/no-default workspace builds; volume_lib without defaults and with pulse; midi midir build. Hardware fixtures remain opt-in.
2026-10-18 22:25:46 +02:00
Dandaedre 002570a848
feat: add M13.1 explicit AND selector composition
Preserve default OR behavior; validate all-mode matching and document schema. Include transactional editor API for the following TUI slice.

Tests: cargo test -p fader-core -p fader-config --quiet passed. Regression first failed because selector_mode was rejected. git diff --check passed.
2026-10-18 22:19:17 +02:00
Dandaedre dd397eb681
test: align Arch profile assertions with committed bindings
The committed profile now uses the discovered APC identity, media CC48/note64 and master CC56/note89. Verify those routes, reject the removed CC50 assignment, and retain MIDI learn cancellation coverage. No profile data changed. Tests: cargo fmt --all -- --check and cargo test --workspace --all-targets --all-features --quiet pass (two opt-in hardware tests ignored).
2026-10-18 13:56:30 +02:00
Dandaedre 1b32efec9f
fix: default mute feedback to the same note on all devices
M6.1: Remove APC USB identity and LED note restrictions. Note mute bindings with an output use their original channel and note with on=127/off=0. Alternate note/CC protocols and values remain explicit feedback configuration. Document the default and overrides.

Tests: generic controller regression failed before implementation; cargo test -p fader-config --test editor (23 tests) and cargo test -p fader_master --lib feedback (2 tests) pass. Formatting, workspace all-target/all-feature check, strict Clippy, doctests and release build pass. Full workspace all-target/all-feature tests with --no-fail-fast exercise all targets: same four pre-existing Arch-profile fixture failures; all remaining tests pass. No hardware LED test performed.
2026-10-18 13:50:46 +02:00
Dandaedre 7a0e8840ed
fix: supply APC Mini mute feedback for fresh profiles
M6.1: Resolve missing feedback from the original APC Mini USB identity and supported note LED map, allowing the first learned mute binding to send confirmed feedback. Preserve explicit mappings and exclude unknown/outputless devices, unsupported controls, and MK2. Resolve defaults without rewriting user profiles.

Tests: fresh-profile planner regression failed with zero messages before the fix and passes after it. Added device/control exclusion and override coverage. cargo fmt --all -- --check, cargo check --workspace --all-targets --all-features, cargo clippy --workspace --all-targets --all-features -- -D warnings, cargo test --workspace --doc --all-features, cargo build --workspace --release --all-features pass. cargo test --workspace --all-targets --all-features --no-fail-fast --quiet exercises all targets: four existing Arch-profile fixture failures (schema ID and three MIDI device/routing assertions); remaining tests pass. Physical LED verification not performed.
2026-10-18 13:47:27 +02:00
Dandaedre 5983b1cfb5
fix: materialize omitted config arrays during edits
Treat omitted default-empty binding, application, group, and fader arrays consistently with profile validation. Creation edits now materialize missing arrays, unlearning from an omitted binding array is a no-op, and malformed present sections remain startup errors.

Tests: cargo fmt --all -- --check; cargo test -p fader-config --test editor; cargo check --workspace --all-targets --all-features; cargo clippy --workspace --all-targets --all-features -- -D warnings; malformed-profile refusal and legacy-profile upgrade tests; cargo test --workspace --doc --all-features; cargo build --workspace --release --all-features. Full workspace tests stop at the pre-existing edited examples/profiles/arch-pipewire.toml fixture mismatch.
2026-10-18 12:58:19 +02:00
Dandaedre 34c738847f
feat: rename targets from the fader editor
Add a Name row and cursor-aware rename modal for application and group faders. Persist only the target display label while retaining stable IDs, selectors, group membership, bindings, and layout; keep backend-owned output labels unchanged.

Tests: cargo fmt --all; cargo check --workspace --all-targets --all-features; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo test -p tui; cargo test -p fader-config --test editor; targeted fader_master editor test; cargo test --workspace --doc --all-features; cargo build --workspace --release --all-features. Full workspace tests stop at the pre-existing edited examples/profiles/arch-pipewire.toml fixture mismatch.
2026-10-18 12:49:24 +02:00
Dandaedre 1863f82f15
feat: remove MIDI devices from Config
Add confirmed MIDI surface removal in the Config tab, clear its bindings and default-controller reference atomically, and keep added or removed devices consistent in the draft view until Save.

Tests: cargo fmt --all -- --check; cargo check --workspace --all-targets --all-features; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo test -p tui; cargo test -p fader-config --test editor; targeted fader_master editor/live tests; cargo test --workspace --doc --all-features; cargo build --workspace --release --all-features. Full workspace tests are blocked by the pre-existing edited examples/profiles/arch-pipewire.toml fixture mismatch.
2026-10-18 12:45:36 +02:00
Dandaedre a967cc30ea
fix: infer feedback for learned mute bindings
Copy an unambiguous same-surface, same-message-kind feedback convention onto new mute bindings while preserving device-specific values and refusing conflicting guesses.\n\nTests: cargo fmt --all -- --check\nTests: cargo test -p fader-config --test editor --all-features\nTests: cargo check --workspace --all-targets --all-features\nTests: cargo clippy --workspace --all-targets --all-features -- -D warnings
2026-10-18 12:08:14 +02:00
Dandaedre 832a04cb67
feat(M9.6): add mixer object workflows
Add transactional fader and group creation, generic confirmed deletion, and the mixer add chooser. Complete the single-screen configuration workflow with tiny-terminal coverage and updated documentation.\n\nTests: cargo fmt --all -- --check\nTests: cargo check --workspace --all-targets --all-features\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: cargo test --workspace --all-targets --no-default-features\nTests: cargo test -p midi --no-default-features --all-targets\nTests: cargo test -p midi --no-default-features --features midir --all-targets\nTests: cargo test -p volume_lib --no-default-features --all-targets\nTests: cargo test -p volume_lib --no-default-features --features pulse --all-targets
2026-10-18 11:22:02 +02:00
Dandaedre 33798eeb6e
fix(M9.4): accept unnamed separators and spacers
Allow empty labels in profile validation and the separator popup; retain unique stable IDs and draw unnamed rules without a label gap.

PASS: failing-first empty-label config/TUI regressions; cargo fmt --all -- --check; cargo check --workspace --all-targets --all-features; cargo test --workspace --all-targets --all-features --quiet (2 opt-in tests ignored); cargo test --workspace --doc --all-features; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo build --workspace --release --all-features; default/no-default workspace and independent MIDI/Pulse feature checks.
2026-10-16 19:34:19 +02:00
Dandaedre 2e03e8f60c
feat(M9.4): add separator sizes and independent decorations
Edit separator name, Slim/Standard/Thick/Fill size, and Plain/Line/Double/Box decoration in one popup. Persist presentation fields and distribute spare viewport space among Fill separators after fitting faders. Bump IPC to 19.

Verification PASS: cargo fmt --all -- --check; cargo check --workspace --all-targets --all-features; cargo test --workspace --all-targets --all-features --quiet (2 opt-in hardware tests ignored); cargo test --workspace --doc --all-features; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo build --workspace --release --all-features; cargo check --workspace; cargo check --workspace --no-default-features; cargo check -p midi --no-default-features --features midir; cargo check -p volume_lib --no-default-features --features pulse. Targeted TUI suite passed after final viewport bounds adjustment. Regression coverage includes save/reload, popup cancellation, fill allocation, small displays, and saved-layout swapping.
2026-10-16 19:27:46 +02:00
Dandaedre a7587d45de
fix(M9.4): preserve saved fader order during TOML serialization
Normalize layout table source positions when moving entries or inserting separators. Parsed TOML previously restored old order despite successful edits, causing optimistic swaps to snap back after reload. Cover repeated moves, comments, hidden entries, and IPC refresh/save/server restart.

Verification: reproduced failure with save/reparse regression before fix. PASS: cargo test -p fader-config --test editor; cargo test -p fader_master --lib persisted_layout_reorders; cargo fmt --all -- --check; cargo check --workspace --all-targets --all-features; cargo test --workspace --all-targets --all-features --quiet (2 opt-in hardware tests ignored); cargo test --workspace --doc --all-features; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo build --workspace --release --all-features; cargo check --workspace; cargo check --workspace --no-default-features; cargo check -p midi --no-default-features --features midir; cargo check -p volume_lib --no-default-features --features pulse.
2026-10-16 19:17:30 +02:00
Dandaedre 4e0d3e99a7
feat: configure pickup status presentation
Rust CI fader_master passed its selected CI mode.
MadGobblins/fader_master/pipeline/head This commit looks good Details
Add persisted Detailed, Compact, Symbol, Color, and Hidden pickup-status modes to the Config page and both mixer layouts.

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; cargo check --workspace; cargo check --workspace --no-default-features; cargo check -p midi --no-default-features --features midir; cargo check -p volume_lib --no-default-features --features pulse
2026-10-16 19:11:40 +02:00
Dandaedre c1f3377914
feat: bootstrap controllers from MIDI discovery
Adopt a sole MIDI input when creating a managed profile, publish other unclaimed inputs to Config, and let the user add them as durable surfaces. Legacy empty profiles can add a safe Master fader, then Save and use the existing MIDI Learn flow without editing TOML.

Tests: 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/midir/pulse cargo checks
2026-10-16 19:05:29 +02:00
Dandaedre a464735f54
feat: add bordered slim fader density
Add a persisted Bordered slim size between Slim and Standard. It renders as a three-row bordered vertical card and a compact horizontal strip, and round-trips through config, IPC, the editor, and TUI.

Tests: cargo test -p fader-config -p tui --all-targets --all-features --locked
Tests: cargo clippy --workspace --all-targets --all-features --locked -- -D warnings
Tests: cargo fmt --all -- --check
2026-10-16 00:06:31 +02:00
Dandaedre c7d2450efb
fix: move coupled feedback with learned controls
When a mute binding's feedback address follows its input message, update the feedback kind, channel, and number with the learned control. Preserve deliberately independent feedback mappings.

Tests: cargo test -p fader-config --test editor changing_a_mute_binding_moves_its_feedback_to_the_new_control --locked
Tests: cargo clippy -p fader-config --all-targets --all-features --locked -- -D warnings
2026-10-16 00:05:10 +02:00
Dandaedre c30b361fd0
feat: safely upgrade legacy profiles
Recognize pre-versioned and schema-0 profiles during server startup, preserve comments, validate the complete migrated candidate, save exact original bytes as a versioned backup, and atomically install the upgrade. Never rewrite malformed or future-schema profiles.

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; cargo check --workspace; cargo check --workspace --no-default-features; cargo check -p midi --no-default-features --features midir; cargo check -p volume_lib --no-default-features --features pulse
2026-10-15 23:06:28 +02:00
Dandaedre 556e0bdfe1
feat: persist themes with a single save action
Store the selected theme in the validated profile, use it when the TUI starts without an explicit CLI override, and route both T and Config theme changes through revisioned edits. Remove the separate Apply operation so Save persists and activates the prepared configuration in one server-owned action. Bump the local IPC protocol for the new theme field and lifecycle.

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; cargo check --workspace; cargo check --workspace --no-default-features; cargo check -p midi --no-default-features --features midir; cargo check -p volume_lib --no-default-features --features pulse
2026-10-15 22:29:56 +02:00
Dandaedre c0129cecfa
feat: add configurable default MIDI controller
Persist and validate ui.default_controller, expose it in Config, and inherit it for unassigned volume and mute MIDI learn actions while preserving explicit binding surfaces. Bump the local IPC protocol for the new snapshot and edit fields.

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; cargo check --workspace; cargo check --workspace --no-default-features; cargo check -p midi --no-default-features --features midir; cargo check -p volume_lib --no-default-features --features pulse
2026-10-15 22:24:07 +02:00
Dandaedre acb0f609cb
feat: add horizontal mixer layout
Persist a vertical or horizontal mixer orientation in the profile and expose it in Config. Horizontal mode packs fader cards into width-aware bands while keeping separators full-width and respecting per-fader density.

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/backend feature checks.
2026-10-15 22:13:44 +02:00
Dandaedre bcba3e96eb
feat: add per-fader display sizes
Persist slim, standard, and thick mixer densities and expose them through the guided fader editor. Render slim faders on one line and make mixer scrolling account for variable row heights.

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/backend feature checks.
2026-10-15 22:02:54 +02:00
Dandaedre 93506e0a67
fix: project editor values from profiles
Publish configured group modes and pickup tolerances through IPC so the TUI renders server-owned draft values. Preserve unrelated group modes and fader tolerances during edits, and document the projection invariant. Protocol version is now 11.\n\nTests: cargo fmt --all -- --check\nTests: cargo check --workspace --all-targets --all-features\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: cargo check --workspace --all-targets --no-default-features\nTests: cargo test --workspace --all-targets --no-default-features\nTests: cargo check -p midi --all-targets --no-default-features --features midir\nTests: cargo check -p volume_lib --all-targets --no-default-features --features pulse
2026-10-15 18:02:22 +02:00
Dandaedre 1da6da5da2
feat: add guided mixer fader editor
Open a field-oriented editor from mixer faders for capture selectors, group membership and mode, volume/mute learn or unset, and visibility. Preserve unrelated selectors and bindings, replace learned actions atomically, and publish the richer draft through protocol version 10.\n\nTests: cargo test --locked --workspace --all-targets --all-features\nTests: cargo clippy --locked --workspace --all-targets --all-features -- -D warnings\nTests: cargo fmt --all -- --check
2026-10-15 17:55:19 +02:00
Dandaedre 7790951c22
feat: add mixer layout drafts
Add a validated ordered mixer layout with fader visibility and separators, synthesize compatible entries for existing profiles, and provide comment-preserving reorder, hide/show, and separator edits.\n\nTests: cargo test --locked -p fader-config\nTests: cargo clippy --locked -p fader-config --all-targets -- -D warnings\nTests: cargo fmt --all -- --check
2026-10-15 17:42:31 +02:00
Dandaedre 1129cc9730
feat(M10.3): validate active profile pointers
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:26:41 +02:00
Dandaedre 9941a79231
feat(M9.2): validate learned binding drafts
Test: cargo test -p fader-config --test editor

Test: cargo clippy -p fader-config --all-targets --all-features -- -D warnings
2026-10-15 04:15:16 +02:00
Dandaedre b5d7ac9c5f
feat(M9.1): complete transactional profile mutations
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:09:20 +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 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 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 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 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 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 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 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 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 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