Description
The collectUnknownKeys recursively checks shape but explicitly skips deeply nested array objects or Zod Unions. Any typo inside an array-of-objects in config.json won't be caught or surfaced to the user, leading to confusing ignored inputs.
Environment
- macOS version: macOS 14.0
- Apple Silicon: M2
- Node version: v22.0.0
- Python version: 3.12
- Nanotune version: 1.7.0
Steps to Reproduce
- Add a typo to a deeply nested array object in
config.json.
- Run
nanotune status.
Expected Behavior
A warning is surfaced to the user about an unknown config key.
Actual Behavior
The typo is silently ignored.
Logs/Screenshots
N/A
Additional Context
Description
The
collectUnknownKeysrecursively checks shape but explicitly skips deeply nested array objects or Zod Unions. Any typo inside an array-of-objects inconfig.jsonwon't be caught or surfaced to the user, leading to confusing ignored inputs.Environment
Steps to Reproduce
config.json.nanotune status.Expected Behavior
A warning is surfaced to the user about an unknown config key.
Actual Behavior
The typo is silently ignored.
Logs/Screenshots
N/A
Additional Context