The adaptive immune system is built on top of a very important innate immune system which is still under selection.
The adaptive immune system is also very much still under selection. Adaptive traits are still coded in genes, and the limits, means, and behaviour of their adaption can be varied by nature of these genes.