Think of your coop more as a dog house with a fenced run and see how that changes how you see the code.
I agree with the tractor plan - no permanent attachment, no permit needed. Plus, no need for a tractor to have wheels, if that's really an objection.