P0: Verify Config Structure Validation at Startup #116
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Commit
dce5f51cadds config structure validation at startup — detects malformed YAML before it breaks things.Acceptance Criteria
hermes doctoror start a session with current config.yaml — confirm it starts without validation errorsmax_turns: "thirty"), confirm the validator catches the type error with specific guidance{{{{not_yaml}}}}in config.yaml — confirm Hermes exits with a helpful error, not a Python stacktraceWhy This Matters
A broken config.yaml silently disables features or crashes at runtime. With validation, we catch config errors at startup before users or gateway sessions are affected. For fleet-wide deployments, this prevents cascading failures.
Hints
hermes_cli/config.py— look for the config validation logichermes doctoras part of the verificationParent: #111