Repository navigation
refactor(qa): move restart and policy scenarios to YAML - #101063
Conversation
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
41e0095 to
2509f22
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
Codex review: needs maintainer review before merge. Reviewed July 6, 2026, 2:44 PM ET / 18:44 UTC. Summary PR surface: Source -390, Tests -170, Other +866. Total +306 across 26 files. Reproducibility: not applicable. as a QA refactor PR rather than a bug report. Behavior preservation is source-reviewable through the YAML-to-flow mapping and the PR body reports focused Testbox, QA Channel, Crabline, and Matrix live runs. Review metrics: none identified. 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: Keep the YAML catalog as the single owner for this behavior family and land the refactor with the reported live QA and exact-head CI evidence intact, without restoring duplicate imperative scenario owners. Do we have a high-confidence way to reproduce the issue? Not applicable as a QA refactor PR rather than a bug report. Behavior preservation is source-reviewable through the YAML-to-flow mapping and the PR body reports focused Testbox, QA Channel, Crabline, and Matrix live runs. Is this the best way to solve the issue? Yes. The canonical scenario catalog and shared flow runner are the maintainable owners for these QA behaviors, and the PR removes the duplicate imperative scenario definitions instead of keeping two sources of truth. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 9ef7fff57098. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Source -390, Tests -170, Other +866. Total +306 across 26 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
|
What Problem This Solves
Resolves a QA ownership problem where restart/resume, replay dedupe, allowlist reload, WhatsApp access-policy, and pairing-gate coverage remained split across imperative channel runtimes instead of the canonical scenario catalog and shared flow host.
Why This Change Was Made
Moves the assigned behavior family into canonical YAML flow scenarios for Slack, WhatsApp, and Matrix, while keeping transport-native evidence only where normalized state is insufficient. The change deletes the replaced imperative owners and obsolete tests, adds the minimal Matrix observer and WhatsApp group adapter support needed by shared flows, and teaches the shared config-mutation host how to observe intentionally deferred restarts.
Telegram was inventoried and has no imperative owner in this behavior family. Routing, commands, threads, and infrastructure lanes are unchanged.
User Impact
QA maintainers can run these restart and configuration behaviors through one canonical catalog and shared execution path across QA Channel, live adapters, and Crabline. This reduces duplicate scenario logic and makes parity gaps visible in YAML rather than channel-specific runtime code.
Evidence
tbx_01kww4yt1d8bdx7f9n025as70g(quick-crab), providerblacksmith-testbox.slack-restart-resumepassed with mock OpenAI.matrix-restart-resumepassed.oxfmt --checkpassed for all 26 changed files..agents/skills/autoreview/scripts/autoreview --mode local --stream-engine-outputreturned clean with no accepted/actionable findings.check:changedreached full typecheck; the remote sparse-sync checkout omitted trackedextensions/qa-lab/src/mantis/**, producing onlyCannot find module './mantis/cli.js'. Hosted CI uses a full checkout and remains the authoritative exact-head broad gate.