gabriel / muse public
refactor BREAKING task/paths-helpers #1 / 1
AI Agent gabriel · 133 days ago · May 5, 2026 · Diff

refactor: inline .muse/ path constructions → canonical path helpers

- paths.py: add ci_toml_path, docs_toml_path, op_log_dir, rebase_state_path, worktrees_dir, code_invariants_path, entity_index_dir, music_manifests_dir, git_bridge_state_path, git_bridge_sidecar_path, user_domain_registry_path - migrate.py, rebase.py, op_log.py, ci.py, worktree.py: use direct imports - docs_cmd.py, midi/entity.py, midi/manifest.py: same - bisect.py, workspace.py, midi/_invariants.py: delete dead string constants

sha256:ef549af6564bd7b299b37c99335214f68861a83184b1d58a2ffa2d72f36c3cf2 sha
+27 ~27 −12 symbols
sha256:bfa49fcdf72838e549cfc75a66d14540140e8dcb594bedc16e14c8ada731c8bc snapshot
+27
symbols added
~27
symbols modified
−12
symbols removed
0
dead code introduced
Semantic Changes 66 symbols
~ muse/cli/commands/docs_cmd.py .py 1 symbol added, 1 symbol removed, 1 symbol modified
_DOC_CI_TOML variable variable _DOC_CI_TOML L176–176
+ docs_toml_path import import docs_toml_path L126–126
~ muse/core/bisect.py .py 1 symbol removed
_BISECT_STATE_FILE variable variable _BISECT_STATE_FILE L71–71
~ muse/core/ci.py .py 1 symbol added, 2 symbols removed, 1 symbol modified
_CI_FILE variable variable _CI_FILE L209–209
_ci_path function function _ci_path L215–216
+ ci_toml_path import import ci_toml_path L67–67
~ muse/core/migrate.py .py 9 symbols added, 10 symbols modified
+ commits_dir import import commits_dir L36–36
+ heads_dir import import heads_dir L36–36
+ logs_dir import import logs_dir L36–36
+ muse_dir import import muse_dir L36–36
+ objects_dir import import objects_dir L36–36
+ rebase_merge_dir import import rebase_merge_dir L36–36
+ remotes_dir import import remotes_dir L36–36
+ repo_json_path import import repo_json_path L36–36
+ snapshots_dir import import snapshots_dir L36–36
~ muse/core/op_log.py .py 1 symbol added, 1 symbol removed, 3 symbols modified
_OP_LOG_DIR variable variable _OP_LOG_DIR L69–69
+ op_log_dir import import op_log_dir L65–65
~ OpLog
~ muse/core/paths.py .py 11 symbols added
+ ci_toml_path function function ci_toml_path L228–230
+ code_invariants_path function function code_invariants_path L248–250
+ docs_toml_path function function docs_toml_path L232–234
+ entity_index_dir function function entity_index_dir L252–254
+ git_bridge_sidecar_path function function git_bridge_sidecar_path L264–266
+ git_bridge_state_path function function git_bridge_state_path L260–262
+ music_manifests_dir function function music_manifests_dir L256–258
+ op_log_dir function function op_log_dir L236–238
+ rebase_state_path function function rebase_state_path L240–242
+ user_domain_registry_path function function user_domain_registry_path L296–298
+ worktrees_dir function function worktrees_dir L244–246
~ muse/core/rebase.py .py 1 symbol added, 1 symbol removed, 3 symbols modified
_REBASE_STATE_FILE variable variable _REBASE_STATE_FILE L72–72
+ rebase_state_path import import rebase_state_path L69–69
~ muse/core/workspace.py .py 1 symbol removed
_WORKSPACE_FILE variable variable _WORKSPACE_FILE L64–64
~ muse/core/worktree.py .py 1 symbol added, 2 symbols removed, 7 symbols modified
_WORKTREES_META_DIR variable variable _WORKTREES_META_DIR L67–67
_worktrees_dir function function _worktrees_dir L107–108
+ worktrees_dir import import worktrees_dir L52–52
~ muse/plugins/midi/_invariants.py .py 1 symbol removed
_DEFAULT_RULES_FILE variable variable _DEFAULT_RULES_FILE L97–97
~ muse/plugins/midi/entity.py .py 1 symbol added, 1 symbol removed, 1 symbol modified
_ENTITY_INDEX_DIR variable variable _ENTITY_INDEX_DIR L76–76
+ entity_index_dir import import entity_index_dir L58–58
~ muse/plugins/midi/manifest.py .py 1 symbol added, 1 symbol removed, 1 symbol modified
_MANIFEST_DIR variable variable _MANIFEST_DIR L60–60
+ music_manifests_dir import import music_manifests_dir L45–45
← Older Oldest on task/paths-helpers
All commits
Newer → Latest on task/paths-helpers

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