Breaking Changes Agent
The Breaking Changes agent reviews schema changes in pull requests and reports whether they are likely to break existing consumers.
When a pull request changes a message schema, the agent checks whether the diff removes or renames fields, changes types, adds new required fields, narrows enums, or introduces similar compatibility risks. If it finds a breaking change, it traces the schema through your EventCatalog and comments on the source pull request with the breaking lines and affected consumers.
The Breaking Changes agent is read-only. It does not edit your catalog or open documentation pull requests.

How it works
When a pull request is opened, the agent:
- Checks out your catalog so it can understand the existing producers, consumers, messages, schemas, and flows.
- Collects the changed source files from the pull request.
- Filters to schema files using the configured schema extensions.
- Scores each schema change for breaking-change risk. Additive changes, such as adding an optional field, are skipped.
- Finds affected consumers for each breaking schema change by tracing the message through EventCatalog.
- Comments on your source pull request with the breaking change, the relevant diff lines, and the consumers that could be affected.
If the pull request has no changed schema files, or only non-breaking schema changes, the workflow exits without creating a catalog pull request.
Getting started
The Breaking Changes agent runs as a GitHub Action.