gabriel / muse public
feat patch semantic-test-coverage dev
AI Agent gabriel · 158 days ago · Apr 19, 2026 · Diff

feat(semantic-test-coverage): supercharge for agents — -j alias, exit_code, duration_ms, schema_version in _JsonOut; expand register/run docstrings

sha256:2466998d43fc92129d9b9eb1d49571185bbf8cc85943ce110a07ca6829add4a9 sha
+54 ~3 symbols
sha256:3de77632b4a0e42ad6c4462c77b8138cae7dafeed2d1903b8762e9165a258138 snapshot
+54
symbols added
~3
symbols modified
0
dead code introduced
Semantic Changes 57 symbols
+ TestAliasRegistration class class TestAliasRegistration L139–158
+ _make_parser method method _make_parser L140–147
+ test_j_alias_and_other_flags_coexist method method test_j_alias_and_other_flags_coexist L154–158
+ test_j_alias_sets_json_true method method test_j_alias_sets_json_true L149–152
+ TestDocstrings class class TestDocstrings L304–337
+ test_register_docstring_mentions_j_alias method method test_register_docstring_mentions_j_alias L333–337
+ test_register_has_docstring method method test_register_has_docstring L310–313
+ test_run_docstring_mentions_duration_ms method method test_run_docstring_mentions_duration_ms L321–325
+ test_run_docstring_mentions_exit_code method method test_run_docstring_mentions_exit_code L315–319
+ test_run_docstring_mentions_schema_version method method test_run_docstring_mentions_schema_version L327–331
+ test_run_has_docstring method method test_run_has_docstring L305–308
+ TestJsonAlias class class TestJsonAlias L166–192
+ test_j_alias_exit_code_zero method method test_j_alias_exit_code_zero L167–169
+ test_j_alias_same_top_level_keys_as_json_flag method method test_j_alias_same_top_level_keys_as_json_flag L176–179
+ test_j_alias_summary_matches_json_flag method method test_j_alias_summary_matches_json_flag L181–184
+ test_j_alias_valid_json method method test_j_alias_valid_json L171–174
+ test_j_alias_with_uncovered_only method method test_j_alias_with_uncovered_only L186–192
+ TestJsonEnvelope class class TestJsonEnvelope L200–267
+ test_duration_ms_is_nonnegative_float method method test_duration_ms_is_nonnegative_float L221–225
+ test_exit_code_is_int method method test_exit_code_is_int L211–214
+ test_exit_code_is_zero_on_success method method test_exit_code_is_zero_on_success L206–209
+ test_has_duration_ms method method test_has_duration_ms L216–219
+ test_has_exit_code method method test_has_exit_code L201–204
+ test_has_schema_version method method test_has_schema_version L227–230
+ test_j_alias_has_duration_ms method method test_j_alias_has_duration_ms L250–253
+ test_j_alias_has_exit_code method method test_j_alias_has_exit_code L245–248
+ test_j_alias_has_schema_version method method test_j_alias_has_schema_version L255–258
+ test_min_coverage_violation_exit_code_one method method test_min_coverage_violation_exit_code_one L260–263
+ test_min_coverage_zero_exit_code_zero method method test_min_coverage_zero_exit_code_zero L265–267
+ test_schema_version_is_nonempty_string method method test_schema_version_is_nonempty_string L232–236
+ test_uncovered_only_json_still_has_envelope method method test_uncovered_only_json_still_has_envelope L238–243
+ TestPerformance class class TestPerformance L292–296
+ test_duration_ms_under_5000 method method test_duration_ms_under_5000 L293–296
+ TestSecurity class class TestSecurity L275–284
+ test_ansi_in_file_filter_not_echoed method method test_ansi_in_file_filter_not_echoed L276–279
+ test_null_byte_in_file_filter_no_crash method method test_null_byte_in_file_filter_no_crash L281–284
+ TestTypedDict class class TestTypedDict L102–131
+ test_json_out_has_duration_ms method method test_json_out_has_duration_ms L110–115
+ test_json_out_has_exit_code method method test_json_out_has_exit_code L103–108
+ test_json_out_has_schema_version method method test_json_out_has_schema_version L117–122
+ test_json_out_retains_core_fields method method test_json_out_retains_core_fields L124–131
+ _invoke function function _invoke L33–39
+ _stc function function _stc L42–43
+ cov_repo function function cov_repo L47–94
+ CliRunner import import CliRunner L23–23
+ annotations import import annotations L14–14
+ json import import json L16–16
+ os import import os L17–17
+ pathlib import import pathlib L18–18
+ pytest import import pytest L21–21
+ textwrap import import textwrap L19–19
+ runner variable variable runner L25–25
~ muse/cli/commands/semantic_test_coverage.py .py 2 symbols added, 3 symbols modified
+ __version__ import import __version__ L143–143
+ start_timer import import start_timer L153–153
~ run
← 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:2466998d43fc92129d9b9eb1d49571185bbf8cc85943ce110a07ca6829add4a9 --body "your comment"