Skip to content

Comments

Tone down PR Body Update Agent to fix inaccuracies with minimal edits only#256

Merged
strawgate merged 2 commits intomainfrom
copilot/fix-pr-body-accuracy
Feb 21, 2026
Merged

Tone down PR Body Update Agent to fix inaccuracies with minimal edits only#256
strawgate merged 2 commits intomainfrom
copilot/fix-pr-body-accuracy

Conversation

Copy link
Contributor

Copilot AI commented Feb 21, 2026

The PR Body Update Agent was too aggressive — it would reformat, restructure, and rewrite bodies that were merely imperfect rather than inaccurate, discarding author context and style in the process.

Changes to gh-aw-update-pr-body.md

  • Objective — Reframed from "update if significantly out of date" to "fix only inaccuracies with the minimal edit needed; do not rewrite, reformat, or improve beyond correcting the specific inaccuracy"
  • Do not update (Step 3) — Added two explicit guardrails:
    • Body could benefit from better formatting/structure but is not inaccurate
    • Body omits optional detail but nothing it says is wrong
  • Update instructions (Step 4) — Replaced open-ended rewrite guidance with targeted-edit rules: change only inaccurate sentences/sections, preserve the original structure/formatting/wording of everything else exactly as the author wrote it

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/ruby/setup-ruby/git/ref/tags/v1
    • Triggering command: /usr/bin/gh gh api /repos/ruby/setup-ruby/git/ref/tags/v1 --jq .object.sha .go 0.1-go1.25.0.lin/tmp/go-build1325625224/b224/ ux-amd64/pkg/tool/linux_amd64/compile (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>Tone down PR Body Update Agent</issue_title>
<issue_description>It really should be focused on fixing inaccuracies in the PR body not applying beautiful formatting or making unnecessary changes. Perhaps we change the prompt to say the minimal edit that resolves the inaccuracy?</issue_description>

Comments on the Issue (you are @copilot in this section)

Custom agent used: default-agent
The default agent


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Co-authored-by: strawgate <6384545+strawgate@users.noreply.github.com>
Copilot AI changed the title [WIP] Tone down PR body updates for accuracy Tone down PR Body Update Agent to fix inaccuracies with minimal edits only Feb 21, 2026
Copilot AI requested a review from strawgate February 21, 2026 00:35
@strawgate strawgate marked this pull request as ready for review February 21, 2026 00:37
@strawgate strawgate merged commit eb8f184 into main Feb 21, 2026
18 checks passed
@strawgate strawgate deleted the copilot/fix-pr-body-accuracy branch February 21, 2026 00:46
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.

Tone down PR Body Update Agent

2 participants