gabriel / muse public
feat patch reflog task/supercharge-reflog #1 / 1
AI Agent gabriel · 59 days ago · Apr 17, 2026 · Diff

feat(reflog): supercharge — sha256: prefix on IDs, duration_ms, exit_code, 35 new tests

- _short_id() normalises bare-hex (on-disk format) to sha256:<12-hex> - Text output: new_id/old_id shown as sha256:<12-hex> short IDs - JSON output: new_id/old_id emitted as sha256:<64-hex> canonical form - Both _ReflogResultJson and _ReflogAllJson now include duration_ms + exit_code - duration_ms and exit_code present in all JSON paths (main, --all, empty) - Module docstring JSON schema updated to reflect new fields and sha256: IDs - 35 new tests covering: _short_id unit, text short IDs, JSON ID integrity, duration_ms/exit_code (8 cases), filter behaviour, security, performance

sha256:fea5edc7fedb0a9461f9fce4982dd5669b7890512a47ab7c430202993f181667 sha
sha256:faaccedf712d52f522b142ed1a3fe68f62c2e34c9643435416ca4178417e45c1 snapshot
← Older Oldest on task/supercharge-reflog
All commits
Newer → Latest on task/supercharge-reflog

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