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
运维文档
文档定位: 系统运维、监控、故障排查
适用范围: 运维团队、SRE团队
📋 运维文档清单
| 文档 | 说明 | 状态 |
|---|---|---|
| 01-环境配置指南.md | 环境变量、数据库连接、API密钥配置 | ✅ 已完成 |
| 02-环境变量配置模板.md | .env配置模板,含CloseAI配置 ⭐ | ✅ 已完成 |
| 03-监控告警.md | 监控指标、告警规则 | ⏳ 待创建 |
| 04-故障排查.md | 常见问题排查手册 | ⏳ 待创建 |
| 05-备份恢复.md | 数据备份和恢复策略 | ⏳ 待创建 |
🎯 核心运维任务
1. 监控
- 系统健康检查
- 性能监控
- 告警通知
2. 日志
- 日志收集
- 日志分析
- 日志归档
3. 备份
- 数据库备份
- 文件备份
- 恢复演练
4. 故障处理
- 故障诊断
- 应急预案
- 事后总结
最后更新: 2025-11-06
维护人: 技术架构师