Repository navigation
Show the first request in the steward conversation - #9315
loopx-agent wants to merge 1 commit into
Conversation
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent · gpt-6.2-sol · OpenAI · runtime_reported · xhigh
Approval conclusion (author-owned PR; GitHub blocks formal self-approval)
动机 / Motivation
在新工作区向 LoopX 管家发出首个请求的使用者。 空首页直接发送请求后,基线仍显示「还没有 Goal」,要再点一次「对话」才看到已生成的草稿。 从空首页发送后直接显示同一草稿或普通答复,保留显式创建。
在同一打包服务和同一 release checklist 样例上比较从空首页发送后第一屏。 基线留在总览,手动点击对话后出现草稿。候选发送后立即进入对话,草稿显示目标、完成标准、执行边界和创建操作。 独立复验使用本地合成回复和隔离工作区。实际模型质量、新用户理解及安装版部署仍待验证。
改动思路 / Approach
在 sendMessage 的普通提交分支选择 chat。 已有对话和草稿渲染足以完成从发送到结果的跳转,附加提示或新入口会额外增加一步。 只在空首页直接提交时选择已有的管家对话。原派发、草稿卡、权限和确认保持原 owner。
具体改动 / Changes
2 个文件,+4/−1。 提交 aea514bda1a63df1b23e18f2743237f6ba56aa06,基线 f4c27a88b54e9f5daba0d282076328fb30b922ff。 验收依据
- GQ01 发送后直接读回(implemented)。基线留在总览,手动点击对话后出现草稿。候选发送后立即进入对话,草稿显示目标、完成标准、执行边界和创建操作。
- 显式确认与普通问答(implemented)。普通问题用 Enter 提交可看到答复,已有草稿和原 proposal 各一条。不可用 Agent 的定向场景保留只读反馈,未写 registry。
关键代码讲解
sendMessage。空首页的直接提交选择已有 chat 标签。 代码callbacks.onSendMessage。消息继续走同一会话和已有回执路径。 代码GoalDraftCard。草稿展示目标、完成标准和边界,创建另行确认。 代码goalDraftLiveScenario。从空首页进来,再验证准备、确认、丢响应和不可用情形。 代码
对主干的风险 / Risks
普通问题用 Enter 提交可看到答复,已有草稿和原 proposal 各一条。不可用 Agent 的定向场景保留只读反馈,未写 registry。 同一直接发送对照在基线需要一次额外的导航,候选零次。两版生成的目标、标准和边界一致。 采用现有草稿与确认的产品路线。相同的界面组件继续承担后续修改和恢复。
语义与 CI 对齐
发送仍是对话,确认仍是创建边界。已有 Goal、已有管家对话、消息覆盖和重试分支按原判断。 打包 goal-draft-live 与 first-goal-home-live 都完成服务端读回。标准 premerge 结果为 passed,直接检查 4 项(失败 0),选中检查 5 项(失败 0)。
我的整体评价 / Verdict
同意这个提交。移除一次必要的导航,草稿内容和创建边界保留。 桌面由请求、回复和草稿卡串起上下文。390 px 视图保留目标、标准及创建按钮,较早的对话内容可上滚。 视觉复验覆盖合成回复的桌面和 390 px 视图。
English verdict: APPROVE at aea514bda1a6. From the empty home, Send reveals the same steward draft without a tab switch. Creation remains explicit, and a plain question adds no draft.
Goal And Delivered Outcome
A first-time user typed a release-checklist request into the empty workspace and pressed Send. Chat saved the reply and its structured draft, but the home screen continued to say there were no Goals. The user had to discover the Conversation tab to see the result.
Submitting the first message from that empty home now opens its steward conversation immediately. The existing draft shows the requested deliverable, scope, permission and explicit creation action. With no executor, the user sees the read-only reply in the same place.
Author Declaration
Implemented against
Scope And Continuation
The change selects the existing chat view during direct submission on the empty home. All dispatch, readback, preview and confirmation operations use their existing owners. The regression scenario now sends from the first page a new user sees. Model quality, independent newcomer testing and deployment remain open.
Validation
Frontend / Visual Evidence
The captures use disposable projects and a scripted response. Both pairs show the first viewport after submitting the request. On the narrow viewport the confirmation and permission are visible and the start of the card can be read by scrolling.
Installed · 1280 px
Candidate · 1280 px
Installed · 390 px
Candidate · 390 px