feat(tag): supercharge — elapsed_ms, exit_code, JSON errors to stdout, fix --allow-duplicate, sha256 IDs
- Add elapsed_ms (float, ms) and exit_code to all JSON outputs: add, list, remove - _emit_error() pattern in run_add/run_list/run_remove: JSON errors → stdout in JSON mode so agents always receive parseable output regardless of outcome - Fix --allow-duplicate: generate unique blob_id(os.urandom(32)) per write so multiple copies coexist and all get removed by a single tag remove call - Extend _TagJson TypedDict with elapsed_ms and exit_code fields - Update docstrings and in-parser help text: replace '<uuid>' with '<sha256:...>' - Fix test_cmd_tag_hardening.py: update 5 stale assertions expecting UUID or bare-hex formats to match sha256-prefixed reality - Add tests/test_cmd_tag_supercharge.py: 32 new tests covering elapsed_ms, exit_code, JSON errors to stdout, data integrity, performance, concurrency
0 comments
muse hub commit comment sha256:3b5fd188b41eebd45f37816e3101cc01286a5f250ede884f189aaf52a9a0ec2f --body "your comment"
No comments yet. Be the first to start the discussion.