gabriel / muse public
feat patch describe task/supercharge-describe #1 / 1
AI Agent gabriel · 147 days ago · Apr 17, 2026 · Diff

feat(describe): supercharge for agents — elapsed_seconds/exit_code, sha256: canonical IDs, expanded hardening coverage

- Add elapsed_seconds and exit_code to _DescribeJson TypedDict and JSON output - Fix module/run() docstring: drop git-style 'g' prefix, show sha256: prefix in examples - Fix test_cmd_describe.py: short_sha/long-format assertions use canonical sha256: prefix - Fix test_cmd_describe_hardening.py: 6 git-style assertions → Muse-canonical - Expand _DescribeOut TypedDict with elapsed_seconds/exit_code; update _parse_json - Add TestJsonSchemaComplete (8 tests), TestElapsedSeconds (6 tests), TestExitCode (5 tests) - 71/71 tests passing

sha256:31bf948e6cec046ad259d874a5ffa89b1a671ae01101aca3d0c7e17935b01651 sha
+23 ~20 symbols
sha256:25af761cd40c2230396d0f46bd8afd853ac3b95ed40c8e0b43354facffab55c9 snapshot
+23
symbols added
~20
symbols modified
0
dead code introduced
Semantic Changes 43 symbols
~ muse/cli/commands/describe.py .py 1 symbol added, 2 symbols modified
+ time import import time L58–58
~ run
~ tests/test_cmd_describe_hardening.py .py 22 symbols added, 15 symbols modified
+ TestElapsedSeconds class class TestElapsedSeconds L748–797
+ test_elapsed_is_float method method test_elapsed_is_float L751–756
+ test_elapsed_non_negative method method test_elapsed_non_negative L758–763
+ test_elapsed_six_decimal_places method method test_elapsed_six_decimal_places L789–797
+ test_elapsed_under_ten_seconds method method test_elapsed_under_ten_seconds L765–770
+ test_elapsed_with_require_tag method method test_elapsed_with_require_tag L780–787
+ test_elapsed_with_tag method method test_elapsed_with_tag L772–778
+ TestExitCode class class TestExitCode L805–845
+ test_exit_code_zero_long_format method method test_exit_code_zero_long_format L832–838
+ test_exit_code_zero_no_tag method method test_exit_code_zero_no_tag L808–813
+ test_exit_code_zero_on_tag method method test_exit_code_zero_on_tag L815–821
+ test_exit_code_zero_with_abbrev method method test_exit_code_zero_with_abbrev L840–845
+ test_exit_code_zero_with_distance method method test_exit_code_zero_with_distance L823–830
+ TestJsonSchemaComplete class class TestJsonSchemaComplete L661–740
+ test_all_eight_base_fields_present method method test_all_eight_base_fields_present L722–731
+ test_elapsed_present_long_format method method test_elapsed_present_long_format L694–702
+ test_elapsed_present_no_tag method method test_elapsed_present_no_tag L674–681
+ test_elapsed_present_on_tag method method test_elapsed_present_on_tag L664–672
+ test_elapsed_present_with_abbrev method method test_elapsed_present_with_abbrev L713–720
+ test_elapsed_present_with_distance method method test_elapsed_present_with_distance L683–692
+ test_elapsed_present_with_match method method test_elapsed_present_with_match L704–711
+ test_exit_code_field_is_zero method method test_exit_code_field_is_zero L733–740
~ _sha
← Older Oldest on task/supercharge-describe
All commits
Newer → Latest on task/supercharge-describe

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