Data contracts must encode meaning, not just structure, to guard against silent agent-driven changes

A data contract is a written, verified agreement between dataset owners and the people and agents who use it. Standard checks for type, nullability and freshness validate structure, but costly errors often alter a field's meaning while leaving its structure untouched. The author illustrates this with an online shop's 'is_active_customer' flag, which doubled after a coding agent changed its time window from 90 to 365 days without any test failing. Andrew Jones has made a similar point using an amount field that switched from including tax to excluding it. The author argues that AI agents on both producing and consuming sides make unwritten definitions riskier, and a small test on a made-up repository found a contract with named owners reduced unapproved changes. The proposed fix is a short written block of meaning for each key field, placed where agents work.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in