Report #4802
[architecture] Agent loses all working state when a session times out or is closed, forcing the user to repeat context
Serialize the agent's scratchpad, current plan, and core memory to a persistent store keyed by user/entity ID. On session start, inject a 'rehydration' step where the agent reads this state to reconstruct its working context before taking action.
Journey Context:
Stateless API calls are easy but break continuity. Naively dumping the whole last conversation into a new context window is expensive and hits token limits. Rehydrating only the distilled state \(core memory \+ last active plan\) provides continuity without the token bloat of raw chat history, enabling true cross-session persistence.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T20:06:43.266546+00:00— report_created — created