Repository navigation
Redesign the web workspace; rooms work as a group-chat bot crew - #47
Open
Robert0622 wants to merge 1 commit into
Open
Robert0622 wants to merge 1 commit into
Robert0622 wants to merge 1 commit into
Conversation
The home chat acts as the PM: once a requirement is clear it offers to hand the work to an SOP (fixed process, gated steps) or to a group-chat bot crew (open-ended work). The SOP picker now lists the platform templates too. Rooms follow the group-chat bot model. "@loopforge" answers a question from the room's context or starts a crew mission; the captain splits the work across role bots, hands each bot's output to the next one, and reports in the room. People steer by talking: replying to a bot or "@某个 Bot" adds a step, replying to a mission adds a requirement, any message unblocks a stuck step, and plain chatter is left alone. Messages can quote an earlier one, and a pending bot reply shows as typing. A finished crew can be saved as a draft SOP. Each step runs as a hidden one-node workflow through the normal dispatch path, so runs, logs and approvals work unchanged; the issue is reopened between steps because each successful run closes delivery. The flow canvas pans by dragging blank space (or shift+wheel) and leaves room for the floating properties panel. Sidebar, home, flow designer, role studio, assets and rooms share one design layer (design.css) with zh/en. UI structure tests follow the new hubs (交付/构建/洞察/平台/设置). The Playwright suite still targets the old layout and is not updated yet.
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.
Stacked on #46. Redesigns the LoopForge web workspace and turns rooms into a group-chat bot crew, following the Grok-bot model.
Positioning
LoopForge is your AI delivery team:
@LoopForgea question or hand it work. The captain pulls in role bots, each posts its result and hands off to the next, and people can step in at any time.What changed
Home
assistantLaunch.mode/modeReason).Rooms (
web/rooms.js,internal/httpapi/room_crew.go,room_ask.go)@LoopForge <question>gets an answer built from the room's history, the quoted message and the status of the room's tasks. Without a model key it still answers status questions and explains what it can do.@LoopForge <task>starts a crew mission:dispatchIssuepath, so runs, logs and approvals are unchanged.@某个 Bot, adds a step for that bot.sop-<mission>).Flow designer
Everywhere else
web/design.css(tokens--lf-*, light and dark), plus zh/en (web/i18n.js,web/i18n-en.js).Status
go vet ./...,go test ./internal/... ./web/...and the API e2e (go test -tags e2e ./e2e).TestCrewPlanRulesSplitsRolesByNameandTestCrewWantsAnswerSplitsQuestionsFromWork..nav[data-view="runs"], old page controls and the old onboarding tour. Updating them to the new hubs is the first follow-up.Follow-ups for whoever picks this up
e2e/tests/*.spec.jsto the new hubs and pages (VIEW_TABSETSinweb/app.jsmaps hubs to views).product-v3.css,product-v4.css,platform.css) thatdesign.csscurrently overrides with!important.To try it: run in demo mode, open 群聊, and type
@LoopForge 调研一下需求列表加负责人筛选的实现方案. The two demo bots (需求分析, 开发实现) run on the mock executor, so no model key is needed.