I'm hoping they can't fail you for having AFM tuned out ...
Not yet, they can't ...
I have heard of a couple California members here passing with tune.
Long story short:
Any properly edited tune by a decently competent tuner (in other words they need not be 'expert', just smart enough to avoid dumb mistakes), using the proper software, will NOT be detected by California when they connect to your vehicle's OBD2 port.
The long story contains WHY California cannot detect a properly written tune ...
When any state computer connects to your car,
they are NOT reading / downloading / dumping the .bin or .hex file in your pcm / ecm / tcm,
they are NOT proofreading it against a GM OE .bin or .hex file,
they do not have TunerCAT / JET, HPT, or EFIL.
The state merely checks checksums and checksum verification numbers against GM OE.
Tuning software contains reading, editing (what we think of as tuning) and rewriting utilities.
Reading the pcm / ecm / tcm, thankfully, is totally harmless.
Editing / tuning is changing things in the .bin or .hex (or .hpt in the case of HPT, don't know EFIL's file extension.)
Rewriting is installing the changes back into the pcm / ecm / tcm.
Just prior to the rewrite, trustworthy editing software also edits the checksums and CVNs so they remain unchanged.
This is why 'a couple California members here passing with tune' -
because CA canNOT detect tunes if the checksums and CVNs of the tune are unchanged from GM OE.