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
bash(cd /tmp/gh-aw/agent && mv redirect_test.go redirect_check.go && go run redirect_check.go && rm redirect_check.go)
This is a structured guardrail event (guard.tool_denials_exceeded) captured in events.jsonl.
How to fix this
The prompt attempted actions outside the workflow's allowed tools.
Update the workflow prompt and/or permissions so required actions are permitted:
The workflow code-scanning-fixer stopped because the Copilot SDK exceeded its tool denial threshold (3/3).
Last denied request:
shell(cd /tmp/gh-aw/agent && mv redirect_test.go redirect_check.go && go run redirect_check.go && rm redirect_check.go)
Please update the workflow so the prompt only uses tools permitted by the workflow tool policy.
Agent Timed Out: The agent job exceeded the maximum allowed execution time (20 minutes).
To increase the timeout, add or update the timeout-minutes setting in your workflow's frontmatter:
---
timeout-minutes: 30
---
Action Required
Assign this issue to an agent to debug and fix the issue.
Optimize token consumption
This failure was triggered by a guardrail limit (max-tool-denials). Use this prompt with any coding agent (GitHub Copilot, Claude, Gemini, etc.) to analyze token usage and reduce costs:
Optimize the agentic workflow token consumption using https://raw.githubusercontent.com/github/gh-aw/main/optimize.md
The workflow run is at https://github.com/github/gh-aw/actions/runs/32226487341
Debug with any coding agent
Use this prompt with any coding agent (GitHub Copilot, Claude, Gemini, etc.):
Debug the agentic workflow failure using https://raw.githubusercontent.com/github/gh-aw/main/debug.md
The failed workflow run is at https://github.com/github/gh-aw/actions/runs/32226487341
Manually invoke the agent
Debug this workflow failure using your favorite Agent CLI and the agentic-workflows prompt.
Workflow Failure
Workflow: Code Scanning Fixer
Branch: main
Run: https://github.com/github/gh-aw/actions/runs/32226487341
Warning
Excessive Tool Denials: The Copilot SDK hit the max tool denial guardrail and stopped the session early (
3/3).Last denied request
Last 5 tool calls
bash(ls /usr/local/go*/bin 2>/dev/null; which -a go; ls ~/go/pkg/mod/golang.org/toolchain@* 2>/dev/null; cat /home/runner/...)bash(cd /home/runner/work/gh-aw/gh-aw && export PATH=/opt/hostedtoolcache/go/1.26.6/x64/bin:$PATH && go build ./pkg/cli/.....)bash(go env GOMODCACHE GOPATH GOPROXY 2>/dev/null ls $(go env GOMODCACHE 2>/dev/null) 2>/dev/null | head)bash(cd /tmp/gh-aw/agent && cat > redirect_test.go << 'EOF' package main import ( "errors" "fmt" "path" "path/filepath" "s...)bash(cd /tmp/gh-aw/agent && mv redirect_test.go redirect_check.go && go run redirect_check.go && rm redirect_check.go)This is a structured guardrail event (
guard.tool_denials_exceeded) captured inevents.jsonl.How to fix this
The prompt attempted actions outside the workflow's allowed tools.
Update the workflow prompt and/or permissions so required actions are permitted:
Agent Timed Out: The agent job exceeded the maximum allowed execution time (20 minutes).
To increase the timeout, add or update the
timeout-minutessetting in your workflow's frontmatter:Action Required
Assign this issue to an agent to debug and fix the issue.
Optimize token consumption
This failure was triggered by a guardrail limit (max-tool-denials). Use this prompt with any coding agent (GitHub Copilot, Claude, Gemini, etc.) to analyze token usage and reduce costs:
Debug with any coding agent
Use this prompt with any coding agent (GitHub Copilot, Claude, Gemini, etc.):
Manually invoke the agent
Debug this workflow failure using your favorite Agent CLI and the
agentic-workflowsprompt.agentic-workflowsskill from.github/skills/agentic-workflows/SKILL.mdor https://github.com/github/gh-aw/blob/main/.github/skills/agentic-workflows/SKILL.mddebug the agentic workflow code-scanning-fixer failure in https://github.com/github/gh-aw/actions/runs/32226487341Tip
Stop reporting this workflow as a failure
To stop a workflow from creating failure issues, set
report-failure-as-issue: falsein its frontmatter: