Integration
Replay output contracts with older skill consumers
Find strict readers and semantic assumptions before publishing an additive schema change.
A new field can look harmless to authors and still break a consumer that rejects unknown keys. Similarly, keeping a field name while changing its meaning can pass a syntactic check and fail after deployment. Compatibility needs evidence from consumers with real expectations.
Gather ordinary consumer behaviors
Use tests that load representative older clients and run their actual parse and validation paths. Include a strict reader, a permissive one, and any export path that transforms the result. Document how omitted fields, additional values, and unknown enumerations are handled.
Check both directions where relevant
A new consumer may still receive old results from saved jobs. An old consumer may receive new results from the current producer. Test each supported pair with realistic output, and maintain a migration path where your serialization or domain contract cannot safely preserve behavior.
Keep semantic examples independent
A field containing duration can remain a number when its units change from seconds to milliseconds. A compatibility fixture should assert the expected interpretation, not only the type. Version a meaningful change or introduce a separate clearly named field.