Repository navigation
docs(musecode): note that claudecode global rules feed Muse Code user rules - #3966
Merged
Merged
Conversation
… rules Muse Code 1.4.23's changelog names `~/.claude/CLAUDE.md` as the user rules file. That is the claudecode target's global rules output, so the musecode rules target stays project-scope only instead of writing the same file a second time. Replace the "path is not documented" wording in the docs, source comments and test name with that explanation. Refs #2790 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01JdNNKCxxrKAMDANMGDEGP4
…use Code Only the root rule reaches ~/.claude/CLAUDE.md (non-root global rules go to ~/.claude/rules/, which Muse Code is not documented to read), and the rule must target claudecode. Also align the Muse Code doc link style. Refs #2790 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01JdNNKCxxrKAMDANMGDEGP4
…secode-user-rules # Conflicts: # src/generated/docs-content.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The 2026-11-25 re-check on #2790 found that the Muse Code 1.4.23 changelog now names
~/.claude/CLAUDE.mdas the user rules file. rulesync still described the Muse Code global rules path as undocumented. This PR corrects the docs and source comments. It does not change any generated output.Verification against the primary sources
~/.claude/CLAUDE.mdor your own config-directory rules) on every turn". The name of the config-directory rules file is not published.What changed
docs/reference/file-formats.md(Muse Code rules note): Muse Code's documented user rules file is~/.claude/CLAUDE.md, the file theclaudecodetarget writes in global mode. The note now says to runrulesync generate --targets claudecode --globalto feed Muse Code's user rules. It also covers trust and precedence.src/features/rules/musecode-rule.ts,src/constants/musecode-paths.ts: comments updated to give the same reason for keeping the rules target project-scope only.musecode-rule.test.ts: test name updated. The test is unchanged.src/generated/docs-content.ts.What was skipped and why
musecodeglobal rules output. Havingmusecodewrite~/.claude/CLAUDE.mdwould make two targets write the same file. Their content could differ (claudecode-specific frontmatter and handling), so the result would depend on target order, for no gain over the existingclaudecodeoutput. The same approach is already used for the project.mcp.json(see the Muse Code MCP note). A Muse-owned global path can be added once Meta publishes the filename of the config-directory rules file.Refs #2790
🤖 Generated with Claude Code
https://claude.ai/code/session_01JdNNKCxxrKAMDANMGDEGP4