feat(bridge): Phase 1 — muse bridge namespace, BridgeState, init_repo_dirs
- Add muse/cli/commands/bridge.py: BridgeState TypedDict, read_bridge_state, write_bridge_state (sha256: prefix enforced), stub runners for git-import / git-export / git-status, full argparse registration - Register muse bridge in muse/cli/app.py (alphabetical, beside bundle) - Add init_repo_dirs(root) to muse/core/paths.py — canonical utility for creating the minimal .muse/ directory tree; idempotent, parents=True - tests/test_bridge_phase1.py: 41 tests across 7 tiers (unit, contract, integration, property/hypothesis, regression, security, stress) - tests/test_core_paths_init_repo_dirs.py: 34 tests across 7 tiers for init_repo_dirs (unit, integration, e2e CLI, stress, state integrity, security, performance)
sha256:1eb4fbb2238e33949cfa2e15b515fb441c13c8bf711e77d19e2f1dc0e94b08f3
sha
+106
~118
symbols
sha256:cf44adb8de56a72004ca9a041f35cb6980edbeea37262985a4dc01306e76c477
snapshot
+106
symbols added
~118
symbols modified
0
dead code introduced
Semantic Changes
224 symbols
+
test_git_export_no_git_dir_exits_user_error
method
method test_git_export_no_git_dir_exits_user_error L265–269
+
test_git_status_no_repo_exits_cleanly
method
method test_git_status_no_repo_exits_cleanly L271–275
+
test_empty_toml_file_returns_empty_state
method
method test_empty_toml_file_returns_empty_state L323–328
+
test_extra_unknown_keys_are_preserved
method
method test_extra_unknown_keys_are_preserved L337–344
+
test_muse_commit_id_without_prefix_raises
method
method test_muse_commit_id_without_prefix_raises L371–379
+
test_read_state_is_always_inside_muse
method
method test_read_state_is_always_inside_muse L354–361
+
test_concurrent_writes_do_not_corrupt
method
method test_concurrent_writes_do_not_corrupt L389–415
+
test_missing_file_returns_empty_state
method
method test_missing_file_returns_empty_state L111–117
+
test_partial_file_fills_missing_sections
method
method test_partial_file_fills_missing_sections L138–144
~
age_cmd
~
annotate
~
apply
~
archive
~
auth
~
bisect
~
blame
~
branch
~
breakage
~
bundle
~
cat
~
check
~
checkout
~
clean
~
clone
~
clones
~
codemap
~
commit
~
compare
~
contract
~
coord_gc
~
core_cat
~
coupling
~
coverage
~
dag_cmd
~
dead
~
deps
~
describe
~
diff
~
docs_cmd
~
domains
~
entangle
~
fetch
~
forecast
~
gc
~
gravity
~
grep
~
harmony
~
hotspots
~
hub
~
impact
~
init
~
intent
~
lineage
~
log
~
merge
~
migrate
~
mist_cmd
~
mv
~
patch
~
predict
~
prune
~
pull
~
push
~
query
~
read
~
rebase
~
reflog
~
remote
~
rename
~
reserve
~
reset
~
restore
~
revert
~
rm
~
shard
~
shelf
~
shortlog
~
sign
~
stable
~
status
~
switch
~
symbols
~
tag
~
test_cmd
~
trust
~
type_cmd
~
velocity
~
verify
~
worktree
~
main
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:1eb4fbb2238e33949cfa2e15b515fb441c13c8bf711e77d19e2f1dc0e94b08f3 --body "your comment"
No comments yet. Be the first to start the discussion.