You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(config): introduce Store interface, Remove method, and reset command
- Extract Store interface from concrete fileStore so the store is
injectable and mockable without leaking the concrete type
- Add Remove(key) with atomic write and rollback, mirroring Set
- Add MQTT reset command to drop a persisted override (same allowlist
as set); returns "not_configured" when no store is wired
- Add ApplyConfigEntryForTest export shim for white-box unit tests
- Add TestApplyConfigEntry covering all settable keys, invalid duration
no-op, and unknown-key no-op
- Add TestStore_Remove_* covering existence, persistence, and write-error
rollback; add reset cases to TestConfigGetSet
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments