Repository navigation
Description
Bug type
Behavior bug (incorrect output/state without crash)
Beta release blocker
No
Summary
openclaw@latest currently resolves to 2026.6.5, but the published package still lacks the native /compact fast-path reply delivery fix from #90212. On a fresh 2026.6.5 deployment, /compact performs compaction successfully but the final acknowledgement is silently dropped (queuedFinal=false, replies=0 / no channel outbound).
This is related to the closed #90185, but this report is specifically about the current npm stable/latest release still shipping the affected code even after #90212 was merged.
Steps to reproduce
- Install/run
openclaw@2026.6.5from npm/global install. - Use a direct channel session, for example Feishu DM or WeChat DM.
- Send
/statusand confirm normal slash-command replies are delivered. - Send
/compactin the same direct session. - Check the gateway logs and session checkpoint metadata.
Expected behavior
/compact should compact the current session and send a visible terminal acknowledgement, for example the compact result message shown in #90185 after the fix:
Compacted (...) • Context ...
The dispatch should produce a final reply, for example queuedFinal=true and replies=1.
Actual behavior
The compaction itself succeeds and a manual checkpoint is written, but no visible acknowledgement is delivered.
Observed on Feishu DM:
/status -> dispatch complete (queuedFinal=true, replies=1)
/compact -> dispatch complete (queuedFinal=false, replies=0)
manual checkpoint written around 2026-06-12 12:12:40 Asia/Shanghai
tokensBefore=116023, tokensAfter=4000, reason=manual
Observed on WeChat DM:
[weixin] Slash command: /compact, args:
Compaction safeguard: using session branch messages after compaction preparation omitted real conversation content.
manual checkpoint written around 2026-06-12 12:02:24 Asia/Shanghai
tokensBefore=81510, tokensAfter=23079, reason=manual
There is no WeChat outbound: log after /compact, so the final reply never reaches the channel adapter.
OpenClaw version
OpenClaw 2026.6.5 (5181e4f)
Operating system
macOS 26.4.1
Install method
npm global install under Homebrew prefix:
/opt/homebrew/bin/openclaw
/opt/homebrew/lib/node_modules/openclaw
Model
Native slash command fast path. The configured agent model in the affected session was gpt-5.5 with provider openai, but no model behavior is needed to reproduce the reply-drop path.
Provider / routing chain
Native OpenClaw slash command path. Provider chain is not expected to affect this issue.
Additional provider/model setup details
NOT_ENOUGH_INFO
Logs, screenshots, and evidence
The installed 2026.6.5 dist still has the broken fast-path return. It returns commandResult.reply directly instead of wrapping it with markCommandReplyForDelivery(...) as described in #90212.
From the deployed package:
// /opt/homebrew/lib/node_modules/openclaw/dist/get-reply-BpFiu3Nn.js
if (!commandResult.shouldContinue) return {
handled: true,
reply: commandResult.reply
};Local line-numbered evidence from the package:
2196 const commandSessionMetadataChanges = takeCommandSessionMetadataChangesFromTargets([sessionState.sessionCtx, params.ctx]);
2197 if (commandSessionMetadataChanges) params.opts?.onSessionMetadataChanges?.(commandSessionMetadataChanges);
2198 if (!commandResult.shouldContinue) return {
2199 handled: true,
2200 reply: commandResult.reply
2201 };
npm release/dist-tag evidence:
npm dist-tags:
latest = 2026.6.5
beta = 2026.6.6-beta.2
npm publish times:
2026.6.5 2026-06-09T18:12:49.010Z
2026.6.6-beta.2 2026-06-12T03:31:20.404Z
#90212 was merged at 2026-06-09T13:04:38Z, but the 2026.6.5 package published later still appears to contain the pre-fix fast-path return.
Relevant prior issue / PR:
- [Core bug] /compact reply silently dropped (replies=0) on all channels in 2026.6.1 #90185:
[Core bug] /compact reply silently dropped (replies=0) on all channels in 2026.6.1 - fix(agents): deliver native /compact replies through source suppression #90212:
fix(agents): deliver native /compact replies through source suppression
Impact and severity
Affected: users running npm latest / stable 2026.6.5 on direct chat channels such as Feishu DM and WeChat DM.
Severity: Medium to high. The recovery command changes session state successfully but gives no visible confirmation. Users reasonably conclude /compact did nothing and may keep retrying or misdiagnose the channel/gateway.
Frequency: Reproduced on both Feishu DM and WeChat DM on the same 2026.6.5 deployment.
Consequence: Silent command feedback loss for a session-state-changing recovery command.
Additional information
If this is considered already fixed by #90212, the remaining issue is release/package clarity: the current npm latest stable (2026.6.5) is still affected while the fix appears to be available only in the beta release line (2026.6.6-beta.2 at the time of this report). Please either keep a canonical issue open until a stable latest includes #90212, or document that 2026.6.5 is known affected and users must install a later beta/stable release containing #90212.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
clawsweeper commentedon Jun 12, 2026
Thanks for the context here. I did a careful shell check against current
main, and this is already implemented.Close: current main and the stable npm latest release now contain the native slash fast-path delivery marker, and the v2026.6.6 npm artifact directly shows the fixed compiled path.
So I’m closing this as already implemented rather than keeping a duplicate issue open.
Review details
Best possible solution:
Keep the v2026.6.6 stable package as the forward fix for this release-tracking report; no additional core or docs work remains for the 2026.6.5 packaging gap.
Do we have a high-confidence way to reproduce the issue?
Yes. The report's 2026.6.5 package snippet shows the unmarked fast-path return, and current/release source plus the npm artifact show the reply is now wrapped with the delivery marker that dispatch requires.
Is this the best way to solve the issue?
Yes. Shipping the existing marker-based fix in stable latest is the narrowest maintainable solution because it reuses the established command-reply metadata and dispatch gates instead of adding a channel-specific workaround.
Security review:
Security review: Non-PR issue triage; no patch security review applies.
AGENTS.md: found and applied where relevant.
What I checked:
src/auto-reply/reply/get-reply-native-slash-fast-path.ts:221, 7190fc4de830)src/auto-reply/reply-payload.ts:218, 7190fc4de830)src/auto-reply/reply/dispatch-from-config.ts:3100, 7190fc4de830)src/auto-reply/reply/get-reply-native-slash-fast-path.test.ts:35, 7190fc4de830)src/auto-reply/reply/get-reply-native-slash-fast-path.ts:221, bcc1105b3099)Likely related people:
src/auto-reply/reply/get-reply-native-slash-fast-path.ts,src/auto-reply/reply/get-reply-native-slash-fast-path.test.ts,src/auto-reply/reply/get-reply.fast-path.test.ts)src/auto-reply/reply/get-reply-native-slash-fast-path.ts,src/auto-reply/reply/agent-runner-execution.ts)src/auto-reply/reply/get-reply-native-slash-fast-path.ts,src/auto-reply/reply/dispatch-from-config.ts)src/auto-reply/reply/get-reply-native-slash-fast-path.ts)src/auto-reply/reply/get-reply-native-slash-fast-path.ts)Codex review notes: model internal, reasoning high; reviewed against 7190fc4de830; fix evidence: release v2026.6.6, commit 8c802aa68351.