tool-call blocks completes the step. With no pending inbox input, the ordinary turn closes.Thirty seconds to containment.
- Cancel the active turn.Press Esc or Ctrl+C in the running TUI. Send Ctrl+C to a foreground CLI process.
- Watch the real meter.Confirm the process and provider usage stop. A frozen screen is not proof.
- Copy the trace.Preserve Session events, terminal output, timestamps, and sanitized provider usage.
- Do not resume unchanged.Fix the reachable failure or narrow tools, task, and budget before a fresh Session.
First, count the shape.
Generation or adapter boundary. One request is not yet an Agent loop.
Join each new turn to its user, Goal, plugin, or policy source.
Join each step to tool results, next-step input, or a turn-stopping hook.
A UI can repeat one message without making another provider request.
Follow the proof chain.
Bring an event timeline.
Version + source commit:
Profile + model route:
Turn start / cancel / last charge:
Turn / step / message / call / result events:
Source of every continuation message:
Raw chunks and finalized block types:
Sanitized tool result or error:
Request usage + provider curve:
Smallest bounded reproduction:
Stop actionless automation at its owner.
scopeAutomatic sources onlyNever block a legitimate user-facing explanation, refusal, or final answer.
countZero finalized callsAlso require zero owned durable transition and no goal completion or question.
keyLifecycle + source + revisionReset only on proven action or authenticated human input.
thresholdPause the ownerLeave the Agent idle. Never fabricate a tool call to force progress.
Prove the diagnosis with four cases.
- Fresh SessionSame route, same tool, short context.
- Long contextReconstruct compaction-sized context without private data.
- Goal disabledRun the same prompt without automatic Goal rounds.
- Control routeUse a known tool-capable model/provider route.
Primary evidence.
- rc.2 Agent completion and continuation semantics
- rc.2 Goal round driver and round limit
- Narrative-without-tools report #4717
- Runaway-loop report #3228
Keep the complete event runbook.
The canonical guide adds the failure router, safe circuit-breaker design, controlled reproduction matrix, and fifteen regression gates.
Read and star on GitHub