Repository navigation
improve(matrix): generate executable QA route and state evidence - #100039
Conversation
Dependency graph guard clearedThis PR no longer has blocked dependency graph changes. A future dependency graph change requires a fresh
|
|
Codex review: needs maintainer review before merge. Reviewed July 4, 2026, 2:46 PM ET / 18:46 UTC. Summary PR surface: Source +1059, Tests +887, Docs +2. Total +1948 across 15 files. Reproducibility: not applicable. as a user bug; this is a maintainer QA evidence feature. Source inspection shows current main emits report, summary, and observed-events artifacts only, while this PR adds the route/state manifest. Review metrics: 1 noteworthy metric.
Stored data model Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Land this PR after maintainer/security acceptance of the redacted matrix-qa-v1 manifest shape, while keeping the shared adapter-hosting work in #99707. Do we have a high-confidence way to reproduce the issue? Not applicable as a user bug; this is a maintainer QA evidence feature. Source inspection shows current main emits report, summary, and observed-events artifacts only, while this PR adds the route/state manifest. Is this the best way to solve the issue? Yes, this is the best observed boundary: the recorder and probe stay inside the Matrix QA plugin while the shared QA adapter host remains in the related PR. The main safer alternative would be narrowing the manifest if maintainers reject the current redaction scope. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 5304d006e5f6. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Source +1059, Tests +887, Docs +2. Total +1948 across 15 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
Review history (3 earlier review cycles)
|
5b55531 to
dc974b0
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
dc974b0 to
aaa870f
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
Closes #100038
Related: #99707
What Problem This Solves
Matrix QA scenarios exercised real Tuwunel client/server behavior but did not produce a redacted, executable description of the ordered route and state contract observed during each run. Maintainers had to interpret logs manually to diagnose drift across retries, errors, sync tokens, devices, keys, media, and room-key backups.
Why This Change Was Made
This change places Tuwunel traffic behind a bounded redacting request/response recorder and derives the versioned
matrix-qa-v1manifest from completed scenario traffic. It adds a substrate-neutral Matrix protocol probe plus independently callable Matrix runtime, harness, recorder, and probe functions, without adding a second adapter registry/host or importing QA Lab private modules.The Matrix protocol fixture proves the generic probe contract in this PR. #99707 owns canonical
QaTransportAdapterFactoryconstruction, the shared host, and real Crabline target execution.This PR was developed with AI assistance. No agent transcript is included.
User Impact
Matrix QA maintainers can inspect per-scenario ordered routes, redacted request/response shapes, adjacent retry and terminal error sequences, principal-scoped sync-token progression, and device/key/media/backup expectations. Probe mismatches remain visible as failed checks while partial route/state evidence is still written. There is no change to the user-facing Matrix plugin runtime.
Evidence
dc974b08083678577d46dccc165561e448f986b3: no accepted/actionable findings (thread019f2e5c-9342-7d33-b435-3f08b4b7c766).check:changedpassed on Blacksmith Testbox-through-Crabbox:tbx_01kwq5x3md445ggxskawa3w04k, Actions run28715487999.@openclaw/crablinedependency and lockfile changes; the final diff adds no dependency surface.Current-head CI repair
openclaw/plugin-sdk/testingtest import with the focused publicopenclaw/plugin-sdk/test-envowner ofwithTempDir.node --import tsx scripts/check-no-extension-test-core-imports.ts.aaa870f8c095b74d4b40b37bc0f0683b98026933: no accepted/actionable findings (thread019f2e66-3ca8-7180-be77-e3193b94fbf0).check:changedpassed on Blacksmith Testbox-through-Crabbox:tbx_01kwq6hec7c53srx7xm1kvprp3, Actions run28715784474.