classifyStop
classifyStop(
tail,taskPrompt,deps,label):Promise<AutopilotVerdict>
Defined in: src/autopilot-llm.ts:167
Classify why an agent stopped, via a transient interactive claude (subscription OAuth —
NOT claude -p). Spawns the classifier model in a fresh temp dir with only the Write
tool, polls for the verdict file, normalizes it, then tears the agent + dir down.
Returns {kind:"unknown",summary:""} on any failure/timeout/garbage — bias to surface.
Parameters
Section titled “Parameters”string[]
taskPrompt
Section titled “taskPrompt”string
string
Returns
Section titled “Returns”Promise<AutopilotVerdict>