Repository navigation
workflows: Trust our own bot's authored content - #28
Merged
Merged
Conversation
gh-aw filters GitHub content by integrity: on a public repo, plain issues not authored by an OWNER/MEMBER/COLLABORATOR (or a first-party bot) default below the 'approved' threshold and are silently dropped before the agent sees them. Pull requests get a pass for this (any non-fork PR on a public repo counts as approved), but issues don't - including the fallback issues cgwaltersbot[bot] itself files when a safe-output push is rejected. This bit us concretely: relabeling fallback issue #26 to retry the task after fixing the label order resulted in a no-op, because the agent's GitHub MCP gateway filtered out the issue body describing what to do, and it correctly reported it couldn't read the resource rather than guessing. List the bot in tools.github.trusted-users (which requires min-integrity to be set explicitly) on all three workflows so its own output counts as trusted input. This doesn't change the recommended recovery path (fix label order on the original issue, or apply the bundle manually) - it just means relabeling a fallback issue is no longer a silent dead end if someone tries it anyway. Assisted-by: Claude Sonnet 5 <[email protected]>
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the gap discovered while retrying issue #24's failed drafter run:
relabeling the auto-created fallback issue (#26) resulted in a silent
no-op because gh-aw's integrity filtering treats plain issues authored
by our own
cgwaltersbot[bot]as untrusted on this public repo (PRs geta pass for this, issues don't).
Adds
min-integrity: approved+trusted-users: ["cgwaltersbot[bot]"]to all three workflows'
tools.githubconfig, and documents it inREADME.md alongside the other App-token gotchas.
This doesn't change the recommended recovery path for a rejected
push (fix label order on the original issue, or apply the bundle
manually) — it just means relabeling a fallback issue is no longer a
silent dead end if someone tries it.