Skip to content

fix(slack): keep DM thread turns out of active steering - #85904

Merged
steipete merged 2 commits into
openclaw:mainfrom
guanbear:slack-dm-thread-isolation
May 31, 2026
Merged

steipete merged 2 commits into
openclaw:mainfrom
guanbear:slack-dm-thread-isolation

Conversation

@guanbear

@guanbear guanbear commented May 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Preserve OpenClaw's stable Slack DM SessionKey contract for top-level DMs and ordinary DM thread replies.
  • Track routed Slack thread ids on active reply operations, including agent-runner-owned, dispatch-owned, and queued follow-up operations.
  • Suppress active-run steering and dispatch admission blocking only for Slack direct-message turns that carry Slack routed thread metadata and target a different Slack thread, so non-Slack IM steering/admission behavior remains unchanged.

Verification

  • Confirmed latest origin/main at 1d1a7c26d8867fdfa98c97d8b510ad0ce1951858 still does not include this fix.
  • Watched the original Slack regression fail before the fix: expected true to be false for call.shouldSteer, proving the second Slack DM thread would still steer into the active run.
  • Watched the dispatch admission regression fail before the latest fix: Slack routed thread was blocked by the active reply operation, matching the live Slack symptom where B was skipped as reply-operation-active.
  • Watched the non-Slack compatibility regression fail before the Slack-only scoping change: expected false to be true for call.shouldSteer, proving the generic route-thread guard changed existing non-Slack same-session steering.
  • OPENCLAW_VITEST_MAX_WORKERS=2 node scripts/run-vitest.mjs run src/auto-reply/reply/dispatch-from-config.test.ts -- -t "different Slack DM routed thread|non-Slack routed direct turns|records routed Slack thread id" --test-timeout 5000 --hook-timeout 5000 - 1 file passed, 156 tests passed.
  • OPENCLAW_VITEST_MAX_WORKERS=2 node scripts/run-vitest.mjs run extensions/slack/src/monitor/message-handler/prepare.thread-session-key.test.ts extensions/slack/src/monitor/message-handler/prepare.test.ts src/auto-reply/reply/get-reply-run.media-only.test.ts src/auto-reply/reply/dispatch-from-config.test.ts src/auto-reply/reply/followup-runner.test.ts - 5 files passed, 378 tests passed, duration 19.71s.
  • git diff --check FETCH_HEAD - passed.
  • Attempted node scripts/crabbox-wrapper.mjs run slack-dm-thread-isolation-check-changed --provider blacksmith-testbox --shell -- "pnpm check:changed"; it did not start because this local environment has no usable crabbox binary (selected binary failed basic --version/--help sanity checks).

Real behavior proof

  • Behavior addressed: Two overlapping top-level Slack DMs from the same Slack sender should keep the stable DM SessionKey, but the second top-level Slack thread must not be steered into, or blocked behind dispatch admission for, the first active run. Ordinary DM thread follow-up should continue to work in the original Slack thread. The steering and dispatch-admission guards are Slack-scoped, so non-Slack same-session direct-message turns keep their prior behavior even when their transport thread ids differ.
  • Real environment tested: Real Slack workspace w1773415900-eqa641873.slack.com, OpenClaw source checkout d0d5a354e77e5650f0ff3126eea42cae04a008e3, foreground gateway started from this branch with OPENCLAW_HOME=/tmp/openclaw-pr85904-live-root WORKSPACE=/tmp/openclaw-pr85904-live-workspace node scripts/run-node.mjs gateway run --port 18790 --verbose --ws-log compact. The normal installed gateway was stopped before the smoke and restarted after proof capture.
  • Exact steps or command run after this patch: Started the PR gateway with a temporary redacted proof config using Slack Socket Mode, replyToMode=all, and allowBots=true because the available automated Slack acceptance sender posts app-authored Slack messages. The OpenClaw bot under test was a different bot id, so this did not exercise self-message handling. Sent top-level DM A and top-level DM B from the same sender in the same DM channel about 1.00s apart, then sent ordinary follow-up D inside B's Slack thread. After the dispatch-admission repair, ran the current-head local regression set above.
  • Evidence after fix: Redacted Slack API and gateway evidence from the live workspace:
Gateway under test: OpenClaw 2026.5.24 (d0d5a35)
Loaded channel runtime: Slack Socket Mode connected; octoclaw-runtime was not loaded in this proof gateway.
Workspace: w1773415900-eqa641873.slack.com
Sender: user=U...9Z bot_id=B...N2
OpenClaw bot: user=U...CQ bot_id=B...57
DM channel: D...QL
Nonce: oc-proof-8e6bc0a0

Top-level A sent: ts=1779642174.068849 thread_ts=1779642174.068849
Top-level B sent: ts=1779642175.071749 thread_ts=1779642175.071749
Delta between A and B sends: 1.002900s

Gateway current-head routing evidence:
- Slack B inbound used stable SessionKey agent:main:slack:default:direct:u0...9z.
- While A was active, gateway logged: dispatch-from-config: allowing Slack routed thread 1779642175.071749 while agent:main:slack:default:direct:u0...9z has an active reply operation in another Slack thread.
- No `reply-operation-active` skip occurred for B on current head d0d5a354e77e.

A thread replies:
- user=U...9Z bot_id=B...N2 ts=1779642174.068849 thread_ts=1779642174.068849 text="[oc-proof-8e6bc0a0] top-level DM A... FINAL-A=oc-proof-8e6bc0a0-A"
- user=U...CQ bot_id=B...57 ts=1779642207.663989 thread_ts=1779642174.068849 text="... oc-proof-8e6bc0a0-A ..."

B thread replies:
- user=U...9Z bot_id=B...N2 ts=1779642175.071749 thread_ts=1779642175.071749 text="[oc-proof-8e6bc0a0] top-level DM B... FINAL-B=oc-proof-8e6bc0a0-B"
- user=U...CQ bot_id=B...57 ts=1779642212.717829 thread_ts=1779642175.071749 text="... FINAL-B=oc-proof-8e6bc0a0-B"

Ordinary DM thread follow-up in B:
- user=U...9Z bot_id=B...N2 ts=1779642234.122779 thread_ts=1779642175.071749 text="[oc-proof-8e6bc0a0] ordinary DM thread follow-up D in B thread... FINAL-D=oc-proof-8e6bc0a0-D"
- user=U...CQ bot_id=B...57 ts=1779642247.227079 thread_ts=1779642175.071749 text="... FINAL-D=oc-proof-8e6bc0a0-D"

Local compatibility proof after Slack-only scoping:
- Slack direct dispatch turn with MessageThreadId 501.000 vs active routeThreadId 500.000: reached reply resolution and sent a final reply.
- Non-Slack Telegram direct dispatch turn with MessageThreadId 501.000 vs active routeThreadId 500.000: stayed blocked behind the active reply operation and did not call reply resolution.
- Slack direct run-prep turn with MessageThreadId 501.000 vs active routeThreadId 500.000: shouldSteer=false, shouldFollowup=true.
- Slack direct run-prep turn with TransportThreadId 501.000 vs active routeThreadId 500.000: shouldSteer=false, shouldFollowup=true.
- Telegram direct run-prep turn with MessageThreadId 43 vs active routeThreadId 42: shouldSteer=true, shouldFollowup=true.
  • Observed result after fix: The two overlapping top-level Slack DMs did not collapse into one Slack reply thread and B was not skipped as reply-operation-active. A received an OpenClaw reply in A's Slack thread, B received an OpenClaw reply in B's Slack thread, and the later B-thread follow-up continued in B's thread. The final active-run routing and dispatch-admission guards apply only when ChatType=direct, routed thread metadata exists, and Provider, Surface, or OriginatingChannel resolves to slack.
  • What was not tested: The automated sender available in this environment posts Slack app-authored messages, so the temporary proof config enabled allowBots=true. This live proof still exercises the real Slack Socket Mode transport, real Slack thread ids, and the PR checkout's active-run routing and dispatch-admission boundaries; it does not prove Slack's human-user token UX separately. The local Crabbox/Testbox pnpm check:changed gate was attempted but could not start because the local crabbox binary is missing or unusable.
  • Before evidence (optional but encouraged): Before the fix, the same local runtime scenario failed with AssertionError: expected true to be false at src/auto-reply/reply/get-reply-run.media-only.test.ts, showing the same-session/different-thread second turn would steer into the active run. Before the latest dispatch-admission fix, live current-head proof failed with B missing a reply and gateway logged dispatch-from-config: skipped reply operation admission ... reason=active-run; the new dispatch regression failed with Slack routed thread was blocked by the active reply operation. Before the Slack-only scoping update, the non-Slack compatibility test failed with expected false to be true, showing the generic guard would have changed non-Slack same-session steering.

Root Cause

  • Root cause: Slack DMs intentionally share the stable direct-message session key, but active-run decisions originally compared only session identity. A second top-level DM from the same user could therefore steer into, or later be blocked by dispatch admission for, the active run for the first Slack message thread. A later generic route-thread guard fixed Slack but also changed other IM providers that may use same-session/different-thread steering, so both guards are now constrained to Slack direct-message routed-thread turns.
  • Missing detection / guardrail: Existing Slack prepare tests covered the stable DM session contract, but auto-reply routing tests did not cover same-session, different-thread active runs, Slack TransportThreadId DM thread replies, dispatch admission blocking, non-Slack compatibility, or every operation creation path.
  • Contributing context: The fix belongs at the active-run routing and dispatch-admission boundaries, not in Slack session-key generation, because Slack DM session continuity is a shipped contract.

Regression Test Plan

  • Coverage level that should have caught this: Unit test plus Slack prepare-path contract test.
  • Target test or file: src/auto-reply/reply/get-reply-run.media-only.test.ts, src/auto-reply/reply/dispatch-from-config.test.ts, src/auto-reply/reply/followup-runner.test.ts, and extensions/slack/src/monitor/message-handler/prepare.thread-session-key.test.ts.
  • Scenario the test should lock in: Same stable Slack DM session, different routed Slack thread id, active prior run, second Slack turn must not steer into or be dispatch-blocked by the first run; Slack DM thread replies using TransportThreadId get the same guard; non-Slack same-session direct-message turns remain steerable/admission-blocked as before; every created active reply operation should carry the routed thread id when one exists.
  • Why this is the smallest reliable guardrail: It exercises the auto-reply and dispatch decisions that caused the overlap while separately preserving the Slack session-key contract, non-Slack compatibility, and the dispatch/follow-up operation creation paths ClawSweeper flagged.

CI Retry Head Note

  • Current PR head 01d5d36d391a273e760f183aa8ee41dff3a455e8 is an empty CI retry commit on top of the proofed implementation commit d0d5a354e77e5650f0ff3126eea42cae04a008e3.
  • It changes no files: git diff --stat d0d5a354e77e5650f0ff3126eea42cae04a008e3 01d5d36d391a273e760f183aa8ee41dff3a455e8 is empty.
  • The tree hash is identical for both heads: 9ed2ef2eaf662139510339e7a886be62c2d46ddf. The Slack live proof above therefore applies to the current code tree; this commit exists only to trigger GitHub CI after the unrelated checks-node-agentic-agents timeout could not be rerun without maintainer/admin permissions.

@openclaw-barnacle openclaw-barnacle Bot added channel: slack Channel integration: slack size: XS triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup. labels May 24, 2026
@clawsweeper

clawsweeper Bot commented May 24, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed May 30, 2026, 10:55 PM ET / 02:55 UTC.

Summary
The PR tracks routed Slack thread IDs on reply operations and changes Slack direct-message active-run steering and dispatch admission so different Slack DM threads queue separately while preserving the stable DM session key and non-Slack behavior.

PR surface: Source +118, Tests +293. Total +411 across 10 files.

Reproducibility: yes. Current main compares active work by session identity without route-thread distinction, and the PR body includes before-fix failing regression checks plus live Slack evidence for the overlapping-DM symptom.

Review metrics: 2 noteworthy metrics.

  • Active-run decision points: 2 changed. Both run-prep steering and dispatch admission now branch on Slack routed-thread identity, so maintainers should review them together.
  • ReplyOperation state fields: 1 optional field added. routeThreadId becomes active-run state used for routing decisions, which matters for session ownership and queued follow-up behavior.

