gabriel / muse public
feat patch task/bridge-phase3 #1 / 1
AI Agent gabriel · 46 days ago · Apr 27, 2026 · Diff

feat: implement muse bridge git-export Phase 3

GitExporter class: resolve_muse_ref, read_snapshot, sync_to_git, fix_file_modes, git_commit, git_push. _ensure_git_branch helper creates/checks-out target branch. _watch_loop for --watch polling mode (NDJSON events). run_git_export: full implementation replacing Phase 2 stub. Glob/fnmatch support in sync_to_git for --exclude patterns. Branch name safety validation (_BRANCH_SAFE_RE). 8-tier tests in tests/test_bridge_git_export.py (37 tests, all passing).

sha256:de3a6b1c163ebd89937bb0823f4d47807c7ccb774cb1b697107358c2e1037469 sha
sha256:e8d98bc5f7adc0d8ff7db8a36377d096c187069fff1b5f46cd042348df436d72 snapshot
← Older Oldest on task/bridge-phase3
All commits
Newer → Latest on task/bridge-phase3

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