When did England and Scotland agree to permanently become great Britain?

There was no such agreement. England and Scotland are still separate countries within Great Britain.
Copyright Wanderlust World © https://www.ynyoo.com