chore(ui-mac): REQ-088 T7 — remove unmounted session-spike/ dead code (#502) - #517
Merged
Merged
Conversation
…#502) The REQ-087 session-spike probe (SessionSpikeHost + spike-flag + spike-probe-core) became an unmounted orphan once T5 (#500) flipped the default session surface to Alpha and removed the spike host mount + localStorage double-gate. Delete the whole session-spike/ directory (6 files) and refresh the stale "T7 统一清理" comment in alpha-session-workspace.tsx. The anti-regression not.toContain guards in the session-workspace test stay as the ratchet against reintroduction. No behavior change (the directory had no production importer). Verified vs base fail-set: the sole worktree test failure (solid-js subprocess resolution) is pre-existing on origin/alpha; clean-checkout CI verifies. Fixes #502 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This was referenced Sep 17, 2026
Closed
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 子票 #502 · T7 清理。删除 T5(#500)翻转后已成孤儿的 REQ-087 session-spike 探针目录。
变更
packages/ui-mac/src/renderer/alpha-ui/session-spike/(6 文件:session-spike-host.tsx / spike-flag.ts / spike-probe-core.ts + 3 test)——[REQ-088][CODE] flip session release-state to alpha + drop localStorage double-gate + remove spike/release gate #500 删掉 SessionSpikeHost 挂载 + localStorage 双闸后,整目录无生产 importer,纯死代码。alpha-session-workspace.tsx顶部过时注释(「仍留在 session-spike/(T7 统一清理)」→ 已删)。not.toContain("SessionSpikeHost"|"isSessionSpikeEnabled"|"ALPHA_SESSION_SPIKE")反回归守卫。验证
零行为变更(无生产 importer)。worktree 唯一测试红 = solid-js 子进程解析(符号链接假红),base(origin/alpha)同款红,clean-checkout CI 复验。
Fixes #502
🤖 Generated with Claude Code