feat: implement muse bridge git-import Phase 2
Full git-to-Muse import engine replacing the Phase 1 stub.
New symbols in bridge.py: - _DEFAULT_EXCLUDE_PREFIXES / _DEFAULT_EXCLUDE_SUFFIXES — default path filters - _should_exclude() — path exclusion predicate - AttributionMapper — email-to-handle mapping with synthetic fallback - _CatFile — long-running git cat-file --batch process manager - _git() — thin subprocess wrapper - _batch_commit_log() — oldest-first commit list with NUL-delimited format - _batch_diff_tree() — per-commit file diff → {path: blob_sha|None} - _is_lfs_pointer() — LFS pointer detection - _parse_sem_ver_bump() — conventional commit → semver bump level - _replay_commit() — single commit replay into Muse object store - _replay_branch() — full branch replay orchestrator with reflog - _list_git_branches() / _list_git_tags() — git metadata helpers - _import_tags() — git tag → Muse TagRecord import - run_git_import() — full CLI entry point (replaces stub)
New test file: tests/test_bridge_git_import.py (41 tests, 8 tiers). All 41 tests pass in ~12s.
0 comments
muse hub commit comment sha256:0e4a3658a1cd02c58d1ad373dded35e9d22618c514a51b37a09c14e04d093fbe --body "your comment"
No comments yet. Be the first to start the discussion.