Skip to content

fix(/v1/responses): drop the extra phantom assistant turn on client-tool calls - #71062

Closed
PopFlamingo wants to merge 3 commits into
openclaw:mainfrom
PopFlamingo:fix/openai-responses-args-done-handler
Closed

PopFlamingo wants to merge 3 commits into
openclaw:mainfrom
PopFlamingo:fix/openai-responses-args-done-handler

Conversation

@PopFlamingo

@PopFlamingo PopFlamingo commented Apr 24, 2026 •

Copy link
Copy Markdown

Summary

Describe the problem and fix in 2–5 bullets:

  • Problem: Two issues affected /v1/responses client-tool calls (tools the API caller passes in tools: [...] for the agent to delegate back to them):
    • Bug: every client-tool call shipped an extra phantom assistant turn alongside the real function_call. Symptom: the model first denies it can run the tool, then seconds later in the same SSE response claims it did — a self-contradictory mini-transcript every caller saw, regardless of how their parser was built.
    • Separately, some clients didn't see the args at all. The gateway delivered them by populating item.arguments on the output_item.added / output_item.done events, instead of using the dedicated response.function_call_arguments.delta / .done events that the Responses-API streaming convention reserves for incremental function-call arguments. Clients whose parsers follow that convention strictly — only reading args from those dedicated events — saw arguments == "{}" for every call, because the dedicated events simply weren't being emitted. More permissive clients (e.g. OpenAI's Node SDK, which also reads item.arguments directly) recovered the args from the bundled-in shape and worked anyway.
      Two unrelated root causes combined to produce these symptoms. (1) The Pi-side adapter for client-tool definitions returned a placeholder stub from its execute() callback without terminate: true, so Pi treated the stub as a normal tool result and ran another model turn before the runner observed the handoff — that extra turn is what leaked into the stream as the contradictory phantom narration. (2) The /v1/responses SSE emitter never emitted the dedicated response.function_call_arguments.delta / .done events.
  • Why it matters: Together, the two issues meant /v1/responses couldn't be relied on for client-tool calls — every caller (lenient or strict) saw the conversation contaminated by the contradictory phantom narration, and on top of that, strict clients lost the args entirely.
  • What changed: The Pi adapter for client-tool definitions now returns terminate: true on its handoff stub, so Pi stops the agent loop after this batch and the placeholder stub does not produce another model turn. Piggybacked on top of that, the gateway's SSE event sequence for streamed function_call output items is tightened to follow the Responses-API streaming convention more closely (output_item.added with empty placeholder → function_call_arguments.delta → function_call_arguments.done → output_item.done with populated args), and the upstream Responses-stream parser also gains a handler for response.function_call_arguments.done to cover the case where an upstream delivers the full args only via .done.
  • What did NOT change (scope boundary): No changes to the non-streaming JSON response path. No changes to non-/v1/responses endpoints. No changes to authentication, secrets handling, command/tool execution surface, or data access scope. No changes to DefaultConfigurationExtension.threadTransformers seeding or to any plugin contract.

Change Type (select all)

  • Bug fix
  • Feature
  • Refactor required for the fix
  • Docs
  • Security hardening
  • Chore/infra

Scope (select all touched areas)

  • Gateway / orchestration
  • Skills / tool execution
  • Auth / tokens
  • Memory / storage
  • Integrations
  • API / contracts
  • UI / DX
  • CI/CD / infra

Linked Issue/PR

  • Closes #
  • Related #
  • This PR fixes a bug or regression

Root Cause (if applicable)

  • Root cause: Two independent root causes in two layers.
    1. The Pi adapter at src/agents/pi-tool-definition-adapter.ts returned a placeholder stub for client-tool calls without setting Pi's terminate: true flag, so Pi treated the stub as a normal tool result and ran an extra model turn before the outer runner observed clientToolCallDetected. That extra turn is what produced the contradictory phantom narration in the SSE stream.
    2. The /v1/responses SSE emitter at src/gateway/openresponses-http.ts shipped streamed function-call args by populating item.arguments on the output_item.added / output_item.done events instead of using the dedicated response.function_call_arguments.delta / .done events. The Responses-API streaming convention reserves those dedicated events for incremental args; some client parsers (those that read args only from those events) saw nothing because they weren't emitted.
  • Missing detection / guardrail: No regression test asserted that the adapter's execute() callback returned terminate: true, and no regression test pinned the four-event SSE sequence for streamed function_calls. Both are now covered.
  • Contributing context (if known): The Responses-API streaming convention pairs the bookend output_item.{added,done} events with dedicated function_call_arguments.{delta,done} events that carry the streamed args; openresponses-http.ts had only ever emitted the bookends. The OpenAI Node SDK and pi-ai both seed their args buffer from output_item.added.item.arguments and then append each delta, so they recovered the args from the bundled-in shape; parsers that read args only from the dedicated events did not.

Regression Test Plan (if applicable)

  • Coverage level that should have caught this:
    • Unit test
    • Seam / integration test
    • End-to-end test
    • Existing coverage already sufficient
  • Target test or file:
    • src/agents/pi-tool-definition-adapter.test.ts — pins the terminate: true flag on the handoff stub returned by the wrapped client-tool execute() callback.
    • src/gateway/openresponses-http.test.ts — pins the SSE event sequence for streamed function_call output items.
    • src/agents/openai-transport-stream.test.ts — pins the .done-only-args recovery branch in the upstream Responses-stream parser.
  • Scenario the test should lock in: The Pi adapter's execute() callback returns terminate: true so the agent loop stops after the handoff; the /v1/responses SSE stream for a streamed function_call carries the dedicated function_call_arguments.{delta,done} events between the output_item.added and output_item.done bookends; and processResponsesStream recovers args from function_call_arguments.done when no intermediate deltas were emitted.
  • Why this is the smallest reliable guardrail: All three are unit-level seams over the exact code paths involved (the adapter's execute callback, the SSE emitter, and the upstream stream parser). They are deterministic, fast, and survive refactoring of internal helpers.
  • Existing test that already covers this (if any): None.
  • If no new test is added, why not: N/A — three new tests added.

User-visible / Behavior Changes

External clients consuming /v1/responses for client-tool calls will no longer see the conversation contaminated by a self-contradictory phantom assistant turn (where the model first claimed it could not run the tool, then seconds later claimed it did). On top of that, clients whose parsers read streamed args only from the dedicated function_call_arguments.{delta,done} events will now receive the parsed function-call arguments through those events instead of an empty {}. No CLI/UI/default-config changes.

Diagram (if applicable)

Pi agent loop (the main fix):

Before:
  model emits function_call(tool=client_tool, args={...})
  Pi → wrapped execute(args) → returns { status:"pending", ... }   (no terminate flag)
  Pi treats stub as normal tool result → runs ANOTHER model turn
  model now has the stub in context → narrates "can't run that tool"
                                          → seconds later → "actually did run it"
  loop finally returns → runner observes clientToolCallDetected
  → both the real function_call AND the contradictory narration go on the wire

After:
  model emits function_call(tool=client_tool, args={...})
  Pi → wrapped execute(args) → returns { status:"pending", ..., terminate: true }
  Pi sees terminate=true → STOPS the loop after this batch
  runner observes clientToolCallDetected → surfaces the real function_call via pendingToolCalls
  → only the real function_call goes on the wire, no narration

/v1/responses SSE event sequence (the piggybacked wire-shape improvement):

Before:
client POST /v1/responses (stream=true, tools=[client_tool])
  -> SSE: output_item.added       (item.arguments = "<full args>")
  -> SSE: output_item.done        (item.arguments = "<full args>")
  -> client parser sees arguments == "{}"   (only if it ignores item.arguments)

After:
client POST /v1/responses (stream=true, tools=[client_tool])
  -> SSE: output_item.added                  (item.arguments = "")
  -> SSE: function_call_arguments.delta      (full args string)
  -> SSE: function_call_arguments.done       (full args string)
  -> SSE: output_item.done                   (item.arguments populated)
  -> all parsers see parsed args             ← correct

Security Impact (required)

  • New permissions/capabilities? No
  • Secrets/tokens handling changed? No
  • New/changed network calls? No
  • Command/tool execution surface changed? No — same client-tool handoff contract, just delivered through a more usual SSE event sequence.
  • Data access scope changed? No
  • If any Yes, explain risk + mitigation: N/A.

Repro + Verification

Environment

  • OS: any (issue is platform-agnostic)
  • Runtime/container: OpenClaw self-hosted gateway via the standard docker-compose deployment
  • Model/provider: provider-agnostic — reproduces with any model that triggers a client-tool call
  • Integration/channel (if any): /v1/responses HTTP endpoint, client-tool definition handed off to the API caller
  • Relevant config (redacted): gateway with /v1/responses enabled and at least one agent configured

Steps

  1. Run the OpenClaw gateway with at least one agent that exposes the /v1/responses endpoint.
  2. From any external HTTP client (curl or any OpenAI-Responses-compatible client), POST to /v1/responses with stream: true and a tools: [...] array including a client-tool definition.
  3. Cause the model to call that client tool with non-trivial arguments.
  4. Observe the conversation transcript and the parsed function-call arguments on the client side.

Expected

  • No extra assistant-text turn narrating the placeholder stub appears alongside the real function_call. The transcript is exactly what the caller asked for: the model emits the tool call and the agent loop yields control back for the client to handle it.
  • The client receives the parsed function-call arguments matching what the model produced (delivered through the dedicated function_call_arguments.{delta,done} SSE events for parsers that read from those, or via item.arguments on the bookend events for parsers that read from there).

Actual

  • Matches Expected with this PR. Without it: a self-contradictory assistant narration appears alongside the real function_call (the model first declares it cannot run the tool, then a few seconds later claims it did), and clients that read args only from the dedicated streaming events see arguments == "{}".

Evidence

Attach at least one:

  • Failing test/log before + passing after — three regression tests added in this PR, RED before each respective fix, GREEN after (openresponses-http.test.ts, pi-tool-definition-adapter.test.ts, openai-transport-stream.test.ts).
  • Trace/log snippets
  • Screenshot/recording
  • Perf numbers (if relevant)

Human Verification (required)

What I personally verified (not just CI), and how:

  • Verified scenarios:
    • Ran the OpenClaw gateway locally and drove a real /v1/responses request from a local client that triggered a client-tool call. The client tool received its parsed arguments correctly, and the conversation contained no phantom narration of the placeholder stub alongside the real function_call.
  • Edge cases checked: N/A — the regression tests pin the wire-shape invariants for any args payload, and the scenario above exercises the real handoff loop.
  • What I did not verify: nothing scope-relevant beyond the above.

Review Conversations

  • I replied to or resolved every bot review conversation I addressed in this PR.
  • I left unresolved only the conversations that still need reviewer or maintainer judgment.

Compatibility / Migration

  • Backward compatible? Yes — additive on the wire (the dedicated function_call_arguments.{delta,done} events are new; item.arguments on output_item.done still carries the populated args; only output_item.added's item.arguments field changes from <full args> to "").
  • Config/env changes? No
  • Migration needed? No
  • If yes, exact upgrade steps: N/A

Risks and Mitigations

  • Risk: A client that read item.arguments from output_item.added as its sole source (and ignored both the dedicated args events and output_item.done's item.arguments) will now read "".
    • Mitigation: This is an uncommon parser pattern — neither the OpenAI Node SDK nor pi-ai work that way; both also consume the dedicated streaming events and output_item.done.item.arguments. The populated args remain available via both of those alternative sources for any client that follows either pattern.

AI-assisted PR

  • Mark as AI-assisted in the PR title or description
  • Note the degree of testing: fully tested (three RED/GREEN regression tests added in this PR; CONTRIBUTING.md gates pnpm build && pnpm check && pnpm test run on a Linux box matching CI conditions; touched files clean for pnpm lint and pnpm format:check).
  • Session logs: developed iteratively with Claude Opus 4.7 via Claude Code in the OpenClaw repo.
  • I understand what the code does — see the per-file commit body for the rationale at each touch point.

@openclaw-barnacle openclaw-barnacle Bot added gateway Gateway runtime agents Agent runtime and tooling size: M labels Apr 24, 2026
@greptile-apps

greptile-apps Bot commented Apr 24, 2026 •

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR fixes two independent bugs in /v1/responses client-tool call handling: terminate: true on the Pi adapter stub stops the phantom narration turn, and the new function_call_arguments.{delta,done} SSE events deliver args to spec-strict parsers. One regression was introduced alongside the fix:

  • response.completed carries empty args — createResponseResource at line 1103 passes functionCallItem (the placeholder created with arguments: "") instead of completedFunctionCallItem (populated, status: "completed"). Any client that reads the response body from the response.completed event — rather than accumulating via the streaming events — will see arguments: "" for every function call. The one-word fix is completedFunctionCallItem.

Confidence Score: 4/5

Safe to merge after fixing the stale functionCallItem reference in createResponseResource; all other changes are correct.

The two primary fixes (terminate: true and the dedicated args events) are correct and well-tested. However, a clear P1 regression was introduced: the response.completed event's embedded response object still references the empty-placeholder functionCallItem instead of completedFunctionCallItem, so the final response snapshot delivered to clients exposes arguments: "" for every function call.

src/gateway/openresponses-http.ts — line 1103: functionCallItem → completedFunctionCallItem in the createResponseResource call.

Comments Outside Diff (1)

  1. src/gateway/openresponses-http.ts, line 1099-1105 (link)

    P1 The response.completed event's embedded response object passes functionCallItem (the placeholder created with arguments: "") instead of completedFunctionCallItem (the finalized item with arguments: functionCall.arguments and status: "completed"). This is a direct regression introduced by this PR: before the change, functionCallItem still held the real args; now it is the empty-placeholder object. Any client that reads the response.output array from the response.completed event — rather than accumulating args from the streaming events — will receive an empty arguments string for every function call.

    Prompt To Fix With AI
    This is a comment left during a code review.
    Path: src/gateway/openresponses-http.ts
    Line: 1099-1105
    
    Comment:
    The `response.completed` event's embedded response object passes `functionCallItem` (the placeholder created with `arguments: ""`) instead of `completedFunctionCallItem` (the finalized item with `arguments: functionCall.arguments` and `status: "completed"`). This is a direct regression introduced by this PR: before the change, `functionCallItem` still held the real args; now it is the empty-placeholder object. Any client that reads the `response.output` array from the `response.completed` event — rather than accumulating args from the streaming events — will receive an empty `arguments` string for every function call.
    
    
    
    How can I resolve this? If you propose a fix, please make it concise.
Prompt To Fix All With AI
This is a comment left during a code review.
Path: src/gateway/openresponses-http.ts
Line: 1099-1105

Comment:
The `response.completed` event's embedded response object passes `functionCallItem` (the placeholder created with `arguments: ""`) instead of `completedFunctionCallItem` (the finalized item with `arguments: functionCall.arguments` and `status: "completed"`). This is a direct regression introduced by this PR: before the change, `functionCallItem` still held the real args; now it is the empty-placeholder object. Any client that reads the `response.output` array from the `response.completed` event — rather than accumulating args from the streaming events — will receive an empty `arguments` string for every function call.

```suggestion
        const incompleteResponse = createResponseResource({
          id: responseId,
          model,
          status: "incomplete",
          output: [completedItem, completedFunctionCallItem],
          usage,
        });
```

How can I resolve this? If you propose a fix, please make it concise.

Reviews (1): Last reviewed commit: "fix(/v1/responses): make client-tool cal..." | Re-trigger Greptile

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d06063b487

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/gateway/openresponses-http.ts Resolved
@PopFlamingo
PopFlamingo force-pushed the fix/openai-responses-args-done-handler branch from d06063b to 0e92a44 Compare April 24, 2026 10:48
The wrapped execute() callback that the adapter builds for each
client-tool definition returns `terminate: true` on its handoff stub.
That flag is Pi's native shouldTerminateToolBatch signal, so the agent
loop stops after this batch instead of feeding the placeholder back as
a normal tool result and running another model turn that would narrate
the stub alongside the real function_call. The outer runner still
observes clientToolCallDetected and surfaces the real function_call
through pendingToolCalls.

Piggybacked on top of that, the gateway's SSE event sequence for
streamed function_call output items is tightened to follow the OpenAI
Responses-API streaming convention more closely:
response.output_item.added (with item.arguments = "" as an in-progress
placeholder), response.function_call_arguments.delta and
response.function_call_arguments.done carrying the args string, and
response.output_item.done with item.arguments populated as the
finalization snapshot. The dedicated args events are the source the
streaming convention reserves for incremental args; the empty
placeholder on .added leaves seed-and-append accumulators no string to
double.

The upstream Responses-stream parser in openai-transport-stream.ts
also gains a handler for response.function_call_arguments.done that
assigns event.arguments to currentBlock.partialJson and emits a
synthetic toolcall_delta for any tail not carried by intermediate
deltas, so the toolcall_end event carries the parsed args even when an
upstream delivers them only via .done.

Regression tests pin the terminate-true flag on the handoff stub
(pi-tool-definition-adapter.test.ts), the SSE event sequence for
streamed function_call output items (openresponses-http.test.ts), and
the .done branch's args recovery (openai-transport-stream.test.ts).
@PopFlamingo
PopFlamingo force-pushed the fix/openai-responses-args-done-handler branch from 0e92a44 to ea31069 Compare April 24, 2026 10:53

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ea31069edb

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/gateway/openresponses-http.test.ts Resolved
…em.type

The four-event-sequence regression test used `eventTypes.findIndex(t =>
t === 'response.output_item.added')` to locate the function_call's
bookend events. But `output_item.added` and `output_item.done` each
fire twice per turn — once for the assistant message that precedes the
function_call, and once for the function_call itself. `findIndex`
matched the first occurrence (the assistant message), so the ordering
assertion `fcArgsDeltaIdx > fcAddedIdx` passed trivially against the
assistant message's added event. The function_call's bookend events
could have been missing entirely or reordered after the args events,
and the test would still pass.

Filter events by the embedded `item.type === 'function_call'` so the
indices point at the function_call's own bookend events. The ordering
assertion now meaningfully pins the four-event sequence.

Caught by Codex review on PR openclaw#71062.
Model<"openai-responses"> requires `baseUrl` (added on main between
when this branch first opened and the rebase). The .done-handler
regression test's model fixture didn't carry it, so check-test-types
on CI failed with TS2741 "Property 'baseUrl' is missing".

Local pnpm tsgo:prod (production graph) doesn't include .test.ts files
and so didn't catch this; pnpm tsgo:test (the gate CI runs) does.

Caught by CI on PR openclaw#71062.
@PopFlamingo

Copy link
Copy Markdown
Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review: Didn't find any major issues. Keep them coming!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@PopFlamingo PopFlamingo changed the title fix(/v1/responses): make client-tool calls work fix(/v1/responses): drop the extra phantom assistant turn on client-tool calls Apr 24, 2026
@clawsweeper

clawsweeper Bot commented Apr 29, 2026 •

Copy link
Copy Markdown
Contributor

Thanks for the context here. I swept through the related work, and this is now duplicate or superseded.

Keep open: this is a useful bug-fix direction, but it is not merge-ready because current main only partially covers it, the PR now conflicts with current main, and the external-contributor real behavior proof is still missing.

Canonical path: Close this stale PR. The latest review rated it F, the branch still lacks merge-ready proof, and there has been no human follow-up after the durable review.

So I’m closing this here because the remaining work is already tracked in the canonical issue.

Review details

Best possible solution:

Close this stale PR. The latest review rated it F, the branch still lacks merge-ready proof, and there has been no human follow-up after the durable review.

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

Yes, source inspection shows current main still does not emit the dedicated response.function_call_arguments.{delta,done} gateway SSE events, so strict parsers that depend on those events have a clear failure path. I did not run a live /v1/responses gateway scenario in this read-only review.

Is this the best way to solve the issue?

No, not as submitted: the fix direction is plausible and backed by the OpenAI Node stream accumulator contract, but the branch needs to be ported onto current main and the output_item.added compatibility change needs maintainer-visible acceptance.

Security review:

Security review cleared: No concrete security or supply-chain regression was found; the diff changes gateway/agent API behavior and tests without new dependencies, credentials, permissions, or execution sources.

AGENTS.md: found and applied where relevant.

What I checked:

  • stale F-rated PR: PR was opened 2026-04-24T10:42:14Z, is older than 60 days, and the latest review rated it F.
  • proof blocker: real behavior proof is missing and proof tier is F, so this branch is not merge-ready without contributor follow-up.
  • no human follow-up: live comments and timeline hydrated by apply contain no non-automation activity after the ClawSweeper review.

Likely related people:

Codex review notes: model internal, reasoning high; reviewed against 8ed6c78b7891.

@clawsweeper clawsweeper Bot added 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 May 20, 2026
@clawsweeper

clawsweeper Bot commented May 20, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper PR egg

🎁 Pass real behavior proof to wake the egg and unlock a hatchable treat.

Where did the egg go?
  • The egg game starts only after the PR passes the real-behavior proof check.
  • Before that, no creature or rarity is rolled. The treat waits for real proof.
  • This is still just collectible flavor: proof affects review readiness, not creature quality.

@openclaw-barnacle openclaw-barnacle Bot added the triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup. label May 20, 2026
@clawsweeper clawsweeper Bot added P1 High-priority user-facing bug, regression, or broken workflow. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. labels May 20, 2026
@openclaw-barnacle

Copy link
Copy Markdown

This pull request has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.

@openclaw-barnacle openclaw-barnacle Bot added the stale Marked as stale due to inactivity label Jun 7, 2026
@clawsweeper clawsweeper Bot added rating: 🌊 off-meta tidepool PR readiness rating does not apply to this item. 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 Jun 7, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the stale Marked as stale due to inactivity label Jun 13, 2026
@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. and removed rating: 🌊 off-meta tidepool PR readiness rating does not apply to this item. labels Jun 13, 2026
@clawsweeper clawsweeper Bot added status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. 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 Jun 13, 2026
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. labels Jun 23, 2026
@openclaw-barnacle openclaw-barnacle Bot added the triage: needs-pr-context Candidate: external PR body lacks required problem context or evidence. label Jun 23, 2026
@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. labels Jun 23, 2026
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. labels Jun 28, 2026
@openclaw-barnacle

Copy link
Copy Markdown

This pull request has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.

@openclaw-barnacle openclaw-barnacle Bot added the stale Marked as stale due to inactivity label Jul 18, 2026
@clawsweeper

clawsweeper Bot commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper status: review started.

I am starting a fresh review of this pull request: fix(/v1/responses): drop the extra phantom assistant turn on client-tool calls This is item 1/1 in the current shard. Shard 19/22.

This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking.

Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted.

@openclaw-barnacle

Copy link
Copy Markdown

Closing due to inactivity.
If you believe this PR should be revived, post in #clawtributors on Discord to talk to a maintainer.
That channel is the escape hatch for high-quality PRs that get auto-closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling gateway Gateway runtime merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. 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. size: M stale Marked as stale due to inactivity status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. triage: needs-pr-context Candidate: external PR body lacks required problem context or evidence. triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant