gabriel / muse public
feat patch dev
gabriel · 60 days ago · Apr 16, 2026 · Diff

feat: canonical muse status --json schema — always the same shape

- Single _StatusJson TypedDict replaces _StatusJson + _StagedStatusJson. The schema is identical regardless of domain or whether a stage index exists. - New fields: staged {added,modified,deleted}, unstaged {added,modified,deleted}, untracked — always present; staged/unstaged are null for non-stage domains. - Flat added/modified/deleted always populated (union of staged + unstaged). - clean = not staged and not unstaged; untracked files do not affect clean. - Code-domain repos always route through _render_staged_status so staged/unstaged are never null, even when the index file is absent (clean state). - Gitism glossary updated: canonical status shape documented with trap table. - Delete _StagedStatusJson (absorbed into _StatusJson). - TDD: new test_status_json_schema.py with 16 tests covering all invariants.

sha256:5f72134e6ed10a234a5607bdc033c9b4296e516c729b8660f25e93ad5e9c87e5 sha
sha256:481d142476505d4676b1220928491be58be7f47e67ca56e7dbbabb4be2fe2e28 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:5f72134e6ed10a234a5607bdc033c9b4296e516c729b8660f25e93ad5e9c87e5 --body "your comment"