Merge readiness
Overall: 🐚 platinum hermit
Proof: 🦞 diamond lobster
Patch quality: 🐚 platinum hermit
Result: ready for maintainer review.

Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch.

Rank-up moves:

  • Have a maintainer review the final merged code around Slack-scoped admission and active steering before landing.

Risk before merge

  • [P1] Merging changes how Slack direct messages with the same stable SessionKey interact with active-run steering and dispatch admission, so a bad merge could still misroute, delay, suppress, or duplicate Slack replies.
  • [P1] The new routeThreadId field becomes part of active ReplyOperation state for routing decisions, which is session-state sensitive for queued follow-ups, aborts, and overlapping turns.
  • [P1] The PR touches shared auto-reply functions that several open PRs also modify, so maintainers should review the exact final merge result rather than relying only on an earlier diff.

Maintainer options:

  1. Land After Final Routing Review (recommended)
    Review the exact merged code around dispatch admission, active steering, and ReplyOperation state, then accept the Slack-scoped compatibility risk if the focused CI remains green.
  2. Refresh If Nearby Auto-Reply Work Lands First
    If another auto-reply PR lands before this one, rebase and re-check the Slack/non-Slack regression cases against the new merged code.
  3. Pause If Core Slack Policy Is Rejected
    If maintainers do not want Slack-specific route-thread policy in this core admission path, pause this PR and replace it with the preferred owner-boundary design.

Next step before merge

  • [P2] Human maintainer review is the remaining action because this is a compatibility-sensitive Slack/session/message-delivery change with no narrow automated repair.

Security
Cleared: The diff changes TypeScript routing/session logic and tests only; I found no concrete security or supply-chain regression.

Review details

Best possible solution:

Land the Slack-scoped route-thread guard after maintainer review of the final merge result, keeping the stable Slack DM SessionKey contract and the non-Slack same-session steering/admission regressions covered.

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

Yes. Current main compares active work by session identity without route-thread distinction, and the PR body includes before-fix failing regression checks plus live Slack evidence for the overlapping-DM symptom.

Is this the best way to solve the issue?

Yes. The proposed path is the narrow maintainable fix for the shipped Slack stable-DM-session contract: carry route-thread identity through active reply operations and apply the special guard only to Slack direct routed-thread turns.

AGENTS.md: found and applied where relevant.

Codex review notes: model gpt-5.5, reasoning high; reviewed against 4dad7bd93b6c.

Label changes

Label justifications:

  • P2: This is a normal-priority Slack message-routing bug fix with focused blast radius but meaningful session and delivery sensitivity.
  • merge-risk: 🚨 compatibility: The patch intentionally changes existing Slack same-session direct-message routing behavior while preserving non-Slack behavior through tests.
  • merge-risk: 🚨 session-state: Active ReplyOperation state gains routeThreadId and uses it to decide whether a same-session turn belongs to the current active run.
  • merge-risk: 🚨 message-delivery: The changed admission and steering paths determine whether Slack DM replies are queued, suppressed as busy, or delivered to the correct Slack thread.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (logs): The PR body includes structured after-fix proof from a real Slack Socket Mode workspace with redacted gateway/API evidence showing separate A and B thread replies plus a B-thread follow-up.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body includes structured after-fix proof from a real Slack Socket Mode workspace with redacted gateway/API evidence showing separate A and B thread replies plus a B-thread follow-up.
Evidence reviewed

PR surface:

Source +118, Tests +293. Total +411 across 10 files.

View PR surface stats
Area Files Added Removed Net
Source 6 120 2 +118
Tests 4 297 4 +293
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 10 417 6 +411

What I checked:

