I would say consider yourself lucky as what was tagged is simple stuff to correct and
your not getting tagged on not meeting UL9540 requirements, which would require a listed battery / inverter pairing which your system does not have. ( C
O is NEC2020 ).
You are also using lots of unlisted disconnects ( PV and AC are in those low cost PVC boxes, not listed ) and your battery wiring is a hot mess, code wise speaking.
It's a big challenge to be your own system designer and shouldn't be a surprise that learning a trade your own there will be mistakes being made. You are on the right path, work with the inspectors, not against, be humble and appreciative that they are providing an education for free.