Fix custom agent guideline links in Copilot App#39264
Open
xirzec wants to merge 1 commit into
Open
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 89ca6722-d3a1-4ffc-92a7-ab2ccf8314e6
Contributor
There was a problem hiding this comment.
Pull request overview
Updates custom agent guideline links so Copilot resolves them from the repository root.
Changes:
- Corrects nine guideline links across eight agent profiles.
- Documents repository-root-relative link behavior.
Show a summary per file
| File | Description |
|---|---|
documentation/reviewer-agents.md |
Documents link resolution behavior. |
.github/agents/tester.agent.md |
Fixes test guidelines link. |
.github/agents/sentinel.agent.md |
Fixes security guidelines link. |
.github/agents/scribe.agent.md |
Fixes documentation guidelines link. |
.github/agents/mgmt-review.agent.md |
Fixes management review link. |
.github/agents/mgmt-breaking-change-analysis.agent.md |
Fixes analysis and pattern links. |
.github/agents/dexter.agent.md |
Fixes dependency guidelines link. |
.github/agents/dash.agent.md |
Fixes performance guidelines link. |
.github/agents/archie.agent.md |
Fixes architecture guidelines link. |
Review details
- Files reviewed: 9/9 changed files
- Comments generated: 0
- Review effort level: Medium
Member
Author
|
Filed a bug upstream against the CLI since repo-relative links break non-GitHub tooling: github/copilot-cli#4122 |
| # Archie — Architecture Review Agent | ||
|
|
||
| Follow the full guidelines in [architecture-review-guidelines.md](../prompts/architecture-review-guidelines.md). | ||
| Follow the full guidelines in [architecture-review-guidelines.md](.github/prompts/architecture-review-guidelines.md). |
Member
There was a problem hiding this comment.
https://github.com/Azure/azure-sdk-for-js/tree/main/.github - Looking at the structure, the previous links are correct, if it has to be relative to the agent file.
KarishmaGhiya
requested changes
Jul 14, 2026
KarishmaGhiya
left a comment
Member
There was a problem hiding this comment.
https://github.com/Azure/azure-sdk-for-js/tree/main/.github - Looking at the structure, the previous links are correct, if it has to be relative to the agent file.
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.
Packages impacted by this PR
N/A — this changes repository-level Copilot agent configuration.
Issues associated with this PR
N/A.
Describe the problem that is addressed by this PR
Custom agent profiles linked their detailed guidelines with paths relative to
.github/agents, such as../prompts/architecture-review-guidelines.md. The Copilot App resolves agent-profile links from the repository root, so those links were interpreted asprompts/...and the guidelines failed to load.This PR uses repository-root-relative
.github/prompts/...targets in every affected agent profile and documents that resolver behavior.What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
The prompt files could be moved or duplicated under a root-level
prompts/directory, but that would split or relocate the existing canonical guidance. Repository-root-relative links preserve the current layout and match the Copilot App resolver.Are there test cases added in this PR? (If not, why?)
No automated tests were added because this is Markdown-based agent configuration. All nine links were checked against existing repository files, and a newly launched Archie agent successfully loaded
.github/prompts/architecture-review-guidelines.md.Provide a list of related PRs (if any)
N/A.
Command used to generate this PR:**(Applicable only to SDK release request PRs)
N/A.
Checklists