Skip to content

code-simplifier & repository-quality-improver: drop hard-coded Copilot attribution that duplicates safe-outputs footerΒ #349

Description

@Evangelink

Summary

code-simplifier.md and repository-quality-improver.md hard-code a "πŸ€– Generated by …" attribution line directly in the issue/PR body they instruct the agent to file. That attribution becomes a duplicate of the disclosure footer that most adopters now configure via safe-outputs.messages.footer, so every artifact ends up with the AI-authorship disclosure printed twice.

Concrete cases

In repository-quality-improver.md, the activity-issue template body includes a hard-coded "Generated by …" attribution; same shape in code-simplifier.md's issue/PR body templates.

Workaround PR in our fork: microsoft/testfx#8994 β€” "Drop duplicate per-workflow Copilot attribution from agentic-workflow PR/issue bodies" (touches both files, removes 7 lines total).

Proposed fix

Remove the hard-coded attribution snippets from the issue/PR body templates in:

  • workflows/code-simplifier.md
  • workflows/repository-quality-improver.md

Adopters who want a disclosure footer can use safe-outputs.messages.footer; those who don't, won't have spurious "Copilot generated" lines in their bodies.

Happy to send the PR upstream β€” it's the same diff as microsoft/testfx#8994.

Related

I've also filed a parallel feature request on gh-aw for a built-in disclosure-footer toggle so adopters don't have to copy/paste the footer string across every workflow.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions