Skip to main content

Module turns

Module turns 

Source
Expand description

Turn dispatch: building a turn worker’s input (system prompt, context slice, tool definitions by grant, skills, memory hints), budget admission at dispatch, spawning the worker, and folding TurnDone back into the durable state (context delta, replies, finish, compaction).

Functions§

render_knowledge_block
Render knowledge.search hits as a labelled system block with sources.