feat(read): idiomatic JSON output — null provenance, omit empty fields
- Optional provenance strings (agent_id, model_id, toolchain_id, prompt_hash, signature, signer_public_key, signer_key_id, status) are now null instead of empty string when unset. null means 'not set'; empty string means 'set to nothing' — distinct semantics. - metadata, reviewed_by, labels, notes omitted when empty. - test_runs omitted when 0, score omitted when null. - parent2_commit_id omitted on linear commits (only present on merges).
18 new tests in TestJsonIdioms cover all cases including round-trip verification that agent commits and merge commits still emit the fields.
sha256:45f2939a0a8e1941d7b8f3aa0f37d6e582e08396c0742565f7594fa98504f1d7
sha
sha256:540ebb07ff13010d75d410d55cd8bbf9acfc65e9ea9108f93d11bd4ec3b5eb8a
snapshot
Older
feat(read): two-line Files/Symbols summary in muse read output
sha256:52b931afc68def29597bf4aed3460bab4a803a80760586007a99f20677c3fe9a
All commits
Newer
fix(read): strip position:null from structured_delta ops in JSON…
sha256:be3641f35bdbcc094677776a77b9aa6a5dab891f8fab201dc162d03c2bab5aea
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:45f2939a0a8e1941d7b8f3aa0f37d6e582e08396c0742565f7594fa98504f1d7 --body "your comment"
No comments yet. Be the first to start the discussion.