Summary: - Fix methodology score display issue in task list (show score instead of 'warn') - Add methodology_score field to database schema - Fix report display when only methodology agent is selected - Implement Word document export using docx library - Update documentation to v3.0/v3.1 Backend changes: - Add methodologyScore to Prisma schema and TaskSummary type - Update reviewWorker to save methodologyScore - Update getTaskList to return methodologyScore Frontend changes: - Install docx and file-saver libraries - Implement handleExportReport with Word generation - Fix activeTab auto-selection based on available data - Add proper imports for docx components Documentation: - Update RVW module status to 90% (Phase 1-5 complete) - Update system status document to v3.0 Tested: All review workflows verified, Word export functional
619 B
619 B
PKB迁移 - 阶段2进行中
🔧 当前问题
问题: pkbRoutes导入错误 原因: 使用了命名导出而非默认导出
✅ 解决方案
修改 src/index.ts 的导入语句:
// ❌ 错误(命名导出)
import { pkbRoutes } from './modules/pkb/index.js';
// ✅ 正确(默认导出)
import pkbRoutes from './modules/pkb/routes/index.js';
📝 已完成
- ✅ 创建PKB模块路由入口
- ✅ 添加健康检查端点
- ✅ 在主路由注册PKB模块
- ✅ 修复导入语句
⏭️ 下一步
- 重启服务器测试
- 验证新旧路由都可用