Skip to content

fix(mattermost): persist threadId in delivery context for all session types - #52236

Closed
teconomix wants to merge 1 commit into
openclaw:mainfrom
teconomix:fix/mattermost-cron-thread-context
Closed

teconomix wants to merge 1 commit into
openclaw:mainfrom
teconomix:fix/mattermost-cron-thread-context

Conversation

@teconomix

@teconomix teconomix commented Mar 22, 2026 •

Copy link
Copy Markdown
Contributor

Problem

When a cron job or heartbeat wakes a thread-scoped Mattermost session, the reply lands at the channel root instead of in the thread.

Root Cause

updateLastRoute in monitor.ts was guarded by if (kind === "direct"), so delivery context (including threadId) was only persisted for DM sessions. For group/channel sessions with threads, deliveryContext.threadId was never stored in the session store.

When a cron fires into a thread-scoped session, dispatch-from-config.ts recovers the thread ID via parseSessionThreadInfo(runSessionKey) — which correctly extracts the thread ID from the session key string. However, without threadId stored in deliveryContext, the delivery has no thread context when looking up the session entry.

Fix

Remove the kind === "direct" guard from updateLastRoute so delivery context is persisted for all session types. This ensures threadId is stored whenever an inbound message is processed in a thread-scoped session.

How to test

  1. Configure Mattermost with replyToMode: "all"
  2. Start a conversation in a channel thread — this creates a thread-scoped session
  3. Have the agent set a cron job targeting the thread session key using --session main --session-key <thread-session-key>
  4. Before: reply lands at channel root
  5. After: reply should land in the thread

Related: #45082 (case 2), companion to #52120 (case 1 — message tool)

Closes #45082

@openclaw-barnacle openclaw-barnacle Bot added channel: mattermost Channel integration: mattermost size: S labels Mar 22, 2026
@greptile-apps

greptile-apps Bot commented Mar 22, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR fixes a thread-routing regression for cron/heartbeat wakeups in Mattermost channel sessions. The root cause was that updateLastRoute was guarded behind if (kind === "direct"), so deliveryContext.threadId was never persisted for group/channel sessions. When a cron job fired into a thread-scoped session it had no stored thread context and replied to the channel root instead of the thread.

The fix is minimal and correct:

  • Drops the kind === "direct" guard so updateLastRoute runs for all session types
  • Adds threadId: effectiveReplyToId to the delivery context object so the thread ID is stored when a thread-scoped message arrives
  • The store.ts clearThreadFromFallback logic already handles the threadId: undefined case correctly (non-thread messages clear any previously stored thread ID, reflecting the most-recent interaction context) — this mirrors the pre-existing behaviour for DM sessions
  • The new preflight CI workflow adds scoped format/lint/test/build checks for this fork's Mattermost patches

Confidence Score: 5/5

  • Safe to merge — the change is a minimal two-line surgical fix with no regressions identified.
  • The fix is focused: one guard removed, one field added. The clearThreadFromFallback path in store.ts correctly handles threadId: undefined (non-thread messages) by clearing stale thread context from the fallback, exactly as it already did for DMs. Thread-scoped messages correctly store their effectiveReplyToId. Live-tested result confirms the fix works. No unrelated code is touched and the accompanying CI workflow is clean.
  • No files require special attention.

Reviews (1): Last reviewed commit: "Merge remote-tracking branch 'fork/main'..." | Re-trigger Greptile

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

https://github.com/openclaw/openclaw/blob/5504b8172942a361a7fcb7d063d9723dbc96c745/extensions/mattermost/src/mattermost/monitor.ts#L1354-L1357
P1 Badge Persist Mattermost thread routes on the thread session key

Now that non-DM turns enter this block, the write always targets route.mainSessionKey instead of the active thread session. resolveSessionDeliveryTarget later reuses deliveryContext.threadId from whatever entry is selected (src/infra/outbound/targets.ts:109-119,165-168), so after any threaded Mattermost turn a plain main-session cron/manual wake can inherit that thread and post there instead of the channel root. Other inbound paths avoid this by choosing the last-route session key from the current route (src/routing/resolve-route.ts:70-75), so persisting thread-scoped routing on the main session here is a regression.

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines +1347 to +1349
// Persist delivery context for all session types (including threads).
// Without threadId here, cron/heartbeat wakeups into a thread-scoped session
// lose thread context and deliver to channel root (issue #45082 case 2).

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.

