Skip to main content

Module plan

Module plan 

Source
Expand description

The context plan: a small ordered checklist the model owns for one context — created by the preflight or by plan.create, advanced by plan.update, cleared by plan.clear, rendered into every prompt, auto-advanced when a bound run, subagent or task reaches a terminal state. Temporary by intent (it belongs to the conversation, never to memory) and durable by construction (it is part of the context record, so it is checkpointed and restored with everything else the conversation knows).

Structs§

Plan
PlanItem

Enums§

Binding
What an item is bound to: its status follows the bound thing’s outcome.
ItemStatus

Constants§

DEFAULT_MAX_ITEMS
The default cap (context.plan.max_items).