Skip to content

[aw] Code Simplifier is missing required tool #43110

Description

@github-actions

Workflow Failure

Workflow: Code Simplifier
Branch: main
Run: https://github.com/github/gh-aw/actions/runs/28638456930

Warning

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

Missing Tools:

  • node/npm/go binary execution: Sandbox seccomp filter (Seccomp: 2, NoNewPrivs: 1) blocks execve for all binaries including node, npm, and go. Required validation commands make test-unit, make lint, and make build all fail with 'Permission denied' at the process invocation level. Cannot
    [Content truncated due to length]

Alternatives:

Tool Alternative
node/npm/go binary execution Run the code-simplifier workflow in an environment where node/npm/go execution is permitted (standard GitHub Actions runner), or relax the seccomp profile to allow execve for the required test binaries.

Warning

Repeated Permission Denied: The agent was denied permission to run 7 command(s) and stopped retrying.

Denied Commands:

  • cd /home/runner/work/gh-aw/gh-aw && make test-unit 2>&1
  • tail -30
  • credits_context|action_setup_otlp|add_workflow_run_comment" 2>&1
  • action_setup_otlp.test.cjs add_workflow_run_comment.test.cjs 2>&1
  • tail -40
  • which npx && npx --version 2>&1; which node && node --version 2>&1
  • ls /usr/local/bin/npm 2>&1 && /usr/local/bin/npm --version 2>&1
How to fix this

The agent ran in non-interactive mode (--no-ask-user) and could not request permission at runtime.

To resolve repeated permission denied errors, update the workflow prompt to avoid these commands or use approved alternatives. Use the following prompt with any coding agent:

The agentic workflow code-simplifier encountered repeated permission denied errors for these commands:
`cd /home/runner/work/gh-aw/gh-aw && make test-unit 2>&1`, `tail -30`, `credits_context|action_setup_otlp|add_workflow_run_comment" 2>&1`, `action_setup_otlp.test.cjs add_workflow_run_comment.test.cjs 2>&1`, `tail -40`, `which npx && npx --version 2>&1; which node && node --version 2>&1`, `ls /usr/local/bin/npm 2>&1 && /usr/local/bin/npm --version 2>&1`

Please update the workflow prompt so the agent:
1. Uses built-in tools (GitHub API, file read/write) instead of the denied shell commands
2. Or achieves the same goal through alternative approaches that do not require shell permission

Warning

Engine Failure: The copilot engine terminated unexpectedly.

Last agent output:

    at _rmdirSync (node:internal/fs/rimraf:251:7)
    at rimrafSync (node:internal/fs/rimraf:194:7)
    at node:internal/fs/rimraf:254:9
    at Array.forEach (<anonymous>)
    at _rmdirSync (node:internal/fs/rimraf:251:7) {
  errno: -13,
  code: 'EACCES',
  syscall: 'unlink',
  path: '/tmp/awf-1783053039327-chroot-home/.aws/config'
}

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://github.com/github/gh-aw/main/debug.md

The failed workflow run is at https://github.com/github/gh-aw/actions/runs/28638456930
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 Code Simplifier · 157.6 AIC ·

  • expires on Jul 3, 2026, 4:45 PM UTC

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    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