P2 Badge Don't claim heartbeat routing is fixed by saving threadId here

Saving threadId in deliveryContext does not change the heartbeat path: resolveHeartbeatDeliveryTarget always calls resolveSessionDeliveryTarget(..., mode: "heartbeat"), and that helper deliberately drops session-derived thread IDs when mode === "heartbeat" (src/infra/outbound/targets.ts:280-285 and src/infra/outbound/targets.ts:165-166). As written, thread-scoped Mattermost heartbeats will still route to the channel root, so the new comment and fix are incomplete for the heartbeat case.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

You are correct. The heartbeat delivery path calls resolveSessionDeliveryTarget with mode: \"heartbeat\", which explicitly sets threadId = undefined at targets.ts:165-166 to prevent stale thread context from leaking. Storing threadId in deliveryContext via this change alone does not fix the heartbeat case.

The cron wake path that does benefit from this change is the --session main --session-key <thread-key> path: dispatch-from-config.ts recovers routeThreadId via parseSessionThreadInfo(acpDispatchSessionKey).threadId — which reads from the session key string directly, not from deliveryContext. For this to work, ctx.SessionKey must be the thread-scoped key, which happens when the cron job is set with --session main --session-key <thread-session-key>.

The PR description has been updated to remove live-test claims. This fix is a necessary prerequisite for the cron thread-delivery path, but a complete fix for heartbeat thread routing would require changes to resolveHeartbeatDeliveryTarget to preserve thread context when explicitly targeting a thread-scoped session.

@teconomix
teconomix force-pushed the fix/mattermost-cron-thread-context branch 2 times, most recently from 29ac697 to 3658428 Compare March 22, 2026 12:31
@teconomix
teconomix marked this pull request as draft March 22, 2026 12:35

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

https://github.com/openclaw/openclaw/blob/3658428580aad57541d4979dd578e66f6447b4e9/extensions/mattermost/src/mattermost/monitor.ts#L1356-L1357
P1 Badge Persist Mattermost thread routes on the thread session entry

This still writes the route only to route.mainSessionKey, so thread-scoped Mattermost sessions remain indistinguishable in the store. resolveDeliveryTarget() explicitly checks store[job.sessionKey] first and falls back to the main entry when that thread key has no record (src/cron/isolated-agent/delivery-target.ts:60-64, exercised by src/cron/isolated-agent.delivery-target-thread-session.test.ts:83-100). In the current Mattermost flow this handler never records the actual sessionKey, so if thread A receives a cron after thread B was the latest inbound message, the job for A will inherit B's threadId from the shared main entry and post into the wrong thread.


https://github.com/openclaw/openclaw/blob/3658428580aad57541d4979dd578e66f6447b4e9/extensions/mattermost/src/mattermost/monitor.ts#L1356-L1357
P1 Badge Avoid redirecting main-session heartbeats to public Mattermost threads

Updating route.mainSessionKey for every non-DM Mattermost message changes the shared main-session route, not just the thread-scoped session that woke up. When heartbeat.session is unset, the heartbeat path uses that main entry by default (src/infra/heartbeat-runner.ts:218-225) and resolves delivery from its lastChannel/lastTo (src/infra/outbound/targets.ts:280-315), so a single mention in a channel or thread will make later heartbeats or other main-session deliveries jump from the user's DM into that public Mattermost conversation. If the goal is only to fix thread-session wakeups, this needs a per-session write rather than overwriting the shared main route.

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@teconomix

Copy link
Copy Markdown
Contributor Author

Leaving as draft pending a more complete fix. The monitor.ts change (storing threadId in deliveryContext for all session types) is a necessary prerequisite but not sufficient on its own.

