Default leave_dark_blue to true in runtime config #56
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/issue-47-leave-dark-blue-default-docs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
config/runtime_config.jsonleave_dark_bluefromfalsetotrue, applying the preferred direction stated in the issue body.docs/safe-failure-modes.mddescribes dark-blue shutdown restore as a safety goal but the shipped config disabled it by default.python -m rgb_aura.mainruns now match the documented behavior without requiring a CLI flag.systemd/user/rgb-aura.servicealready passes--leave-dark-blueexplicitly, which continues to work and now matches the config default.Files changed
config/runtime_config.json(1 line)Why no other files changed
grep -n "default" docs/safe-failure-modes.md docs/usage.md docs/systemd-user-service.mdreturns nothing. No doc explicitly states the previous default value, so no doc text contradicts the new default. All existing dark-blue descriptions are generic ("RGB Aura attempts to restore...", "should try to leave in a known dark-blue state") and remain accurate.docs/usage.mdexamples include--leave-dark-blueexplicitly. The flag is now technically redundant but still does what users expect. Left unchanged so usage examples stay consistent with the systemd unit (which also still passes the flag explicitly).--leave-dark-blueflag is now redundant but harmless. If the redundancy is worth cleaning up, that belongs in a separate issue.Verification
ruff format src tests scripts— 29 files left unchanged.ruff check src tests scripts— all checks passed.python -m pytest tests/— 1 passed.python -m rgb_aura.main --dry-run --dry-run-events 3— clean run; output now showsLeave dark blue on exit: Truein the runtime options preview.Hardware verification
Not required. Config-only change. No runtime code paths, no LED write path, no animation logic touched.
Linked issue
Closes #47.
Branch workflow
developfix/issue-47-leave-dark-blue-default-docsdevelopmain.