Skip to content

kanon status silently succeeds when kanon.yaml is missing #65

Description

@kelos-bot

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:

  1. kanon init --home /tmp/kanon-home
  2. Delete /tmp/kanon-home/kanon.yaml
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions