Skip to content

fix: reasoning-only retry is refused by Anthropic as reasoning_extraction - #184434

Merged
RomneyDa merged 2 commits into
openclaw:mainfrom
sukhdeepjohar:fix/182178-reasoning-only-wording
Nov 3, 2026
Merged

RomneyDa merged 2 commits into
openclaw:mainfrom
sukhdeepjohar:fix/182178-reasoning-only-wording

Conversation

@sukhdeepjohar

@sukhdeepjohar sukhdeepjohar commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Closes #182178

What Problem This Solves

Fixes: on Anthropic (anthropic-messages, claude-opus-5-5), a turn that ends with only reasoning gets no answer, because Anthropic refuses OpenClaw's own retry prompt as reasoning_extraction, and the user is then told to "Revise the request" they did not write.

User Impact

User impact: when a reply ends with only reasoning, the automatic retry now gets an answer instead of a refusal.

The output-limit case was already fixed by #182429; this covers the normal-stop case that stayed open.

Chats where the old retry text already ran keep it in their history. In one short test chat that kept later messages refused (3 of 3; 0 of 3 with only that text swapped); the reporter's long chat did not show it. Such a chat recovers with /new. Rewriting stored history was left out on purpose.

Not included: changing the refusal notice. The new retry text was not refused in any run, so the notice no longer appears on this path. Can add it if wanted.

Why This Change Was Made

The retry text told the model its previous turn "recorded reasoning" and asked it to continue that partial turn. With everything else identical, Anthropic refused that text every time and accepted the new text every time (see Evidence). The new text asks for the missing answer without describing the reasoning, in the same style as the existing empty-reply retry, and keeps the instruction not to restate the reasoning. It is one product line; the rest of the diff updates tests and QA fixtures that match the retry text.

Evidence

Live A/B on Anthropic

Direct Messages API calls with OpenClaw's thinking settings for this model (adaptive thinking, display: "summarized", effort xhigh). Every run sent the same conversation: a user question, one real assistant turn reduced to its signed thinking block (a reasoning-only turn), then the retry text as the next user message. Only that last message changed.

Retry text Refused (reasoning_extraction) Answered
Current: "The previous assistant turn recorded reasoning…" 22 / 22 0
New, without the last sentence 0 22 / 22
New (this PR) 0 20 / 20

The current text was refused before any output (0 output tokens). In the report, refusals came after 496 to 2,475 output tokens, so the output may be judged as well; the new text completed all 42 runs (about 1,000 output tokens each) without a refusal. None of the answers described their own reasoning.

Isolated Gateway on the real Anthropic route

Two isolated Gateways (unchanged main and this PR), real anthropic-messages route with the default base URL, claude-opus-5-5, thinking xhigh, no fallback models. A local proxy forwarded every request to Anthropic and, for each turn's first reply, removed the text blocks from Anthropic's real response, so OpenClaw received a genuine reasoning-only turn with a thinking block signed for that conversation. The retry went to Anthropic unmodified.

main this PR
Reasoning-only turn, retry refused (reasoning_extraction); user told to revise the request answered; user gets the answer (2 of 2)
Model fallback none none
Gateway run output (redacted): reasoning-only stop, generated retry, result

