Skip to content

[aw] Copilot CLI Deep Research Agent failed #37498

@github-actions

Description

@github-actions

Workflow Failure

Workflow: Copilot CLI Deep Research Agent
Branch: main
Run: https://github.com/github/gh-aw/actions/runs/27083451001

Warning

Missing Tools Reported: The agent reported missing tools during execution.

Missing Tools:

  • tool/permission: missing tool/permission issue: numerous permission denied errors detected
    • Alternatives: Verify token scopes, repository permissions, and MCP/tool access configuration. Denied commands: shell(find /home/runner/work/gh-aw/gh-aw/pkg -name 'copilot*.go' 2>/dev/null | sort) | shell(ls /tmp/gh-aw/repo-memory/default/ 2>/dev/null && cat /tmp/gh-aw/repo-memory/default/copilot-cli-research/latest.json 2>/dev/null || echo "No previous analysis found") | read(/home/runner/work/gh-aw/gh-aw)

Warning

Excessive Tool Denials: The Copilot SDK hit the max tool denial guardrail and stopped the session early (5/5).

Last denied request:
permission denied: read(/home/runner/work/gh-aw/gh-aw)

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 copilot-cli-deep-research stopped because the Copilot SDK exceeded its tool denial threshold (5/5).
Last denied request: `permission denied: read(/home/runner/work/gh-aw/gh-aw)`

Please update the workflow so the prompt only uses tools permitted by the workflow tool policy.

Warning

Engine Failure: The copilot engine terminated unexpectedly.

Last agent output:

{"type":"tool.execution_start","timestamp":"2026-06-07T05:13:05.977Z","data":{"toolName":"glob","mcpServerName":""}}
{"type":"tool.execution_start","timestamp":"2026-06-07T05:13:05.978Z","data":{"toolName":"glob","mcpServerName":""}}
[copilot-sdk-driver] [sdk-driver] permission denied by workflow tool permissions: read(/home/runner/work/gh-aw/gh-aw)
[copilot-sdk-driver] [sdk-driver] tool denial 4/5: permission denied: read(/home/runner/work/gh-aw/gh-aw)
[copilot-sdk-driver] [sdk-driver] permission denied by workflow tool permissions: read(/home/runner/work/gh-aw/gh-aw)
[copilot-sdk-driver] [sdk-driver] tool denial 5/5: permission denied: read(/home/runner/work/gh-aw/gh-aw)
{"type":"guard.tool_denials_exceeded","timestamp":"2026-06-07T05:13:05.985Z","data":{"denialCount":5,"threshold":5,"reason":"permission denied: read(/home/runner/work/gh-aw/gh-aw)"}}
[copilot-sdk-driver] [sdk-driver] max tool denials threshold reached (5/5); stopping SDK session early
{"type":"tool.execution_complete","timestamp":"2026-06-07T05:13:06.026Z","data":{"toolName":"glob","mcpServerName":"","success":false}}
[copilot-sdk-driver] [sdk-driver] error: max tool denials threshold reached (5/5)

Action Required

Assign this issue to an agent to debug and fix the issue.

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/27083451001
Manually invoke the agent

Debug this workflow failure using your favorite Agent CLI and the agentic-workflows prompt.

Tip

Stop reporting this workflow as a failure

To stop a workflow from creating failure issues, set report-failure-as-issue: false in its frontmatter:

safe-outputs:
  report-failure-as-issue: false

Generated from Copilot CLI Deep Research Agent ·

  • expires on Jun 7, 2026, 5:34 PM UTC

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions