Skip to content

fix(qa): recognize portable Slack commentary lane - #119698

Merged
vincentkoc merged 1 commit into
mainfrom
fix/qa-slack-commentary-classifier-20260805
Aug 5, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
fix/qa-slack-commentary-classifier-20260805

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Aug 5, 2026 •

Copy link
Copy Markdown
Member

Related: #119480

What Problem This Solves

Fixes an issue where the release-style Slack QA lane reported a commentary failure even though Slack delivered the current portable commentary presentation correctly.

The exact live run passed 21 of 22 Slack scenarios, but slack-progress-commentary-true failed twice because QA recognized only older glyph and rich-block forms.

Why This Change Was Made

The Slack QA verifier now recognizes the exact portable italic commentary form while retaining the existing legacy glyph and rich-block paths. Matching remains strict so a plain status headline or marker embedded in unrelated text cannot be mistaken for the commentary lane.

This changes only QA classification. It does not alter Slack runtime output, compositor behavior, verbosity semantics, config, or dependencies.

User Impact

Release validation now accepts the Slack commentary format the product actually ships, avoiding a false red lane while preserving coverage that commentary, status headlines, tool progress, and final replies stay distinct.

Evidence

  • Exact head: ba82c3c08b2d5240b295e688efdb3f14ead78b46.
  • Exact fetched base: 397a60582a109489d7dd4f1be1136251c10dc1b9 (main).
  • Reproduced on QA-Lab run https://github.com/openclaw/openclaw/actions/runs/31029147516 at a3419d4a4b4c894b47a9273181735d091f4d502f: 21 passed, 1 failed, with the same assertion after retry.
  • Deterministic verifier regression failed before the classifier repair.
  • node scripts/run-vitest.mjs extensions/qa-lab/src/live-transports/slack/slack-live.runtime.test.ts: 50 passed on the exact head.
  • ./node_modules/.bin/oxfmt --check on both changed files: passed on the exact head.
  • git diff --check origin/main...HEAD: passed on the exact head.
  • Autoreview: clean.
  • Production delta: 0. QA/test delta: +47/-1.

Punchcard-Session: silver-meadow-lantern-vx
Punchcard-Receipt: att_01KZ9WFRB529T1ZWHJVN65ZVCN

@vincentkoc vincentkoc self-assigned this Aug 5, 2026
@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. P2 Normal backlog priority with limited blast radius. labels Aug 5, 2026
@clawsweeper

clawsweeper Bot commented Aug 5, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 5, 2026, 6:42 PM ET / 22:42 UTC.

ClawSweeper review

What this changes

The PR makes Slack QA-Lab recognize the portable whitespace-wrapped italic commentary form and adds strict positive and false-positive regression cases.

Merge readiness

⚠️ Ready for maintainer review - 2 items remain

Keep open: this maintainer-authored PR is a correct, narrowly scoped QA-Lab repair with no actionable review findings. It still needs the normal exact-head mergeability and review-refresh gate because it is behind current main.

Priority: P2
Reviewed head: b368d2555556083f7e90b6f1a25bfab476c1f69e

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, source-aligned repair with strong regression coverage and no identified correctness or security concern.
Proof confidence 🐚 platinum hermit (4/6) Not applicable: This MEMBER-authored PR changes only an internal QA classifier; its linked pre-fix live failure and focused regression evidence support validation without an external-contributor proof gate.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This MEMBER-authored PR changes only an internal QA classifier; its linked pre-fix live failure and focused regression evidence support validation without an external-contributor proof gate.
Evidence reviewed 5 items Slack’s current presentation contract: Shared progress normalization wraps commentary lines in italics, and Slack selects an empty commentary prefix with italics enabled; portable Slack commentary is therefore _marker_, not necessarily glyph-prefixed.
Verifier owner boundary: Current main accepts only the glyph and rich-block forms; the PR adds an exact trimmed italic form at that QA-Lab decision point.
Strict regression coverage: The added test accepts the portable, glyph, and rich-block forms while rejecting bare, embedded, and multiline-marker text.
Findings None None.
Security None None.