Two remaining issues:

  1. Heartbeat delivery drops threadId: resolveHeartbeatDeliveryTarget calls resolveSessionDeliveryTarget with mode: "heartbeat", which explicitly sets threadId = undefined (targets.ts:165-166) to prevent stale thread context. A complete fix needs to preserve thread context when explicitly targeting a thread-scoped session key.

  2. Cron tool gap: The cron tool schema has no way to set sessionTarget to the current thread session with payload.kind: "systemEvent". sessionTarget: "current" requires agentTurn (isolated), and sessionTarget: "main" targets the main session. This means agents cannot schedule cron wakeups in their own thread via the tool — only via the CLI directly.

… types

Previously updateLastRoute was only called for DM (kind === direct) sessions.
For group/channel sessions with threads, the deliveryContext never stored
threadId, so cron/heartbeat wakeups targeting a thread-scoped session had no
thread context and delivered replies to the channel root.

Remove the kind === direct guard so delivery context is persisted for all
session types, including thread-scoped sessions.

Fixes openclaw#45082 case 2: cron/heartbeat wake replies landing at channel root.
@teconomix
teconomix force-pushed the fix/mattermost-cron-thread-context branch from 3658428 to 30ae81e Compare March 31, 2026 04:51
@teconomix teconomix closed this Apr 1, 2026
@teconomix

teconomix commented Apr 1, 2026 •

Copy link
Copy Markdown
Contributor Author

abandoning — we have migrated from Mattermost to Matrix and are no longer maintaining Mattermost patches. Thanks for the reviews. maybe someone wants to take it from here.

@teconomix teconomix reopened this Apr 1, 2026
@openclaw-barnacle

Copy link
Copy Markdown

This pull request has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.

@openclaw-barnacle openclaw-barnacle Bot added the stale Marked as stale due to inactivity label Apr 29, 2026
@clawsweeper

clawsweeper Bot commented Apr 30, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed June 27, 2026, 12:38 PM ET / 16:38 UTC.

Summary
The branch broadens Mattermost inbound last-route persistence from direct messages to all chat types and stores effectiveReplyToId as deliveryContext.threadId.

PR surface: Source +4. Total +4 across 1 file.

Reproducibility: yes. at source level: current Mattermost recording still omits updateLastRoute for non-direct turns while cron delivery depends on routable persisted delivery context. I did not run a live Mattermost workspace in this read-only review.

Review metrics: 1 noteworthy metric.

  • Persisted route scope: 1 broadened update path. The diff changes a persisted delivery-routing update from direct-message-only to all Mattermost chat types, which can affect existing session fallback behavior before merge.

Merge readiness
Overall: 🧂 unranked krab
Proof: 🧂 unranked krab
Patch quality: 🧂 unranked krab
Result: blocked until real behavior proof is added.

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

Rank-up moves:

  • [P1] Close this candidate or replace it with a narrow fix tied to the canonical issue.
  • [P1] Add redacted live Mattermost proof showing a cron or heartbeat wake targeting a thread-scoped session posts in the original thread.

Proof guidance:

  • [P1] Needs real behavior proof before merge: No contributor-supplied after-fix Mattermost proof is present; tests, bot summaries, and review comments do not show a real cron or heartbeat wake posting into the intended thread. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.

Risk before merge

  • [P1] Merging this branch can persist Mattermost thread context on the wrong shared route entry, causing later cron, heartbeat, or main-session deliveries to post into a stale or unrelated public thread.
  • [P1] The branch does not fix the heartbeat path because heartbeat-mode session target resolution intentionally drops inherited session thread IDs unless the turn source supplies one.
  • [P1] The PR has no after-fix Mattermost proof and is currently a conflicting abandoned draft, so normal CI would not settle the user-visible route behavior.

Maintainer options:

  1. Close this candidate and keep the canonical issue (recommended)
    Use the still-open issue as the tracker for a replacement fix because this draft branch is abandoned, conflicting, and has known route/session regressions.
  2. Replace with a targeted route-persistence fix
    A new or adopted branch should persist non-direct Mattermost delivery context on the correct session entry and prove cron/heartbeat wakes route to the originating thread.
  3. Accept the routing risk deliberately
    Maintainers could intentionally merge a partial mitigation only if they are willing to own possible wrong-thread delivery and document the remaining heartbeat gap.

