Repository navigation
feat(ui-mac): flip default session surface to alpha + drop spike double-gate (#500) - #513
Merged
Merged
Conversation
Flip the session release default to Alpha, remove the localStorage double-gate, and unmount the REQ-087 spike host for issue 500.
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.
父票 #181(REQ-088)· CODE 子票 #500 · T5。用户已批准的单向默认翻转:把打包默认会话面从 legacy 翻到 alpha,删除 localStorage 双闸 + REQ-087 spike host 挂载,使
resolved.session.mode === "alpha"成为唯一挂载条件。满足 #203 AC1/AC7。三处 seam(全部 packages/ui-mac,零改上游)
shared/alpha-surfaces.ts—SURFACE_RELEASE_STATES.session: "legacy"→"alpha"(home/newSession 早已 alpha)。renderer/alpha-ui/session-workspace/alpha-session-workspace.tsx— 删if (!isSessionSpikeEnabled()) return undefined短路 + 删未用 import;工厂现无条件返回组件,唯一挂载条件由调用方resolved.session.mode === "alpha"保证。renderer/index.tsx— 删SessionSpikeHostimport + 其挂载块。保留不动(边界)
ALPHA_SURFACE_SESSIONenv 逃生阀保留:main/alpha-surfaces.ts的 env>pin>release-default 解析器一字未改;回退 =ALPHA_SURFACE_SESSION=legacy(env-override 胜过 alpha pin,已测)。无需重发版即可回退。session-spike/目录不删(T7 统一清理),现为未挂载孤儿模块。验证
session.mode==="alpha"且工厂非 inert;ALPHA_SURFACE_SESSION=legacy仍强制 legacy;单一 seam 无双挂;spike host 从渲染树消失无悬挂引用。下游(非本票)
打包 RC 真机翻转演练 = #501 / L3(用户真机);本 PR 只翻源码默认,不产打包版。
Fixes #500
🤖 Generated with Claude Code