Repository navigation
feat(multi-agent): read the role map from the config-cascade layers #18076
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
melodic-automation-lanes
merged 3 commits into
main
from
work-resolve-issue/issue-17998-44959703861-1
Nov 22, 2026
+640
−192
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
.changes/discovery/work-resolve-issue-issue-17998-44959703861-1-92403b68.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| --- | ||
| bump: patch | ||
| --- | ||
|
|
||
| ### Changed | ||
|
|
||
| - The README's multi-agent example names the role map's new personal override, `docs/conventions/multi-agent.local.yaml` ([#17998](https://github.com/melodic-software/claude-code-plugins/issues/17998)). |
12 changes: 12 additions & 0 deletions
12
.changes/multi-agent/work-resolve-issue-issue-17998-44959703861-1-e92d82f0.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| --- | ||
| bump: minor | ||
| --- | ||
|
|
||
| ### Added | ||
|
|
||
| - A `role_map_file` option (type `file`) names your own role map file, the user layer of the config cascade. `/multi-agent:route` and `/multi-agent:setup` pass it to the resolver, and `/multi-agent:setup apply --layer user` writes to it. A leading `~/` expands against your home; any other path that is not absolute is refused by `setup` and skipped with a note by the resolver ([#17998](https://github.com/melodic-software/claude-code-plugins/issues/17998)). | ||
| - `/multi-agent:setup apply --migrate` moves each old file into its new location after a preview and a yes: `~/.claude/multi-agent.yaml` into the `role_map_file` file, `.claude/multi-agent.local.yaml` into `<home>/multi-agent.local.yaml`, and a retired `.claude/multi-agent.yaml` into the team YAML. A key the new file already sets keeps its value and is named. The command reads the new file back and checks the layers still resolve the same values before it deletes the old file ([#17998](https://github.com/melodic-software/claude-code-plugins/issues/17998)). | ||
|
|
||
| ### Changed | ||
|
|
||
| - The personal override is now `<home>/multi-agent.local.yaml`, and `setup check` recommends the `<home>/**/*.local.*` ignore line. An old `~/.claude/multi-agent.yaml` or `.claude/multi-agent.local.yaml` is still read while its new file is absent. Each run names each old file in `notes`, with its new location and the migrate command. `setup apply --layer user` and `--layer local` refuse while that layer's old file exists ([#17998](https://github.com/melodic-software/claude-code-plugins/issues/17998)). |
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.