What's wrong with definition of a framework from wiktionary?
Also, it appears you have software framework in mind, but there are more (css framework, architecture framework, test framework).
I like the idea that framework gives you an environment, while library don't. This is key difference, which also highlighted in your definition as well.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.