docs/archives/129-session-store-single-source-refactor/README.md
完成 Session Store 架构重构,实现单一真源(Single Source of Truth)原则,解决跨模式状态污染问题,新增图像存储服务,优化代码分割。
✅ 已完成(迁移指南部分为长期规划)
bug-fix-testresults-display.md - P0 Bug修复记录
.valuearchitecture-comparison.md - 三种模式架构对比分析
test-plan.md - Session 持久化测试计划
Logic → Operations 迁移规划已归档至 docs/archives/132-architecture-migration-and-session-persistence-plans/architecture-migration-guide.md,包含:
5ea1004 - fix(ui): 修复跨模式状态污染问题,实现单一真源架构a364799 - fix(ui): 增强图像模式模型选择的防御性687a4f1 - fix(ui): 修复 session 状态持久化的 P0 问题3ede3d8 - refactor(ui): 重构 ImageWorkspace 为 session store 单一真源并修复历史加载2b669b9 - refactor(ui): 完善单一真源架构并优化代码分割packages/core/src/services/image/storage.ts (457 行)packages/core/src/services/image/index.ts (47 行)packages/ui/src/components/basic-mode/BasicSystemWorkspace.vue (680 行)packages/ui/src/components/basic-mode/BasicUserWorkspace.vue (685 行)packages/ui/src/components/image-mode/ImageImage2ImageWorkspace.vue (2,205 行)packages/ui/src/components/basic-mode/BasicModeWorkspace.vue (-635 行)packages/ui/src/composables/image/useImageWorkspace.ts (-927 行)<script setup> 中需要显式 .valueaccessedAt(LRU)