Skip to content

refactor(qa): canonicalize channel command scenarios - #101080

Merged
RomneyDa merged 3 commits into
mainfrom
dallin/wave2-channel-commands-context
Jul 6, 2026
Merged

RomneyDa merged 3 commits into
mainfrom
dallin/wave2-channel-commands-context

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Jul 6, 2026

Copy link
Copy Markdown
Member

Closes #101015

What Problem This Solves

Channel command and session-context QA was split between imperative Telegram and WhatsApp runners and the canonical scenario catalog. That duplication made the shared QA host and bridge adapters unable to exercise the same definitions for help, command catalogs, tool listings, identity, status, context, new sessions, authorization, current-session tools, usage footers, and exact-marker replies.

Why This Change Was Made

Moves the command and session-context checks into canonical YAML flows, delegates the Telegram and WhatsApp CLI aliases to the shared runtime launcher, and removes the replaced imperative owners. Remaining transport-specific scenarios continue through their existing runners, with mixed selections validated before any live traffic starts.

User Impact

QA operators can run the same command and session-context definitions through the shared QA host, Telegram Crabline bridge, or applicable live adapters. Existing Telegram and WhatsApp QA commands keep their aliases and remaining default coverage.

Evidence

  • Blacksmith Testbox tbx_01kww4aezwg5t21ywg2nzrrfqr (amber-prawn)
  • Exact-head pnpm build: passed
  • Focused QA Lab tests: 7 files, 261 tests passed
  • QA Channel: 7 command/exact-marker scenarios passed
  • Crabline Telegram: exact-marker scenario passed
  • Path-scoped changed checks passed through runtime guards; remote typecheck was blocked because Crabbox full sync omitted the tracked extensions/qa-lab/src/mantis subtree from current main
  • Fresh bounded autoreview: no accepted/actionable findings

@RomneyDa

RomneyDa commented Jul 6, 2026

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 6, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: the existing ClawSweeper review comment will be edited in place when the review finishes.

@RomneyDa

RomneyDa commented Jul 6, 2026

Copy link
Copy Markdown
Member Author

QA Smoke follow-up on exact head 5456ed0137e:

  • The prior hosted QA Smoke artifact showed telegram-commands-command failed because Crabline's native Telegram reply used the paginated Commands (1/6) heading while the scenario treated every non-live transport as the portable Slash commands surface.
  • The assertion now keys on the actual flow transport: only qa-channel expects Slash commands; Crabline and live Telegram continue to require Commands (1/.
  • Blacksmith Testbox tbx_01kwwb46bfybk8kppxntdpk2p5 reproduced the exact seven changed smoke-ci scenarios. The initial run completed rather than hanging and isolated the command assertion; after the fix, the exact scenario passed in 17 seconds and the full seven-scenario subset passed 7/7 in 22.5 seconds under a five-minute hard timeout.
  • Fresh autoreview completed clean with no actionable findings.

The prior hosted artifact also contained an unrelated existing openai-web-search-native-assertions script timeout at its 1,800,000 ms limit; that scenario and Docker runtime path are unchanged by this PR.

@RomneyDa

RomneyDa commented Jul 6, 2026

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 6, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: the existing ClawSweeper review comment will be edited in place when the review finishes.

@clawsweeper

clawsweeper Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper status: review started.

I am starting a fresh review of this pull request: refactor(qa): canonicalize channel command scenarios This is item 1/1 in the current shard. Shard 0/1.

This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking.

Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted.

@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Jul 6, 2026
@RomneyDa
RomneyDa force-pushed the dallin/wave2-channel-commands-context branch from 5456ed0 to c307ca5 Compare July 6, 2026 19:05
@RomneyDa

RomneyDa commented Jul 6, 2026

Copy link
Copy Markdown
Member Author

Rebase follow-up on exact head b17ca5693b1fc80adfda0a9c886000aae81ea01f:

  • Rebased the exclusively owned branch onto current origin/main at 627f6988a07d83833eb5360525495fa7e0c62443 from merged PR refactor(qa): move restart and policy scenarios to YAML #101063.
  • Conflict resolution preserves refactor(qa): move restart and policy scenarios to YAML #101063's restart/policy scenarios as canonical YAML owners and this PR's command/session-context scenarios as canonical YAML owners. Obsolete imperative owners for both behavior families remain deleted.
  • Conflict-focused Testbox proof passed 7 files / 261 tests.
  • The exact seven changed smoke-ci Crabline scenarios passed 7/7 after CI-style package creation under a hard timeout.
  • oxfmt --check passed for the two conflict-correction files.
  • Fresh autoreview completed clean with no actionable findings.

All CI results from heads 5456ed0137e and transient rebased head c307ca53c0e are stale. Current proof and CI must be evaluated only against b17ca5693b1.

@RomneyDa
RomneyDa merged commit e3671e0 into main Jul 6, 2026
99 checks passed
@RomneyDa
RomneyDa deleted the dallin/wave2-channel-commands-context branch July 6, 2026 19:18
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 7, 2026
* test(qa): migrate channel command scenarios

* test(qa): distinguish portable command headings

* test(qa): preserve canonical scenario ownership
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extensions: qa-lab maintainer Maintainer-authored PR rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Run channel command and session-context QA through canonical scenarios

1 participant