feat(soul): OpenClaw v5.6 — ADR-067五大Ollama應用 + Guardrail BLOCK層
capabilities.json: - 版本升至 5.6.0 - 新增 guardrail.block_layer (Sprint 5.1): Stateful服務封鎖、心跳排除 - 新增 adr067_ollama_applications: Phase 30-34五大應用完整描述 - RAG: 5814 chunks, ivfflat cosine_ops, /rag Telegram指令 - 明確 Ollama 111:11434 (ADR-067) vs 188:11434 (主模型) 分工 SOUL.md: - 更新主模型欄位: 區分 Ollama 188(主模型) vs 111(ADR-067五大應用) - 新增「圖片分析」到專長列表 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"name": "OpenClaw Capabilities",
|
||||
"version": "5.5.0",
|
||||
"version": "5.6.0",
|
||||
"description": "OpenClaw AI Agent 允許調用的工具與操作權限定義",
|
||||
"updated_at": "2026-04-09",
|
||||
"updated_at": "2026-04-10",
|
||||
|
||||
"kubernetes": {
|
||||
"allowed_operations": [
|
||||
@@ -152,6 +152,85 @@
|
||||
]
|
||||
},
|
||||
|
||||
"guardrail": {
|
||||
"block_layer": {
|
||||
"enabled": true,
|
||||
"description": "Sprint 5.1 — Stateful 服務永久封鎖,優先於所有審核流程",
|
||||
"blocked_services": ["postgres", "redis", "velero", "etcd"],
|
||||
"blocked_patterns": ["DROP", "DELETE FROM", "TRUNCATE", "pvc", "backup"],
|
||||
"heartbeat_exclusions": ["NoAlertsReceived", "Watchdog", "DeadManSwitch"],
|
||||
"on_block": "log_to_alert_operation_log + notify_telegram + abort"
|
||||
},
|
||||
"risk_levels": {
|
||||
"LOW": { "action": "auto_execute", "signatures": 0 },
|
||||
"STANDARD_HITL": { "action": "single_approval", "signatures": 1 },
|
||||
"CRITICAL_HITL": { "action": "multi_sig", "signatures": 2 },
|
||||
"BLOCK": { "action": "permanent_block", "signatures": null }
|
||||
}
|
||||
},
|
||||
|
||||
"adr067_ollama_applications": {
|
||||
"description": "ADR-067 五大 Ollama 本地 AI 應用 (Phase 30-34),全部使用 Ollama 111:11434",
|
||||
"ollama_endpoint": "http://192.168.0.111:11434",
|
||||
"applications": [
|
||||
{
|
||||
"phase": 30,
|
||||
"name": "drift_summary",
|
||||
"model": "qwen2.5:7b-instruct",
|
||||
"timeout_seconds": 90,
|
||||
"trigger": "Config Drift 偵測後自動觸發",
|
||||
"output": "中文摘要 Telegram 通知",
|
||||
"status": "active"
|
||||
},
|
||||
{
|
||||
"phase": 31,
|
||||
"name": "log_anomaly_summary",
|
||||
"model": "deepseek-r1:14b",
|
||||
"timeout_seconds": 120,
|
||||
"trigger": "Alertmanager 告警到達後觸發 NemoTron log 摘要",
|
||||
"output": "異常 log 中文摘要 Telegram 通知",
|
||||
"status": "active"
|
||||
},
|
||||
{
|
||||
"phase": 32,
|
||||
"name": "pr_code_review",
|
||||
"model": "qwen2.5-coder:7b",
|
||||
"timeout_seconds": 120,
|
||||
"trigger": "Gitea PR webhook",
|
||||
"output": "PR 審查意見 + 風險評估",
|
||||
"status": "active"
|
||||
},
|
||||
{
|
||||
"phase": 33,
|
||||
"name": "rag_knowledge_base",
|
||||
"embed_model": "nomic-embed-text",
|
||||
"embed_dimensions": 768,
|
||||
"gen_model": "qwen2.5:7b-instruct",
|
||||
"timeout_seconds": 30,
|
||||
"storage": "pgvector rag_chunks table (ivfflat cosine_ops lists=100)",
|
||||
"chunks_count": 5814,
|
||||
"sources": ["docs/runbooks", "docs/adr", "docs", ".agents/skills"],
|
||||
"api_endpoints": {
|
||||
"index": "POST /api/v1/rag/index",
|
||||
"query": "POST /api/v1/rag/query",
|
||||
"stats": "GET /api/v1/rag/stats",
|
||||
"optimize": "POST /api/v1/rag/optimize"
|
||||
},
|
||||
"telegram_command": "/rag <問題>",
|
||||
"status": "active"
|
||||
},
|
||||
{
|
||||
"phase": 34,
|
||||
"name": "image_analysis",
|
||||
"model": "llava:latest",
|
||||
"timeout_seconds": 60,
|
||||
"trigger": "Telegram 圖片上傳 或 API 呼叫",
|
||||
"output": "圖片內容中文描述",
|
||||
"status": "active"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"phase25_capabilities": {
|
||||
"config_drift_detection": {
|
||||
"enabled": true,
|
||||
|
||||
Reference in New Issue
Block a user