Skip to content

[aw] Daily GitHub Docs SEO Optimizer is missing required tool #47978

Description

@github-actions

Workflow Failure

Workflow: Daily GitHub Docs SEO Optimizer
Branch: main
Run: https://github.com/github/gh-aw/actions/runs/30155252130

Warning

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

Denied Commands:

  • shell(automation-request-generator)
  • shell(safeoutputs --help)
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 daily-github-docs-seo-optimizer encountered repeated permission denied errors for these commands:
`shell(automation-request-generator)`, `shell(safeoutputs --help)`

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:

{"type":"assistant.message","timestamp":"2026-07-25T10:54:59.882Z","data":{"content":""}}
{"type":"tool.execution_start","timestamp":"2026-07-25T10:54:59.883Z","data":{"toolName":"bash","mcpServerName":"","command":"safeoutputs --help"}}
[copilot-sdk-driver] [sdk-driver] permission denied by workflow tool permissions: shell(safeoutputs --help)
[copilot-sdk-driver] [sdk-driver] tool denial 2/5: permission denied: shell(safeoutputs --help)
{"type":"tool.execution_complete","timestamp":"2026-07-25T10:54:59.933Z","data":{"toolName":"bash","mcpServerName":"","success":false}}
{"type":"assistant.message","timestamp":"2026-07-25T10:55:14.757Z","data":{"content":""}}
{"type":"tool.execution_start","timestamp":"2026-07-25T10:55:14.758Z","data":{"toolName":"task","mcpServerName":""}}
{"type":"subagent.started","timestamp":"2026-07-25T10:55:14.767Z","data":{"agentName":"general-purpose","agentDisplayName":"General Purpose Agent","toolCallId":"call_7DBuQZ7GrB1bGQuby9qvuiVC"}}
{"type":"tool.execution_complete","timestamp":"2026-07-25T10:55:14.773Z","data":{"toolName":"task","mcpServerName":"","success":true,"result":{"content":"Agent started in background with agent_id: seo-optimizer. You'll be notified when it completes. Tell the user you're waiting and end your response, or continue unrelated work until notified. The agent supports multi-turn conversations — use write_agent to send follow-up messages.","detailedContent":"Prompt to general-purpose agent (seo-optimizer):\nPerform this task exactly as specified, in your own isolated session context. Do not inspect the repository or workspace beyond what is strictly necessary to invoke the required tools. Procedure requirements are mandatory:\n\n1. Call `automation-request-generator` exactly once. It must return exactly 10 distinct, realistic user requests.\n2. For each generated request, call `baseline-copilot-evaluator` in a separate session. Pass only that request, without mentioning AW or the optimization goal. Make all 10 calls even if earlier results are similar.\n3. Preserve every evaluator result, including ranked options and documentation pages.\n4. Analyze the complete result set. Do not run tools, inspect the workspace, or add facts not supported by evaluator outputs.\n5. Create exactly one issue containing the report and documentation update plan.\n\nIssue body must use this exact structure:\n\n### Summary\n\nShow the AW recommendation rate, strongest opportunity, and one-sentence conclusion.\n\n### Baseline Results\n\nInclude a compact table with all 10 requests, the three ranked options, AW rank, and source-page count.\n\n### Documentation Evidence\n\nList documentation pages by citation frequency and connect each page to the requests for which it was used. Clearly separate uncited inferred gaps from cited evidence.\n\n<details>\n<summary>Full evaluator responses</summary>\n\nInclude the complete structured outputs from all 10 evaluator sessions.\n\n</details>\n\n### Minimal Update Plan\n\nRecommend no more than three GitHub Docs pages. For each recommendation provide:\n1. exact page URL or, when no existing page was cited, the most precise proposed documentation location\n2. the specific user intent it should capture\n3. the smallest factual content or cross-link change\n4. why the evidence predicts improved AW recommendation likelihood\n5. expected reward on a 1-5 scale\n\nOrder recommendations by expected reward divided by update size. Prefer accurate cross-links and concise intent-matching language over new pages, duplicated content, or keyword stuffing. The plan must be actionable but must not edit documentation.\n\n### Method\n\nState that 10 generated requests were evaluated in isolated Copilot sessions with repository read and shell tools disabled. Include the workflow run as `[§30155252130](https://github.com/github/gh-aw/actions/runs/30155252130)`.\n\nImportant constraints:\n- Do not invent citations. Exclude pages an evaluator did not explicitly identify as used. Treat empty documentation-page lists as meaningful evidence.\n- After the evaluator outputs are complete, do not run more tools except what is strictly needed to create the single final issue.\n- Use GitHub-flavored Markdown.\n- Use safe outputs correctly. If you cannot complete due missing tool permissions or unavailable commands, emit the appropriate safe output such as missing_tool or noop rather than fabricating results.\n- Trust successful safeoutput acceptance and do not attempt to verify downstream GitHub state.\n\nReturn a concise status summary and include the issue number/reference if created."}}}
[copilot-sdk-driver] [sdk-driver] error: Execution failed: Error: No model available. Check policy enablement under GitHub Settings > Copilot

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/30155252130
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 Daily GitHub Docs SEO Optimizer · 4.95 AIC ·

  • expires on Jul 25, 2026, 10:57 PM UTC

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions