feat(webui): onboarding driver chat shell (#1577) - #1587
Merged
Conversation
Add /onboard chat-style web UI driving internal/onboarding.Service via SSE-streamed conversation and form-encoded answer POSTs. Covers Phase 1 of Epic #1565: GET /onboard creates a session and redirects to /onboard/{id}; the page subscribes to /onboard/{id}/stream and renders prompts as HTML forms; POST /onboard/{id}/answer unblocks the agent's PromptString/PromptChoice. Last-Event-ID ring buffer replay survives reload. In-memory session registry on Server (mirrors activeRuns).
This was referenced Apr 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/onboardroute renders a chat-style onboarding shellService.ResumeRelated to #1577
Changes
internal/webui/handlers_onboard.go— onboarding handlers (index, SSE stream, answer POST)internal/webui/templates/onboard/{index,_message,_prompt}.html— chat shell + message/prompt partialsinternal/webui/routes.go,server.go,embed.go— route wiring + template embeddinginternal/webui/static/style.css— minimal chat CSSinternal/webui/handlers_onboard_test.go+handlers_onboard_integration_test.go— coverage for handlers and SSEdocs/guides/web-dashboard.md— onboard route doc notespecs/1577-webui-onboarding-driver/{spec,plan,tasks}.md— planning artifactsTest Plan
go test ./internal/webui/...— handler unit + integration testsgo test -race ./...— full suite/onboardsmoke against throwaway repo, browser SSE roundtrip