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
{{ message }}
Repository navigation
Gap A: Gateway wizard has no per-step Back navigation (server-driven, needs wizard.previous RPC) #331
Symptom: The gateway wizard (WizardPage) has no per-step Back navigation. Once the user advances past a step, they cannot return to fix an answer. Combined with terminal-error wedges, this traps users at the wrong branch with no recovery path. (Mike's 2026-05-13 session: picked the API-key option, ended up in a custom-endpoint URL prompt instead, entered an invalid value, no way back to fix the choice.)
Why it's architectural: The wizard is server-driven. The gateway sends step payloads via wizard.start / wizard.next / wizard.status RPCs. The protocol surface (per src/OpenClaw.Shared/OpenClawGatewayClient.cs:296) is exactly those four method names plus wizard.cancel. There is no wizard.back or wizard.previous. Adding client-side Back requires either:
A new wizard.back / wizard.previous RPC on the gateway with semantics for retracting answers and side-effectful steps (OAuth, device-code polling, progress markers), OR
A client-side payload-history stack which would desynchronise from gateway state.
This needs cross-repo design (gateway server team owns the protocol decision).
Bonus discovery: wizard.cancel is declared in the protocol surface (OpenClawGatewayClient.cs:296) but has zero callers across the tree. Restart logic uses clearWizardSessionState() + a fresh wizard.start instead (see WizardFlowController.cs:119). If a future Back/Cancel UI is built, the cleanup path should call wizard.cancel so the gateway can free server-side state.
Source pointers (from Mattingly's investigation):
Concern
Location
Protocol surface
src/OpenClaw.Shared/OpenClawGatewayClient.cs:296
Wizard buttons (only Continue/Skip/Retry — no Back)
Triage note: this still looks like a real UX gap, but it is blocked on gateway protocol semantics rather than being a Windows-only UI fix.
Please either scope/update this into a concrete cross-repo protocol issue for wizard.previous / wizard.back semantics, or close it if we are not going to add server-side rewind support. I do not think we should implement a fake client-side Back stack because the wizard is server-driven and that would risk desynchronizing from gateway state.
A smaller Windows-only cleanup can be tracked separately: call wizard.cancel from current cancel/restart/outer-back paths when a server-side wizard session exists.
Closing per maintainer cleanup: the per-step Back behavior needs gateway protocol support for wizard.previous/back rather than a Windows-only UI fix. Any smaller wizard.cancel cleanup can be tracked separately.
Activity
shanselman commentedon May 18, 2026
Triage note: this still looks like a real UX gap, but it is blocked on gateway protocol semantics rather than being a Windows-only UI fix.
Please either scope/update this into a concrete cross-repo protocol issue for
wizard.previous/wizard.backsemantics, or close it if we are not going to add server-side rewind support. I do not think we should implement a fake client-side Back stack because the wizard is server-driven and that would risk desynchronizing from gateway state.A smaller Windows-only cleanup can be tracked separately: call
wizard.cancelfrom current cancel/restart/outer-back paths when a server-side wizard session exists.shanselman commentedon May 23, 2026
Closing per maintainer cleanup: the per-step Back behavior needs gateway protocol support for wizard.previous/back rather than a Windows-only UI fix. Any smaller wizard.cancel cleanup can be tracked separately.