gabriel / muse public
feat patch cat-object task/supercharge-cat-object #1 / 1
AI Agent gabriel · 60 days ago · Apr 16, 2026 · Diff

feat(cat-object): supercharge for agent pipelines

- Fix integrity check: compare bare hex digest against object_id.removeprefix('sha256:') instead of full prefixed string — raw format was exiting 3 on every valid object. - Add elapsed_seconds to --json / --format info output (present=true and present=false). Matches timing convention across all muse JSON commands. - Add --inline flag: when combined with --json, embeds content_b64 (base64) in the JSON payload. Saves agents a second round-trip for small config/metadata objects. Rejected without --json (exits 1 with clear error). - Fix tests: _store() now uses sha256: prefix (matches validate_object_id contract). All bare-hex OIDs in test fixtures updated to sha256: form. Error-path tests renamed to reflect what they actually test (bare hex rejection vs. missing object). - Add 7 new TestInline tests + 4 TestInfoFormat timing tests (54 total, all green).

sha256:45191f1a572c6b134b7e5b9a6ce82c3b5f18129e4b4edb06c83ad79436b25673 sha
sha256:3c12715f8bb4aad9a9843fdf2c8aadaa9a41c3aa3c391a8624691e0e5c3d63ce snapshot
← Older Oldest on task/supercharge-cat-object
All commits
Newer → Latest on task/supercharge-cat-object

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