Skip to content

fix(webhooks): disable synchronous completion emission by default #1019

Description

@bokelley

Summary

auto_emit_completion_webhooks defaults to True, but AdCP specifies that a synchronously completed request does not emit a completion webhook. The buyer already receives the terminal result inline, and sync completions have no registry task_id.

Required change

  • Change the default of auto_emit_completion_webhooks to False.
  • Keep an explicit non-default compatibility opt-in if needed for existing adopters, clearly documented as non-conformant extension behavior.
  • Add a regression test proving a synchronous terminal response does not emit a webhook by default.
  • Document the behavior change and migration path.

The protocol-side negative conformance scenario is tracked from adcontextprotocol/adcp#5389.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions