Skip to content

[aw] jsweep - JavaScript Unbloater exceeded tool denial limit #39185

@github-actions

Description

@github-actions

Workflow Failure

Workflow: jsweep - JavaScript Unbloater
Branch: main
Run: https://github.com/github/gh-aw/actions/runs/27489159289

Warning

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

Last denied request
shell(rm -rf /tmp/x)
Last 5 tool calls
  • No tool calls captured

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 jsweep stopped because the Copilot SDK exceeded its tool denial threshold (2/2).
Last denied request:
shell(rm -rf /tmp/x)

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

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/27489159289
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/27489159289
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 jsweep - JavaScript Unbloater · 1.3K AIC ·

  • expires on Jun 14, 2026, 5:31 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