Major Changes: - Implement Platform-Only architecture pattern (unified task management) - Add PostgresCacheAdapter for unified caching (platform_schema.app_cache) - Add PgBossQueue for job queue management (platform_schema.job) - Implement CheckpointService using job.data (generic for all modules) - Add intelligent threshold-based dual-mode processing (THRESHOLD=50) - Add task splitting mechanism (auto chunk size recommendation) - Refactor ASL screening service with smart mode selection - Refactor DC extraction service with smart mode selection - Register workers for ASL and DC modules Technical Highlights: - All task management data stored in platform_schema.job.data (JSONB) - Business tables remain clean (no task management fields) - CheckpointService is generic (shared by all modules) - Zero code duplication (DRY principle) - Follows 3-layer architecture principle - Zero additional cost (no Redis needed, save 8400 CNY/year) Code Statistics: - New code: ~1750 lines - Modified code: ~500 lines - Test code: ~1800 lines - Documentation: ~3000 lines Testing: - Unit tests: 8/8 passed - Integration tests: 2/2 passed - Architecture validation: passed - Linter errors: 0 Files: - Platform layer: PostgresCacheAdapter, PgBossQueue, CheckpointService, utils - ASL module: screeningService, screeningWorker - DC module: ExtractionController, extractionWorker - Tests: 11 test files - Docs: Updated 4 key documents Status: Phase 1-7 completed, Phase 8-9 pending
ASL - AI智能文献
模块代号: ASL (AI Smart Literature)
开发状态: ⏳ 下一步开发(Week 2-4)
商业价值: ⭐⭐⭐⭐⭐ 可独立售卖
独立性: ⭐⭐⭐⭐⭐
优先级: P0
📋 模块概述
AI智能文献筛选系统,帮助研究者快速筛选和分析文献。
核心价值: 核心差异化功能,可独立售卖
🎯 核心功能(6个模块)
- ✅ 标题摘要初筛 - 双模型AI判断
- ✅ 全文复筛 - PDF全文分析
- ⏳ 全文解析与数据提取
- ⏳ 数据分析与报告生成
- ⏳ 系统评价与Meta分析
- ⏳ 文献管理
本周重点: 标题摘要初筛 + 全文复筛
📂 文档结构
ASL-AI智能文献/
├── [AI对接] ASL快速上下文.md # ⏳ 待创建
├── 00-项目概述/
│ ├── 01-产品需求文档(PRD).md # ⏳ 待合并(3个PRD)
│ └── ...
├── 01-设计文档/
│ ├── 02-数据库设计.md
│ ├── 03-API设计.md
│ └── 07-UI设计/
│ ├── 标题摘要初筛原型.html
│ └── 全文复筛原型.html
└── README.md # ✅ 当前文档
🔗 依赖的通用能力
- LLM网关 - 双模型AI判断
- 文档处理引擎 - PDF全文提取
- RAG引擎 - 文献内容检索
🎯 商业模式
目标客户: 系统评价研究者、循证医学中心
售卖方式: 独立产品
定价策略: 按项目数或按月订阅
最后更新: 2025-11-06
维护人: 技术架构师