harbor run -t openthoughts/tasktrove-exp-flat25-stackoverflow-v2-5k-stackoverflow-3040harbor download openthoughts/tasktrove-exp-flat25-stackoverflow-v2-5k-stackoverflow-3040Title: Implement StrictEnvironment to load default and user-specified Jinja2 extensions with validation in Cookiecutter
Body: I'm adding a StrictEnvironment to Cookiecutter that extends jinja2.Environment and handles automatic extension loading with proper error handling. Here are all the precise requirements I need to satisfy.
What to implement
Notes and expectations
If you have guidance on a clean, robust implementation that satisfies all of the above (including a small unit-test-friendly approach to validating the extension loading without mutating tests), I’d appreciate it. A compact, well-documented code snippet showing the StrictEnvironment class (and any minimal supporting changes) would be great.