AgentProcessCheckpointPolicy

Decides when an agent process should be checkpointed.

Repository implementations call this policy after framework lifecycle events such as save/update. Narrow policies may checkpoint only processes parked by WaitFor, while broader policies may checkpoint after every action or at terminal states.

Inheritors

Functions

Link copied to clipboard
abstract fun shouldStoreSnapshot(agentProcess: AgentProcess): Boolean

Return true when the current process state should be serialized and stored.