supercharge: muse symbolic-ref — elapsed_ms, exit_code, JSON errors to stdout
- Add elapsed_ms (float, ms) and exit_code (int) to _SymbolicRefResult TypedDict - All JSON success paths include elapsed_ms and exit_code - _emit_error(): in JSON mode errors go to stdout; in text mode to stderr - Add register() docstring - Update module docstring with new fields and JSON error schema - Fix 5 pre-existing test failures: stale fake commit IDs (bare hex) now use long_id() to produce sha256:-prefixed IDs that pass read_head() validation - Remove unidiomatic --format xml test inputs; replace with --format bad or unsupported-ref triggers - Update 3 existing tests whose assertions assumed errors went to stderr (now JSON-mode errors go to stdout — consistent with other commands) - 35 new tests: U1-U4, E1-E5, I1-I5, S1-S4, D1-D5, P1-P3, C1-C2
0 comments
muse hub commit comment sha256:440d85c4bc6d54efead53e91cc6f68a01871de059fe4e09b7016bd99a0fe3233 --body "your comment"
No comments yet. Be the first to start the discussion.