Skip to content

OpenClaw: serve and delegate A2A tasks#43

Open
dimavrem22 wants to merge 2 commits into
fix/remove-paused-write-contractsfrom
feat/a2a-v1
Open

OpenClaw: serve and delegate A2A tasks#43
dimavrem22 wants to merge 2 commits into
fix/remove-paused-write-contractsfrom
feat/a2a-v1

Conversation

@dimavrem22

@dimavrem22 dimavrem22 commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Decisions

  • Durability: Persist each receiver delivery before acknowledgement, reconcile the registry first on restart, and then page all submitted tasks.
  • Session isolation: Route inbound tasks to exact a2a:{identity}:{context} sessions, capture output without normal channel delivery, and authorize complete, ask-caller, and fail only during the active A2A turn.
  • Cancellation: Track every active run for a task so task-addressed cancellation aborts all matching work without affecting another context.
  • Delegation continuity: Persist outbound message/retry data before SendMessage, promote it to (identity, RPC origin, context), and inject later task updates into the original OpenClaw session.
  • Compatibility: Keep the base SDK range for non-A2A users, while documenting that A2A requires @inkbox/sdk 0.5.6 or newer.

Changes

  • Add A2A call, check, reply, and inbound complete/ask/fail tools.
  • Subscribe and serve inbound tasks with durable deduplication, context sessions, cancellation, restart recovery, and guarded default completion.
  • Add durable caller-side delegation routing and sent-task update injection.
  • Update the public tool contract/docs and bump the plugin to 0.2.3.

Related pull requests

Merge order

Merge after the paused-contract base PR, backend deployment, and SDK 0.5.6 release.

Verification

  • npm run typecheck
  • npm test: 347 passed.
  • npm run build

@dimavrem22
dimavrem22 marked this pull request as ready for review July 24, 2026 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant