Skip to content

feat(interactions): expose acknowledged response dispatch #735

Description

@drewstone

Braid can receive normalized interaction request events from real runs, but agent-runtime 0.128.0 exposes no public operation to send an InteractionResponse back to the waiting environment/session and receive an acknowledgement.

Current consequence: the UI can render a real question or permission request, but must keep every answer unavailable because it cannot safely claim delivery or resume the run. Provider-private calls would violate the runtime ownership boundary.

Please expose a public response operation bound to the live run/environment/session that:

  • accepts the canonical agent-interface InteractionResponse and stable operation id;
  • returns accepted, already-applied, rejected, or unknown;
  • preserves idempotency across retries/reconnects;
  • rejects stale interaction/session bindings;
  • works through environment providers rather than runner-specific parsing.

A release-level contract test should pause a real run, answer once, resume it, and reject a duplicate stale response.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions