Skip to content

feat(leg): leg exchange — one baton.message/v1 round-trip with nested baton.exchange/v1 #4

Description

@shukebeta

feat(leg): leg exchange — one baton.message/v1 round-trip with nested baton.exchange/v1

Problem

leg must be drivable as an ExternalAgentParticipant by baton serve --agent-cmd "leg exchange" without adaptation.

Approach

  • leg exchange: one baton.message/v1 round-trip with nested baton.exchange/v1 provider record, same envelope as baton.
  • Keep the infallible Participant contract (delivery error → kind:"error" envelope, never Err).
  • Prove end-to-end under baton serve --agent-cmd "leg exchange".

Acceptance

  1. leg exchange round-trips a baton.message/v1 envelope with a nested provider record.
  2. Consumable by baton serve --agent-cmd "leg exchange" without adaptation (cross-repo integration proof).
  3. Delivery errors surface as kind:"error" envelopes, never Err.

Part of

SHUKE-LABS/baton#338 (umbrella). Depends on leg#2.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions