Skip to content

fix(qa): test Slack verbosity with one direct shell call - #208023

Merged
daniel-lxs merged 3 commits into
mainfrom
openclaw/work-for-roboclaw-f8ef19
Nov 30, 2026
Merged

daniel-lxs merged 3 commits into
mainfrom
openclaw/work-for-roboclaw-f8ef19

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Collaborator

Related: #204372

What Problem This Solves

The Slack live QA probe expects the start and output of one shell command. In the failed main run, Slack delivered the exact stdout line once on both attempts. The probe rejected the additional start and result messages from the Code Mode call that ran the shell tool.

User Impact

QA only. The two Slack verbosity scenarios exercise the same direct shell tool. Slack delivery, verbosity defaults and other scenarios are unchanged.

Why This Change Was Made

The original probe deliberately rejects duplicate start summaries and duplicate output messages. Automatic Code Mode changed the tool surface for preferred models. I made direct tools explicit in these isolated fixtures rather than weakening the assertion or suppressing a real tool result. Turning off Tool Search as well keeps a discovery call out of a one-call experiment.

Evidence

  • I checked the CI artifact and read back the two failed attempts in the leased QA channel. Each had separate commentary and final replies, one shell start and one exact stdout result, plus a wrapper summary and structured result. Ordinary verbosity passed in that job.
  • On AWS Crabbox, I ran the actual suite configuration and agent tool-surface planner with the incident model metadata. Both fixtures selected Code Mode on cd7baef2a9a6 and direct tools on 1b9c9d5c1f6c. The unchanged Slack QA verifier suite passed 31/31 on the candidate, including the duplicate-output and duplicate-summary negative controls. Both YAML files passed formatting.
  • On an isolated Linux VM, the full-verbosity probe ran the same real shell command on both configurations. Main emitted four tool messages with one exact stdout line and failed the verifier. The direct shell fixture emitted two, retained the exact stdout line, and passed. Its ordinary-verbosity companion emitted one summary with the output redacted.
  • Fresh live Slack delivery remains unverified. The live baseline replay stopped before Slack contact because the broker rejected the CI credential.

Reported by @daniel-lxs.

Work sessions

Linked for team reference; these sessions aren’t public.

Worked on by

🦞 Made with OpenClaw

roboclaw-bot and others added 2 commits November 29, 2026 05:54
Worked on by:
- @daniel-lxs

Co-authored-by: daniel-lxs <[email protected]>
OpenClaw-Publication: db525390-d400-4dda-99c3-0fc815782bf1
@clawsweeper

clawsweeper Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision.

View the workflow run.

@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. labels Nov 29, 2026
@clawsweeper

clawsweeper Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: passed.

What this changes

This PR disables Code Mode and Tool Search in two isolated Slack verbosity scenarios so they exercise one direct shell call.

Example: Run slack-progress-commentary-verbose-full with a model that prefers Code Mode.

  • Before: Additional wrapper summaries and results can fail the one-command verifier even when stdout arrives once.
  • After: The fixture selects direct tools while preserving the exact-output and duplicate-message checks.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) A minimal, source-supported fixture repair with preserved negative controls; confidence is limited by reported rather than independently inspectable candidate execution and its partial coverage of the broader issue.
Proof confidence 🦐 gold shrimp (3/6) The contributor proof gate is exempt for this PR: its body reports planner checks and a real-shell Linux comparison that reduced full-verbosity tool messages from four to two while preserving stdout, but candidate Slack delivery remains unverified and those results were not independently inspectable; the downloaded screenshots show predecessor Code Mode UI behavior.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Test only · Worth it: Yes · Fix scope: Partial
User problem: QA operators receive a failure for additional tool-wrapper messages even when the requested shell output was delivered once.
Reason: This maintainer-authored correction restores the established one-command probe and appropriately uses Related for the broader linked issue.

Merge readiness

✅ Ready for maintainer review

Keep this PR open: it makes a focused correction to Slack QA fixtures that current main lacks, with no actionable defects found.

Reviewed head: 62a24bec36799090bddb418ecace2290e003f91f

Before merge

None.

Findings

None.