Likely related people:

  • steipete: Recent GitHub commit history shows repeated Slack prepare and auto-reply routing work, and the merged Slack DM thread session contract PR was merged under this area. (role: recent area contributor and likely follow-up owner; confidence: high; commits: ffdc7aa7a6d5, d7e24e024fc6, 00d8d7ead059; files: extensions/slack/src/monitor/message-handler/prepare.ts, src/auto-reply/reply/dispatch-from-config.ts, src/auto-reply/reply/get-reply-run.ts)
  • jalehman: Recent history for reply-run-registry includes a broad reply admission centralization and Telegram topic dispatch serialization change that overlaps this PR's active ReplyOperation admission behavior. (role: reply admission and serialization contributor; confidence: medium; commits: 62b51a6295ee; files: src/auto-reply/reply/reply-run-registry.ts, src/auto-reply/reply/reply-turn-admission.ts, src/auto-reply/reply/dispatch-from-config.ts)
  • vincentkoc: Local blame on the current main active reply routing paths and recent path logs point to adjacent work around dispatch routing and route-thread context, useful for maintainer routing even though the checkout history is shallow/grafted. (role: recent adjacent contributor; confidence: medium; commits: 5367ef7bd3c6, d1cd74b2431d; files: src/auto-reply/reply/dispatch-from-config.ts, src/auto-reply/reply/get-reply-run.ts, extensions/slack/src/monitor/message-handler/prepare.ts)
What the crustacean ranks mean
  • 🦀 challenger crab: rare, exceptional readiness with strong proof, clean implementation, and convincing validation.
  • 🦞 diamond lobster: very strong readiness with only minor maintainer review expected.
  • 🐚 platinum hermit: good normal PR, likely mergeable with ordinary maintainer review.
  • 🦐 gold shrimp: useful signal, but proof or patch confidence is still limited.
  • 🦪 silver shellfish: thin signal; proof, validation, or implementation needs work.
  • 🧂 unranked krab: not merge-ready because proof is missing/unusable or there are serious correctness or safety concerns.
  • 🌊 off-meta tidepool: rating does not apply to this item.

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
  • 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.

@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. labels May 24, 2026
@clawsweeper

clawsweeper Bot commented May 24, 2026 •

Copy link
Copy Markdown
Contributor

ClawSweeper PR egg

✨ Hatched: 🌱 uncommon Neon Crabkin

Hatch command

Comment @clawsweeper hatch when this PR is hatchable.

Hatchability rules:

  • Merged PRs are hatchable.
  • Open PRs are hatchable when they are status: 👀 ready for maintainer look, status: 🚀 automerge armed, or labeled clawsweeper:automerge.
  • Closed unmerged PRs are hatchable only when one of those hatchable labels is still present in the durable record.

Rarity: 🌱 uncommon.
Trait: guards the happy path.
Image traits: location flaky test forest; accessory miniature diff map; palette seafoam, black, and opal; mood curious; pose sitting proudly on a smooth stone; shell smooth pearl shell; lighting warm desk-lamp glow; background gentle dashboard dots.
Share on X: post this hatch
Copy: My PR egg hatched a 🌱 uncommon Neon Crabkin in ClawSweeper.

What is this egg doing here?
  • Eggs appear after the PR passes real-behavior proof. It is here for vibes, not verdicts: it does not change labels, ratings, merge decisions, or automation.
  • The shell reacts to review momentum: open follow-up work warms it up, re-review makes it wobble, and a clean final review lets it hatch.
  • Hatchability usually comes from sufficient real-behavior proof, no blocking P0/P1/P2 findings, no security attention needed, and clean correctness. A merged PR is already final, so merge makes the egg hatchable independently.
  • The hatch is seeded from this repository and PR number, so the same PR keeps the same creature; the reviewed head SHA can only change safe visual details.
  • Rarity is just collectible sparkle: 🥚 common, 🌱 uncommon, 💎 rare, ✨ glimmer, and 🌈 legendary.

@guanbear
guanbear force-pushed the slack-dm-thread-isolation branch from f084fed to e76e918 Compare May 24, 2026 03:32
@guanbear guanbear changed the title fix(slack): isolate top-level DM thread sessions fix(slack): keep DM thread turns out of active steering May 24, 2026
@openclaw-barnacle openclaw-barnacle Bot added proof: supplied External PR includes structured after-fix real behavior proof. and removed triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup. labels May 24, 2026
@guanbear

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented May 24, 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.

Re-review progress:

@clawsweeper clawsweeper Bot added status: 🔁 re-review loop A fresh ClawSweeper review was explicitly requested after the latest review. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. and removed status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. status: 🔁 re-review loop A fresh ClawSweeper review was explicitly requested after the latest review. labels May 24, 2026
@guanbear
guanbear force-pushed the slack-dm-thread-isolation branch from e76e918 to 323e3ca Compare May 24, 2026 04:03
@guanbear

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented May 24, 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.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. labels May 24, 2026
@guanbear

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented May 24, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

