system-prompts-and-models-o.../salesflow-saas/openclaw/openclaw-config.yaml
Claude 9f55aad167
feat: Upgrade OpenClaw to 2026.4.11 with full new features
Upgraded from 2026.4.2 to 2026.4.11:

Stability & Transport:
- Safer provider transport with health checks and auto failover
- Connection pooling and graceful degradation

Exec Approvals (enhanced):
- 3-tier classification: auto_approve, require_approval, forbidden
- 11 approval-gated actions, 6 auto-approved, 3 forbidden

Subagents:
- max_spawn_depth: 2 (orchestrator pattern)
- max_concurrent: 8 with session isolation

Channels:
- WhatsApp: emoji reactions, typing indicator, auto-chunking
- Slack: exec approval routing
- Matrix: streaming + proxy + history + thread replies
- Email: outbound primary

Memory:
- Active Memory plugin with auto context injection
- REM backfill (replay old notes into durable memory)

Flows:
- Background task flow control plane (SQLite-backed)
- Checkpoint on step, resume on restart

https://claude.ai/code/session_01LsnvBa7HwF5hs99VZbgLGj
2026-04-12 02:01:53 +00:00

217 lines
5.0 KiB
YAML

# Dealix — OpenClaw runtime (aligned with MASTER-BLUEPRINT v4 + ULTIMATE_EXECUTION_MASTER_AR)
version: "2026.4.11"
project:
name: "dealix-autonomous-revenue-os"
environment: "production"
durable_task_flow: true
revision_tracking: true
checkpoint_store: "openclaw_state"
runtime:
engine: "OpenClaw"
timeouts:
agent_execution_minutes: 30
external_api_seconds: 120
human_approval_hours: 24
retry:
max_retries: 3
backoff: "exponential"
dead_letter_queue: true
# 2026.4.11: Improved stability + safer transport/routing
stability:
provider_transport: "safe"
connection_pooling: true
graceful_degradation: true
security:
zero_trust: true
strict_approvals: true
tenant_isolation: "required"
before_agent_reply_hook: "app.openclaw.hooks.before_agent_reply"
# 2026.4.11: Enhanced exec approvals
exec_approvals:
enabled: true
require_approval_for:
- "send_whatsapp"
- "send_email"
- "send_linkedin"
- "trigger_voice_call"
- "sync_salesforce"
- "create_contract"
- "send_contract_for_signature"
- "create_charge"
- "bulk_send"
- "deal_commitment"
- "pricing_change"
auto_approve:
- "read_data"
- "search"
- "classify"
- "score"
- "summarize"
- "draft"
forbidden:
- "delete_tenant"
- "drop_table"
- "export_all_data"
- "bypass_pdpl"
sensitive_actions:
- "send_whatsapp"
- "send_email"
- "send_linkedin"
- "trigger_voice_call"
- "sync_salesforce"
- "create_contract"
- "send_contract_for_signature"
- "create_charge"
# 2026.4.11: Enhanced subagent configuration
subagents:
enabled: true
max_spawn_depth: 2
max_children_per_agent: 5
max_concurrent: 8
orchestrator_pattern: true
# Depth 1 = orchestrator (can spawn workers)
# Depth 2 = leaf workers (cannot spawn further)
isolation: "session"
timeout_minutes: 15
# 2026.4.11: Multi-channel improvements
channels:
whatsapp:
role: "primary_channel_sa"
provider: "baileys"
reaction_level: "minimal"
media_max_mb_inbound: 50
media_max_mb_outbound: 5
auto_chunk_long_messages: true
typing_indicator: true
# 2026.4.11: Emoji reactions support
reactions_enabled: true
default_reactions:
received: "👀"
processing: "⏳"
completed: "✅"
error: "❌"
slack:
role: "internal_team"
# 2026.4.11: Exec approval routing via Slack
exec_approval_routing: true
telegram:
role: "secondary_channel"
enabled: false
matrix:
role: "internal_coordination"
# 2026.4.11: Streaming + proxy + history + thread replies
streaming: true
enabled: false
email:
role: "outbound_primary"
provider: "smtp"
# 2026.4.11: Active Memory plugin
memory:
active_memory:
enabled: true
auto_context_injection: true
max_context_items: 20
rem_backfill:
enabled: true
replay_old_notes: true
built_in:
memory_md: true
user_md: true
external_provider: "optional"
# In-app knowledge only
knowledge:
source_of_truth: "dealix_internal"
components:
- "postgresql_pgvector"
- "sector_assets"
- "knowledge_service"
policy: "tenant_scoped_retrieval"
# 2026.4.11: Background task flow control plane
flows:
enabled: true
storage: "sqlite"
task_ledger: true
cli_command: "openclaw flows"
checkpoint_on_step: true
resume_on_restart: true
plugins:
boundaries: "tight"
allowed:
- "salesforce-agentforce"
- "whatsapp-cloud"
- "stripe-billing"
- "voice-agents"
- "contract-intelligence"
- "active-memory"
blocked:
- "filesystem-write"
- "shell-exec"
- "unsandboxed-http"
orchestration:
langgraph:
subgraphs: true
checkpointing: true
human_in_the_loop:
enabled: true
approval_timeout_hours: 24
llm_routing:
note: "Implemented in backend app/services/model_router.py + LLM providers"
task_routing:
sales_decisions: "primary_sales_brain"
fast_classify: "low_latency"
proposals_copy: "high_quality_copy"
research_docs: "document_oriented"
# 2026.4.11: Safer provider transport
provider_transport:
health_check_interval_seconds: 30
failover_strategy: "automatic"
connection_reuse: true
integrations:
salesforce:
role: "crm_grounding"
whatsapp:
role: "primary_channel_sa"
stripe:
role: "billing"
voice:
role: "telephony_and_qualification"
contracts:
role: "esign_and_clause_intel"
monitoring:
business_kpis:
- "revenue_lift_vs_baseline"
- "deal_velocity"
- "win_rate_delta"
technical:
- "p95_latency"
- "error_rate_by_route"
flows:
prospecting_crew_v1:
durable: true
checkpoints: true
channels: ["whatsapp", "email", "linkedin", "voice"]
grounding: "salesforce-agentforce"
self_improvement_v2:
durable: true
schedule: "continuous"
phases:
- "collect_signals"
- "diagnose_bottlenecks"
- "generate_experiments"
- "run_ab_tests"
- "validate_security_governance"
- "promote_or_rollback"