gabriel / muse public
feat patch cat task/cat-staged-flag #1 / 1
AI Agent gabriel · 34 days ago · May 8, 2026 · Diff

feat(cat): add --staged flag to muse cat and muse code cat

Reads staged index (HEAD manifest + stage overrides) rather than the working tree or a commit ref. Mutually exclusive with --at. Mirrors 'git show :path'. Source ref is 'staged' in JSON output.

Tests: 11 new tests in TestCatStaged (core_cat), 8 new in TestCatStaged (code cat). 143 total tests passing.

sha256:11f1f8faa0ce023a10d4c2bb11760d030e7b3ccb0785e63325eb0382ee2a77ad sha
sha256:57c7ce06fd56f76ab24aacb37e61e4ea795e0b4475354a357bc781121afa43f1 snapshot
← Older Oldest on task/cat-staged-flag
All commits
Newer → Latest on task/cat-staged-flag

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