A practical guide to AI agent schema design: how statuses, IDs, state transitions, and field rules shape whether an agent can operate reliably in production.