supercharge(find-symbol): -j alias, exit_code, duration_ms, TypedDict, docstring
- Add from typing import Any, TypedDict - Add from muse.core.timing import start_timer - Add _FindSymbolOutputJson TypedDict with exit_code and duration_ms annotations - Add -j alias for --json - Add elapsed = start_timer() at top of run() - Emit exit_code=0 and duration_ms=elapsed() in JSON output - Expand run() docstring with JSON envelope section - Add 40-test supercharge suite covering all agent-usability gaps
sha256:57ab4962fb0522ce131b007a529b55ae8b004fae5d6e79210dc05b95faec525a
sha
+61
~2
symbols
sha256:5a7aac85ac9c6357958eff11cdc16052c92d54d61e7938f41c43715f62f5ebda
snapshot
+61
symbols added
~2
symbols modified
0
dead code introduced
Semantic Changes
63 symbols
+
test_json_output_no_ansi_with_results
method
method test_json_output_no_ansi_with_results L329–331
+
test_run_docstring_mentions_duration_ms
method
method test_run_docstring_mentions_duration_ms L307–310
+
test_run_docstring_mentions_exit_code
method
method test_run_docstring_mentions_exit_code L302–305
+
test_j_alias_result_count_matches_json_flag
method
method test_j_alias_result_count_matches_json_flag L141–146
+
test_j_alias_same_top_level_keys_as_json_flag
method
method test_j_alias_same_top_level_keys_as_json_flag L130–139
+
test_find_symbol_output_json_typeddict_exists
method
method test_find_symbol_output_json_typeddict_exists L266–267
+
test_retains_branch_presence_annotation
method
method test_retains_branch_presence_annotation L289–291
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:57ab4962fb0522ce131b007a529b55ae8b004fae5d6e79210dc05b95faec525a --body "your comment"
No comments yet. Be the first to start the discussion.