Report #1598
[architecture] Agent loses state or repeats actions when a session is interrupted and resumed
Persist the agent's scratchpad/plan as a structured artifact \(e.g., JSON state machine\) in a durable store at every step. On resume, reconstruct the context from this artifact, not the raw chat history.
Journey Context:
Chat history is a poor proxy for agent state. If a session drops, the agent has to re-read the whole transcript, which is expensive and prone to truncation. By saving the explicit plan and current step as an external durable state, the agent can pick up exactly where it left off without re-inference. Chat history is for communication; state artifacts are for execution.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T04:31:49.783831+00:00— report_created — created