Enforce the contract before data enters the pipeline
Filtering the data isn’t sufficient if the pipeline itself keeps breaking, and a broken pipeline carries its own form of cost. When multiple downstream systems are reading off the same stream and a field name changes without warning, everything built on top of that stream breaks at once. You end up spending time patching systems instead of improving models, creating an integration tax.
To address this, think about data contracts as being infrastructure, not documentation. Before an event enters a shared stream, it should be validated against a schema. If it doesn’t match, it gets rejected. A schema registry that automatically versions each change allows the source to evolve a field without forcing every downstream system offline.
This matters even more with AI pipelines. An agent lacks the intuition to spot an erroneous field in the way a human looking at a dashboard can. The agent acts on whatever it receives, turning a bad upstream record into a bad decision that can then harm the business.

