gabriel / muse public
feat patch show task/show-json-schema #1 / 1
gabriel · 60 days ago · Apr 16, 2026 · Diff

feat(show): add total_changes to --json output + comprehensive schema tests

- Add total_changes field to muse show --json (sum of files_added + files_modified + files_removed) - Add tests/test_show_json_schema.py with 24 tests covering: schema invariants, agent provenance fields (model_id, toolchain_id, reviewed_by, test_runs), file stat correctness, error handling (JSON error on bad refs), structured delta - Verify commit_id sha256: prefix, reviewed_by/test_runs presence, model_id emitted - Fix test_IV2 to parse JSON line from combined stdout/stderr in CliRunner output - Mark P2 'show traceback on invalid sha256: ID' as resolved (already clean exit 1)

sha256:ae31e5b256bdf1431d0ec9465b083c4677d87c073b229c7ed33343b8437b9c75 sha
sha256:7858220abda23c5e1c8f60a96d9d40a367149a77e0d77a91a36a5311ce38c0f8 snapshot
← Older Oldest on task/show-json-schema
All commits
Newer → Latest on task/show-json-schema

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:ae31e5b256bdf1431d0ec9465b083c4677d87c073b229c7ed33343b8437b9c75 --body "your comment"