cgcardona / muse public
feat main #9 / 100

feat: add tools/git2muse.py — replay Git commit graph into Muse

Walks main and dev branches oldest-first, extracts each commit's file tree into muse-work/ via git archive, builds the Muse snapshot manifest, and writes CommitRecord objects directly to the Python API preserving original Git author names, emails, and timestamps.

Result: 146 Muse commits on main+dev (143 main, 3 dev-only) mirroring the entire Git history. muse-work/ now holds the current codebase state and 'muse status' correctly diffs against the last replayed commit.

Merge commits are skipped — they carry no unique tree delta; the parent chain on each branch reconstructs the DAG faithfully.

G Gabriel Cardona <gabriel@tellurstori.com> · 8h ago Mar 20, 2026 · 4d55bc0f · parent 368bcde6
oldest
newest 92%

Snapshot Diff

280 files in tree
+1

Comments

0

No comments yet. Be the first to start the discussion.