TaskFlow
DashboardFreewriteWhiteboardsProjectsCRMTasksNotificationsSettingsAgent TowerAPI Docs
OpenClaw Docs
?

User

Member

Caricamento in corso...

Home
Progetti
Task
Notifiche
CRM

    OpenClaw

    Documentation Mirror

    Documentation Overview

    Docs

    Auth credential semantics
    Scheduled tasks
    Hooks
    Automation & tasks
    Standing orders
    Task flow
    Background tasks
    BlueBubbles
    Broadcast groups
    Channel routing
    Discord
    Feishu
    Google Chat
    Group messages
    Groups
    iMessage
    Chat channels
    IRC
    LINE
    Channel location parsing
    Matrix
    Matrix migration
    Matrix push rules for quiet previews
    Mattermost
    Microsoft Teams
    Nextcloud Talk
    Nostr
    Pairing
    QA channel
    QQ bot
    Signal
    Slack
    Synology Chat
    Telegram
    Tlon
    Channel troubleshooting
    Twitch
    WeChat
    WhatsApp
    Yuanbao
    Zalo
    Zalo personal
    CI pipeline
    ACP
    Agent
    Agents
    Approvals
    Backup
    Browser
    Channels
    Clawbot
    `openclaw commitments`
    Completion
    Config
    Configure
    Cron
    Daemon
    Dashboard
    Devices
    Directory
    DNS
    Docs
    Doctor
    Flows (redirect)
    Gateway
    Health
    Hooks
    CLI reference
    Inference CLI
    Logs
    MCP
    Memory
    Message
    Migrate
    Models
    Node
    Nodes
    Onboard
    Pairing
    Plugins
    Proxy
    QR
    Reset
    Sandbox CLI
    Secrets
    Security
    Sessions
    Setup
    Skills
    Status
    System
    `openclaw tasks`
    TUI
    Uninstall
    Update
    Voicecall
    Webhooks
    Wiki
    Active memory
    Agent runtime
    Agent loop
    Agent runtimes
    Agent workspace
    Gateway architecture
    Channel docking
    Inferred commitments
    Compaction
    Context
    Context engine
    Delegate architecture
    Dreaming
    Experimental features
    Features
    Markdown formatting
    Memory overview
    Builtin memory engine
    Honcho memory
    QMD memory engine
    Memory search
    Messages
    Model failover
    Model providers
    Models CLI
    Multi-agent routing
    OAuth
    OpenClaw App SDK
    Presence
    QA overview
    Matrix QA
    Command queue
    Steering queue
    Retry policy
    Session management
    Session pruning
    Session tools
    SOUL.md personality guide
    Streaming and chunking
    System prompt
    Timezones
    TypeBox
    Typing indicators
    Usage tracking
    Date and time
    Node + tsx crash
    Diagnostics flags
    Authentication
    Background exec and process tool
    Bonjour discovery
    Bridge protocol
    CLI backends
    Configuration — agents
    Configuration — channels
    Configuration — tools and custom providers
    Configuration
    Configuration examples
    Configuration reference
    Diagnostics export
    Discovery and transports
    Doctor
    Gateway lock
    Health checks
    Heartbeat
    Gateway runbook
    Local models
    Gateway logging
    Multiple gateways
    Network model
    OpenAI chat completions
    OpenResponses API
    OpenShell
    OpenTelemetry export
    Gateway-owned pairing
    Prometheus metrics
    Gateway protocol
    Remote access
    Remote gateway setup
    Sandbox vs tool policy vs elevated
    Sandboxing
    Secrets management
    Secrets apply plan contract
    Security audit checks
    Security
    Tailscale
    Tools invoke API
    Troubleshooting
    Trusted proxy auth
    Debugging
    Environment variables
    FAQ
    FAQ: first-run setup
    FAQ: models and auth
    GPT-5.5 / Codex agentic parity
    GPT-5.5 / Codex parity maintainer notes
    Help
    Scripts
    Testing
    Testing: live suites
    General troubleshooting
    OpenClaw
    Ansible
    Azure
    Bun (experimental)
    ClawDock
    Release channels
    DigitalOcean
    Docker
    Docker VM runtime
    exe.dev
    Fly.io
    GCP
    Hetzner
    Hostinger
    Install
    Installer internals
    Kubernetes
    macOS VMs
    Migration guide
    Migrating from Claude
    Migrating from Hermes
    Nix
    Node.js
    Northflank
    Oracle Cloud
    Podman
    Railway
    Raspberry Pi
    Render
    Uninstall
    Updating
    Logging
    Network
    Audio and voice notes
    Camera capture
    Image and media support
    Nodes
    Location command
    Media understanding
    Talk mode
    Node troubleshooting
    Voice wake
    Pi integration architecture
    Pi development workflow
    Android app
    Platforms
    iOS app
    Linux app
    Gateway on macOS
    Canvas
    Gateway lifecycle
    macOS dev setup
    Health checks (macOS)
    Menu bar icon
    macOS logging
    Menu bar
    Peekaboo bridge
    macOS permissions
    Remote control
    macOS signing
    Skills (macOS)
    Voice overlay
    Voice wake (macOS)
    WebChat (macOS)
    macOS IPC
    macOS app
    Windows
    Plugin internals
    Plugin architecture internals
    Building plugins
    Plugin bundles
    Codex Computer Use
    Codex harness
    Community plugins
    Plugin compatibility
    Google Meet plugin
    Plugin hooks
    Plugin manifest
    Memory LanceDB
    Memory wiki
    Message presentation
    Agent harness plugins
    Building channel plugins
    Channel turn kernel
    Plugin entry points
    Plugin SDK migration
    Plugin SDK overview
    Building provider plugins
    Plugin runtime helpers
    Plugin setup and config
    Plugin SDK subpaths
    Plugin testing
    Skill workshop plugin
    Voice call plugin
    Webhooks plugin
    Zalo personal plugin
    OpenProse
    Alibaba Model Studio
    Anthropic
    Arcee AI
    Azure Speech
    Amazon Bedrock
    Amazon Bedrock Mantle
    Chutes
    Claude Max API proxy
    Cloudflare AI gateway
    ComfyUI
    Deepgram
    Deepinfra
    DeepSeek
    ElevenLabs
    Fal
    Fireworks
    GitHub Copilot
    GLM (Zhipu)
    Google (Gemini)
    Gradium
    Groq
    Hugging Face (inference)
    Provider directory
    Inferrs
    Inworld
    Kilocode
    LiteLLM
    LM Studio
    MiniMax
    Mistral
    Model provider quickstart
    Moonshot AI
    NVIDIA
    Ollama
    OpenAI
    OpenCode
    OpenCode Go
    OpenRouter
    Perplexity
    Qianfan
    Qwen
    Runway
    SGLang
    StepFun
    Synthetic
    Tencent Cloud (TokenHub)
    Together AI
    Venice AI
    Vercel AI gateway
    vLLM
    Volcengine (Doubao)
    Vydra
    xAI
    Xiaomi MiMo
    Z.AI
    Default AGENTS.md
    Release policy
    API usage and costs
    Credits
    Device model database
    Full release validation
    Memory configuration reference
    OpenClaw App SDK API design
    Prompt caching
    Rich output protocol
    RPC adapters
    SecretRef credential surface
    Session management deep dive
    AGENTS.md template
    BOOT.md template
    BOOTSTRAP.md template
    HEARTBEAT.md template
    IDENTITY template
    SOUL.md template
    TOOLS.md template
    USER template
    Tests
    Token use and costs
    Transcript hygiene
    Onboarding reference
    Contributing to the threat model
    Threat model (MITRE ATLAS)
    Formal verification (security models)
    Network proxy
    Agent bootstrapping
    Docs directory
    Getting started
    Docs hubs
    OpenClaw lore
    Onboarding (macOS app)
    Onboarding overview
    Personal assistant setup
    Setup
    Showcase
    Onboarding (CLI)
    CLI automation
    CLI setup reference
    ACP agents
    ACP agents — setup
    Agent send
    apply_patch tool
    Brave search
    Browser (OpenClaw-managed)
    Browser control API
    Browser troubleshooting
    Browser login
    WSL2 + Windows + remote Chrome CDP troubleshooting
    BTW side questions
    ClawHub
    Code execution
    Creating skills
    Diffs
    DuckDuckGo search
    Elevated mode
    Exa search
    Exec tool
    Exec approvals
    Exec approvals — advanced
    Firecrawl
    Gemini search
    Grok search
    Image generation
    Tools and plugins
    Kimi search
    LLM task
    Lobster
    Tool-loop detection
    Media overview
    MiniMax search
    Multi-agent sandbox and tools
    Music generation
    Ollama web search
    PDF tool
    Perplexity search
    Plugins
    Reactions
    SearXNG search
    Skills
    Skills config
    Slash commands
    Sub-agents
    Tavily
    Thinking levels
    Tokenjuice
    Trajectory bundles
    Text-to-speech
    Video generation
    Web search
    Web fetch
    Linux server
    Control UI
    Dashboard
    Web
    TUI
    WebChat

    OpenAPI Specs

    openapi
    TaskFlow
    docs/openclaw
    Original Docs

    Real-time Synchronized Documentation

    Last sync: 01/05/2026 07:01:30

    Note: This content is mirrored from docs.openclaw.ai and is subject to their terms and conditions.

    OpenClaw Docs

    v2.4.0 Production

    Last synced: Today, 22:00

    Technical reference for the OpenClaw framework. Real-time synchronization with the official documentation engine.

    Use this file to discover all available pages before exploring further.

    Exec approvals — advanced

    Advanced exec-approval topics: the

    text
    safeBins
    fast-path, interpreter/runtime binding, and approval-forwarding to chat channels (including native delivery). For the core policy and approval flow, see Exec approvals.

    Safe bins (stdin-only)

    text
    tools.exec.safeBins
    defines a small list of stdin-only binaries (for example
    text
    cut
    ) that can run in allowlist mode without explicit allowlist entries. Safe bins reject positional file args and path-like tokens, so they can only operate on the incoming stream. Treat this as a narrow fast-path for stream filters, not a general trust list.

    warning

    Do **not** add interpreter or runtime binaries (for example `python3`, `node`, `ruby`, `bash`, `sh`, `zsh`) to `safeBins`. If a command can evaluate code, execute subcommands, or read files by design, prefer explicit allowlist entries and keep approval prompts enabled. Custom safe bins must define an explicit profile in `tools.exec.safeBinProfiles.`.

    Default safe bins:

    text
    cut
    ,
    text
    uniq
    ,
    text
    head
    ,
    text
    tail
    ,
    text
    tr
    ,
    text
    wc

    text
    grep
    and
    text
    sort
    are not in the default list. If you opt in, keep explicit allowlist entries for their non-stdin workflows. For
    text
    grep
    in safe-bin mode, provide the pattern with
    text
    -e
    /
    text
    --regexp
    ; positional pattern form is rejected so file operands cannot be smuggled as ambiguous positionals.

    Argv validation and denied flags

    Validation is deterministic from argv shape only (no host filesystem existence checks), which prevents file-existence oracle behavior from allow/deny differences. File-oriented options are denied for default safe bins; long options are validated fail-closed (unknown flags and ambiguous abbreviations are rejected).

    Denied flags by safe-bin profile:

    • text
      grep
      :
      text
      --dereference-recursive
      ,
      text
      --directories
      ,
      text
      --exclude-from
      ,
      text
      --file
      ,
      text
      --recursive
      ,
      text
      -R
      ,
      text
      -d
      ,
      text
      -f
      ,
      text
      -r
    • text
      jq
      :
      text
      --argfile
      ,
      text
      --from-file
      ,
      text
      --library-path
      ,
      text
      --rawfile
      ,
      text
      --slurpfile
      ,
      text
      -L
      ,
      text
      -f
    • text
      sort
      :
      text
      --compress-program
      ,
      text
      --files0-from
      ,
      text
      --output
      ,
      text
      --random-source
      ,
      text
      --temporary-directory
      ,
      text
      -T
      ,
      text
      -o
    • text
      wc
      :
      text
      --files0-from

    Safe bins also force argv tokens to be treated as literal text at execution time (no globbing and no

    text
    $VARS
    expansion) for stdin-only segments, so patterns like
    text
    *
    or
    text
    $HOME/...
    cannot be used to smuggle file reads.

    Trusted binary directories

    Safe bins must resolve from trusted binary directories (system defaults plus optional

    text
    tools.exec.safeBinTrustedDirs
    ).
    text
    PATH
    entries are never auto-trusted. Default trusted directories are intentionally minimal:
    text
    /bin
    ,
    text
    /usr/bin
    . If your safe-bin executable lives in package-manager/user paths (for example
    text
    /opt/homebrew/bin
    ,
    text
    /usr/local/bin
    ,
    text
    /opt/local/bin
    ,
    text
    /snap/bin
    ), add them explicitly to
    text
    tools.exec.safeBinTrustedDirs
    .

    Shell chaining, wrappers, and multiplexers

    Shell chaining (

    text
    &&
    ,
    text
    ||
    ,
    text
    ;
    ) is allowed when every top-level segment satisfies the allowlist (including safe bins or skill auto-allow). Redirections remain unsupported in allowlist mode. Command substitution (
    text
    $()
    / backticks) is rejected during allowlist parsing, including inside double quotes; use single quotes if you need literal
    text
    $()
    text.

    On macOS companion-app approvals, raw shell text containing shell control or expansion syntax (

    text
    &&
    ,
    text
    ||
    ,
    text
    ;
    ,
    text
    |
    ,
    text
    `
    ,
    text
    $
    ,
    text
    <
    ,
    text
    >
    ,
    text
    (
    ,
    text
    )
    ) is treated as an allowlist miss unless the shell binary itself is allowlisted.

    For shell wrappers (

    text
    bash|sh|zsh ... -c/-lc
    ), request-scoped env overrides are reduced to a small explicit allowlist (
    text
    TERM
    ,
    text
    LANG
    ,
    text
    LC_*
    ,
    text
    COLORTERM
    ,
    text
    NO_COLOR
    ,
    text
    FORCE_COLOR
    ).

    For

    text
    allow-always
    decisions in allowlist mode, known dispatch wrappers (
    text
    env
    ,
    text
    nice
    ,
    text
    nohup
    ,
    text
    stdbuf
    ,
    text
    timeout
    ) persist the inner executable path instead of the wrapper path. Shell multiplexers (
    text
    busybox
    ,
    text
    toybox
    ) are unwrapped for shell applets (
    text
    sh
    ,
    text
    ash
    , etc.) the same way. If a wrapper or multiplexer cannot be safely unwrapped, no allowlist entry is persisted automatically.

    If you allowlist interpreters like

    text
    python3
    or
    text
    node
    , prefer
    text
    tools.exec.strictInlineEval=true
    so inline eval still requires an explicit approval. In strict mode,
    text
    allow-always
    can still persist benign interpreter/script invocations, but inline-eval carriers are not persisted automatically.

    Safe bins versus allowlist

    Topic
    text
    tools.exec.safeBins
    Allowlist (
    text
    exec-approvals.json
    )
    GoalAuto-allow narrow stdin filtersExplicitly trust specific executables
    Match typeExecutable name + safe-bin argv policyResolved executable path glob, or bare command-name glob for PATH-invoked commands
    Argument scopeRestricted by safe-bin profile and literal-token rulesPath match only; arguments are otherwise your responsibility
    Typical examples
    text
    head
    ,
    text
    tail
    ,
    text
    tr
    ,
    text
    wc
    text
    jq
    ,
    text
    python3
    ,
    text
    node
    ,
    text
    ffmpeg
    , custom CLIs
    Best useLow-risk text transforms in pipelinesAny tool with broader behavior or side effects

    Configuration location:

    • text
      safeBins
      comes from config (
      text
      tools.exec.safeBins
      or per-agent
      text
      agents.list[].tools.exec.safeBins
      ).
    • text
      safeBinTrustedDirs
      comes from config (
      text
      tools.exec.safeBinTrustedDirs
      or per-agent
      text
      agents.list[].tools.exec.safeBinTrustedDirs
      ).
    • text
      safeBinProfiles
      comes from config (
      text
      tools.exec.safeBinProfiles
      or per-agent
      text
      agents.list[].tools.exec.safeBinProfiles
      ). Per-agent profile keys override global keys.
    • allowlist entries live in host-local
      text
      ~/.openclaw/exec-approvals.json
      under
      text
      agents.<id>.allowlist
      (or via Control UI /
      text
      openclaw approvals allowlist ...
      ).
    • text
      openclaw security audit
      warns with
      text
      tools.exec.safe_bins_interpreter_unprofiled
      when interpreter/runtime bins appear in
      text
      safeBins
      without explicit profiles.
    • text
      openclaw doctor --fix
      can scaffold missing custom
      text
      safeBinProfiles.<bin>
      entries as
      text
      {}
      (review and tighten afterward). Interpreter/runtime bins are not auto-scaffolded.

    Custom profile example:

    json5
    { tools: { exec: { safeBins: ["jq", "myfilter"], safeBinProfiles: { myfilter: { minPositional: 0, maxPositional: 0, allowedValueFlags: ["-n", "--limit"], deniedFlags: ["-f", "--file", "-c", "--command"], }, }, }, }, }

    If you explicitly opt

    text
    jq
    into
    text
    safeBins
    , OpenClaw still rejects the
    text
    env
    builtin in safe-bin mode so
    text
    jq -n env
    cannot dump the host process environment without an explicit allowlist path or approval prompt.

    Interpreter/runtime commands

    Approval-backed interpreter/runtime runs are intentionally conservative:

    • Exact argv/cwd/env context is always bound.
    • Direct shell script and direct runtime file forms are best-effort bound to one concrete local file snapshot.
    • Common package-manager wrapper forms that still resolve to one direct local file (for example
      text
      pnpm exec
      ,
      text
      pnpm node
      ,
      text
      npm exec
      ,
      text
      npx
      ) are unwrapped before binding.
    • If OpenClaw cannot identify exactly one concrete local file for an interpreter/runtime command (for example package scripts, eval forms, runtime-specific loader chains, or ambiguous multi-file forms), approval-backed execution is denied instead of claiming semantic coverage it does not have.
    • For those workflows, prefer sandboxing, a separate host boundary, or an explicit trusted allowlist/full workflow where the operator accepts the broader runtime semantics.

    When approvals are required, the exec tool returns immediately with an approval id. Use that id to correlate later system events (

    text
    Exec finished
    /
    text
    Exec denied
    ). If no decision arrives before the timeout, the request is treated as an approval timeout and surfaced as a denial reason.

    Followup delivery behavior

    After an approved async exec finishes, OpenClaw sends a followup

    text
    agent
    turn to the same session.

    • If a valid external delivery target exists (deliverable channel plus target
      text
      to
      ), followup delivery uses that channel.
    • In webchat-only or internal-session flows with no external target, followup delivery stays session-only (
      text
      deliver: false
      ).
    • If a caller explicitly requests strict external delivery with no resolvable external channel, the request fails with
      text
      INVALID_REQUEST
      .
    • If
      text
      bestEffortDeliver
      is enabled and no external channel can be resolved, delivery is downgraded to session-only instead of failing.

    Approval forwarding to chat channels

    You can forward exec approval prompts to any chat channel (including plugin channels) and approve them with

    text
    /approve
    . This uses the normal outbound delivery pipeline.

    Config:

    json5
    { approvals: { exec: { enabled: true, mode: "session", // "session" | "targets" | "both" agentFilter: ["main"], sessionFilter: ["discord"], // substring or regex targets: [ { channel: "slack", to: "U12345678" }, { channel: "telegram", to: "123456789" }, ], }, }, }

    Reply in chat:

    text
    /approve <id> allow-once /approve <id> allow-always /approve <id> deny

    The

    text
    /approve
    command handles both exec approvals and plugin approvals. If the ID does not match a pending exec approval, it automatically checks plugin approvals instead.

    Plugin approval forwarding

    Plugin approval forwarding uses the same delivery pipeline as exec approvals but has its own independent config under

    text
    approvals.plugin
    . Enabling or disabling one does not affect the other.

    json5
    { approvals: { plugin: { enabled: true, mode: "targets", agentFilter: ["main"], targets: [ { channel: "slack", to: "U12345678" }, { channel: "telegram", to: "123456789" }, ], }, }, }

    The config shape is identical to

    text
    approvals.exec
    :
    text
    enabled
    ,
    text
    mode
    ,
    text
    agentFilter
    ,
    text
    sessionFilter
    , and
    text
    targets
    work the same way.

    Channels that support shared interactive replies render the same approval buttons for both exec and plugin approvals. Channels without shared interactive UI fall back to plain text with

    text
    /approve
    instructions.

    Same-chat approvals on any channel

    When an exec or plugin approval request originates from a deliverable chat surface, the same chat can now approve it with

    text
    /approve
    by default. This applies to channels such as Slack, Matrix, and Microsoft Teams in addition to the existing Web UI and terminal UI flows.

    This shared text-command path uses the normal channel auth model for that conversation. If the originating chat can already send commands and receive replies, approval requests no longer need a separate native delivery adapter just to stay pending.

    Discord and Telegram also support same-chat

    text
    /approve
    , but those channels still use their resolved approver list for authorization even when native approval delivery is disabled.

    For Telegram and other native approval clients that call the Gateway directly, this fallback is intentionally bounded to "approval not found" failures. A real exec approval denial/error does not silently retry as a plugin approval.

    Native approval delivery

    Some channels can also act as native approval clients. Native clients add approver DMs, origin-chat fanout, and channel-specific interactive approval UX on top of the shared same-chat

    text
    /approve
    flow.

    When native approval cards/buttons are available, that native UI is the primary agent-facing path. The agent should not also echo a duplicate plain chat

    text
    /approve
    command unless the tool result says chat approvals are unavailable or manual approval is the only remaining path.

    If a native approval client is configured but no native runtime is active for the originating channel, OpenClaw keeps the local deterministic

    text
    /approve
    prompt visible. If the native runtime is active and attempts delivery but no target receives the card, OpenClaw sends a same-chat fallback notice with the exact
    text
    /approve <id> <decision>
    command so the request can still be resolved.

    Generic model:

    • host exec policy still decides whether exec approval is required
    • text
      approvals.exec
      controls forwarding approval prompts to other chat destinations
    • text
      channels.<channel>.execApprovals
      controls whether that channel acts as a native approval client

    Native approval clients auto-enable DM-first delivery when all of these are true:

    • the channel supports native approval delivery
    • approvers can be resolved from explicit
      text
      execApprovals.approvers
      or owner identity such as
      text
      commands.ownerAllowFrom
    • text
      channels.<channel>.execApprovals.enabled
      is unset or
      text
      "auto"

    Set

    text
    enabled: false
    to disable a native approval client explicitly. Set
    text
    enabled: true
    to force it on when approvers resolve. Public origin-chat delivery stays explicit through
    text
    channels.<channel>.execApprovals.target
    .

    FAQ: Why are there two exec approval configs for chat approvals?

    • Discord:
      text
      channels.discord.execApprovals.*
    • Slack:
      text
      channels.slack.execApprovals.*
    • Telegram:
      text
      channels.telegram.execApprovals.*

    These native approval clients add DM routing and optional channel fanout on top of the shared same-chat

    text
    /approve
    flow and shared approval buttons.

    Shared behavior:

    • Slack, Matrix, Microsoft Teams, and similar deliverable chats use the normal channel auth model for same-chat
      text
      /approve
    • when a native approval client auto-enables, the default native delivery target is approver DMs
    • for Discord and Telegram, only resolved approvers can approve or deny
    • Discord approvers can be explicit (
      text
      execApprovals.approvers
      ) or inferred from
      text
      commands.ownerAllowFrom
    • Telegram approvers can be explicit (
      text
      execApprovals.approvers
      ) or inferred from
      text
      commands.ownerAllowFrom
    • Slack approvers can be explicit (
      text
      execApprovals.approvers
      ) or inferred from
      text
      commands.ownerAllowFrom
    • Slack native buttons preserve approval id kind, so
      text
      plugin:
      ids can resolve plugin approvals without a second Slack-local fallback layer
    • Matrix native DM/channel routing and reaction shortcuts handle both exec and plugin approvals; plugin authorization still comes from
      text
      channels.matrix.dm.allowFrom
    • Matrix native prompts include
      text
      com.openclaw.approval
      custom event content on the first prompt event so OpenClaw-aware Matrix clients can read structured approval state while stock clients keep the plain-text
      text
      /approve
      fallback
    • the requester does not need to be an approver
    • the originating chat can approve directly with
      text
      /approve
      when that chat already supports commands and replies
    • native Discord approval buttons route by approval id kind:
      text
      plugin:
      ids go straight to plugin approvals, everything else goes to exec approvals
    • native Telegram approval buttons follow the same bounded exec-to-plugin fallback as
      text
      /approve
    • when native
      text
      target
      enables origin-chat delivery, approval prompts include the command text
    • pending exec approvals expire after 30 minutes by default
    • if no operator UI or configured approval client can accept the request, the prompt falls back to
      text
      askFallback

    Sensitive owner-only group commands such as

    text
    /diagnostics
    and
    text
    /export-trajectory
    use private owner routing for approval prompts and final results. OpenClaw first tries a private route on the same surface where the owner ran the command. If that surface has no private owner route, it falls back to the first available owner route from
    text
    commands.ownerAllowFrom
    , so a Discord group command can still send the approval and result to the owner's Telegram DM when Telegram is the configured primary private interface. The group chat only gets a short acknowledgement.

    Telegram defaults to approver DMs (

    text
    target: "dm"
    ). You can switch to
    text
    channel
    or
    text
    both
    when you want approval prompts to appear in the originating Telegram chat/topic as well. For Telegram forum topics, OpenClaw preserves the topic for the approval prompt and the post-approval follow-up.

    See:

    • Discord
    • Telegram

    macOS IPC flow

    text
    Gateway -> Node Service (WS) | IPC (UDS + token + HMAC + TTL) v Mac App (UI + approvals + system.run)

    Security notes:

    • Unix socket mode
      text
      0600
      , token stored in
      text
      exec-approvals.json
      .
    • Same-UID peer check.
    • Challenge/response (nonce + HMAC token + request hash) + short TTL.

    Related

    • Exec approvals — core policy and approval flow
    • Exec tool
    • Elevated mode
    • Skills — skill-backed auto-allow behavior

    © 2024 TaskFlow Mirror

    Powered by TaskFlow Sync Engine