public interface CoTHistory
What is recorded: (a) transitions (the model emitted
{goTo,intent,stepAfter}), and (b) successful non?transition results that were validated and
applied to state
(for example via
CoTTask.stateUpdates).
History storage: The primary list is kept on the process as
history. For ease of serialization and prompt access, a bounded mirror is also maintained at
process.state.history
. Both lists are append?only during a run. Limits are
controlled by CoTProcess.historyMaxItems (memory) and CoTProcess.stateHistoryMaxItems (state
mirror).