Proxy lines are the local proxy between the Gateway and api.anthropic.com ("text removed" = it dropped the text block from Anthropic's real reply, leaving the signed thinking block; kind=retry = the newest user message carries the reasoning-only retry text). Gateway lines are OpenClaw's own log. The opaque fallback_credit_token in the refusal is replaced with <redacted>.

main (872cb2afe98), turn 1:

09:28:41.920 POST /v1/messages kind=stage-first model=claude-opus-5-5 messages=2 thinking=adaptive effort=xhigh
09:28:54.547   STAGED first reply: real blocks=thinking,text stop=end_turn; text removed -> reasoning-only (turn 1)
2026-10-26T09:28:54.685+00:00 [agent/embedded] reasoning-only assistant turn detected: runId=8137da4f-9247-4607-b917-dd63ec7e2afe sessionId=3d84a2f7-d02c-41ac-a040-2077e2188ae5 provider=anthropic/claude-opus-5-5 — retrying 1/2 with visible-answer continuation
09:28:54.875 POST /v1/messages kind=retry model=claude-opus-5-5 messages=6 thinking=adaptive effort=xhigh
09:28:57.166   retry -> status=200 stop=refusal details={"type":"refusal","category":"reasoning_extraction","explanation":"This request was blocked as it seems to violate Anthropic's Terms of Service restrictions on reverse engineering or duplicating model outputs. ...","fallback_credit_token":"<redacted>","fallback_has_prefill_claim":false,"recommended_model":null} out_tokens=0 text_chars=0
2026-10-26T09:28:57.230+00:00 [agent/embedded] Assistant attempt failed provider=anthropic model=claude-opus-5-5 runId=8137da4f-9247-4607-b917-dd63ec7e2afe responseId=msg_011CgQcVFwhpwWhyDG3tVUnU message="Anthropic refusal (category: reasoning_extraction): ..."
user sees: ERROR The provider refused this request (category: reasoning_extraction). Revise the request and try again.
meta.error = {"kind": "incomplete_turn", "fallbackSafe": false, ...} | provider = anthropic claude-opus-5-5

A later request in the same chat on main carried the retry it had sent, stored in history as a user message: "The previous assistant turn recorded reasoning but did not produce a user-visible answer. Continue from that partial turn and produce the visible answer now. Do not restate the reasoning or restart from scratch."

This PR (8999ac08b98; product line identical to the current head), the chat's turns 1 and 3 (turn 2's reply had no thinking block, so it was passed through unstripped; the proxy numbers only the turns it stripped, so it labels the chat's turn 3 "turn 2"):

09:28:27.785 POST /v1/messages kind=stage-first model=claude-opus-5-5 messages=2 thinking=adaptive effort=xhigh
09:28:37.591   STAGED first reply: real blocks=thinking,text stop=end_turn; text removed -> reasoning-only (turn 1)
2026-10-26T09:28:37.807+00:00 [agent/embedded] reasoning-only assistant turn detected: runId=541b21c6-cc5a-416e-8fe8-132831e81fa1 sessionId=b08034e2-d8b6-48f6-a2b4-6e5ab3b9f69b provider=anthropic/claude-opus-5-5 — retrying 1/2 with visible-answer continuation
09:28:38.072 POST /v1/messages kind=retry model=claude-opus-5-5 messages=6 thinking=adaptive effort=xhigh
09:28:41.667   retry -> status=200 stop=end_turn details=null out_tokens=219 text_chars=554
user sees: Yes, raise prices. The bakery takes in about $9,100 a month, keeps about $2,821 as profit and spends about $6,279 on costs, so the rent and flour increases come straight out of profit. ...
meta.error = null | provider = anthropic claude-opus-5-5

09:28:47.676 POST /v1/messages kind=stage-first model=claude-opus-5-5 messages=13 thinking=adaptive effort=xhigh
09:28:50.623   STAGED first reply: real blocks=thinking,text stop=end_turn; text removed -> reasoning-only (turn 2)
2026-10-26T09:28:50.652+00:00 [agent/embedded] reasoning-only assistant turn detected: runId=be5b43a7-3feb-40f0-bcb1-dba15b87463b sessionId=b08034e2-d8b6-48f6-a2b4-6e5ab3b9f69b provider=anthropic/claude-opus-5-5 — retrying 1/2 with visible-answer continuation
09:28:50.754 POST /v1/messages kind=retry model=claude-opus-5-5 messages=16 thinking=adaptive effort=xhigh
09:28:53.399   retry -> status=200 stop=end_turn details=null out_tokens=112 text_chars=337
user sees: Feed it on a regular schedule: discard all but a small amount, then add equal weights of fresh flour and water. Feed again once it has risen and is just starting to fall, usually 4–12 hours later at room temperature, ...
meta.error = null | provider = anthropic claude-opus-5-5

The Anthropic and GPT/Gemini runs used this branch's first commit, which also carried a refusal-notice change that has since been removed; it only acted after a refused retry, and no retry was refused on this branch, so it never ran.

Proof gap: conversations were short (about 2k tokens for the A/B, a few turns through the Gateway) rather than the reporter's ~142k-token chats.

Tests

  • The retry-text expectations in the recovery, terminal-resolution and shared runner tests pin the new text; they fail on main. The behavior proof is the live runs above.
  • run.session-prompt-state.test.ts: the check that the empty-reply retry replaced the reasoning-only retry now looks for a phrase only the reasoning-only retry has, since both now share their first sentence. It fails if the two are mixed up.
  • The retry text is updated in all 12 places that used it, including the QA mock server marker, four QA scenarios and the Gateway compaction replay e2e test. In the QA mock's list of recovery-message prefixes the old sentence is removed; the new text already matches the existing "Your turn ended without a final reply." entry.
  • Focused tests pass: recovery, terminal-resolution (47), refusal, resolution, shared integration, session prompt state, prefix stability, replay history, transport transform, and the QA mock server (111 tests).
  • The four QA scenarios that match the retry text: three pass. "Reasoning-only no-auto-retry after write" fails the same way on unchanged main (2 of 2), before reaching its retry-text check: three of its expectations are out of date on main (the warning text changed in fix(agents): honor exact NO_REPLY and drop fabricated turn-ending replies #170534; main now makes 4 model requests and adds continuation prompts after the write). With those steps bypassed in a throwaway copy, its check that no request carries the reasoning-only retry text passes on this branch. Updating the scenario for main's current behavior is left to maintainers, since it changes what the scenario tests.
  • The Gateway compaction replay e2e test, which matches the retry text, passes (2 tests).
  • Merged current main (98c56569b53): a test cleanup renamed the QA mock server's retry constant, so the new text moved to reasoningRetry; the compaction replay e2e test now matches the shorter phrase "answer the user's request now", which only the new text contains, so this PR adds no test lines. On the merged head the recovery, terminal-resolution, session prompt state, shared integration and QA mock server tests and the compaction replay e2e test pass.
  • On the final head, every test file that imports the agent-runner modules this work touched (29 files) passes, except subagent-registry.requester-wake.e2e.test.ts > "drains a restored interrupted predecessor before later cohorts when registry order differs", which fails the same way on unchanged main (872cb2afe98, 2 of 2 runs) and does not reach the changed branch.
  • tsgo:core, tsgo:test:src, tsgo:extensions:test, tsgo:test:root: clean on the final head. oxfmt and oxlint on the changed files: clean.
  • PR CI on the merged head (8b02f657ebc): one failure, gateway-kill-restart-send.e2e > "recovers a killed run and replies" (the recovered reply has no replyToId). It fails the same way on unchanged main (98c56569b53, 3 of 3 runs) and on this head (3 of 3), and does not use the retry text. The four QA-lab tests that failed on the previous head pass now.

GPT and Gemini (shared retry)

Same Gateway setup through OpenRouter's chat-completions route, with the visible text removed from the model's real reply so OpenClaw got a reasoning-only turn:

main this PR
openai/gpt-6.1-sol: retry gave a visible answer 2 / 2 2 / 2
google/gemini-4-argon: retry gave a visible answer 20 / 20 20 / 20
Reply showed the model's own thinking 0 / 22 1 / 22

GPT returned no reasoning on 3 of 5 turns per build here, so only 2 turns per build reached the retry; the OpenAI-route run below has more. The one thinking case was Gemini putting its thoughts in the visible reply on the fifth turn of one chat; it did not recur in 15 later turns. Neither model refused either text.

GPT on OpenAI's own route (Responses API)

Same setup against api.openai.com, openai/gpt-6.1-sol, thinking high; the assistant message was removed from GPT's real streamed reply and its reasoning item kept.

main this PR
OpenClaw runtime (agentRuntime.id: "openclaw"), 20 turns each: reasoning-only turns retried 7 5
Retry gave a visible answer 7 / 7 5 / 5
User got an answer 20 / 20 20 / 20
Reply showed the model's own thinking 0 0

On the default Codex runtime for OpenAI models, the same reasoning-only reply is handled as an empty response and retried with the existing empty-reply text, on both builds (3 turns each, all answered). This change does not reach that route.

Not added: no config option, dependency, schema change or fallback.

@clawsweeper

clawsweeper Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P1 High-priority user-facing bug, regression, or broken workflow. 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 clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 26, 2026
@clawsweeper

clawsweeper Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

Rewords the reasoning-only continuation prompt and updates the tests and QA fixtures that recognize it.

Example: Anthropic returns a signed reasoning-only response with a normal stop.

  • Before: The automatic continuation is refused as reasoning_extraction, leaving the user without an answer.
  • After: The revised continuation requests the missing answer and succeeds in both supplied Gateway trials.

Review scores

Measure Result What it means
Overall readiness 🦞 diamond lobster (5/6) A minimal repair with real provider/Gateway evidence, preserved consumer coverage, and no actionable introduced defect; the failing CI gate remains unresolved.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (logs): Supplied redacted logs exercise the real isolated Gateway, production recovery owner, and Anthropic transport with genuine signed thinking and injected removal of initial visible text; candidate retries return answers without fallback. The current instruction matches the logged candidate wording, and shared-provider comparisons support sibling behavior; long-context classifier behavior remains outside the demonstrated scenario.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: An internally generated continuation causes Anthropic to refuse an otherwise answerable request and tells the user to revise it.
Reason: Controlled provider comparisons and shipped Gateway traces support a narrow wording repair that preserves existing recovery policy.

Merge readiness

✅ Ready for maintainer review

Keep this PR open: current main retains the affected prompt, and this focused repair has convincing live Gateway evidence with no introduced defect found.

Priority: P1
Reviewed head: 8b02f657ebcdb5a786bbe92fc9a0acc9bd02ac1f

Before merge

None.

Findings

None.

Agent review details

How this fits together

The embedded runner classifies incomplete assistant output, selects a bounded continuation, and sends it through the existing session prompt and provider transport owners.

flowchart TD
  A[Provider response] --> B[Incomplete turn classification]
  B --> C[Recovery policy]
  C --> D[Session prompt owner]
  D --> E[Provider transport]
  E --> F[Visible answer or terminal outcome]
Loading

Technical review

Best possible solution:

Use the revised instruction in the existing recovery owner while preserving retry eligibility, refusal handling, and stored transcript history.

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

Current source confirms the affected request path, and supplied live baseline/candidate traces reproduce the refusal and recovery; this read-only review ran no target code.

Is this the best way to solve the issue?

This is the smallest complete repair for the demonstrated prompt-triggered refusal: it replaces the instruction at its existing owner and updates all matching consumers without broadening recovery.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against eb82abff6695.

Provenance checked

  • Reasoning-only continuation instruction changes intended behavior with a stated reason (a40df57: This owner split carried forward bounded continuation intended to obtain a visible answer from replayable reasoning-only output; the earlier feature rationale is documented in fix: recover reasoning-only OpenAI turns #66167, while the exact wording introduction could not be established through unavailable older blobs.)
  • QA recovery-prefix recognition keeps the original intent (7a168d3: Recovery messages resume the preceding QA task rather than fencing it as a new request; the replacement already matches the retained final-reply prefix.)
  • Prompt-state and compaction replay assertions keeps the original intent (fb716dc: Retain compaction continuation independently of replaceable retry instructions; updated distinctive markers preserve the existing assertions.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

PR surface

Source -1, Tests -2, Other 0. Total -3 across 13 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 3 2 3 -1
Tests 6 6 8 -2
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 4 4 4 0
Total 13 12 15 -3

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #182178
Summary: This PR addresses the canonical report's remaining normal-stop refusal; the merged output-limit repair covers a separate portion.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Labels

Label changes:

No label changes.

Label justifications:

  • P1: The linked report documents repeated lost answers on official releases, and supplied live Gateway evidence isolates the internally generated recovery prompt.
  • rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: sufficient: Contributor real behavior proof is sufficient.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

History

Review history (3 earlier review cycles)
  • reviewed 2026-10-26T09:21:59.077Z sha 8999ac08b98a2624bd661419b551a14689654c52 :: needs real behavior proof before merge. :: none
  • reviewed 2026-10-26T14:18:23.822Z sha e44dd76 :: needs real behavior proof before merge. :: none
  • reviewed 2026-10-26T16:01:44.862Z sha e44dd76 :: needs maintainer review before merge. :: none

Reviewed October 28, 2026, 7:46 AM ET / 11:46 UTC (Revision 4).

…tion

The reasoning-only continuation told the model its previous turn "recorded
reasoning" and asked it to continue that partial turn. Anthropic refuses
that request as reasoning_extraction on claude-opus-5-5. Ask for the missing
answer without describing the reasoning, in the style of the empty-reply
retry, and keep the instruction not to restate it.

Update the tests and QA fixtures that match the retry text, and drop the
old wording from the QA mock's recovery prefixes.

Refs openclaw#182178
@sukhdeepjohar
sukhdeepjohar force-pushed the fix/182178-reasoning-only-wording branch from 8999ac0 to e44dd76 Compare October 26, 2026 12:02
@sukhdeepjohar
sukhdeepjohar marked this pull request as ready for review October 26, 2026 13:10
@sukhdeepjohar

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 26, 2026
@sukhdeepjohar

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. 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 Oct 26, 2026
@clawsweeper clawsweeper Bot added rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 26, 2026
…only-wording

# Conflicts:
#	extensions/qa-lab/src/providers/mock-openai/server.test.ts
@sukhdeepjohar

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@RomneyDa
RomneyDa merged commit 9346376 into openclaw:main Nov 3, 2026
158 of 163 checks passed
tideclaw-bot pushed a commit that referenced this pull request Nov 4, 2026
Required coverage: #189395, #187875, #186976, #182429, #184434, and remaining #180247.
Preserve stable transport and terminal-settlement owners. Include #190695 sampling parity and only the required symbol/export prerequisites. No broad Gemini transport cutover.

Source commits:
d6a1327
fe0f8d1
cd486ed
e72b356
807075d
28f5f25
ab7631a
9346376
054516f

Proof: 216 focused tests passed; dedicated pre-fix regressions failed. Scoped typechecks/lint/format passed. Fresh independent P0-P2 review clean. Live provider/native qualification remains pending.

Co-authored-by: Yiğit ERDOĞAN <[email protected]>
Co-authored-by: evomach <[email protected]>
Co-authored-by: Sasan <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: goslingmanagment <[email protected]>
Co-authored-by: Dmitriy <[email protected]>
Co-authored-by: Sukhdeep Johar <[email protected]>
Co-authored-by: Dallin Romney <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 4, 2026
…tion (openclaw#184434)

The reasoning-only continuation told the model its previous turn "recorded
reasoning" and asked it to continue that partial turn. Anthropic refuses
that request as reasoning_extraction on claude-opus-5-5. Ask for the missing
answer without describing the reasoning, in the style of the empty-reply
retry, and keep the instruction not to restate it.

Update the tests and QA fixtures that match the retry text, and drop the
old wording from the QA mock's recovery prefixes.

Refs openclaw#182178
tideclaw-bot added a commit that referenced this pull request Nov 5, 2026
Backport accepted fixes onto 2026.11.5-beta.2.

Base: bc061f9
Canonical source tree before commit: e6c0c39

These are adapted/squashed backports; do not claim each is an exact Git cherry-pick.
Source provenance (selected verified commits; other cohorts use their frozen patch/adoption manifests):

runtime-B:
b20a0cc fix(macos): connect with configured credentials despite stale app environment (#191468)
c4c0942 fix(update): failed updates from 10.7–10.9 crash in automatic migration recovery (#189713)
6aae408 fix(update): preserve recovery errors and async triage callbacks (#191495)
8910654 fix(macos): prevent first-launch Gateway failures after upgrades (#191436)
00b2ff4 fix: parent sessions miss child approvals with a custom session store (#189827)
c6142a8 fix: avoid copying managed plugin binaries during Gateway startup (#187865)
e72b356 fix(anthropic): avoid token profile collisions (#187875)
807075d fix(anthropic): set API workspace at login (#186976)
bafe92f fix(exec): preserve no-timeout results from macOS app nodes (#190729)
9b05a64 fix(imessage): use a PostgreSQL-safe recovery cursor key (#184919)
6ba197f fix: session search on PostgreSQL scans every transcript row instead of using the text index (#187909)
4f49aa5 fix(sessions): PostgreSQL session search scans every transcript row again after the 5th search on a connection (#188979)
de3936c fix(macos): Mac tab shows a blank or stale page when a load fails (#185432)
e977080 fix(macos): prevent duplicate voice sends and false sent feedback (#186271)

provider-compaction:
1b43c2e fix(compaction): preserve active request provenance (#180214)
7b0cfe3 fix(google): restore tool calls with Python keyword parameters (#191561)
9039ceb fix(ci): keep compaction attribution helpers internal
d6a1327 feat(google): use the Interactions API for Gemini Flash models (#189395)
fe0f8d1 fix(google): Gemini models ignore configured topP (#190695)

history:
c51d733 fix(sessions): stop expanding archive reads from exhausting memory (#190690)
3c8bd4d fix(sessions): page oversized earlier history instead of failing at 8 MiB (#188450)
b195f61 fix(sessions): page oversized transcript history in both directions (#188483)
b65482e fix(gateway): preserve older history across hidden message gaps (#188557)
3d4fc94 fix(sessions): avoid oversized listing and imported-history reads (#189284)
33e7baf fix(sessions): bound active accounting without blocking writers (#190182)
682ade7 fix: preserve chat history continuation metadata (#188612)

runtime-C:
7e005b0 fix(macos): keep secrets when a Gateway config save fails (#187734)
15cf738 fix(macos): keep Gateway auth when Tailscale exposure is turned off (#187664)
b53a06b perf(update): read candidate state inventory without copying the shared database (#187921)
970fc4e fix: restore CLI message sends with agent tool policies (#188058)
73ad731 fix: stop model fallback when session capability metadata changes (#179312)
32305db fix: subagent turns fail after session metadata changes (#183501)
d13bd0f fix(codex): include relay conversation instructions in trajectory (#189005)
e375530 fix: replies after a plugin reload from Control UI go to the session's last external chat (#190982)
9346376 fix: reasoning-only retry is refused by Anthropic as reasoning_extraction (#184434)

direct-auth-state:
1b15408 fix(models): keep the model list when one plugin-owned provider lacks a credential (#189014)
7d8dc60 fix: recover startup migration with retained worker index (#189023)

capacity:
41772e3 fix(worktrees): settle completed disk debt on refused postchecks (#188727)

command-once-189369:
8269137 fix(plugins): plugin commands that continue the agent run three times on native command turns (#189369)

pg-board-189564:
7232a8d fix(boards): publish widgets with PostgreSQL storage (#189564)

queued-edit-189869:
92b32ca fix: hold queued messages through inline edits (#189869)

Preserve source attribution from original commits. For a genuinely exact individual pick only, use the conventional (cherry picked from commit <sha>) line.
Full file-level provenance: coverage-manifest.json; reviewed patch hashes: artifact-registry.json.
No held136/native82 content adopted by this work. No release or full-candidate qualification claim.

Additional original-source identities (exact adapted hunk scope is in frozen artifacts):
release-guides-185258: 39c37e6 docs(release): define ledger-first hotfix routing (#185258)
UI-history: 10a6e4f fix(ui): scope provider-add discovery warning to its own provider (#188541), 3d7b4c4 fix(ui): never fail loading earlier chat history without a boundary (#188372)
obsolete-cache-188203: 90d82c2 fix: preserve completed reasoning and refill chat snapshots (#188203)
webhook-169778: b1f643f fix(startup): keep webhook decisions startup recorded for channels Doctor left pending (#169778)
schema-lease-188391: ba6cfcd fix(state): keep lease renewal independent of parent admission (#188391)
backfill-188976: c75a8a8 fix(gateway): stop session row backfill once the Gateway is closing (#188976)
canonical-disable-188846: 88b56ee fix(config): auto-enable reads and writes mixed-case plugin policy under the canonical id (#188846)
matrix-177272: 5a6d22c fix(matrix): stop seeding new thread sessions from the room transcript (#177272)
provider-hook-189059: 0588f51 fix(models): isolate every per-provider catalog failure (#189059)
unicode-189868: 87396e7 fix(oc-path): avoid reading and editing a different Unicode key (#189868)
replay-cohort: 2031044 fix(sessions): acknowledge committed input retries without duplicate turns (#188527), 9114431 fix: resume configured fallback after interrupted attempts (#188672)

Co-authored-by: RomneyDa <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling extensions: qa-lab P1 High-priority user-facing bug, regression, or broken workflow. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Reasoning-only retry prompt is refused by Anthropic as reasoning_extraction on claude-opus-5-5 (anthropic-messages)

2 participants