Skip to content

ci: temporarily enable show_full_output to diagnose agent permission denials#1048

Merged
lroolle merged 1 commit into
mainfrom
ci/diagnose-permission-denials
Jul 15, 2026
Merged

ci: temporarily enable show_full_output to diagnose agent permission denials#1048
lroolle merged 1 commit into
mainfrom
ci/diagnose-permission-denials

Conversation

@lroolle

@lroolle lroolle commented Jul 15, 2026

Copy link
Copy Markdown
Member

Diagnostic: agent step reports permission_denials_count 4-9 and leaves workspace dirty. Transcript is hidden by default; this exposes it for one run to enumerate the denied tool calls. Will be reverted in the real fix.

🤖 Generated with Claude Code

…denials

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 15, 2026 18:07
@lroolle
lroolle merged commit dd8a629 into main Jul 15, 2026
@lroolle
lroolle deleted the ci/diagnose-permission-denials branch July 15, 2026 18:07

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR changes the scheduled “Fetch Claude Code Docs” workflow to expose the Claude Code agent’s full output in order to diagnose recent permission-denial issues during the agent step.

Changes:

  • Enables show_full_output for the anthropics/claude-code-action step to surface the full agent transcript/tool outputs for debugging.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +69 to +70
# TEMPORARY: expose agent transcript to diagnose permission denials
show_full_output: true

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8072855032

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

github_token: ${{ steps.app-token.outputs.token }}
allowed_bots: "claude-yolo[bot]"
# TEMPORARY: expose agent transcript to diagnose permission denials
show_full_output: true

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Avoid exposing full Claude transcripts in scheduled runs

In this scheduled workflow, enabling show_full_output runs on the default branch with production secrets (CLAUDE_CODE_OAUTH_TOKEN, App token, and Bark MCP secrets) and writes the agent's full message/tool transcript to GitHub Actions logs. The upstream action input explicitly warns that this output includes tool execution results that may contain secrets or other sensitive information and that these logs are publicly visible, so leaving this committed means every scheduled/manual run can leak sensitive repo or credential-derived data rather than just a one-off debug run.

Useful? React with 👍 / 👎.

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.

3 participants