gabriel / muse public
refactor BREAKING bridge task/bridge-phase7-status #1 / 1
AI Agent gabriel · 20 days ago · May 22, 2026 · Diff

refactor(bridge): Phase 7 — extract status functions to muse.core.bridge.status

Moves run_git_status, _compute_drift, _count_muse_commits_since, and _print_bridge_status_text from the god-object bridge.py into the new muse.core.bridge.status submodule (issue #14).

bridge.py re-exports all four symbols to preserve the public API surface. test_bridge_watch.py mock paths updated to target muse.core.bridge.exporter (where _watch_loop and GitExporter actually live).

277/277 tests pass. bridge.py: 641 → 443 lines.

sha256:879ff31062fd826f43ced1ac695d28a4505773b4c22f59668e3981415e0b19e8 sha
sha256:f4bbb9ffc3ff0c0c4c78a8ad494014cc46be12da0fcde122ad7eb7ee773dacdf snapshot
← Older Oldest on task/bridge-phase7-status
All commits
Newer → Latest on task/bridge-phase7-status

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