Task summary
Add validation logic when loading config so invalid numeric values for historySize and maxDiffSize are rejected (or safely defaulted) with clear behavior.
Why this is a good first issue
The work is scoped to one module (src/config/store.ts) and can be completed with a small implementation plus targeted tests.
Suggested files or areas
src/config/store.ts
- New/updated tests around config loading behavior
Acceptance criteria
Extra context
loadConfig() currently applies defaults for missing fields but does not enforce numeric bounds for existing fields.
Task summary
Add validation logic when loading config so invalid numeric values for
historySizeandmaxDiffSizeare rejected (or safely defaulted) with clear behavior.Why this is a good first issue
The work is scoped to one module (
src/config/store.ts) and can be completed with a small implementation plus targeted tests.Suggested files or areas
src/config/store.tsAcceptance criteria
historySizeandmaxDiffSize(e.g., must be positive integers).Extra context
loadConfig()currently applies defaults for missing fields but does not enforce numeric bounds for existing fields.