gabriel / muse public
feat patch tag task/supercharge-tag #1 / 1
AI Agent gabriel · 58 days ago · Apr 18, 2026 · Diff

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

sha256:3b5fd188b41eebd45f37816e3101cc01286a5f250ede884f189aaf52a9a0ec2f sha
sha256:6f69148dd34fafe20193b4a2e18bbbfbdcff8bbffc7ab3015e4a41cd4ba6f187 snapshot
← Older Oldest on task/supercharge-tag
All commits
Newer → Latest on task/supercharge-tag

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:3b5fd188b41eebd45f37816e3101cc01286a5f250ede884f189aaf52a9a0ec2f --body "your comment"