In San Rafael, the city's Building Official issues the permit you need before altering or repairing a building, except for work the city exempts. Not every attic job is the same, so I find out whether yours needs one before we start, and when it does, we pull the permit through the city and set up the inspection.
Even work that's exempt from a building permit can carry conditions from the city's Planning Division, Fire Prevention Bureau or Public Works Department. California's Energy Code also sets efficiency requirements when you alter an existing house, not only for new ones. I'd rather have all of that sorted before the crew shows up than find out halfway through.
We're based in San Rafael and work in cities across Marin and nearby, from Petaluma down to Strawberry and over to Richmond and Berkeley, including San Anselmo and Novato. A lot of the attics we see are in older houses, with old fill added over the years, boxes on top and can lights from a remodel, so the sealing usually takes more care than the insulating.