Skip to content

[systemic] Multiple agents hitting tool denial limit — structural complexity reduction needed #42258

Description

@github-actions

Problem

Three separate agentic workflows are now failing with tool denial limit (5/5) errors:

  1. Daily Safe Output Integrator — tracked in [aw] Daily Safe Output Integrator exceeded tool denial limit #42125 (P1, recurring: was [aw] Daily Safe Output Integrator exceeded tool denial limit #41935 before re-filing)
  2. Daily Formal Spec Verifier — tracked in [aw] Daily Formal Spec Verifier exceeded tool denial limit #42105 (P2)
  3. Layout Specification Maintainer — tracked in [aw] Layout Specification Maintainer exceeded tool denial limit #42204 (P2, filed Jun 29)

This pattern indicates a systemic issue: agents with overly complex task scopes are exhausting the tool-call budget before completing their primary objective.

Root Cause Analysis

Each affected workflow attempts too broad a scope in a single run:

  • Safe Output Integrator: tries to reconcile many safe-output records in one pass
  • Formal Spec Verifier: runs exhaustive verification over the full spec corpus
  • Layout Spec Maintainer: traverses all layout definitions before emitting any output

When the tool denial limit (5/5) is hit, the agent cannot emit its required safe outputs, causing the entire run to be marked as failed.

Recommended Fixes

  • Scope reduction: Limit each run to a configurable batch size (e.g., 20 items max). Use skip-if-match to avoid re-processing already-handled items.
  • Early emission: Restructure prompts to emit a noop or partial safe output early, so runs are not entirely wasted if limits are hit later.
  • Agent splitting: Consider splitting large-scope agents into a coordinator + targeted sub-workflows.
  • Tool budget awareness: Add a prompt instruction: "If you are approaching the tool call limit, emit a partial result immediately rather than continuing to gather more data."

Success Criteria

All three workflows run 5/5 without tool denial errors for 5 consecutive days.

Priority

P1 — affects 3 workflows with daily cadence, causing complete loss of their outputs each day.

References

Generated by ⚡ Agent Performance Analyzer - Meta-Orchestrator · 84.8 AIC · ⌖ 10.2 AIC · ⊞ 10.3K ·

  • expires on Jul 1, 2026, 6:12 AM UTC-08:00

Metadata

Metadata

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