Commit Graph

663 Commits

Author SHA1 Message Date
Peter Steinberger
0a6818bbb5 test: finish exact function assertion cleanup 2026-05-08 06:38:25 +01:00
Peter Steinberger
9e58cc82c8 test: fix strict CI gates 2026-05-08 05:56:38 +01:00
Peter Steinberger
eabae023eb perf: lazy load memory embedding runtime 2026-05-08 05:39:13 +01:00
Peter Steinberger
9ef37d1907 test: tighten assertions and harness coverage 2026-05-08 05:28:12 +01:00
Zeroth
741315e657 fix(slack): seed thread routing for implicit-conversation channels (#78522)
When a Slack channel has `requireMention: false` and a non-`off` reply mode, every top-level bot reply creates a Slack thread (because `replyToMode` does). Without seeding the inbound root, the root turn landed on the channel session while later thread replies landed on a fresh `🧵<root_ts>` session, breaking conversational continuity.

Extend `seedTopLevelRoomThreadBySource` to also fire for those channels, mirroring how `app_mention` / `explicitlyMentioned` roots already get seeded. The thread session key is now consistent on both sides of the turn, so follow-up thread messages route back to the originating session.

Fixes #78505
2026-05-07 23:30:10 -04:00
Peter Steinberger
accf774591 fix: make channel progress labels rolling 2026-05-08 02:03:12 +01:00
Peter Steinberger
6a4069dead fix: share plugin runtime helpers
Consolidate shared plugin runtime MIME/schema helpers, preserve canonical runtime behavior, and guard QQBot STT fetches.
2026-05-08 00:28:43 +01:00
Pavan Kumar Gondhi
c65f3bc70e Compute plugin callback authorization dynamically [AI] (#78866)
* fix: compute plugin callback command authorization

* addressing codex review

* addressing ci

* addressing ci

* docs: add changelog entry for PR merge
2026-05-07 18:05:21 +05:30
Vincent Koc
7eaabc0b3b perf(slack): trim thread context allocation
(cherry picked from commit 0caa419f76)
2026-05-06 22:27:50 -07:00
Vincent Koc
ac74a92845 perf(slack): avoid redundant thread participation lookups
(cherry picked from commit 098a8b34b9)
2026-05-06 22:27:49 -07:00
Vincent Koc
b09033e587 perf(slack): cache stream recipient team lookup
(cherry picked from commit 8ce7cc8aae)
2026-05-06 22:27:49 -07:00
Vincent Koc
c0302512d4 perf(slack): reduce message hot-path overhead
(cherry picked from commit 9962328b7c)
2026-05-06 22:27:49 -07:00
Vincent Koc
eee7307891 perf(core): trim reply helper churn 2026-05-06 22:22:39 -07:00
Pavan Kumar Gondhi
b895c6d939 Gate Slack startup user allowlist resolution [AI] (#77898)
* fix: gate slack user allowlist resolution

* addressing codex review

* addressing ci

* docs: add changelog entry for PR merge
2026-05-06 15:16:55 +05:30
Peter Steinberger
20163313af fix: resolve fs-safe post-land fallout 2026-05-06 02:41:36 +01:00
Peter Steinberger
947e530ad1 fix: improve slack socket mode diagnostics 2026-05-06 02:09:36 +01:00
Peter Steinberger
05eda57b3c refactor: migrate bundled plugins to message lifecycle 2026-05-06 01:46:42 +01:00
Bek
cf3ce08b91 fix: slack mention-gating thread participation 2026-05-05 05:11:56 +01:00
Peter Steinberger
9f2c8a6ab6 fix: clarify slack socket retry errors 2026-05-04 23:26:25 +01:00
Peter Steinberger
fa689295c6 fix: resolve small triage issues 2026-05-04 07:38:42 +01:00
Vincent Koc
ccb94a6282 fix(slack): keep newest rich progress lines 2026-05-03 22:33:43 -07:00
Vincent Koc
f2d9b2c493 fix(tests): restore progress draft changed gate 2026-05-03 21:53:22 -07:00
Peter Steinberger
b5d408cd69 feat: add rich Slack progress drafts 2026-05-04 05:38:56 +01:00
Vincent Koc
708c7cd2e2 fix(channels): align preview tool progress help 2026-05-03 19:06:28 -07:00
Vincent Koc
c979ed3a3a fix(channels): pass raw progress detail to drafts 2026-05-03 18:43:11 -07:00
Vincent Koc
df39e611f8 fix(channels): quiet disabled preview tool progress 2026-05-03 18:33:09 -07:00
Peter Steinberger
36c047c026 fix(channels): unify progress draft line formatting 2026-05-04 00:50:09 +01:00
Vincent Koc
c90a828d17 fix(slack): skip empty progress refreshes 2026-05-03 16:48:39 -07:00
Vincent Koc
d2ba09b301 fix(channels): skip empty progress drafts 2026-05-03 16:44:21 -07:00
Peter Steinberger
392897304c fix(channels): delay progress drafts until work is visible 2026-05-04 00:22:13 +01:00
Vincent Koc
8beda86416 fix(channels): expose progress draft config hints 2026-05-03 14:21:57 -07:00
Peter Steinberger
c33e578554 feat: add channel progress drafts
Adds unified progress-draft streaming for chat channels, with docs and per-channel regressions.
2026-05-03 22:01:08 +01:00
Peter Steinberger
aa5f8e6403 fix: reduce slack socket reconnect log noise 2026-05-03 18:33:14 +01:00
clawsweeper[bot]
e8df05ed4f fix(slack): enable preview streaming in flat DMs (replyToMode: off) (#76330)
Summary:
- The PR enables Slack draft preview streaming for flat DMs in all non-off modes, updates Slack streaming tests/docs/config metadata/changelog, and refreshes small guard baselines.
- Reproducibility: yes. source-reproducible on current main: the helper returns false for `mode: "partial"` in ...  current test asserts that disabled path. I did not run tests because this review was explicitly read-only.

Automerge notes:
- Ran the ClawSweeper repair loop before final review.
- Included post-review commit in the final squash: fix(slack): enable preview streaming in flat DMs (replyToMode: off)
- Included post-review commit in the final squash: fix(clawsweeper): address review for automerge-openclaw-openclaw-5654…

Validation:
- ClawSweeper review passed for head 52e5d74ef9.
- Required merge gates passed before the squash merge.

Prepared head SHA: 52e5d74ef9
Review: https://github.com/openclaw/openclaw/pull/76330#issuecomment-4365017023

Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: bob <637186+HangGlidersRule@users.noreply.github.com>
2026-05-03 01:30:36 +00:00
clawsweeper[bot]
cf46dc54ff fix(slack): ignore no_reaction in remove helpers (#76320)
Summary:
- The PR adds a Slack `no_reaction` guard to `removeSlackReaction`, routes `removeOwnSlackReactions` through that helper, adds reaction tests, and records the fix in the changelog.
- Reproducibility: yes. A mocked Slack `WebClient` whose `reactions.remove` rejects with `{ data: { error: "no ... es current-main propagation in `removeSlackReaction` and the list/remove race in `removeOwnSlackReactions`.

ClawSweeper fixups:
- Included follow-up commit: fix(clawsweeper): address review for automerge-openclaw-openclaw-7630…

Validation:
- ClawSweeper review passed for head 1211ce06d3.
- Required merge gates passed before the squash merge.

Prepared head SHA: 1211ce06d3
Review: https://github.com/openclaw/openclaw/pull/76320#issuecomment-4364991477

Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: HollyChou <128659251+Hollychou924@users.noreply.github.com>
2026-05-03 00:05:23 +00:00
amsminn
177fb7e84d fix: preserve slack hook alert content 2026-05-02 11:43:46 +01:00
Peter Steinberger
b867ed4ff2 fix(slack): match channel-prefixed allowlist keys 2026-05-02 06:24:48 +01:00
Peter Steinberger
8734635b73 fix(slack): discover bot scopes via auth test 2026-05-02 06:18:49 +01:00
Peter Steinberger
72c8764d32 fix(slack): forward media roots for uploads 2026-05-02 05:34:56 +01:00
Peter Steinberger
43121fb096 fix: guard provider-prefixed delivery targets 2026-05-02 05:30:41 +01:00
Peter Steinberger
7934a2390c fix: clean up extension ci failures 2026-05-02 05:16:25 +01:00
Peter Steinberger
374529d612 fix(slack): retry transient dns send failures 2026-05-02 05:15:44 +01:00
Peter Steinberger
37a253834a fix: keep slack status reactions in tool-only rooms 2026-05-02 05:08:57 +01:00
Peter Steinberger
3e2a2c7b74 fix(slack): normalize route binding targets 2026-05-02 05:08:39 +01:00
Peter Steinberger
096b91cb3b fix(slack): send proactive dm text directly 2026-05-02 04:57:01 +01:00
Peter Steinberger
67fd3bfca2 fix(slack): preserve api scope errors 2026-05-02 04:46:59 +01:00
Peter Steinberger
d964488a23 fix(slack): keep top-level dms on stable session 2026-05-02 04:26:38 +01:00
Peter Steinberger
47f76c563f fix(slack): backfill fresh dm history 2026-05-02 04:11:45 +01:00
Peter Steinberger
2dfa2663ec fix(slack): split media and block action sends 2026-05-02 03:58:30 +01:00
Peter Steinberger
5b1c2ee25f fix(slack): wake on user-group mentions 2026-05-02 03:46:26 +01:00