How Dagu manages agent context, failover and recovery
AI-generated summary Dagu manages agent context by treating conversation transcripts as persistent execution states and rebuilding system prompts with task statuses. The Dagu system follows an ordered fallback chain for model requests and saves task state, action counts, and transcripts after each decision.