Repository navigation
Description
Version: 2026.6.5 (5181e4f)
Summary: When a model fallback occurs during an agent run, the runtime emits an internal notice string like "Model Fallback: -> ". The notice is marked for source suppression, but it can still reach external user-facing channels, exposing internal model-routing details to end recipients.
Expected: Fallback notices should be internal-only telemetry, such as verbose logs and lifecycle events. User-facing external messaging channels should not receive raw routing or fallback banners.
Observed: A fallback banner was delivered to an external messaging recipient during an operator deployment. Payload-level suppression was insufficient for the external channel delivery path.
Local workaround tested: stopped appending fallback/fallback-cleared notices to user-facing reply payloads while keeping verbose logs and lifecycle events. A post-restart smoke confirmed the banner no longer appears on the user-facing path.
Suggested fix: gate fallback notice delivery by surface/channel, or add an explicit config flag such as notifications.modelFallback.userFacing=false by default for external channels.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
clawsweeper commentedon Jun 12, 2026
Codex review: this still needs some work.
Summary
Keep open: customer-facing direct chats still receive fallback notices by design, and a maintainer explicitly retained this issue for the unresolved audience policy.
Reproducibility: Current source establishes direct-chat delivery, inspected tests explicitly expect it with verbosity off, and auriga-agents supplies a recent WhatsApp report; this review ran no live reproduction.
Root-cause cluster
Relationship:
canonicalCanonical: #92473
Summary: This issue owns the remaining generic fallback-notice audience decision; shared-room suppression is implemented and the broader operational policy remains separate.
Members:
duplicate: Model fallback notices should be log-only by default #129071 - Closed as a duplicate of this issue for fallback-notice visibility policy.partial_overlap: [Feature]: add operational reply policy #113501 - Open proposal covers multiple operational notices, deduplication, and redirection beyond generic fallback notices.partial_overlap: Suppress model fallback notices in rooms #107209 - Merged suppression for groups and channels expressly retains direct-chat notices.adjacent_distinct: feat: announce successful Daybreak retries #147146 - Merged success-only provider-policy retry notices intentionally leave the generic direct-chat audience decision unresolved.Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.
Maintainer decision needed
Next step
A maintainer must approve the suppression scope for customer-facing direct chats before changing the documented fallback-notice policy.
Security
None.
Review details
Best possible solution:
Provide maintainer-approved audience control at the existing reply payload owner while preserving fallback execution, lifecycle events, and status visibility.
Do we have a high-confidence way to reproduce the issue?
Current source establishes direct-chat delivery, inspected tests explicitly expect it with verbosity off, and auriga-agents supplies a recent WhatsApp report; this review ran no live reproduction.
Is this the best way to solve the issue?
Scoped suppression addresses the demonstrated audience problem with less complexity than the proposed multi-mode redirection policy, but requires approval because direct-chat delivery is intentional and documented.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
Codex review notes: model internal, reasoning medium; reviewed against bfdc102106bb.
Label changes
Label changes:
No label changes.
Label justifications:
P2: Unwanted operational messages reach customer-facing direct chats, but successful agent replies continue and no urgent availability failure is established.impact:ux-friction: Outside recipients receive confusing provider-routing banners that operators currently address through runtime patches or delivery hooks.Evidence reviewed
What I checked:
src/auto-reply/reply/agent-runner-result-payloads.ts:429, bfdc102106bb)src/auto-reply/reply/dispatch-from-config.payloads.ts:33, bfdc102106bb)src/auto-reply/reply/agent-runner.runreplyagent.e2e.test.ts:4279, bfdc102106bb)docs/concepts/model-failover.md:580, bfdc102106bb)src/auto-reply/reply/agent-runner-result-payloads.ts, 7d05f7c5b99d)How this review workflow works
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only.@clawsweeper reviewto request a fresh review only.@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.Reviewed October 27, 2026, 5:06 AM ET / 09:06 UTC.
htuyer121 commentedon Jul 20, 2026
Adding a related data point from 2026.7.1 on WhatsApp that broadens this beyond the
↪️ Model Fallbacknotice: the failed-run error copy takes the same user-facing path.Setup: customer-facing WhatsApp agent, primary
openai/gpt-5.6-terra, fallbackxai/grok-4.5.What happened: two transient capacity rejections ("Selected model is at capacity") on the primary. The fallback chain worked (
candidate_failed → next=xai/grok-4.5 → candidate_succeeded) and the end customer received normal replies from the fallback within seconds. But the failed attempt's error copy was still dispatched to the channel ~1 minute later — the end customer received:sandwiched between otherwise normal agent replies.
Where:
dist/payloads-*.js— when the last assistant message hasstopReason === "error",errorText(fromformatUserFacingAssistantErrorText, e.g.MODEL_CAPACITY_ERROR_USER_MESSAGE) is pushed as a reply item ({ text: errorText, isError: true }) unless that same turn already delivered via the message tool. A subsequent successful retry/fallback of the same inbound message does not cancel the queued error payload.Two extra observations that may help scope the fix:
.jsonlhistory — only the transport send log shows them — which makes incidents hard to audit after the fact.userFacing=falsefor external channels) would cover the rest. Same family as [Bug]: Feishu direct repeatedly leaks internal '... (agent) failed' and generic failure banners to users, including false failures after successful runs #89247 ("false failures after successful runs") and the closed Feature: Suppress or customize raw error messages sent to channels (WhatsApp, Telegram) #54825/Raw LLM API errors leak to end users via WhatsApp/messaging channels #20250.Current local workaround: dist patch gating the
isErrorreply-item push on the customer-facing agent's session-key prefix.32 remaining items
auriga-agents commentedon Oct 22, 2026
Still reproducible on
mainated3010de(2026-10-22) and in the npm releases 2026.10.5 and 2026.10.10-beta.3. Adding an operator data point for the pending audience decision, and a config shape that may also settle the redirect-target question in #113501.Current behavior
agent-runner-result-payloads.tsL429–L434 delivers the notice to every source chat whose type is neithergroupnorchannel. No config, channel or account setting changes that.Our case
↪️ Model Fallback: …as a separate message. Two days later the contact got↪️ Model Fallback cleared: ….Why a plugin is no workaround
reply_payload_sendingormessage_sendinghook that cancels the notice payload and re-sends it elsewhere.bot-message-dispatch.tsL225–L233 setsallowProviderPreviewto false while either hook exists. Withstreaming.mode: "progress", that removes the tool-progress status draft (bot-message-dispatch-progress.tsL77) from all Telegram chats of all agents, just to move one notice out of one WhatsApp chat.Proposal
Reuse the target contract of approval forwarding (
approvals.exec/approvals.plugin), where operators already list authorized destinations:session: the current behavior, so no migration.targets: suppress the notice in matching source chats and deliver it to the targets, naming the source session.both: deliver to the source chat and to the targets.off: no visible notice. The lifecycle events (phase: "fallback"/"fallback_cleared"), logs and/statusstay as they are.Because the targets are static operator config, as in approval forwarding, this needs no new cross-session authorization contract. That is the open security question in #113501. The key name follows #113501, so
modelFallbackcould become one entry of its broader policy.openclaw-barnacle commentedon Oct 30, 2026
This issue has been automatically marked as stale after 7 days without qualifying human activity.
Without new human activity, Barnacle may close it as not planned 7 days after this message was posted. This is administrative inactivity cleanup, not a claim that the problem is fixed.
A human update restarts the inactivity clock; a new PR head also restarts it. A maintainer can add no-stale for a durable hold, or bad-barnacle to suppress Barnacle. Remove the hold when work can resume.
auriga-agents commentedon Oct 31, 2026
Update while #185934 waits for a maintainer decision:
mainat5eda4667(2026-10-30) and at the release tagsv2026.10.9andv2026.10.10-beta.5.agent-runner-result-payloads.tsL429–L430 still delivers the notice to every chat that is neithergroupnorchannel.messages.modelFallbackNotices: false, along the lines of the scoped suppression that the ClawSweeper review above recommends. In the outside-contact case from our earlier comment, it would stop both notices in that chat. The operator's own chats would lose them as well; the PR keeps/status, logs and lifecycle events. Delivering the notice to an operator chat instead would stay with [Feature]: add operational reply policy #113501.openclaw-barnacle commentedon Nov 7, 2026
This issue has been automatically marked as stale after 7 days without qualifying human activity.
Without new human activity, Barnacle may close it as not planned 7 days after this message was posted. This is administrative inactivity cleanup, not a claim that the problem is fixed.
A human update restarts the inactivity clock; a new PR head also restarts it. A maintainer can add no-stale for a durable hold, or bad-barnacle to suppress Barnacle. Remove the hold when work can resume.