Repository navigation
Description
Observed behavior
As reported in github/gh-aw#70242, an agent cannot read an issue authored by github-actions[bot] through MCP issue_read when the workflow uses min-integrity: approved, even when trusted-users explicitly contains the bot login. The returned content is reported as DIFC_FILTERED with integrity none:public.
The reported consumer is elastic/oblt-aw: an audit workflow creates an issue as github-actions[bot], and a subsequent create-PR workflow attempts to read and implement that issue. The agent job can succeed without seeing the issue body, so no fix PR is opened. The consumer reports using min-integrity: none as a temporary workaround, which broadens read trust beyond the target issue.
This issue records the upstream-reported behavior; it has not been independently reproduced against a pinned mcpg version in this investigation.
Reported configuration and reproduction scenario
tools:
github:
min-integrity: approved
trusted-users: "github-actions[bot]"- Create an issue in a public repository using a workflow's
GITHUB_TOKEN, so its author isgithub-actions[bot]. - Run an agent workflow in the same repository with the configuration above, including when inherited from shared defaults.
- Ask the agent to retrieve the open issue through MCP
issue_read. - Reported result: the bot-authored body is filtered as below-threshold /
none:publicrather than returned to the agent.
Consumer discussion: elastic/oblt-aw#2408
Expected behavior
The bot-authored issue title/body should be readable at min-integrity: approved under the configured trust policy, absent an explicit blocking or demotion rule. Trust in the issue author must not elevate comments written by other, untrusted authors. No workflow-wide reduction to min-integrity: none or issue-body injection through additional-instructions should be necessary.
Relevant implementation and ownership
github/gh-aw#70343 adds compile-time regression coverage for scalar, array, and imported trusted-users configuration while retaining the approved floor. It changes no runtime implementation and explicitly leaves runtime filtering unresolved. Its string assertions do not establish end-to-end gateway behavior.
At mcpg revision e5890a8afc87943842e7425d99df3e74c3f6dee2:
author_association_floorpromotes recognized trusted actors to writer/approved integrity.TRUSTED_FIRST_PARTY_BOTSand actor matching already recognizegithub-actions[bot]as a built-in trusted actor and also consult configuredtrusted-users.issue_integritycalls the author-association/trust helper.
These observations make the gateway's runtime response-labeling/filtering path the likely investigation point, not evidence that a bot allowlist entry is missing. The root cause is not yet established. Confirm the affected run's actual mcpg/guard version and effective policy before ruling out a version or configuration-handoff issue.
Requested investigation and regression coverage
- Capture a sanitized fixture matching the affected
issue_readresponse and reproduce its labeling/filtering with the effectiveapprovedpolicy. - Trace author extraction, response-item/path labeling, policy context, and final filtering to determine why the reported item receives
none:publicdespite bot trust. - Add a regression through the actual response-labeling/filtering boundary, asserting that the trusted bot's issue body survives at
approved; compilation assertions alone are insufficient. - Preserve blocked-user/demotion precedence and per-author isolation for comments.
Related
- Original report and acceptance criteria: DIFC: trusted-users does not elevate github-actions[bot] issue bodies above none:public gh-aw#70242
- Compile-only coverage and documentation: Cover trusted-bot policy compilation and document platform bot support gh-aw#70343
- Consumer workaround discussion: fix(e2e): recognize nested PAD route jobs and unblock autodoc issue reads elastic/oblt-aw#2408
Activity
Honor author trust in wrapped issue_read responses (github#15292)
pelikhan commentedon Oct 22, 2026
@lpcox can we integrate a release with this fix?