Next step before merge

  • [P1] Closed PR cleanup should not queue repair from this abandoned conflicting branch; maintainers should use the canonical issue to sponsor or replace the fix.

Security
Cleared: The diff only changes Mattermost delivery-route persistence in one TypeScript source file and introduces no new dependency, workflow, permission, secret, install, or code-execution surface.

Review findings

  • [P1] Persist routes on the thread session entry — extensions/mattermost/src/mattermost/monitor.ts:1380-1386
  • [P1] Avoid redirecting main-session deliveries into public threads — extensions/mattermost/src/mattermost/monitor.ts:1380-1386
  • [P2] Do not claim heartbeat routing is fixed here — extensions/mattermost/src/mattermost/monitor.ts:1381-1384
Review details

Best possible solution:

Keep this PR open until a linked canonical PR proves it covers this PR's unique work, or a maintainer confirms closure.

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

Yes, at source level: current Mattermost recording still omits updateLastRoute for non-direct turns while cron delivery depends on routable persisted delivery context. I did not run a live Mattermost workspace in this read-only review.

Is this the best way to solve the issue?

No. This patch is not the best fix because it broadens persistence on the wrong route/session surface and does not address heartbeat's explicit stale-thread guard.

Full review comments:

  • [P1] Persist routes on the thread session entry — extensions/mattermost/src/mattermost/monitor.ts:1380-1386
    Once this block runs for non-DM Mattermost turns, it still writes through the last-route session key derived from the base route rather than the active thread sessionKey. Cron delivery checks the targeted thread session before falling back to shared entries, so multiple Mattermost threads can inherit the wrong stored threadId and post to the wrong thread.
    Confidence: 0.88
  • [P1] Avoid redirecting main-session deliveries into public threads — extensions/mattermost/src/mattermost/monitor.ts:1380-1386
    Broadening this write updates shared route context for channel/thread traffic, not only the thread-scoped session that needs cron recovery. Later main-session heartbeat or wake deliveries can then reuse the public Mattermost thread as the last route, changing existing delivery behavior for users whose main session previously resolved elsewhere.
    Confidence: 0.82
  • [P2] Do not claim heartbeat routing is fixed here — extensions/mattermost/src/mattermost/monitor.ts:1381-1384
    The added comment and PR description still frame heartbeat wakeups as fixed by saving threadId, but heartbeat-mode target resolution intentionally drops session-derived thread IDs unless the turn source supplies one. This patch is at most a partial cron route-persistence prerequisite unless the heartbeat path is changed too.
    Confidence: 0.9

Overall correctness: patch is incorrect
Overall confidence: 0.88

AGENTS.md: found and applied where relevant.

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

Label changes

Label justifications:

  • P2: This is a bounded Mattermost channel/session routing bug with visible reply misrouting but no core outage or security emergency.
  • merge-risk: 🚨 compatibility: The diff changes persisted session delivery-route semantics for non-direct Mattermost conversations, which can alter existing cron and heartbeat upgrade behavior.
  • merge-risk: 🚨 session-state: The patch can write thread context onto a shared route entry instead of the active thread session, making later session state stale or mis-associated.
  • merge-risk: 🚨 message-delivery: Wrong or stale thread context can send Mattermost replies to the channel root or an unrelated public thread.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🧂 unranked krab.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs real behavior proof before merge: No contributor-supplied after-fix Mattermost proof is present; tests, bot summaries, and review comments do not show a real cron or heartbeat wake posting into the intended thread. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Evidence reviewed

PR surface:

Source +4. Total +4 across 1 file.

View PR surface stats
Area Files Added Removed Net
Source 1 5 1 +4
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 1 5 1 +4

