feat
patch
query-history
task/supercharge-query-history
#1 / 1
feat(query-history): supercharge for agents — -j alias, exit_code, duration_ms, truncated, TypedDicts, sanitized pred display, expanded docstrings
- Add _QueryHistoryJson, _IntroducedJson, _RemovedJson TypedDicts - Add -j alias for --json in register() - Inject elapsed = start_timer() at top of run() - Add exit_code=0 + duration_ms=elapsed() to all 3 JSON envelopes - Add truncated field to introduced-only and removed-only JSON - Sanitize pred_display with sanitize_display() in all human output paths - Expand register() docstring to list all 12 arguments - Expand run() docstring to document exit_code + duration_ms in JSON envelope - 76 tests pass
sha256:3afbde6bc7c10d6fd5654da7021f0475a83caad4f103c43d48d8cb3f5d2978a1
sha
+107
~2
symbols
sha256:fd7223326bb6456f929ed0b8f1cfb32609179b25256b260ec5f4c019d34417fc
snapshot
+107
symbols added
~2
symbols modified
0
dead code introduced
Semantic Changes
109 symbols
+
test_changed_only_plus_min_changes_interaction
method
method test_changed_only_plus_min_changes_interaction L581–588
+
test_null_byte_in_predicate_not_in_output
method
method test_null_byte_in_predicate_not_in_output L618–620
+
test_run_docstring_mentions_duration_ms
method
method test_run_docstring_mentions_duration_ms L651–653
+
test_run_docstring_mentions_exit_code
method
method test_run_docstring_mentions_exit_code L647–649
+
test_query_history_json_has_duration_ms
method
method test_query_history_json_has_duration_ms L325–328
+
test_query_history_json_has_exit_code
method
method test_query_history_json_has_exit_code L320–323
+
test_query_history_json_has_schema_version
method
method test_query_history_json_has_schema_version L330–333
+
test_query_history_json_has_truncated
method
method test_query_history_json_has_truncated L335–338
+
test_unknown_sort_falls_back_to_address
method
method test_unknown_sort_falls_back_to_address L506–510
+
test_first_committed_at_truncated_to_date
method
method test_first_committed_at_truncated_to_date L443–448
+
test_stable_false_when_multiple_versions
method
method test_stable_false_when_multiple_versions L423–429
← Older
Oldest on task/supercharge-query-history
All commits
Newer →
Latest on task/supercharge-query-history
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:3afbde6bc7c10d6fd5654da7021f0475a83caad4f103c43d48d8cb3f5d2978a1 --body "your comment"
No comments yet. Be the first to start the discussion.