feat(web): Team Home dashboard on Mission Hub#981
Conversation
|
@codex review |
|
To use Codex here, create a Codex account and connect to github. |
|
@codex review |
|
To use Codex here, create a Codex account and connect to github. |
|
Thanks for the PR. I'm triaging this as a potentially useful Mission Hub direction, but it is not ready for code review or merge yet. Blocking items before review:
Once this is rebased and scoped to the Team Home feature plus its necessary tests, we can review it against the F049/F058 Mission Hub behavior. For now I've marked it [zts212653 · 砚砚/gpt-5.5🐾] |
- Add 今日团队 tab to MissionControlPage - New team-home/ module: types, fixture, adapter, cat-handle, TeamHomePanel + 9 blocks - Derive mission phase/activeFeatureId/truthSourceUrl from BacklogItem tags - Empty fixture for baton/qualityGates/risks/memory/cvoDecisions to avoid fake states - Add --console-card-shadow token to console-tokens.css - Archive review request and screenshot in review-notes/
Why: The Team Home tab passed thread summaries into the adapter but still showed fixture baton/team state, so the page could not answer who holds the ball or which cats are participating. This wires existing backlog leases and thread activity into the visible Team Home model. [Codex/GPT-5.5🐾] Thread-Context: threadId=thread_mqjc2s5thaf5w0ch catId=codex
- Make evidenceCount/requiredEvidence optional; stop misusing audit log length as evidence count - Remove unreachable quality_gate/review/merge branches from inferNextAction - Restrict pickActiveItem to approved/dispatched so mission/baton/missions are consistent - Show '—' in ActiveMissionsTable when evidence fields are absent - Add regression tests for audit-not-evidence and active-work predicate [Claude/Deepseek🐾]
pickActiveItem was flattened to first approved/dispatched item, losing active-lease > dispatched > approved ordering. Restore priority inside the predicate and add regression test for item-order independence. [Claude/Deepseek🐾]
|
👋 @lming112 — 先感谢你的 cleanup,scope 现在干净(只剩 Team Home),mergeable 也恢复了 ✅ 不过我们刚刚发现一件事,比 review 流程本身更值得跟你聊:你这个 PR 实际撞上了我们 in-progress 的 F233 (Ball Custody Observability) ——而且不是边缘相关,是同一问题域的核心切片。我们想邀请你一起合作,而不是关掉你的 PR 自己另开一个。 为什么说撞上了你的 9 个 blocks 里 4 个直接对应 F233 的核心目标:
这不是表面词汇相似,是我们独立到达了同一个产品形态。 F233 是啥(背景)完整 spec 在
过去我们给猫修了一整圈球权 harness(漏传球熔断、乒乓球检测、虚空传球告警、路由守卫),但 CVO 接球后没有收件箱、没有晾龄计、没有超时提醒 —— 记忆压力全压给人。结果是铲屎官手里 132 个置顶 thread(怕忘 / 监工 / 冷冻 / 收藏四种语义挤一个布尔位),一年后崩溃。F233 就是给 CVO 加一层"保管链可观测"。 两个心愿不混一个界面,但共享数据源:一本账(球权事件流),两个读法(横切简报 + 纵切轨迹),一条下钻通道。 进度
关键:Phase B 把数据契约定下来了 —— append-only event log + projector pattern —— UI 不需要重新造 adapter。 你 PR 当前的数据层是孤立的你的 合作提议我们直接接住你这个 PR,把它作为 F233 Phase C 的 UI 切片来 land。具体合作方式:
下一步看你如果你 OK 这个合作方向:
如果你想保留你这版的数据层方案(你可能有我们没想到的考量),可以在这条 comment 下展开 trade-off 讨论,我们听。 不管哪条路径,你已经做的视觉/分块工作不会浪费。F233 spec 也是公开的,你可以先读一下再决定。 [宪宪/claude-opus-4-7🐾] — F233 Phase C acting plan owner |
|
@lming112 — 自首一下:我刚才那条 collab 邀请把你的工作往 F233 (Ball Custody Observability) 框架拉得太重了。重新读了你 #982 + PR body + 你原本说得很清楚(我之前漏了)你 PR body 里写的:"review packet noted that
而 F233 的 "球在谁手里" 是另一维度——thread 内的言语行为(行首 两个 "球在谁手里" 不是同一个东西:
可能有重叠,但不应该假设一定 collab。 想问你 3 个问题帮我把方向锁清楚再决定 F233 是合作还是 parallel:
三个答案的不同走向
你来定调,我和铲屎官跟着你的原始需求走。 P.S. F049/F058 是社区可见 spec,F233 我上一条贴的也是 public spec,你都可以读。三个 feature 怎么排关系,你的需求是 anchor。 [宪宪/claude-opus-4-7🐾] |
PR Type
Related Issue
Tracked in #982 (parent: F049 / F058 Mission Hub).
Feature Doc (Feature PRs only)
docs/features/F049-mission-control-backlog-center.md
docs/features/F058-mission-control-enhancements.md
What
Add a "今日团队" (Team Home) tab to
/mission-hubthat shows the team's current focus, baton holder, active missions, and member status derived from real backlog + thread state.Key files changed:
packages/web/src/components/mission-control/MissionControlPage.tsx— addtodaytabpackages/web/src/components/mission-control/team-home/— new panel, adapter, blocks, types, fixturepackages/web/src/components/__tests__/team-home-adapter.test.ts— adapter regression testspackages/web/src/app/console-tokens.css— dashboard card shadow tokensThis PR now contains only the Team Home scoped changes. The unrelated runtime/install/governance commits and the
review-notes/artifacts have been removed by rebasing onto currentmain.Why
The review packet noted that
threadsByBacklogIdwas passed through but unused, so the page could not answer "球在谁手里 / 哪些猫参与了". This PR wires the real backlog lease and thread state into the Team Home view while keeping modules without reliable sources (quality gates, risks, memory, CVO decisions) empty rather than inventing data.Tradeoff
/mission-hubinstead of a new app to keep MVP scope small.Test Evidence
Rebased onto current
origin/mainand scoped to Team Home files only.AC Checklist (Feature PRs only)
今日团队tab renders on/mission-hubfeature:F049tagsreview-notes/or screenshot artifacts included@zts212653 — this has been rebased and split per your triage feedback. Please review/confirm #982 scope and remove
triage/needs-infolabels when ready.