What I checked:

  • PR close coverage proof: PR close coverage proof kept this PR open against fix(mattermost): keep message tool replies in threads #93424: PR B is an adjacent merged message-tool threading fix, but the PR A report explicitly says current main covers the message-tool path while the non-direct route-persistence path for Mattermost cron/heartbeat wakes remains material work. That remaining behavior is PR A's core intent, so PR B does not cover PR A well enough to close it as covered.
  • PR diff: The proposed patch removes the direct-message guard around Mattermost updateLastRoute and adds threadId: effectiveReplyToId in extensions/mattermost/src/mattermost/monitor.ts. (extensions/mattermost/src/mattermost/monitor.ts:1380, 30ae81e193d4)
  • Current Mattermost source: Current main still only sends updateLastRoute for kind === "direct", so the underlying non-direct persistence bug remains a real source-level issue and belongs in the canonical tracker rather than this incomplete branch. (extensions/mattermost/src/mattermost/monitor.ts:1901, b8e3de11608d)
  • Heartbeat contract: Current heartbeat/session target resolution intentionally drops session-derived thread IDs in heartbeat mode unless an explicit turn source supplies the thread, which matches the review comment saying this patch does not fix heartbeat routing by itself. (src/infra/outbound/targets-session.ts:180, b8e3de11608d)
  • Author and review discussion: Live PR comments show the author agreed the patch does not fix heartbeat routing and later wrote that they were abandoning Mattermost patches; live review comments also identify wrong-thread and main-session routing regressions introduced by this branch.
  • Canonical remaining work: The linked issue remains open and recently records that current main covers the Mattermost message-tool path but not the non-direct route-persistence path for Mattermost cron/heartbeat wakes.

Likely related people:

  • teconomix: They authored merged Mattermost replyToMode and non-inbound thread-context commits and opened the canonical issue plus this candidate branch. (role: feature-history contributor and reporter; confidence: high; commits: 171d2df9e0fe, 0c926a2c5e82, 30ae81e193d4; files: extensions/mattermost/src/mattermost/monitor.ts, extensions/mattermost/src/channel.ts, src/auto-reply/reply/dispatch-from-config.ts)
  • amknight: They authored the merged PR that added the current Mattermost message-tool thread-root behavior and shared outbound canonicalization adjacent to this issue cluster. (role: current-main related fix author; confidence: high; commits: 2365a137d88c, 251f898ffd3e; files: extensions/mattermost/src/channel.ts, extensions/mattermost/src/channel.test.ts, src/infra/outbound/message-action-threading.ts)
  • vincentkoc: They merged the current message-tool fix and authored several follow-up commits in that merged PR touching Mattermost and outbound reply-threading behavior. (role: recent merger and adjacent contributor; confidence: medium; commits: 2365a137d88c, 4b050c9f0ae5, 28725ab278f1; files: extensions/mattermost/src/channel.ts, src/infra/outbound/message-action-runner.ts, src/infra/outbound/message-action-threading.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.

@openclaw-barnacle openclaw-barnacle Bot removed the stale Marked as stale due to inactivity label May 1, 2026
@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: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. labels May 19, 2026
@clawsweeper clawsweeper Bot added the merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. label May 19, 2026
@openclaw-barnacle openclaw-barnacle Bot added the triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup. label May 19, 2026
@clawsweeper

clawsweeper Bot commented May 20, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper PR egg

🎁 Pass real behavior proof to wake the egg and unlock a hatchable treat.

Where did the egg go?
  • The egg game starts only after the PR passes the real-behavior proof check.
  • Before that, no creature or rarity is rolled. The treat waits for real proof.
  • This is still just collectible flavor: proof affects review readiness, not creature quality.

@openclaw-barnacle

Copy link
Copy Markdown

This pull request has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.

@openclaw-barnacle openclaw-barnacle Bot added the stale Marked as stale due to inactivity label Jun 6, 2026
@clawsweeper clawsweeper Bot added rating: 🌊 off-meta tidepool PR readiness rating does not apply to this item. and removed 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. labels Jun 6, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the stale Marked as stale due to inactivity label Jun 7, 2026
@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. and removed rating: 🌊 off-meta tidepool PR readiness rating does not apply to this item. labels Jun 7, 2026
@clawsweeper clawsweeper Bot added rating: 🌊 off-meta tidepool PR readiness rating does not apply to this item. 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. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. and removed 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. rating: 🌊 off-meta tidepool PR readiness rating does not apply to this item. labels Jun 15, 2026
@steipete steipete closed this Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

channel: mattermost Channel integration: mattermost 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. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. size: XS status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(mattermost): proactive message tool sends ignore thread context

2 participants