Skip to content

fix(create-pr): keep assistant names out of generated descriptions - #190

Merged
jasperf merged 1 commit into
mainfrom
fix/pr-description-ai-mentions
Aug 21, 2026
Merged

fix(create-pr): keep assistant names out of generated descriptions#190
jasperf merged 1 commit into
mainfrom
fix/pr-description-ai-mentions

Conversation

@jasperf

@jasperf jasperf commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Summary

create-pr.sh's generation prompt told the model not to mention the tooling, but that instruction read as "don't credit yourself" rather than "don't describe a change that happens to concern it." When a diff touched the contributor guide's own commit-message convention, the model described it accurately — and named an assistant in prose, in a public PR description.

Changes

  • The generation prompt now states explicitly that the no-mention rule holds even when the diff is about this tooling, and gives the neutral phrasing to use instead (e.g. "the contributor guide", "commit-message conventions"). Referring to a changed file by its real path stays fine.
  • The contributor guide's PR-description convention is widened to match: no mention anywhere in a description, not just no footer.
  • CHANGELOG.md updated with the fix entry.

Files

  • scripts/git/create-pr.sh
  • CLAUDE.md
  • CHANGELOG.md

The generation prompt already said not to mention the tooling, but that
reads as 'do not credit yourself' rather than 'do not describe a change
that happens to concern it'. When a diff touched the contributor guide's
commit-message convention, the model described it accurately — and put an
assistant's name in prose in a public PR description.

The prompt now states that the rule holds even when the diff is about this
tooling, and gives the neutral phrasing to use instead. The convention in
the contributor guide is widened to match: no mention anywhere in a
description, not just no footer. Naming a changed file by its real path
stays fine, since that is the file's actual name.
@jasperf
jasperf merged commit e91677f into main Aug 21, 2026
1 check passed
@jasperf
jasperf deleted the fix/pr-description-ai-mentions branch August 21, 2026 04:06
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.

1 participant