Agent review details

How this fits together

QA Lab loads scenario YAML, configures an isolated Gateway, sends a Slack request, and checks captured messages against the verbosity contract.

flowchart LR
  A[Scenario YAML] --> B[Suite configuration]
  B --> C[Isolated Gateway]
  C --> D[Direct shell call]
  D --> E[Slack messages]
  E --> F[Verbosity verifier]
  F --> G[QA result]
Loading

Technical review

Best possible solution:

Keep the direct-tool settings local to these isolated probes and retain the existing privacy, output, and deduplication assertions.

Do we have a high-confidence way to reproduce the issue?

Source connects automatic Code Mode activation to a verifier designed for one shell call, and GitHub confirms the cited lane failure, but this review could not inspect its message trace or independently reproduce it.

Is this the best way to solve the issue?

The change uses the existing isolated-fixture configuration boundary to restore the intended experiment without relaxing the verifier or changing production delivery.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 59b9268bbed7.

Provenance checked

  • Paired Slack verbosity probes keeps the original intent (439463d: Verify ordinary-verbosity privacy and full-verbosity exact stdout while rejecting duplicate identities and accommodating Slack's delivery transform.)
  • Isolated scenario configuration keeps the original intent (af71400: Move live-channel scenarios into the shared suite host with isolated configuration and lifecycle ownership.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 439463d adds qa/scenarios/channels/slack-progress-commentary-verbose-full.yaml:1 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 439463d64b68; files: qa/scenarios/channels/slack-progress-commentary-verbose-full.yaml)

PR surface

Other +9. Total +9 across 2 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 2 10 1 +9
Total 2 10 1 +9

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

No label changes.

Label justifications:

  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall readiness starts with the lower of the proof and patch scores. It is capped at 3/6 if the fix is partial, the change offers little benefit, a product decision is still open, or the PR reverses an earlier decision without saying why. ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

History

Review history (1 earlier review cycle)
  • reviewed 2026-11-29T06:18:33.491Z sha 31e3805 :: passed. :: none

Reviewed November 30, 2026, 2:06 AM ET / 07:06 UTC (Revision 2).

@daniel-lxs
daniel-lxs marked this pull request as ready for review November 30, 2026 07:02
@daniel-lxs

Copy link
Copy Markdown
Member

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀

Re-review progress:

@daniel-lxs
daniel-lxs merged commit 36eecdb into main Nov 30, 2026
149 of 150 checks passed
@daniel-lxs
daniel-lxs deleted the openclaw/work-for-roboclaw-f8ef19 branch November 30, 2026 07:16
vincentkoc added a commit that referenced this pull request Nov 30, 2026
…ogic

* commit 'f7ccd914102ab408606c45c0aa3adbd8427051eb': (1290 commits)
  refactor(ios): remove unreachable settings and automation controls (#208958)
  fix: verify deferred activation in package recovery acceptance (#208901)
  improve(ci): avoid unused adaptive scoring work (#208926)
  chore(ui): refresh control ui locales (#208959)
  test(agents): verify user recall and file state across OpenAI compactions (#208909)
  fix(ui): update the sidebar on startup and recovery screens (#207967)
  fix(whatsapp): quote the first queued swipe-reply answer (#208791)
  test(memory-wiki): generate metadata replacement transitions (#208932)
  fix(ui): hide Claude injected context from chat (#207234)
  fix(ui): count people instead of emoji in reaction badges (#207235)
  fix: keep Daybreak when another provider's model list fails (#208883)
  test(telegram): check the registered preload at polling worker startup (#208936)
  fix(qa): test Slack verbosity with one direct shell call (#208023)
  fix(qa): wait for Telegram messages before checking their formatting (#208024)
  feat(ios): show build details at the bottom of Settings (#208944)
  chore(ui): refresh control ui locales (#208937)
  fix: goals stop after native child-result handoffs (#193024)
  fix(ui): show current tool actions in collapsed chat activity (#208925)
  improve(ios): put About last in Settings (#208928)
  test(memory-wiki): generate human-note preservation regressions (#208921)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extensions: qa-lab P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: XS 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.

2 participants