pub fn resolve_default_max_steps() -> usizeExpand description
Resolve this deployment’s step-budget baseline.
POLYCHROME_AGENT_MAX_STEPS when set (and parses), else the crate’s
internal default cap. A malformed or unset env var falls back to the
default rather than failing the turn.
This is the same baseline this crate’s turn loop falls through to when
RunTurnOptions::max_steps is unset. Exposed publicly so a caller that
must pre-compute a budget BEFORE constructing RunTurnOptions — e.g.
capping it against an edge-authored IngressDirective.budget_cap (#68),
which can only LOWER the resolved budget, never raise it — reads the exact
baseline the turn would otherwise resolve, without duplicating the env
parse.