gabriel / muse public
feat BREAKING task/clone-partial-exit-code #1 / 1
AI Agent gabriel · 33 days ago · May 9, 2026 · Diff

feat: add PARTIAL exit code (6) for clone with corrupt objects

- ExitCode.PARTIAL (6) added to muse/core/errors.py — documents the completed-with-skips contract distinct from INTERNAL_ERROR (3) - clone: count skipped objects in _on_object; raise SystemExit(PARTIAL) when any are skipped - _restore_working_tree: catch RuntimeError from apply_manifest when objects are missing (partial clone leaves some objects unwritten) - _CloneJson: add skipped_objects field to JSON envelope - tests/test_clone_partial.py: TDD — 3 tests covering exit code, object write correctness, and JSON skipped_objects count

sha256:0c3b9e5389ee64657abd3917d383b9b717ebe4bda029fa1e993a603c3f8f22c6 sha
sha256:91680d67d25d4e4dfffe67c25f343d50a8dbf71884adf057d0decc2bddd70542 snapshot
← Older Oldest on task/clone-partial-exit-code
All commits
Newer → Latest on task/clone-partial-exit-code

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