gabriel / muse public
feat patch init dev
AI Agent gabriel · 46 days ago · Apr 26, 2026 · Diff

feat(init): write muse_version and bare to repo.json; fix init JSON schema test

repo.json now always includes: muse_version — the Muse version that initialised the repo (e.g. "0.2.0rc4") bare — always present as a bool (false for normal repos, true for bare)

Previously bare was omitted for non-bare repos (absence = false convention), and muse_version was absent entirely. Explicit fields make repo.json fully self-describing without needing external context.

Fix test_non_bare_repo_json_has_no_bare_flag → test_non_bare_repo_json_has_bare_false. Add test_muse_version_written_to_repo_json and test_bare_always_written_to_repo_json. Fix test_no_extra_unknown_keys: add remotes to REQUIRED_KEYS (field was added to init JSON output but the schema test was never updated).

sha256:9322f4d7d2e42752e7ae25db20d9a114ff7271bbe6fa1888b25c0027fb069420 sha
sha256:1f60552e63d8c83b28ad205795edd501b7fb9f46d143c382a5c23d704dd9780d snapshot
← Older Oldest on dev
All commits
Newer → Latest on dev

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:9322f4d7d2e42752e7ae25db20d9a114ff7271bbe6fa1888b25c0027fb069420 --body "your comment"