Caricamento in corso...
Caricamento in corso...
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.
The Matrix QA lane runs the bundled
@openclaw/matrixThis is maintainer-only tooling. Packaged OpenClaw releases intentionally omit
qa-labopenclaw qaFor broader QA framework context, see QA overview.
bashpnpm openclaw qa matrix --profile fast --fail-fast
Plain
pnpm openclaw qa matrix--profile all--profile fast --fail-fast--profile transport|media|e2ee-smoke|e2ee-deep|e2ee-clighcr.io/matrix-construct/tuwunel:v1.5.1matrix-qa.test28008driversutobserverqa-channeltextpnpm openclaw qa matrix [options]
| Flag | Default | Description |
|---|---|---|
text --profile <profile> | text all | Scenario profile. See Profiles. |
text --fail-fast | off | Stop 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. |
The lane uses a real Matrix transport but the model provider is configurable:
| Flag | Default | Description |
|---|---|---|
text --provider-mode <mode> | text live-frontier | text mock-openaitext live-frontiertext live-openai |
text --model <ref> | provider default | Primary text provider/model |
text --alt-model <ref> | provider default | Alternate text provider/model |
text --fast | off | Enable provider fast mode where supported. |
Matrix QA does not accept
--credential-source--credential-roleThe selected profile decides which scenarios run.
| Profile | Use it for |
|---|---|
text all | 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 setuptext verify * |
The exact mapping lives in
extensions/qa-matrix/src/runners/contract/scenario-catalog.tsThe full scenario id list is the
MatrixQaScenarioIdextensions/qa-matrix/src/runners/contract/scenario-catalog.ts:15matrix-thread-*matrix-subagent-thread-spawnmatrix-top-level-reply-shapematrix-room-*matrix-dm-*matrix-room-partial-streaming-previewmatrix-room-quiet-streaming-previewmatrix-room-tool-progress-*matrix-room-block-streamingmatrix-media-type-coveragematrix-room-image-understanding-attachmentmatrix-attachment-only-ignoredmatrix-unsupported-media-safematrix-room-autojoin-invitematrix-secondary-room-*matrix-reaction-*matrix-approval-*target: "both"matrix-restart-*matrix-stale-sync-replay-dedupematrix-room-membership-lossmatrix-homeserver-restart-resumematrix-initial-catchup-then-incrementalmatrix-mention-*matrix-allowbots-*matrix-allowlist-*matrix-multi-actor-orderingmatrix-inbound-edit-*matrix-mxid-prefixed-command-blockmatrix-observer-allowlist-overridematrix-e2ee-*matrix-e2ee-cli-*Pass
--scenario <id>--profile all| Variable | Default | Effect |
|---|---|---|
text OPENCLAW_QA_MATRIX_TIMEOUT_MS | text 1800000 | 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 ≤ |
text OPENCLAW_QA_MATRIX_CLEANUP_TIMEOUT_MS | text 90000 | Bound for Docker teardown. Failure surfaces include the recovery text docker compose ... down --remove-orphans |
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 0text [matrix-qa] ...text 1 |
text OPENCLAW_QA_MATRIX_CAPTURE_CONTENT | redacted | text 1text formatted_bodytext matrix-qa-observed-events.json |
text OPENCLAW_QA_MATRIX_DISABLE_FORCE_EXIT | off | text 1text process.exit |
text OPENCLAW_RUN_NODE_OUTPUT_LOG | unset | When set by an outer launcher (e.g. text scripts/run-node.mjs |
Written to
--output-dirmatrix-qa-report.mdmatrix-qa-summary.jsonmatrix-qa-observed-events.jsonOPENCLAW_QA_MATRIX_CAPTURE_CONTENT=1matrix-qa-output.logOPENCLAW_RUN_NODE_OUTPUT_LOGThe default output dir is
<repo>/.artifacts/qa-e2e/matrix-<timestamp>matrix-js-sdkprocess.exitOPENCLAW_QA_MATRIX_DISABLE_FORCE_EXIT=1docker compose ... down --remove-orphansOPENCLAW_QA_MATRIX_NO_REPLY_WINDOW_MSOPENCLAW_QA_MATRIX_CAPTURE_CONTENT=1matrix-qa-observed-events.jsonOPENCLAW_QA_MATRIX_TUWUNEL_IMAGEMatrix is one of three live transport lanes (Matrix, Telegram, Discord) that share a single contract checklist defined in QA overview → Live transport coverage.
qa-channel© 2024 TaskFlow Mirror
Powered by TaskFlow Sync Engine