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>
This commit is contained in:
@@ -175,14 +175,18 @@ class Settings(BaseSettings):
|
||||
default=30,
|
||||
description="Timeout for K8s operations in seconds",
|
||||
)
|
||||
K8S_API_KEY: str = Field(
|
||||
default="",
|
||||
description="API Key for K8s admin endpoints (X-K8s-Api-Key header)",
|
||||
)
|
||||
|
||||
# ==========================================================================
|
||||
# SQLite Database (CTO-201 Audit Log)
|
||||
# 統帥鐵律:禁止 SQLite (AWOOOI 憲法)
|
||||
# ==========================================================================
|
||||
# ❌ 已移除 SQLITE_DATABASE_URL - 違反 AWOOOI 憲法
|
||||
# 所有持久化必須使用 PostgreSQL (DATABASE_URL)
|
||||
# 審計日誌請使用 PostgreSQL audit_logs 表
|
||||
# ==========================================================================
|
||||
SQLITE_DATABASE_URL: str = Field(
|
||||
default="sqlite+aiosqlite:///./awoooi.db",
|
||||
description="SQLite database URL for local audit logs (PostgreSQL-ready schema)",
|
||||
)
|
||||
|
||||
# ==========================================================================
|
||||
# Cache TTL (seconds)
|
||||
|
||||
@@ -15,7 +15,6 @@ ADR-004: SSE 串流企業級實作模式 (Buffer + AbortController + Zustand)
|
||||
import asyncio
|
||||
import json
|
||||
import uuid
|
||||
import weakref
|
||||
from collections.abc import AsyncGenerator
|
||||
from dataclasses import dataclass, field
|
||||
from datetime import datetime, timezone
|
||||
|
||||
Reference in New Issue
Block a user