Ensure agent command events have proper fields.