OG T
00d94ca71c
docs: CLAUDE.md 引用 HARD_RULES.md (禁止爆滿)
...
結構:
- CLAUDE.md: 精簡索引,只放引用連結
- docs/HARD_RULES.md: 詳細規則
這是早就溝通好的做法,不應該忘記。
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-03-23 23:32:35 +08:00
OG T
dc30c70e57
docs(CLAUDE.md): 新增絕對禁止規則 (Hard Rules)
...
問題:
- Memory 有記錄但沒有實際遵守
- CI workflow 被改成 ubuntu-latest 違反 Memory 鐵律
- 長期記憶形同虛設
修復:
- 直接在 CLAUDE.md 寫死禁止項目
- 新增修改前檢查清單
- 這些規則會在每次 Session 自動載入
禁止項目:
- runs-on: ubuntu-latest → self-hosted
- Telegram logOut() → 禁止
- 前端硬編碼 → next-intl
- SQLite → PostgreSQL
- CORS * → 白名單
- 假數據 → 真實 API
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-03-23 23:31:04 +08:00
OG T
2b1264df05
docs: 完整治理架構 ADR-010/011/012 + CLAUDE.md 鐵律更新
...
2026-03-23 重大事故修復與治理:
1. ADR-010: Secrets 集中管理 (Bitwarden + Sealed Secrets)
2. ADR-011: NetworkPolicy 變更治理 (偵測 + 告警 + 人工決策)
3. ADR-012: 危險操作治理 (Tier 分級 + CI/CD 攔截 + 審計)
4. UX-001: 告警疲勞解決方案 (時間衰減 + 智慧分組)
CLAUDE.md 更新:
- 新增最高優先級鐵律 (禁止 ClawBot、OpenClaw 核心、禁止危險 API)
- 新增任務開始前必讀 Memory 對照表
事故教訓:
- Telegram Token 連續三次被 logOut 失效
- AWOOOI API 程式碼呼叫 logOut 導致災難
- 已停用 AWOOOI API Telegram,OpenClaw 為唯一 Gateway
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-03-23 19:44:56 +08:00
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
OG T
41127f1e8b
docs: Add CLAUDE.md for Claude Code auto-load configuration
...
- Skills index and routing table
- Core rules (simplified)
- Props mapping lesson from Y/n button incident
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-03-23 14:05:58 +08:00