Calm 第一阶段(数据质量修复 OPC)MVP 单仓工程。
backend/: Spring Boot API(RBAC、能力包、OPC、治理、证据、评估、数据字典、系统配置)ai-runtime/: Python FastAPI 运行时(模拟 Agent 执行与证据输出)frontend/: Vue3 控制台(中英文切换、核心页面)infra/: Docker 验证环境、初始化与验收脚本
- 复制
infra/.env.example为infra/.env - 在仓库根目录运行:
docker compose -f infra/docker-compose.yml --profile full up -d --build
- 执行 Phase1 基线验收脚本:
powershell -ExecutionPolicy Bypass -File infra/scripts/verify.ps1
- 执行 Phase4 增量验收脚本(两种环境二选一):
- Linux/macOS/Git Bash:
bash infra/scripts/verify_phase4.sh - Windows PowerShell:
powershell -ExecutionPolicy Bypass -File infra/scripts/verify_phase4.ps1
- Linux/macOS/Git Bash:
- 统一数据字典:
dictionary_entries - 统一日志:JSON 结构化日志,统一字段(traceId、module、eventCode 等)
- 统一系统配置:
system_configs - 国际化:中英双语(后端消息文件 + 前端 i18n 模块化消息包)
- 前端交互:语义对话主入口(自然语言触发任务)+ 管理员审核辅助模式