You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Link to the gh-aw PR: github/gh-aw#44497 — Add disclosure-header message for AI authorship disclosure in safe-outputs
This PR introduced a new messages.disclosure-header frontmatter field that prepends a built-in AI authorship notice to every safe-output body. No existing test exercises this opt-in field.
Proposed test
Workflow file: test-copilot-disclosure-header.md
Trigger: workflow_dispatch
Engine: copilot
Safe output: create-issue
Variant: standard
Minimal test prompt sketch
Ask the agent to create a GitHub issue with a short title and body. The workflow frontmatter should set messages.disclosure-header: true. The test should assert that the created issue body begins with the built-in AI authorship disclosure text prepended automatically by gh-aw.
New fixtures or secrets needed
None — create-issue against githubnext/gh-aw-test is already exercised by existing tests.
Notes
The existing test-copilot-create-issue.md does not set messages.disclosure-header, so this is net-new coverage. A samples: block can be used for deterministic runs since the sample value is the agent body content before header injection.
Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
awmgmcpg
To allow these domains, add them to the network.allowed list in your workflow frontmatter:
Motivation
Link to the gh-aw PR: github/gh-aw#44497 — Add
disclosure-headermessage for AI authorship disclosure in safe-outputsThis PR introduced a new
messages.disclosure-headerfrontmatter field that prepends a built-in AI authorship notice to every safe-output body. No existing test exercises this opt-in field.Proposed test
test-copilot-disclosure-header.mdworkflow_dispatchcreate-issueMinimal test prompt sketch
Ask the agent to create a GitHub issue with a short title and body. The workflow frontmatter should set
messages.disclosure-header: true. The test should assert that the created issue body begins with the built-in AI authorship disclosure text prepended automatically by gh-aw.New fixtures or secrets needed
None —
create-issueagainstgithubnext/gh-aw-testis already exercised by existing tests.Notes
The existing
test-copilot-create-issue.mddoes not setmessages.disclosure-header, so this is net-new coverage. Asamples:block can be used for deterministic runs since the sample value is the agent body content before header injection.Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
awmgmcpgSee Network Configuration for more information.