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:04:32

    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.

    Matrix QA

    The Matrix QA lane runs the bundled

    text
    @openclaw/matrix
    plugin against a disposable Tuwunel homeserver in Docker, with temporary driver, SUT, and observer accounts plus seeded rooms. It is the live transport-real coverage for Matrix.

    This is maintainer-only tooling. Packaged OpenClaw releases intentionally omit

    text
    qa-lab
    , so
    text
    openclaw qa
    is only available from a source checkout. Source checkouts load the bundled runner directly — no plugin install step is needed.

    For broader QA framework context, see QA overview.

    Quick start

    bash
    pnpm openclaw qa matrix --profile fast --fail-fast

    Plain

    text
    pnpm openclaw qa matrix
    runs
    text
    --profile all
    and does not stop on first failure. Use
    text
    --profile fast --fail-fast
    for a release gate; shard the catalog with
    text
    --profile transport|media|e2ee-smoke|e2ee-deep|e2ee-cli
    when running the full inventory in parallel.

    What the lane does

    1. Provisions a disposable Tuwunel homeserver in Docker (default image
      text
      ghcr.io/matrix-construct/tuwunel:v1.5.1
      , server name
      text
      matrix-qa.test
      , port
      text
      28008
      ).
    2. Registers three temporary users —
      text
      driver
      (sends inbound traffic),
      text
      sut
      (the OpenClaw Matrix account under test),
      text
      observer
      (third-party traffic capture).
    3. Seeds rooms required by the selected scenarios (main, threading, media, restart, secondary, allowlist, E2EE, verification DM, etc.).
    4. Starts a child OpenClaw gateway with the real Matrix plugin scoped to the SUT account;
      text
      qa-channel
      is not loaded in the child.
    5. Runs scenarios in sequence, observing events through the driver/observer Matrix clients.
    6. Tears down the homeserver, writes report and summary artifacts, then exits.

    CLI

    text
    pnpm openclaw qa matrix [options]

    Common flags

    FlagDefaultDescription
    text
    --profile <profile>
    text
    all
    Scenario profile. See Profiles.
    text
    --fail-fast
    offStop after the first failed check or scenario.
    text
    --scenario <id>
    —Run only this scenario. Repeatable. See Scenarios.
    text
    --output-dir <path>
    text
    <repo>/.artifacts/qa-e2e/matrix-<timestamp>
    Where reports, summary, observed events, and the output log are written. Relative paths resolve against
    text
    --repo-root
    .
    text
    --repo-root <path>
    text
    process.cwd()
    Repository root when invoking from a neutral working directory.
    text
    --sut-account <id>
    text
    sut
    Matrix account id inside the QA gateway config.

    Provider flags

    The lane uses a real Matrix transport but the model provider is configurable:

    FlagDefaultDescription
    text
    --provider-mode <mode>
    text
    live-frontier
    text
    mock-openai
    for deterministic mock dispatch or
    text
    live-frontier
    for live frontier providers. The legacy alias
    text
    live-openai
    still works.
    text
    --model <ref>
    provider defaultPrimary
    text
    provider/model
    ref.
    text
    --alt-model <ref>
    provider defaultAlternate
    text
    provider/model
    ref where scenarios switch mid-run.
    text
    --fast
    offEnable provider fast mode where supported.

    Matrix QA does not accept

    text
    --credential-source
    or
    text
    --credential-role
    . The lane provisions disposable users locally; there is no shared credential pool to lease against.

    Profiles

    The selected profile decides which scenarios run.

    ProfileUse it for
    text
    all
    (default)
    Full catalog. Slow but exhaustive.
    text
    fast
    Release-gate subset that exercises the live transport contract: canary, mention gating, allowlist block, reply shape, restart resume, thread follow-up, thread isolation, reaction observation, and exec approval metadata delivery.
    text
    transport
    Transport-level threading, DM, room, autojoin, mention/allowlist, approval, and reaction scenarios.
    text
    media
    Image, audio, video, PDF, EPUB attachment coverage.
    text
    e2ee-smoke
    Minimum E2EE coverage — basic encrypted reply, thread follow-up, bootstrap success.
    text
    e2ee-deep
    Exhaustive E2EE state-loss, backup, key, and recovery scenarios.
    text
    e2ee-cli
    text
    openclaw matrix encryption setup
    and
    text
    verify *
    CLI scenarios driven through the QA harness.

    The exact mapping lives in

    text
    extensions/qa-matrix/src/runners/contract/scenario-catalog.ts
    .

    Scenarios

    The full scenario id list is the

    text
    MatrixQaScenarioId
    union in
    text
    extensions/qa-matrix/src/runners/contract/scenario-catalog.ts:15
    . Categories include:

    • threading —
      text
      matrix-thread-*
      ,
      text
      matrix-subagent-thread-spawn
    • top-level / DM / room —
      text
      matrix-top-level-reply-shape
      ,
      text
      matrix-room-*
      ,
      text
      matrix-dm-*
    • streaming and tool progress —
      text
      matrix-room-partial-streaming-preview
      ,
      text
      matrix-room-quiet-streaming-preview
      ,
      text
      matrix-room-tool-progress-*
      ,
      text
      matrix-room-block-streaming
    • media —
      text
      matrix-media-type-coverage
      ,
      text
      matrix-room-image-understanding-attachment
      ,
      text
      matrix-attachment-only-ignored
      ,
      text
      matrix-unsupported-media-safe
    • routing —
      text
      matrix-room-autojoin-invite
      ,
      text
      matrix-secondary-room-*
    • reactions —
      text
      matrix-reaction-*
    • approvals —
      text
      matrix-approval-*
      (exec/plugin metadata, chunked fallback, deny reactions, threads, and
      text
      target: "both"
      routing)
    • restart and replay —
      text
      matrix-restart-*
      ,
      text
      matrix-stale-sync-replay-dedupe
      ,
      text
      matrix-room-membership-loss
      ,
      text
      matrix-homeserver-restart-resume
      ,
      text
      matrix-initial-catchup-then-incremental
    • mention gating, bot-to-bot, and allowlists —
      text
      matrix-mention-*
      ,
      text
      matrix-allowbots-*
      ,
      text
      matrix-allowlist-*
      ,
      text
      matrix-multi-actor-ordering
      ,
      text
      matrix-inbound-edit-*
      ,
      text
      matrix-mxid-prefixed-command-block
      ,
      text
      matrix-observer-allowlist-override
    • E2EE —
      text
      matrix-e2ee-*
      (basic reply, thread follow-up, bootstrap, recovery key lifecycle, state-loss variants, server backup behavior, device hygiene, SAS / QR / DM verification, restart, artifact redaction)
    • E2EE CLI —
      text
      matrix-e2ee-cli-*
      (encryption setup, idempotent setup, bootstrap failure, recovery-key lifecycle, multi-account, gateway-reply round-trip, self-verification)

    Pass

    text
    --scenario <id>
    (repeatable) to run a hand-picked set; combine with
    text
    --profile all
    to ignore profile gating.

    Environment variables

    VariableDefaultEffect
    text
    OPENCLAW_QA_MATRIX_TIMEOUT_MS
    text
    1800000
    (30 min)
    Hard upper bound on the entire run.
    text
    OPENCLAW_QA_MATRIX_CANARY_TIMEOUT_MS
    text
    45000
    Bound for the initial canary reply. Release CI raises this on shared runners so a slow first gateway turn does not fail before scenario coverage starts.
    text
    OPENCLAW_QA_MATRIX_NO_REPLY_WINDOW_MS
    text
    8000
    Quiet window for negative no-reply assertions. Clamped to
    text
    ≤
    the run timeout.
    text
    OPENCLAW_QA_MATRIX_CLEANUP_TIMEOUT_MS
    text
    90000
    Bound for Docker teardown. Failure surfaces include the recovery
    text
    docker compose ... down --remove-orphans
    command.
    text
    OPENCLAW_QA_MATRIX_TUWUNEL_IMAGE
    text
    ghcr.io/matrix-construct/tuwunel:v1.5.1
    Override the homeserver image when validating against a different Tuwunel version.
    text
    OPENCLAW_QA_MATRIX_PROGRESS
    on
    text
    0
    silences
    text
    [matrix-qa] ...
    progress lines on stderr.
    text
    1
    forces them on.
    text
    OPENCLAW_QA_MATRIX_CAPTURE_CONTENT
    redacted
    text
    1
    keeps message body and
    text
    formatted_body
    in
    text
    matrix-qa-observed-events.json
    . Default redacts to keep CI artifacts safe.
    text
    OPENCLAW_QA_MATRIX_DISABLE_FORCE_EXIT
    off
    text
    1
    skips the deterministic
    text
    process.exit
    after artifact write. The default forces exit because matrix-js-sdk's native crypto handles can keep the event loop alive past artifact completion.
    text
    OPENCLAW_RUN_NODE_OUTPUT_LOG
    unsetWhen set by an outer launcher (e.g.
    text
    scripts/run-node.mjs
    ), Matrix QA reuses that log path instead of starting its own tee.

    Output artifacts

    Written to

    text
    --output-dir
    :

    • text
      matrix-qa-report.md
      — Markdown protocol report (what passed, failed, was skipped, and why).
    • text
      matrix-qa-summary.json
      — Structured summary suitable for CI parsing and dashboards.
    • text
      matrix-qa-observed-events.json
      — Observed Matrix events from the driver and observer clients. Bodies are redacted unless
      text
      OPENCLAW_QA_MATRIX_CAPTURE_CONTENT=1
      ; approval metadata is summarized with selected safe fields and truncated command preview.
    • text
      matrix-qa-output.log
      — Combined stdout/stderr from the run. If
      text
      OPENCLAW_RUN_NODE_OUTPUT_LOG
      is set, the outer launcher's log is reused instead.

    The default output dir is

    text
    <repo>/.artifacts/qa-e2e/matrix-<timestamp>
    so successive runs do not overwrite each other.

    Triage tips

    • Run hangs near the end:
      text
      matrix-js-sdk
      native crypto handles can outlive the harness. The default forces a clean
      text
      process.exit
      after artifact write; if you have unset
      text
      OPENCLAW_QA_MATRIX_DISABLE_FORCE_EXIT=1
      , expect the process to linger.
    • Cleanup error: look for the printed recovery command (a
      text
      docker compose ... down --remove-orphans
      invocation) and run it manually to release the homeserver port.
    • Flaky negative-assertion windows in CI: lower
      text
      OPENCLAW_QA_MATRIX_NO_REPLY_WINDOW_MS
      (default 8 s) when CI is fast; raise it on slow shared runners.
    • Need redacted bodies for a bug report: rerun with
      text
      OPENCLAW_QA_MATRIX_CAPTURE_CONTENT=1
      and attach
      text
      matrix-qa-observed-events.json
      . Treat the resulting artifact as sensitive.
    • Different Tuwunel version: point
      text
      OPENCLAW_QA_MATRIX_TUWUNEL_IMAGE
      at the version under test. The lane checks in only the pinned default image.

    Live transport contract

    Matrix is one of three live transport lanes (Matrix, Telegram, Discord) that share a single contract checklist defined in QA overview → Live transport coverage.

    text
    qa-channel
    remains the broad synthetic suite and is intentionally not part of that matrix.

    Related

    • QA overview — overall QA stack and live transport contract
    • QA Channel — synthetic channel adapter for repo-backed scenarios
    • Testing — running tests and adding QA coverage
    • Matrix — the channel plugin under test

    © 2024 TaskFlow Mirror

    Powered by TaskFlow Sync Engine