Skip to main content

Module stdout_reader

Module stdout_reader 

Source
Expand description

The persistent CLI’s stdout reader task, started by spawn_process (spawn.rs): control frames, session-id capture, resume-state events, API retry state, the API’s reachability, failure classification, the task feed and the output append.

Modules§

loop_stop
What the stdout reader does when the loop guard (agents::loop_guard) says the agent is stuck: end the turn with the control-protocol interrupt, then hold a note and tell the leader (blockcontroller/loop_stop.rs). A brake, not a stop: the process and the session stay, and the next message goes on from there.