Skip to content

[WIP] Add built-in AI-authorship disclosure footer for safe-outputs#38588

Closed
pelikhan with Copilot wants to merge 1 commit into
mainfrom
copilot/feature-ai-authorship-disclosure-footer
Closed

[WIP] Add built-in AI-authorship disclosure footer for safe-outputs#38588
pelikhan with Copilot wants to merge 1 commit into
mainfrom
copilot/feature-ai-authorship-disclosure-footer

Conversation

Copilot AI commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.


This section details on the original issue you should resolve

<issue_title>Feature: built-in AI-authorship disclosure footer for safe-outputs (or shared snippet support)</issue_title>
<issue_description>## Summary

Provide a first-class opt-in "AI authorship disclosure" footer that gh-aw automatically appends to every safe-output (issue body, PR body, discussion, comment, …). Today every workflow has to repeat the same safe-outputs.messages.footer: "…" boilerplate string.

Motivation

Across our 20+ agentic workflows we now repeat the exact same footer string on every single one:

safe-outputs:
  messages:
    footer: "> 🤖 **Automated content by GitHub Copilot.** Posted via a maintainer's GitHub token, so it appears under their account — the account owner did **not** write or approve this content personally. Generated by the [{workflow_name}]({agentic_workflow_url}) workflow.{ai_credits_suffix} · [◷]({history_link})"

Workaround PR: microsoft/testfx#8959 — "Add AI/Copilot disclaimer footer to all agentic workflows", which had to touch ~20 workflow files just to bolt on the same string.

The motivation for adding this footer is exactly the kind of transparency the platform should make easy:

  • Safe-outputs run under a maintainer's PAT, so issues/PRs appear authored by that human even though the content is fully AI-generated.
  • Without a disclosure footer, readers can't tell automated content from human content, which has real implications for code review trust and even legal/compliance disclosure requirements.

Proposed solution

Either of:

  1. Built-in flag with sensible default text:
    safe-outputs:
      disclosure-footer: true     # appends a standard disclosure
      # or
      disclosure-footer:
        template: "..."           # override
  2. Shared snippets / imports: for footer strings, so the boilerplate can live in one place and be imports:ed across workflows (this would also help other repeated frontmatter blocks).

Either way the goal is: one toggle on a single workflow, instead of N copies of the same string across N workflows.

Related

Environment

  • gh-aw: v0.75.x
    </issue_description>

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

@pelikhan pelikhan closed this Jun 11, 2026
Copilot stopped work on behalf of pelikhan due to an error June 11, 2026 12:02
Copilot AI requested a review from pelikhan June 11, 2026 12:02
@github-actions
github-actions Bot deleted the copilot/feature-ai-authorship-disclosure-footer branch June 19, 2026 03:04
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.

Feature: built-in AI-authorship disclosure footer for safe-outputs (or shared snippet support)

2 participants