Commit Graph

40062 Commits

Author SHA1 Message Date
JC
228e5a238c fix: recover topic-suffixed restart locks (#76052)
Fix restart recovery for main sessions that use topic-suffixed transcript files by matching cleaned transcript lock paths directly while preserving the canonical session-id fallback for stale metadata.

Thanks @anyech.
2026-05-02 13:30:10 +01:00
Peter Steinberger
237d0869dc ci: fix release-path docker rerun commands 2026-05-02 13:27:03 +01:00
Peter Steinberger
f4a69c4620 test(google-meet): mock session store updates 2026-05-02 13:24:02 +01:00
Peter Steinberger
9fff2b7791 fix(gateway): detect SecretRef auth rotations 2026-05-02 13:16:28 +01:00
Peter Steinberger
8a2207f8a1 fix(security): ignore plugin install debris in audits 2026-05-02 13:12:28 +01:00
Peter Steinberger
be2768433c fix: mark task fallback events untrusted 2026-05-02 13:11:19 +01:00
Peter Steinberger
638fbc75a0 test: remove stale reset hook import 2026-05-02 13:11:19 +01:00
Peter Steinberger
35685540e2 test: stabilize session reset writer coverage 2026-05-02 13:11:19 +01:00
Peter Steinberger
4967bcb16b fix: route session cleanup through gateway writer 2026-05-02 13:11:19 +01:00
Peter Steinberger
b4437047f4 perf: route session store writes through writer queue 2026-05-02 13:11:19 +01:00
Peter Steinberger
ffc79532b8 test(release): stabilize live release gates 2026-05-02 13:06:37 +01:00
Peter Steinberger
f46c699887 fix(tasks): speed up registry maintenance
Co-authored-by: Lightningxxl <yuanhangxurobin@gmail.com>
Co-authored-by: Gorin Lee <glfruit80@gmail.com>
2026-05-02 13:02:13 +01:00
Peter Steinberger
a254fdaf42 refactor: isolate plugin tool factory execution 2026-05-02 13:01:51 +01:00
Peter Steinberger
7ed58a3efb fix: preserve discord setup channel allowlists (#47788) (thanks @Eldersonar) 2026-05-02 13:01:30 +01:00
Matthew Schleder
084c4beb2e fix(telegram): pass session files to native plugin commands
Pass persisted session file context into Telegram native plugin commands so topic-scoped /codex bind can attach to the active OpenClaw session.

Thanks @MatthewSchleder.

Validation:
- pnpm plugin-sdk:api:check
- pnpm test extensions/telegram/src/bot-native-commands.session-meta.test.ts extensions/telegram/src/bot-native-commands.test.ts -- --reporter=verbose
- OPENCLAW_TESTBOX=1 pnpm check:changed (tbx_01kqm8kzwkdxs2ntgck6vmyrgr)
2026-05-02 13:01:07 +01:00
Peter Steinberger
3980eaa1c2 fix(discord): harden Carbon parity (#75363)
Summary:
- The PR updates the Discord plugin with REST priority lanes and stale background drops, gateway send/member v ... normalization, explicit component forwarding, one-off component wait helpers, tests, and a changelog entry.
- Reproducibility: yes. The prior scheduler failure has a high-confidence source-level reproduction using one  ... ne pending same-bucket request under fake timers, and the latest head adds a regression test for that path.

ClawSweeper fixups:
- Included follow-up commit: fix(discord): preserve option localizations
- Included follow-up commit: fix(discord): harden component sends
- Included follow-up commit: docs(changelog): note Discord Carbon parity hardening
- Included follow-up commit: fix(discord): harden Carbon parity
- Ran the ClawSweeper repair loop before final review.

Validation:
- ClawSweeper review passed for head 4fa634ef1a.
- Required merge gates passed before the squash merge.

Prepared head SHA: 4fa634ef1a
Review: https://github.com/openclaw/openclaw/pull/75363#issuecomment-4357438917

Co-authored-by: Peter Steinberger <steipete@gmail.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
2026-05-02 11:57:07 +00:00
Peter Steinberger
cd84e9bfb0 fix: preserve discord announce account routing 2026-05-02 12:50:26 +01:00
Peter Steinberger
3ee41deba9 test(agents): preserve session lock pid mock 2026-05-02 12:48:43 +01:00
Peter Steinberger
70ef234753 refactor(skills): centralize snapshot hydration 2026-05-02 12:47:19 +01:00
Peter Steinberger
e607ad4ab0 fix(telegram): route bound group native commands 2026-05-02 12:47:06 +01:00
Peter Steinberger
05a5fa81a0 fix(sessions): hydrate agent-command skill snapshots 2026-05-02 12:44:39 +01:00
Amogh Asgekar
479ed596bd fix(sessions): hydrate skillsSnapshot.resolvedSkills on resume
Codex review on PR #75960 flagged that prepareClaudeCliSkillsPlugin and
the claude-live-session fingerprint read skillsSnapshot.resolvedSkills
directly without a disk fallback. After the persistence-layer strip,
those consumers would see an empty Skill[] on cold session resume,
breaking the documented Claude Code skills integration.

Add a hydration helper in ensureSkillSnapshot that rebuilds
resolvedSkills from a fresh workspace scan when the loaded snapshot
lacks it, while keeping the persisted prompt/skills/skillFilter/version
fields untouched so the model's prompt-cache key stays stable across
resume. The embedded runner's existing consumer-level fallback in
src/agents/pi-embedded-runner/skills-runtime.ts is now a redundant
safety net rather than the only fallback path.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 12:44:39 +01:00
Amogh Asgekar
643ff4d778 docs(changelog): note sessions skillsSnapshot.resolvedSkills strip
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 12:44:39 +01:00
Amogh Asgekar
a3cacf3b67 perf(sessions): stop persisting skillsSnapshot.resolvedSkills
Each SessionEntry carried the fully parsed Skill[] (including each
SKILL.md body) inside skillsSnapshot.resolvedSkills, multiplied across
every active session. Strip the field at the persistence chokepoint —
normalizeSessionStore in store-load.ts — so every load and every save
naturally drops it. The runtime already falls back to a workspace skill
scan when resolvedSkills is absent (see
src/agents/pi-embedded-runner/skills-runtime.ts:14), so prompts and
session resume behavior are unchanged.

Legacy sessions.json files self-heal on first load: normalize strips
the in-memory store, the next write rewrites the file in stripped form.

Test fixture (100 sessions × 50 skills × ~3KB body) goes from ~32MB to
under 2MB on disk.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 12:44:39 +01:00
Peter Steinberger
03df3539e9 fix: suppress discord reconnect exhaustion during shutdown 2026-05-02 12:43:24 +01:00
Peter Steinberger
d90a08a447 refactor: extract plugin tool factory cache 2026-05-02 12:41:54 +01:00
Peter Steinberger
e62608beaa fix(release): keep discord core package files 2026-05-02 12:36:07 +01:00
Peter Steinberger
15f2cebc3e test(gateway): tolerate loaded auth rotation close 2026-05-02 12:23:42 +01:00
Peter Steinberger
40f2bf3950 fix: cache plugin tool factories by context 2026-05-02 12:19:29 +01:00
Peter Steinberger
335f870cd2 test: keep live release smokes tool-minimal 2026-05-02 12:18:25 +01:00
Peter Steinberger
460a5c131f fix: warn on empty discord native command replies 2026-05-02 12:14:37 +01:00
Peter Steinberger
5d0925fbb2 test(release): align package docker expectations 2026-05-02 12:10:04 +01:00
Peter Steinberger
85ce75c005 fix(daemon): canonicalize macOS service PATH 2026-05-02 12:02:47 +01:00
Peter Steinberger
29dc18d33d test(plugin-state): seed limit fixtures in one transaction 2026-05-02 12:02:10 +01:00
Peter Steinberger
c136bb0eaf test(release): exclude Discord plugin dist from core package 2026-05-02 12:00:05 +01:00
dae-sun
a147540b5f fix(telegram): register commands for group scope + preserve topic thread params 2026-05-02 12:00:05 +01:00
Ayaan Zaidi
d3e5292551 docs(changelog): move session status note to unreleased 2026-05-02 16:28:59 +05:30
Ayaan Zaidi
f3b4cb53b5 docs(changelog): note channel session status fix 2026-05-02 16:28:59 +05:30
bittoby
d5ad90f7ec fix: solve current-session resolution and valid session creation for sparse channel-plugin requesters 2026-05-02 16:28:59 +05:30
bittoby
8ace33be67 fix(agents/tools): resolve sessionKey=current for channel-plugin agents 2026-05-02 16:28:59 +05:30
Peter Steinberger
80da0a0213 chore: bump version to 2026.5.2 2026-05-02 11:58:45 +01:00
Ayaan Zaidi
7edac014e5 fix: drop stale service PATH entries (#75440) (thanks @leonaIee) 2026-05-02 16:20:50 +05:30
Ayaan Zaidi
626a22decb refactor(daemon): reuse shared path normalizer 2026-05-02 16:20:50 +05:30
leonaIee
0d747536de docs: add service path changelog 2026-05-02 16:20:50 +05:30
leonaIee
49b1b08444 fix: drop stale service PATH entries 2026-05-02 16:20:50 +05:30
Peter Steinberger
ad264a9f5a fix(release): keep core runtime plugins installed 2026-05-02 11:48:34 +01:00
Peter Steinberger
5dff0397cf fix: keep discord typing alive during long runs 2026-05-02 11:47:42 +01:00
Peter Steinberger
17d02a6a73 test(wizard): mock migration detection in setup tests 2026-05-02 11:45:17 +01:00
Peter Steinberger
2b88dc0714 fix(slack): preserve hook alert content (#76036) (thanks @amsminn) 2026-05-02 11:43:46 +01:00
amsminn
177fb7e84d fix: preserve slack hook alert content 2026-05-02 11:43:46 +01:00