Re-review progress:

@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 24, 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. and removed status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels May 24, 2026
@guanbear

Copy link
Copy Markdown
Contributor Author

CI note for the remaining red check on current head d0d5a354e77e5650f0ff3126eea42cae04a008e3:

  • Failing GitHub check: checks-node-agentic-agents (src/agents/model-catalog-visibility.test.ts, timeout in limits visible catalog to provider wildcard entries after default discovery).
  • This file/shard is outside this PR diff; the Slack/auto-reply related checks are green.
  • Fresh local reproduction of the failing file passes:
    • OPENCLAW_VITEST_MAX_WORKERS=2 node scripts/run-vitest.mjs run src/agents/model-catalog-visibility.test.ts
    • result: 2 files passed, 6 tests passed, duration 2.50s.
  • Fresh local rerun of the PR-relevant Slack/auto-reply suite passes:
    • 5 files passed, 378 tests passed, duration 20.51s.

I tried to rerun the failed workflow with gh run rerun 26367352630 --failed, but GitHub rejected it with Must have admin rights to Repository, so a maintainer/admin rerun is needed for that CI flake.

@guanbear

Copy link
Copy Markdown
Contributor Author

Maintainer action requested: could someone with repository permission rerun the failed checks-node-agentic-agents job?

The remaining failure is an unrelated timeout in src/agents/model-catalog-visibility.test.ts, outside this PR diff. I verified it locally on the current PR head and it passes (2 files passed, 6 tests passed, 2.50s). The PR-relevant Slack/auto-reply suite also passes locally (5 files passed, 378 tests passed, 20.51s).

I cannot rerun the GitHub job from this fork account: gh run rerun 26367352630 --failed returns Must have admin rights to Repository. I am intentionally not pushing an empty commit just to retrigger CI because that would change the PR head and stale the current-head Slack live proof already accepted by ClawSweeper.

@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 25, 2026
@guanbear
guanbear force-pushed the slack-dm-thread-isolation branch from fc360ec to 01d5d36 Compare May 25, 2026 03:31
@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels May 25, 2026
@clawsweeper

clawsweeper Bot commented May 25, 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.

Re-review progress:

@BingqingLyu

This comment was marked as spam.

@guanbear
guanbear force-pushed the slack-dm-thread-isolation branch from 01d5d36 to 2ce37ad Compare May 29, 2026 13:20
@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 29, 2026
@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. labels May 29, 2026
@guanbear
guanbear force-pushed the slack-dm-thread-isolation branch from 2ce37ad to 8861120 Compare May 29, 2026 13:41
@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 29, 2026
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 29, 2026
@openclaw-barnacle openclaw-barnacle Bot added channel: googlechat Channel integration: googlechat channel: matrix Channel integration: matrix and removed proof: sufficient ClawSweeper judged the real behavior proof convincing. labels May 29, 2026

@steipete steipete left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed for Slack DM active-run/thread isolation.

Verification:

  • git diff --check origin/main...FETCH_HEAD passed.
  • /Users/steipete/Projects/agent-scripts/skills/autoreview/scripts/autoreview --mode branch --base origin/main --output /tmp/pr85904-autoreview.txt --json-output /tmp/pr85904-autoreview.json passed: no accepted/actionable findings.
  • GitHub CI for head 6703e166545bcb96c1a50de93a42446212cca9a7 is green, including checks-node-auto-reply-reply-dispatch, checks-node-auto-reply-reply-state-routing, check-lint, check-prod-types, check-test-types, and Real behavior proof.

Real behavior proof:

  • PR body includes live Slack Socket Mode proof for overlapping top-level Slack DMs and same-thread follow-up delivery.
  • I reviewed the active-run steering and dispatch-admission paths plus the Slack stable DM session-key test coverage.

Known proof gap:

  • I did not rerun the PR's focused Vitest suite locally after autoreview; I relied on green CI, the PR's supplied live Slack proof, and source review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

channel: slack Channel integration: slack merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: supplied External PR includes structured after-fix real behavior proof. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: M 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.

3 participants