-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
Paperclip Gateway adapter sends unsupported 'paperclip' field in agent params #62102
Copy link
Copy link
Closed as not planned
Closed as not planned
Copy link
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.staleMarked as stale due to inactivityMarked as stale due to inactivity
Description
Metadata
Metadata
Assignees
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.staleMarked as stale due to inactivityMarked as stale due to inactivity
Type
Fields
Priority
None yet
Bug Description
When using Paperclip's openclaw_gateway adapter to connect to OpenClaw Gateway, the agent execution fails with:
Root Cause
The OpenClaw Gateway's
AgentParamsSchemahasadditionalProperties: falseand does not include apaperclipfield. Paperclip adapter sends this field with context about the run (runId, companyId, agentId, issueId, workspace, etc.).Environment
Paperclip Payload (truncated)
```json
{
"message": "Paperclip wake event...",
"sessionKey": "paperclip:run:",
"idempotencyKey": "",
"paperclip": {
"runId": "",
"companyId": "",
"agentId": "",
"agentName": "CEO",
"taskId": null,
"issueId": null,
"apiUrl": "http://127.0.0.1:3100",
"workspace": { ... }
},
"timeout": 120000
}
```
Expected
Either:
paperclipfield as an optional extra field, ORmetadataorruntimeConfig)Impact
This prevents Paperclip agents from executing any tasks via OpenClaw Gateway. The adapter connects successfully via WebSocket but the request is rejected at the gateway layer.
Logs
```
[openclaw-gateway] request failed: invalid agent params: at root: unexpected property 'paperclip'
stderrExcerpt: [openclaw-gateway] request failed: invalid agent params: at root: unexpected property 'paperclip'
errorCode: openclaw_gateway_request_failed
```