How this fits together

QA-Lab compares observed Slack messages with scenario markers and reports release-validation results. This change adjusts only the Slack verifier’s commentary-lane classification, leaving Slack message delivery unchanged.

flowchart LR
A[Slack scenario] --> B[Observed Slack history]
B --> C[QA-Lab verifier]
C --> D[Commentary lane classifier]
D --> E[Scenario result]
E --> F[Release validation]
Loading

Before merge

  • Resolve merge risk (P1) - The branch is behind current main; refresh exact-head mergeability and review state before landing.
  • Complete next step (P2) - The PR already provides the bounded repair; only normal exact-head maintainer merge gating remains.
Agent review details

Security

None.

PR surface

Source 0, Tests +46. Total +46 across 2 files.

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

Review metrics

Metric Value Why it matters
Production vs QA test delta production +1/-1; QA tests +46/-0 The verifier repair is net-neutral in production and adds focused coverage for accepted and rejected presentation shapes.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Merge the exact classifier repair after the normal current-head gate passes, preserving the separate legacy glyph and rich-block recognition paths.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Merge the exact classifier repair after the normal current-head gate passes, preserving the separate legacy glyph and rich-block recognition paths.

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

Yes: current source shows Slack emits italic portable commentary while the current QA verifier excludes that exact form; the scenario runtime passes observed Slack history to this verifier.

Is this the best way to solve the issue?

Yes: recognizing the exact portable form at the QA verifier owner fixes the false failure without weakening matching or changing Slack runtime behavior.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 5ec4d9f82a6b.

Labels

Label changes:

  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🦞 diamond lobster.
  • remove rating: 🦞 diamond lobster: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.

Label justifications:

  • P2: This fixes a bounded release-validation false failure without changing Slack runtime delivery.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This MEMBER-authored PR changes only an internal QA classifier; its linked pre-fix live failure and focused regression evidence support validation without an external-contributor proof gate.

Evidence

What I checked:

Likely related people:

  • steipete: Commit 6edf4a2 introduced the current QA classifier and the relevant Slack/shared progress implementation together. (role: recent feature integrator; confidence: high; commits: 6edf4a2b7ed0; files: extensions/qa-lab/src/live-transports/slack/slack-live.scenario-fixtures.ts, src/channels/progress-draft-status-text.ts, extensions/slack/src/monitor/message-handler/dispatch-progress.ts)
  • vincentkoc: The PR author has prior QA-path history and authored the focused current repair and regression cases. (role: recent QA-Lab contributor; confidence: medium; commits: b368d2555556; files: extensions/qa-lab/src/live-transports/slack/slack-live.runtime.test.ts, extensions/qa-lab/src/live-transports/slack/slack-live.scenario-fixtures.ts)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
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.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (2 earlier review cycles)
  • reviewed 2026-08-05T20:28:36.190Z sha 3672907 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-05T21:43:35.038Z sha b368d2555556083f7e90b6f1a25bfab476c1f69e :: needs maintainer review before merge. :: none

@vincentkoc
vincentkoc force-pushed the fix/qa-slack-commentary-classifier-20260805 branch from 3672907 to b368d25 Compare August 5, 2026 21:14
@vincentkoc
vincentkoc marked this pull request as ready for review August 5, 2026 21:17
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 5, 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: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. labels Aug 5, 2026
Punchcard-Session: silver-meadow-lantern-vx
@vincentkoc
vincentkoc force-pushed the fix/qa-slack-commentary-classifier-20260805 branch from b368d25 to ba82c3c Compare August 5, 2026 22:48
@vincentkoc

vincentkoc commented Aug 5, 2026 •

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Command router queued. I will update this comment with the next step.

@vincentkoc
vincentkoc merged commit d3d2573 into main Aug 5, 2026
126 checks passed
@vincentkoc
vincentkoc deleted the fix/qa-slack-commentary-classifier-20260805 branch August 5, 2026 23:18
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

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 P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. 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.

1 participant