Skip to content

13: config fields clamping to defaults on invalid or missing - #79

Merged
semere-meb merged 1 commit into
mainfrom
13-cfg-02-config-schema-defaults-clamping
Aug 20, 2026
Merged

13: config fields clamping to defaults on invalid or missing#79
semere-meb merged 1 commit into
mainfrom
13-cfg-02-config-schema-defaults-clamping

Conversation

@semere-meb

@semere-meb semere-meb commented Aug 20, 2026

Copy link
Copy Markdown
Member

Summary

Configuration fields clamp to defaults on invalid or missing fields.

Closes #13
Fixes #15

Changes

  • Updated Config and LevelConfig to tolerate invalid/missing fields
  • Updated test suite to match this feature

Testing

  • make lint passes locally
  • make test passes locally (check N/A below if no tests exist yet for this area)
  • Manually tested the behavior described above
  • N/A — no automated tests apply to this change yet

Checklist

  • PR title follows <TICKET-ID>: short description
  • Linked to the correct issue (Fixes #... above)
  • No unrelated changes bundled into this diff
  • Updated docs/design/ if this changes config shape, architecture, or a game-design decision
  • Updated README if this changes user-facing behavior (config keys, controls, etc.)

@semere-meb
semere-meb requested a review from rustyzzz August 20, 2026 12:06
@semere-meb semere-meb self-assigned this Aug 20, 2026
@semere-meb semere-meb linked an issue Aug 20, 2026 that may be closed by this pull request
@semere-meb
semere-meb merged commit 34d8e52 into main Aug 20, 2026
2 checks passed
@semere-meb
semere-meb deleted the 13-cfg-02-config-schema-defaults-clamping branch August 20, 2026 14:59
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.

CFG-04: Config edge-case tests CFG-02: Config schema, defaults, clamping

1 participant