Skip to content

Add compatibility enforcement for public WebSocket, SSE, and other non-OpenAPI surfaces #2441

@enyst

Description

@enyst

Problem

Our REST/OpenAPI compatibility enforcement only covers the public API surface that appears in OpenAPI.

That leaves a gap for public compatibility-sensitive surfaces such as:

  • WebSocket endpoints
  • SSE/streaming endpoints
  • other externally consumed message/event shapes not represented in OpenAPI

The current agent-server policy explicitly notes that WebSocket/SSE endpoints are not covered by the OpenAPI-based policy.

What we may want

Define and enforce a compatibility policy for these non-OpenAPI public surfaces, for example:

  • snapshot/schema tests for WS/SSE message payloads
  • explicit versioned event/message schemas
  • deprecation metadata for externally visible streaming/event contracts
  • targeted compatibility fixtures for clients

Why

If these surfaces are public, they deserve the same kind of compatibility discipline as the REST API. Right now they are effectively outside our automated enforcement model.

Metadata

Metadata

Assignees

No one assigned

    Labels

    invariantsthe design invariants of the codebase

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions