According to the International Building Code, which most counties and municipalities use for minimum local standards, anything over 200sq. ft. requires a building permit.
Your walls will not meet code for shear walls because your OSB does not go continuously from bottom to top plates. If you must join two pieces there must be horizontal blocking between studs at the seam.
Your bottom plate needs to be treated lumber, even though you have a foam barrier.
Trusses for permitted buildings need to be engineered and have proof tags attached.
Truss components need to be tied together with a mechanical means besides nails ie. nail plates.
Trusses need to be attached to the top plate with H1 hurricane ties or equivalent.
Not sure in NY but there should be two earthquake tie downs to double framing at each side of the door.
Those were just some things that stuck out when I looked at your pictures. I don't mean to be critical and bash you. I went into the business of building outdoor entertainment structures and ran into brick walls regarding some of the issues I just mentioned.
Dave