Repository navigation
[release/17.0] Warn about all agent skill sources - #22271
Jose Perez Rodriguez (joperezr) merged 3 commits into
Conversation
Co-authored-by: Copilot App <[email protected]>
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 22271Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 22271" |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues require further changes.
No open issues 🎉
1 file not reviewed
src/Aspire.Cli/Resources/AgentCommandStrings.Designer.cs: Generated file
What changed in this PR
This PR makes aspire agent init show every applicable enabled skill source, including the built-in default and overrides named default, before users select or register Aspire agent assets.
Changes:
- Removes the default-source exclusion while retaining existing source formatting and the shared trust warning.
- Updates the introduction text, localization resources, and configuration-source specification.
- Expands regression tests and snapshots for default-only sources, mixed clients, and notice ordering.
| File | Description |
|---|---|
tests/Aspire.Cli.Tests/Snapshots/AgentInitCommandTests.AgentInit_WarnsAboutSelectedClientSourcesBeforeRegistration_agents=opencode.verified.txt |
Includes overridden default catalog details. |
tests/Aspire.Cli.Tests/Snapshots/AgentInitCommandTests.AgentInit_WarnsAboutSelectedClientSourcesBeforeRegistration_agents=opencode-default.verified.txt |
Adds default-only OpenCode output. |
tests/Aspire.Cli.Tests/Snapshots/AgentInitCommandTests.AgentInit_WarnsAboutSelectedClientSourcesBeforeRegistration_agents=copilot.verified.txt |
Includes default plugin-source details. |
tests/Aspire.Cli.Tests/Snapshots/AgentInitCommandTests.AgentInit_WarnsAboutSelectedClientSourcesBeforeRegistration_agents=copilot,claude,opencode.verified.txt |
Includes default details for mixed clients. |
tests/Aspire.Cli.Tests/Snapshots/AgentInitCommandTests.AgentInit_WarnsAboutSelectedClientSourcesBeforeRegistration_agents=copilot,claude,opencode-default.verified.txt |
Adds default-only mixed-client output. |
tests/Aspire.Cli.Tests/Snapshots/AgentInitCommandTests.AgentInit_WarnsAboutSelectedClientSourcesBeforeRegistration_agents=copilot-default.verified.txt |
Adds default-only Copilot output. |
tests/Aspire.Cli.Tests/Snapshots/AgentInitCommandTests.AgentInit_WarnsAboutSelectedClientSourcesBeforeRegistration_agents=claude.verified.txt |
Includes default plugin-source details. |
tests/Aspire.Cli.Tests/Snapshots/AgentInitCommandTests.AgentInit_WarnsAboutSelectedClientSourcesBeforeRegistration_agents=claude-default.verified.txt |
Adds default-only Claude output. |
tests/Aspire.Cli.Tests/Commands/AgentInitCommandTests.cs |
Tests default sources, notice ordering, and suppression. |
tests/Aspire.Cli.Tests/Commands/AgentInitClientSelectionTests.cs |
Updates expected warnings during client selection. |
src/Aspire.Cli/Resources/xlf/AgentCommandStrings.zh-Hant.xlf |
Synchronizes introduction and translator note. |
src/Aspire.Cli/Resources/xlf/AgentCommandStrings.zh-Hans.xlf |
Synchronizes introduction and translator note. |
src/Aspire.Cli/Resources/xlf/AgentCommandStrings.tr.xlf |
Synchronizes introduction and translator note. |
src/Aspire.Cli/Resources/xlf/AgentCommandStrings.ru.xlf |
Synchronizes introduction and translator note. |
src/Aspire.Cli/Resources/xlf/AgentCommandStrings.pt-BR.xlf |
Synchronizes introduction and translator note. |
src/Aspire.Cli/Resources/xlf/AgentCommandStrings.pl.xlf |
Synchronizes introduction and translator note. |
src/Aspire.Cli/Resources/xlf/AgentCommandStrings.ko.xlf |
Synchronizes introduction and translator note. |
src/Aspire.Cli/Resources/xlf/AgentCommandStrings.ja.xlf |
Synchronizes introduction and translator note. |
src/Aspire.Cli/Resources/xlf/AgentCommandStrings.it.xlf |
Synchronizes introduction and translator note. |
src/Aspire.Cli/Resources/xlf/AgentCommandStrings.fr.xlf |
Synchronizes introduction and translator note. |
src/Aspire.Cli/Resources/xlf/AgentCommandStrings.es.xlf |
Synchronizes introduction and translator note. |
src/Aspire.Cli/Resources/xlf/AgentCommandStrings.de.xlf |
Synchronizes introduction and translator note. |
src/Aspire.Cli/Resources/xlf/AgentCommandStrings.cs.xlf |
Synchronizes introduction and translator note. |
src/Aspire.Cli/Resources/AgentCommandStrings.resx |
Revises introduction and adds translation guidance. |
src/Aspire.Cli/Resources/AgentCommandStrings.Designer.cs |
Updates the resource property's documentation. |
src/Aspire.Cli/Commands/AgentInitCommand.cs |
Removes the exclusion for sources named default. |
docs/specs/cli-config-sources.md |
Documents source visibility, notice timing, and exclusions. |
Review effort: Balanced
Co-authored-by: Copilot App <[email protected]>
This comment has been minimized.
This comment has been minimized.
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |
Co-authored-by: Copilot App <[email protected]>
Tests selector2 / 101 PR test projects · 4 PR jobs, from 11 changed files. Selected PR test projects (2 / 101)
Selected PR jobs (4)
How these were chosen — grouped by what changed📦 affected project 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 Job reasons
Selection computed for commit |
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |
265d3b3
into
release/17.0
|
✅ No documentation update needed. excluded → base_branch_is_release, title_release_prefix. Backport PR ( |
Keep the source explanation and trust warning expectations from #22271 and drop the obsolete local skill copy warning removed by #22080. Co-authored-by: Copilot App <[email protected]>

Description
aspire agent initpreviously omitted source details and the trust warning when only the default Aspire skill source was configured. It also omitted details for overrides nameddefault. Users should see the sources that provide their agent assets before selecting or registering Aspire skills.Display every enabled, applicable skill source, including
microsoft/aspire-skills, with the existing aligned source details and shared trust warning. Keep the existing explanatory string unchanged.User-facing usage
Default-only source details and warning, based on the reviewed output snapshots: