Skip to content

Add max-tool-denials: 8 to all 64 copilot-sdk workflows#42070

Closed
Copilot wants to merge 2 commits into
mainfrom
copilot/add-max-tool-denials
Closed

Add max-tool-denials: 8 to all 64 copilot-sdk workflows#42070
Copilot wants to merge 2 commits into
mainfrom
copilot/add-max-tool-denials

Conversation

Copilot AI commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

Zero of 64 SDK workflows configured max-tool-denials, leaving them vulnerable to infinite tool-denial loops that burn AI credits. This field stops Copilot SDK inference when tools are repeatedly denied; default is 5, recommended is 8 for complex workflows.

Changes

  • 64 workflow frontmatters — added max-tool-denials: 8 as a top-level frontmatter key (not nested under engine:) to every .github/workflows/*.md with copilot-sdk: true
  • 64 lock files — recompiled via make recompile
engine:
  id: copilot
  copilot-sdk: true
max-tool-denials: 8   # ← added at top level

Upstream-managed workflows (source: frontmatter) were not modified — none of the 5 upstream files use copilot-sdk: true.

Add `max-tool-denials: 8` at the top level of the frontmatter for
all 64 .github/workflows/*.md files that use `copilot-sdk: true`.

This safety net prevents infinite tool-denial loops from burning
AI credits by stopping Copilot SDK inference when tools are
repeatedly denied.

Upstream-managed workflows (those with `source:` in their
frontmatter) are not modified — none of them use copilot-sdk: true.

Closes #42061

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Add max-tool-denials: 8 to all 64 copilot-sdk workflows Add max-tool-denials: 8 to all 64 copilot-sdk workflows Jun 28, 2026
Copilot AI requested a review from pelikhan June 28, 2026 11:46
@pelikhan pelikhan closed this Jun 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants