Phase 6.4 - Modular Architecture: - Add lewooogo-brain adapters for LLM providers - Add lewooogo-data dual memory (Redis + PostgreSQL) - Implement consensus engine for multi-agent decisions - Add incident memory service for historical context Phase 9 - Agent Teams (Claude Agent SDK): - Add base agent class with Claude Sonnet 4 integration - Implement action planner, blast radius, and security agents - Add agent API endpoints and proposal workflow - Integrate ADR-009 OpenClaw Agent Teams architecture DevOps & CI/CD: - Add GitHub Actions CI/CD workflows (ci.yaml, cd.yaml) - Add pre-commit hooks and secrets baseline - Add docker-compose for local development - Update Kubernetes network policies Frontend Improvements: - Add auto-healing error boundary component - Update i18n messages for agent features - Enhance dual-state incident card with execution feedback Documentation: - Add 7 ADRs covering MCP, design system, architecture decisions - Update ARCHITECTURE_MEMORY.md with modular design - Add GLOBAL_RULES.md and SOUL.md for project identity Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1.3 KiB
1.3 KiB
Automation 01: 開發循環自動化
觸發: 修改
apps/或packages/下的程式碼 目標: 自動執行檢查,減少手動 Allow
✅ 自動執行 (Tier 0/1) - 無需確認
前端修改後
# TypeScript 靜態檢查
cd apps/web && pnpm exec tsc --noEmit
# 如有疑慮,執行 build
cd apps/web && pnpm build
後端修改後
# Python 語法檢查
cd apps/api && python -c "from src.main import app; print('✅ Import OK')"
# 或完整檢查
cd apps/api && python -m py_compile src/**/*.py
完成任務後
- 自動更新相關 Memory MD
- 自動更新 LOGBOOK.md (重大里程碑)
- 自動回報驗證結果
⚡ 快速確認 (Tier 2) - 一次 Y 即可
| 操作 | 說明 |
|---|---|
git add + git commit |
提交變更 |
pnpm build (耗時) |
完整建置 |
docker-compose up |
本地測試 |
🔐 必須詳細確認 (Tier 3)
| 操作 | 說明 |
|---|---|
git push |
推送到遠端 |
kubectl apply |
部署到 K8s |
修改 .env / secrets |
機密操作 |
自動化流程圖
修改程式碼
↓
[自動] 靜態檢查 (tsc/py_compile)
↓
[自動] 更新 Memory
↓
[確認] git commit?
↓
[確認] git push?
↓
[確認] kubectl apply?