DENY/step-cap

DENY/step-cap

Step ceiling reached

The autonomy envelope's per-run step count was exhausted.

What it means

Aarmos caps the number of tool calls a single run can make. Once `stepsSoFar` reaches `maxSteps`, all further calls are denied — a hard backstop against runaway loops.

Common causes

  • Planner in a tight retry loop.
  • `maxSteps` set too low for the task complexity.

How to fix

  • Inspect the last N steps in the receipt to find the loop.
  • Raise `maxSteps` only after the loop is understood, not before.

Related

← All error codes