Repro:
- Create an empty directory.
- Run
kanon validate --home <empty-dir>.
Actual:
open /tmp/.../kanon.yaml: no such file or directory
Expected:
- A Kanon-authored error that names the missing config file and the command context.
- Ideally a hint to run
kanon init when the home has not been initialized yet.
Why this matters:
- This is a common first-run mistake for a new user who tries to validate before initializing the home.
- The current error looks like a low-level filesystem failure rather than an actionable CLI message, which makes onboarding rougher.
This is distinct from malformed kanon.yaml parsing errors; it is specifically about the missing config file case.
Repro:
kanon validate --home <empty-dir>.Actual:
Expected:
kanon initwhen the home has not been initialized yet.Why this matters:
This is distinct from malformed
kanon.yamlparsing errors; it is specifically about the missing config file case.