When the Kanon home has been initialized but kanon.yaml is missing, kanon status reports only the source git status and exits 0 instead of surfacing that the home is incomplete.
Repro:
kanon init --home /tmp/kanon-home
- Delete
/tmp/kanon-home/kanon.yaml
- Run
kanon status --home /tmp/kanon-home
Observed:
- The command prints the git status for the source repo.
- It does not mention that
kanon.yaml is missing.
- Exit code is 0.
Why this is confusing:
validate, diff, and apply fail clearly when the config is missing, but status makes the home look healthy.
- A first-time user can think Kanon is set up correctly even though the source state is incomplete.
Expected:
status should either fail with a missing-config error or emit a clear warning that the Kanon home has not been initialized.
Tested with a fresh init repo and a removed kanon.yaml in the same home.
When the Kanon home has been initialized but
kanon.yamlis missing,kanon statusreports only the source git status and exits 0 instead of surfacing that the home is incomplete.Repro:
kanon init --home /tmp/kanon-home/tmp/kanon-home/kanon.yamlkanon status --home /tmp/kanon-homeObserved:
kanon.yamlis missing.Why this is confusing:
validate,diff, andapplyfail clearly when the config is missing, butstatusmakes the home look healthy.Expected:
statusshould either fail with a missing-config error or emit a clear warning that the Kanon home has not been initialized.Tested with a fresh init repo and a removed
kanon.yamlin the same home.