How can Copilot cloud agent be instructed to preserve references in a PR body? #207913
Replies: 3 comments 3 replies
This comment was marked as low quality.
This comment was marked as low quality.
This comment was marked as low quality.
This comment was marked as low quality.
|
The documentation supports a narrower conclusion than the earlier replies. Path-specific For instructions that should apply to the whole coding-agent task, use the documented repository-wide file For reliable issue-closing behavior, keep So the supported split is:
The docs currently do not promise preservation of arbitrary PR-body text across Copilot updates, so a reproducible deletion should be reported as product feedback rather than worked around with a broader glob. |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Question
💬 Feature/Topic Area
Copilot Cloud Agent
Body
In our repository,
.github/instructions/cloud-agent.instructions.mdhasapplyTo: "**"and asks Copilot cloud agent to preserve task references (issue, PR, CI, and documentation links) when creating or updating a PR description. The generated PR body sometimes drops them.Do path-specific
.instructions.mdfiles apply to PR body generation and subsequent updates, or only to matched code files? What supported way can reliably guide the cloud agent’s PR title/body content?All reactions