Files
AIclinicalresearch/docs/08-项目管理
HaHafeng 96290d2f76 feat(aia): Implement Protocol Agent MVP with reusable Agent framework
Sprint 1-3 Completed (Backend + Frontend):

Backend (Sprint 1-2):
- Implement 5-layer Agent framework (Query->Planner->Executor->Tools->Reflection)
- Create agent_schema with 6 tables (agent_definitions, stages, prompts, sessions, traces, reflexion_rules)
- Create protocol_schema with 2 tables (protocol_contexts, protocol_generations)
- Implement Protocol Agent core services (Orchestrator, ContextService, PromptBuilder)
- Integrate LLM service adapter (DeepSeek/Qwen/GPT-5/Claude)
- 6 API endpoints with full authentication
- 10/10 API tests passed

Frontend (Sprint 3):
- Add Protocol Agent entry in AgentHub (indigo theme card)
- Implement ProtocolAgentPage with 3-column layout
- Collapsible sidebar (Gemini style, 48px <-> 280px)
- StatePanel with 5 stage cards (scientific_question, pico, study_design, sample_size, endpoints)
- ChatArea with sync button and action cards integration
- 100% prototype design restoration (608 lines CSS)
- Detailed endpoints structure: baseline, exposure, outcomes, confounders

Features:
- 5-stage dialogue flow for research protocol design
- Conversation-driven interaction with sync-to-protocol button
- Real-time context state management
- One-click protocol generation button (UI ready, backend pending)

Database:
- agent_schema: 6 tables for reusable Agent framework
- protocol_schema: 2 tables for Protocol Agent
- Seed data: 1 agent + 5 stages + 9 prompts + 4 reflexion rules

Code Stats:
- Backend: 13 files, 4338 lines
- Frontend: 14 files, 2071 lines
- Total: 27 files, 6409 lines

Status: MVP core functionality completed, pending frontend-backend integration testing

Next: Sprint 4 - One-click protocol generation + Word export
2026-01-24 17:29:24 +08:00
..

项目管理

用途: 项目进度跟踪、计划管理、决策记录
维护者: 项目管理组
最后更新: 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