feat: add muse agent-config command
Implements muse agent-config with four subcommands: - init: generate .muse/agent.md with sane defaults (standalone, workspace_root, workspace_member) - sync: derive IDE adapter files (CLAUDE.md, AGENTS.md, .cursorrules, copilot-instructions.md, .windsurfrules) - show: print agent.md content with --scope repo|workspace|merged - status: report which adapters exist and whether they are in sync with agent.md
Claude adapter uses @include syntax; all others embed full content. Workspace hierarchy is respected — workspace-level rules prepend to repo-level rules. 45 tests, zero typing violations. Also fixes stale Python 3.12 comment in invariants.py.
sha256:e204518ffa2fe70d73194a3d2ff4712eb6d1be5bc4688ef0afbf885b9a2ca0ef
sha
+101
~107
symbols
sha256:60948f7fcb3b8bc44f1d3e2947cf940bbbbe6c06835391d25fe8655a77c92db2
snapshot
+101
symbols added
~107
symbols modified
0
dead code introduced
Semantic Changes
208 symbols
+
test_member_agent_md_references_workspace
method
method test_member_agent_md_references_workspace L292–300
+
test_creates_agent_md_at_workspace_root
method
method test_creates_agent_md_at_workspace_root L256–260
+
test_workspace_agent_md_contains_shared_rules
method
method test_workspace_agent_md_contains_shared_rules L269–274
+
test_workspace_agent_md_lists_members
method
method test_workspace_agent_md_lists_members L262–267
+
test_embed_adapter_with_workspace_prepends_ws_content
method
method test_embed_adapter_with_workspace_prepends_ws_content L178–190
+
test_status_shows_out_of_sync_after_edit
method
method test_status_shows_out_of_sync_after_edit L494–505
+
test_dry_run_prints_what_would_be_written
method
method test_dry_run_prints_what_would_be_written L362–364
+
test_sync_adapters_flag_limits_output
method
method test_sync_adapters_flag_limits_output L350–354
+
test_sync_creates_copilot_instructions
method
method test_sync_creates_copilot_instructions L328–330
+
test_workspace_member_claude_includes_both_levels
method
method test_workspace_member_claude_includes_both_levels L396–412
~
age_cmd
~
annotate
~
archive
~
auth
~
bisect
~
blame
~
branch
~
breakage
~
bundle
~
cat
~
check
~
checkout
~
clean
~
clone
~
clones
~
codemap
~
commit
~
compare
~
contract
~
coord_gc
~
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
~
patch
~
predict
~
pull
~
push
~
query
~
rebase
~
reflog
~
remote
~
rename
~
rerere
~
reserve
~
reset
~
revert
~
rm
~
shard
~
shortlog
~
show
~
stable
~
stash
~
status
~
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:e204518ffa2fe70d73194a3d2ff4712eb6d1be5bc4688ef0afbf885b9a2ca0ef --body "your comment"
No comments yet. Be the first to start the discussion.