Skip to content

config: validate boolean options - #419

Merged
erpalma merged 1 commit into
erpalma:masterfrom
ooonea:agent/validate-control-booleans
Aug 23, 2026
Merged

config: validate boolean options#419
erpalma merged 1 commit into
erpalma:masterfrom
ooonea:agent/validate-control-booleans

Conversation

@ooonea

@ooonea ooonea commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Validate Enabled, Autoreload, HWP_Mode and per-profile
    Disable_BDPROCHOT values during configuration loading.
  • Fail before a startup or reload can apply settings from a partially valid
    configuration.
  • Report the evaluated section and option for malformed values, including
    values inherited from [DEFAULT].

Testing

  • python3 -m unittest tests.test_config_validation
  • python3 -m unittest discover -s tests

Parse all boolean options while loading the configuration so malformed values fail consistently before startup or autoreload can apply hardware settings.

Assisted-by: OpenAI Codex
@erpalma
erpalma merged commit 7c26ada into erpalma:master Aug 23, 2026
4 checks passed
@ooonea
ooonea deleted the agent/validate-control-booleans branch August 27, 2026 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants