Skip to content

DIFC: trusted-users does not elevate github-actions[bot] issue bodies above none:public #70242

Done

Description

@fr4nc1sc0-r4m0n

Motivation

Workflows that create issues as github-actions[bot] and later ask an agent to implement that same issue (for example audit → create-PR) fail under the default public-repo integrity floor.

With tools.github.min-integrity: approved and tools.github.trusted-users including github-actions[bot], MCP issue_read still returns DIFC-filtered content (DIFC_FILTERED / integrity tag none:public). The agent job can succeed without seeing the issue body, so no fix PR is opened.

Consumers are forced into a temporary workaround (min-integrity: none on the create-PR workflow) that widens GitHub read trust beyond the target issue. Injecting the issue body through additional-instructions is the wrong architecture for a generic create-PR-from-issue workflow.

Summary

Please make DIFC honor trusted-users for issue (and related) content authored by listed bots such as github-actions[bot], so those bodies are readable at min-integrity: approved without lowering the workflow-wide floor.

Context

Expected behavior

Given:

tools:
  github:
    min-integrity: approved
    trusted-users: "github-actions[bot]"

an issue_read (and equivalent gateway paths) for an open issue authored by github-actions[bot] in the same repository should return the issue title/body to the agent, not filter it as below-threshold / none:public.

Actual behavior

Issue content is DIFC-filtered despite the author being listed in trusted-users. Temporary consumer workaround: set min-integrity: none on the create-PR workflow only.

Acceptance criteria

  • Content authored by a login listed in trusted-users is treated as at least approved for integrity filtering (issues, and preferably comments/PRs authored by that login).
  • With min-integrity: approved and trusted-users containing github-actions[bot], issue_read of a bot-authored issue returns the body (no DIFC_FILTERED for that item solely due to bot authorship).
  • Docs for trusted-users explicitly cover platform bots such as github-actions[bot].
  • A regression test or fixture covers bot-authored issues under approved + trusted-users.

References

Activity

  1. locked and limited conversation to collaborators on Oct 19, 2026
  2. unlocked this conversation on Oct 19, 2026
  3. pelikhan commented on Oct 22, 2026

    @pelikhan
    Collaborator

    2026-10-22 assessment: keep open; runtime fix merged upstream, gh-aw integration pending.

    There is newer evidence than the original diagnosis: github/gh-aw-mcpg#15292 merged October 20. It fixes issue_read/get labeling the outer {method, issue} envelope instead of its nested issue, and adds affected-response/WASM filtering regressions, including blocked-user precedence and comment-author isolation. The fix is included in gateway v0.4.37.

    Current gh-aw main still pins v0.4.36, which predates that fix. Upgrade #71219 is open, not shipped. #70343 is also open and explicitly covers compiler handoff/docs only; its closing footer is not proof of runtime resolution.

    Next action: complete/review the v0.4.37 integration and bot-login documentation, then obtain verification on that integrated revision that the reported bot-authored issue body survives at min-integrity: approved without weakening the floor. Record the effective policy/gateway version and preserve untrusted-comment isolation. This pass reviewed source/history; it did not execute the affected workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions