Repository navigation
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs real behavior proof before merge. What this changesThis PR adds the A2A 1.0 version header to outbound requests and documentation examples. Example: OpenClaw sends “hello” to configured peer hermes.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Blocked before merge - 1 item remains Keep open: this PR addresses a current protocol-contract defect with a focused change, and no definite introduced bug was found. Priority: P2 Before merge
FindingsNone. Tests
Agent review detailsHow this fits togetherThe A2A channel adapter accepts outbound text and a configured peer, sends JSON-RPC through the shared SSRF guard, and returns the remote task identifier as a delivery receipt. flowchart LR
A[Outbound text] --> B[A2A channel adapter]
B --> C[Shared request builder]
C --> D[SSRF guarded HTTP transport]
D --> E[Configured peer]
E --> F[Task identifier and receipt]
Technical reviewBest possible solution: Retain the single header addition in the existing shared outbound request builder and the matching documentation examples. Do we have a high-confidence way to reproduce the issue? Current-main source unconditionally omits the header required by the canonical specification; no target code or tests were executed during this read-only review. Is this the best way to solve the issue? The defect is an omitted version declaration, the invariant is that every A2A 1.0 request declares its version, and the existing shared header set is the smallest complete repair. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against c6fc5bd784b5. Provenance checked
TestingProof path: unit tests only. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +1, Tests +12, Docs +2. Total +15 across 3 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rating scale6/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. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 10, 2026, 5:57 AM ET / 10:57 UTC. |
What Problem This Solves
Outbound A2A requests omit the required protocol-version header, so version 1.0 peers may interpret them as the older 0.3 protocol.
User Impact
A2A clients now identify version 1.0 on both canonical requests and the legacy-method retry.
Why This Change Was Made
The A2A 1.0 client contract requires
A2A-Versionon each request. The request builder owns one shared header set, so both send paths stay consistent. Documentation examples show the same contract.Evidence
pnpm test extensions/a2a/src/outbound.test.ts --maxWorkers=1— 11 passed.pnpm tsgo:extensions— passed.git diff --check— passed.upstream/main— clean, score 0.94.