pub fn record_loop_step()Expand description
One loop step executed (loop.step). Drives agent_loop_steps_total.
Process-local / unwired: loop.step is emitted inside the re-exec’d child
agentic loop, a different process from the supervisor that /metrics scrapes,
so calling this would only bump the child’s own registry — there is no
cross-process rollup. It is therefore intentionally NOT called from the loop;
the series renders the supervisor’s own process only and agentctl derives step
counts from loop.step log lines.