Skip to content

Add agent instruction to reference issue IDs in PR descriptions#1615

Merged
nathanjmcdougall merged 5 commits into
mainfrom
copilot/update-agents-md-reference-pr-ids
Mar 27, 2026
Merged

Add agent instruction to reference issue IDs in PR descriptions#1615
nathanjmcdougall merged 5 commits into
mainfrom
copilot/update-agents-md-reference-pr-ids

Conversation

Copilot AI commented Mar 27, 2026

Copy link
Copy Markdown
Contributor

Agents weren't linking PRs back to the issues they address, making traceability harder.

  • Added a bullet in AGENTS.md instructing agents to always reference the relevant issue using a closing keyword format (e.g. Resolves #123) in PR descriptions

💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.

Agent-Logs-Url: https://github.com/usethis-python/usethis-python/sessions/33160c65-7913-435b-8b95-025ed32673fd

Co-authored-by: nathanjmcdougall <18602289+nathanjmcdougall@users.noreply.github.com>
Copilot AI changed the title [WIP] Update AGENTS.md to reference PR IDs in descriptions Add agent instruction to reference issue IDs in PR descriptions Mar 27, 2026
Copilot AI requested a review from nathanjmcdougall March 27, 2026 12:30
@nathanjmcdougall

Copy link
Copy Markdown
Collaborator

@copilot We don't need fully resolved paths.

And you didn't even comply with this rule for your own PR in this case!

You need to mention the correct format: "Resolves #0000", i.e. a closing keyword needs to be there. Nothing else is necessary

Copilot AI commented Mar 27, 2026

Copy link
Copy Markdown
Contributor Author

@copilot We don't need fully resolved paths.

And you didn't even comply with this rule for your own PR in this case!
...

Updated in 1f6e18c — now instructs agents to use a closing keyword format, e.g. Resolves #123, instead of fully qualified paths.

@nathanjmcdougall nathanjmcdougall marked this pull request as ready for review March 27, 2026 12:57
@nathanjmcdougall nathanjmcdougall merged commit 836ff1a into main Mar 27, 2026
@nathanjmcdougall nathanjmcdougall deleted the copilot/update-agents-md-reference-pr-ids branch March 27, 2026 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Agent config to instruct to reference PR IDs in PR descriptions

2 participants