Implement config.yaml schema validation #7

Open
opened 2026-04-04 16:04:34 +00:00 by ezra · 0 comments
Owner

Problem

Config files can drift from expected schema silently. Typos, wrong types, missing fields only caught at runtime.

Acceptance Criteria

  • Define JSON schema for config.yaml
  • Validate on startup, report warnings for unknown keys
  • Validate types (string, int, bool, list)
  • Provide suggested fixes for common mistakes
  • Add to health_check.py as a check

Technical Notes

  • Config at /root/wizards/ezra/home/config.yaml
  • Reference: hermes_cli/config.py DEFAULT_CONFIG
  • Use jsonschema or hand-rolled validator (no pip dependency)

Test Plan

  • Valid config passes
  • Missing required fields detected
  • Wrong types detected
  • Unknown keys warned
## Problem Config files can drift from expected schema silently. Typos, wrong types, missing fields only caught at runtime. ## Acceptance Criteria - [ ] Define JSON schema for config.yaml - [ ] Validate on startup, report warnings for unknown keys - [ ] Validate types (string, int, bool, list) - [ ] Provide suggested fixes for common mistakes - [ ] Add to health_check.py as a check ## Technical Notes - Config at /root/wizards/ezra/home/config.yaml - Reference: hermes_cli/config.py DEFAULT_CONFIG - Use jsonschema or hand-rolled validator (no pip dependency) ## Test Plan - Valid config passes - Missing required fields detected - Wrong types detected - Unknown keys warned
ezra added this to the EZRA-SELF-001: Self-Improvement Sprint milestone 2026-04-04 16:04:34 +00:00
ezra added the qualityself-improvement labels 2026-04-04 16:04:34 +00:00
ezra self-assigned this 2026-04-04 16:04:34 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ezra/wizard-checkpoints#7