You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the app reconnects or misses a short burst of session events, it can recover missed question, permission, and status updates without relying only on frontend fallback polling.
Scope
In scope:
Design a server-side event id / cursor model for session-related SSE events.
Let the client reconnect with its last seen event id.
Replay recent missed events for question, permission, and session/status updates.
Keep replay bounded so it does not grow memory unbounded.
Goal
When the app reconnects or misses a short burst of session events, it can recover missed question, permission, and status updates without relying only on frontend fallback polling.
Scope
In scope:
question.asked/ delayedquestion.listrecovery.Out of scope:
Relevant files or context
Related PR:
Likely areas:
packages/opencode/event/SSE/session sync codepackages/app/src/context/sync.tsxpackages/app/src/context/global-sync.tsxpackages/app/src/context/global-sync/event-reducer.tspackages/app/src/pages/session/blockers/question-reconcile.tspackages/app/src/pages/session/blockers/use-session-blockers.tspackages/app/e2e/session/session-composer-dock.spec.tsContext:
Verification
question.askedrecovery.Execution mode
Agent should investigate and propose a plan first.