Payload's Field type is a discriminated union; field.name only exists on named variants. Tests now narrow on type (and 'name' in field for groups) before reading variant-specific properties. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>