Complete integration of the old clinical research platform (www.xunzhengyixue.com) into the new AI platform via Token injection + iframe embedding: Backend: - Add legacy-bridge module (MySQL pool, auth service, routes) - POST /api/v1/legacy/auth: JWT -> phone lookup -> Token injection into old MySQL - Auto-create user in old system if not found (matched by phone number) Frontend: - LegacySystemPage: iframe container with Bridge URL construction - ResearchManagement + StatisticalTools entry components - Module registry updated from external links to iframe embed mode ECS (token-bridge.html deployed to www.xunzhengyixue.com): - Wrapper Bridge: sets cookies within same-origin context - Storage Access API for cross-site dev environments - CSS injection: hide old system nav/footer, remove padding gaps - Inner iframe loads target page with full DOM access (same-origin) Key technical decisions: - Token injection (direct MySQL write) instead of calling login API - Wrapper Bridge instead of parent-page cookie setting (cross-origin fix) - Storage Access API + SameSite=None;Secure for third-party cookie handling - User isolation guaranteed by phone number matching Documentation: - Integration plan v4.0 with full implementation record - Implementation summary with 6 pitfalls documented - System status guide updated (ST module now integrated) Tested: Local E2E verified - auto login, research management, 126 statistical tools, report generation, download, UI layout all working correctly Made-with: Cursor
项目管理
用途: 项目进度跟踪、计划管理、决策记录
维护者: 项目管理组
最后更新: 2025-11-07
📋 目录结构
08-项目管理/
├── 01-整体开发计划/ # 长期规划(季度/年度)
│ └── README.md
├── 02-里程碑规划/ # 中期规划(周/月)
│ ├── README.md
│ ├── 04-里程碑4-架构改造.md
│ └── 05-里程碑5-ASL模块开发.md
├── 03-每周计划/ # 短期跟踪(日/周)
│ ├── README.md
│ └── 周次-进度报告模板.md
├── 04-决策记录/ # 重要决策归档(ADR)
│ ├── README.md
│ ├── ADR模板.md
│ └── ADR-001-Schema隔离暂缓执行.md
└── 下一阶段行动计划-ASL启动.md # 当前阶段行动计划 ⭐
🎯 当前阶段
下一阶段行动计划(2025-11-07 至 2025-12-06)
核心目标: Schema隔离 + 前端统一架构 + ASL核心功能
四周规划:
- Week 1: Schema隔离(3详细+7空)
- Week 2: 前端统一架构 + 后端分层 ⭐⭐⭐
- Week 3-4: ASL核心功能(4个LLM筛选)
- Week 5+: LLM网关统一 + 其他模块
当前版本: 下一阶段行动计划-V2.2-前端架构优先版.md ⭐⭐⭐
版本历史:
-
V2.2版(前端架构优先) - 2025-11-09 ⭐ 当前版本
- 核心调整:前端架构提前到Week 2,避免返工
- LLM网关推迟到Week 5,聚焦核心
- 4个LLM已配置(DeepSeek/GPT-5/Claude-4.5/Qwen)
-
V2.1版(务实版) - 2025-11-09
- 核心调整:3详细+7空Schema策略
- Just-in-time设计,避免过度设计
-
V2.0版(模块化架构优先) - 2025-11-07
- 核心调整:Schema隔离 + 独立部署架构
-
V1.0版(ASL启动) - 2025-11-06
- 初始版本:直接启动ASL开发
🚀 快速导航
我想...
📋 了解项目整体规划
→ 查看 整体开发计划
🎯 了解当前阶段要做什么
→ 查看 下一阶段行动计划-V2.2(前端架构优先版) ⭐⭐⭐
📊 查看本周要做什么
→ 查看 每周计划
🔍 了解某个决策为什么这样做
→ 查看 决策记录
维护者: 项目管理组
创建日期: 2025-11-06
最后更新: 2025-11-07