forked from anomalyco/opencode
-
Notifications
You must be signed in to change notification settings - Fork 0
[REQ-087] Legacy Session 边界映射完成并退出实验路径 #202
Copy link
Copy link
Closed
3 / 33 of 3 issues completedLabels
area:contractsContracts, schemas, or compatibilityContracts, schemas, or compatibilityarea:productUser-facing product behaviorUser-facing product behaviorarea:runtimeServices, jobs, infrastructure, or operationsServices, jobs, infrastructure, or operationstype:requirementA product or cross-repository outcomeA product or cross-repository outcome
Description
Activity
Metadata
Metadata
Assignees
Labels
area:contractsContracts, schemas, or compatibilityContracts, schemas, or compatibilityarea:productUser-facing product behaviorUser-facing product behaviorarea:runtimeServices, jobs, infrastructure, or operationsServices, jobs, infrastructure, or operationstype:requirementA product or cross-repository outcomeA product or cross-repository outcome
简明目的
把已经完成使命的 Session 可行性实验收尾:补齐少量映射和观测证据,然后删除实验开关与探针,不再继续扩张 spike。
Outcome(专业定义)
REQ-087 仅交付一份可执行的 Legacy Session 边界映射、必要的 provider/SSE 生命周期观测,以及实验资产退出方案;这些结果为 #203 的正式 Session shell 提供约束。原型 GO/NO-GO 已完成,本需求不再承担产品实现或长期性能研究。
Complexity
S — 剩余范围仅为已有 spike 的映射、计数证据和清理,不应引入新架构。
Context
#180 已完成最初可行性 spike;当前仍开放的 #268/#269 是未补齐的 side-panel/private-context 映射与 provider/SSE 计数。继续保留旧的开放式 10 条实验验收会让已过时的 spike 与 #203 正式实现重复。
Scope
Non-goals
Acceptance criteria
AC1. side panel、private context、Provider 与事件订阅均映射到明确的正式 owner 或删除结论,没有“待后续研究”的未归属边界。
AC2.
session/server 切换的 provider 数量、SSE subscription 和关键注册项有可重复的基线,未出现线性累积。—— 2026-09-17 删除(owner 裁决):计数基线的唯一消费方 REQ-088(#203)已由 owner 裁决被 REQ-125 取代并关闭,承载计数的探针已删除(#269 以前提不成立关闭),基线没有读者。AC3. #203 可直接引用一份明确的 mount/unmount、scope 与 deep-import 约束清单。
AC4. spike host、实验 flag、probe-only asset 已从产品代码(
packages/ui-mac/src)删除;packages/ui-mac/test-live/req087/及其脚本入口作为已知残留保留(owner 接受,不另开清理票)。 (2026-09-17 按 owner 裁决改写,原文见编辑历史)AC5. #268 与 #269 完成后,本需求不再阻塞 #203,并按现有 REQ-087 身份关闭。
Evidence map
packages/ui-mac/src/renderer/alpha-ui/surface-seam-contract.test.ts:116闭世界深导入清单packages/ui-mac/test-live/req087/按裁决接受Acceptance owner
@jinjunnn — 按 AC 逐条验收并手工关闭;PR 不得关闭父需求。
设计要点
潜在问题与风险
过时性与兼容性结论
原开放式 spike 已过时,当前只保留 #268/#269 的映射、观测与清理。legacy host、实验 flags 与 reload 回退不兼容保留;完成剩余证据后关闭同一 REQ,不新建替代编号。
关联与职责边界
Delivery plan / 建议子票
[REQ-087][CODE] Add provider/SSE counters and server-change sampling to the session probe #269 — provider/SSE 计数与 server-change 采样。探针已删除,2026-09-16 以前提不成立关闭。test-live/req087/残留按 owner 2026-09-17 裁决接受,验收关闭 REQ-087。Dependencies