Files
awoooi/.agents/automations/02-deploy-verify.md
OG T 7478dc0254 feat(phase6-9): Complete modular architecture and Agent Teams
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>
2026-03-23 18:40:36 +08:00

1.1 KiB

Automation 02: 部署驗證自動化

觸發: 部署完成後 目標: 自動執行全鏈路驗證


自動執行 (Tier 0) - 無需確認

部署後立即執行

# 1. K8s Rollout 狀態
kubectl rollout status deployment/awoooi-api -n awoooi-prod
kubectl rollout status deployment/awoooi-web -n awoooi-prod

# 2. Pod 狀態
kubectl get pods -n awoooi-prod

# 3. API Health Check
curl -s https://awoooi.wooo.work/api/v1/health | jq '.'

# 4. 前端可達性
curl -s -o /dev/null -w "%{http_code}" https://awoooi.wooo.work/

自動產出驗證報告

## 部署驗證報告

| 項目 | 狀態 | 證據 |
|------|------|------|
| API Rollout | ✅/❌ | ... |
| Web Rollout | ✅/❌ | ... |
| API Health | ✅/❌ | HTTP xxx |
| Web 可達 | ✅/❌ | HTTP xxx |

異常時自動通報

如果任一項失敗:

  1. 立即通報統帥
  2. 建議回滾指令
  3. 記錄到 RCA Memory

🔐 回滾需確認 (Tier 3)

# 回滾需要統帥授權
kubectl rollout undo deployment/awoooi-api -n awoooi-prod