A permanent human presence on the Moon seems like an excellent idea in this connection. :')
What is needed for hardware would be several large ion motors with fuel placed in solar orbit ready to be moved to and attached to any incoming body of import so as to nudge its orbit out of the way at an early moment and without the necessity of calling a special session of Congress or the General Assembly or causing stress to the industrious farming people of earth and their animals.