What are the codes for electrical wiring in attics?
"Can you just have electrical wires exposed with all the junctions, in junction boxes, provided all the exposed wiring is anchored to the wood studs? What about insulation that comes in contact with the wiring? Or does the wiring have to be an aluminum armor?"


Wiring should be stapled to the wood studs and have splices in accessible junction boxes. Check local electrical codes for specific requirements.

There are no issues with modern wiring touching insulation. It touches insulation all the time in your walls.

I guess I need to cover more bases: Don't use knob and tube. ever.